From 66eea1c655e64daebe5bbf3a40bc65d9b9c9bb6c Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Thu, 10 Dec 2020 04:40:52 -0800 Subject: [PATCH] feat(all): auto-regenerate discovery clients --- .../v1/abusiveexperiencereport-gen.go | 4 +- .../v1/acceleratedmobilepageurl-gen.go | 2 +- accessapproval/v1/accessapproval-gen.go | 42 +- .../v1/accesscontextmanager-gen.go | 54 +- .../v1beta/accesscontextmanager-gen.go | 32 +- adexchangebuyer/v1.2/adexchangebuyer-gen.go | 14 +- adexchangebuyer/v1.3/adexchangebuyer-gen.go | 42 +- adexchangebuyer/v1.4/adexchangebuyer-gen.go | 76 +- .../v2beta1/adexchangebuyer2-gen.go | 124 +- .../v1/adexperiencereport-gen.go | 4 +- admin/datatransfer/v1/admin-gen.go | 10 +- admin/directory/v1/admin-gen.go | 220 +- admin/reports/v1/admin-gen.go | 12 +- admob/v1/admob-gen.go | 8 +- admob/v1beta/admob-gen.go | 12 +- adsense/v1.4/adsense-gen.go | 78 +- adsensehost/v4.1/adsensehost-gen.go | 52 +- alertcenter/v1beta1/alertcenter-gen.go | 22 +- analytics/v3/analytics-gen.go | 176 +- .../v1alpha/analyticsadmin-api.json | 4 +- analyticsadmin/v1alpha/analyticsadmin-gen.go | 120 +- analyticsdata/v1alpha/analyticsdata-gen.go | 12 +- .../v4/analyticsreporting-gen.go | 4 +- .../v1/androiddeviceprovisioning-gen.go | 52 +- androidenterprise/v1/androidenterprise-gen.go | 150 +- .../v1/androidmanagement-api.json | 24 +- androidmanagement/v1/androidmanagement-gen.go | 90 +- androidpublisher/v3/androidpublisher-gen.go | 120 +- apigateway/v1beta/apigateway-gen.go | 60 +- apigee/v1/apigee-api.json | 230 +- apigee/v1/apigee-gen.go | 1376 +- appengine/v1/appengine-gen.go | 76 +- appengine/v1alpha/appengine-gen.go | 30 +- appengine/v1beta/appengine-gen.go | 76 +- area120tables/v1alpha1/area120tables-gen.go | 22 +- .../v1beta1/artifactregistry-gen.go | 50 +- .../v1beta2/artifactregistry-gen.go | 50 +- assuredworkloads/v1/assuredworkloads-gen.go | 14 +- bigquery/v2/bigquery-gen.go | 70 +- .../v1beta1/bigqueryconnection-gen.go | 18 +- .../v1/bigquerydatatransfer-gen.go | 60 +- .../v1/bigqueryreservation-gen.go | 44 +- .../v1alpha2/bigqueryreservation-gen.go | 30 +- .../v1beta1/bigqueryreservation-gen.go | 38 +- bigtableadmin/v2/bigtableadmin-gen.go | 90 +- billingbudgets/v1/billingbudgets-gen.go | 10 +- billingbudgets/v1beta1/billingbudgets-gen.go | 10 +- .../v1/binaryauthorization-gen.go | 28 +- .../v1beta1/binaryauthorization-gen.go | 28 +- blogger/v2/blogger-gen.go | 18 +- blogger/v3/blogger-gen.go | 66 +- books/v1/books-gen.go | 102 +- calendar/v3/calendar-gen.go | 74 +- chat/v1/chat-gen.go | 28 +- chromeuxreport/v1/chromeuxreport-gen.go | 2 +- civicinfo/v2/civicinfo-gen.go | 10 +- classroom/v1/classroom-gen.go | 122 +- cloudasset/v1/cloudasset-gen.go | 24 +- cloudasset/v1beta1/cloudasset-gen.go | 16 +- cloudasset/v1p1beta1/cloudasset-gen.go | 4 +- cloudasset/v1p4beta1/cloudasset-gen.go | 4 +- cloudasset/v1p5beta1/cloudasset-gen.go | 2 +- cloudbilling/v1/cloudbilling-gen.go | 24 +- cloudbuild/v1/cloudbuild-gen.go | 40 +- cloudbuild/v1alpha1/cloudbuild-gen.go | 14 +- cloudbuild/v1alpha2/cloudbuild-gen.go | 14 +- clouddebugger/v2/clouddebugger-gen.go | 16 +- .../v1beta1/clouderrorreporting-gen.go | 12 +- cloudfunctions/v1/cloudfunctions-gen.go | 28 +- cloudidentity/v1/cloudidentity-gen.go | 60 +- cloudidentity/v1beta1/cloudidentity-gen.go | 66 +- cloudiot/v1/cloudiot-gen.go | 46 +- cloudkms/v1/cloudkms-gen.go | 68 +- cloudprofiler/v2/cloudprofiler-gen.go | 6 +- .../v1/cloudresourcemanager-gen.go | 76 +- .../v1beta1/cloudresourcemanager-gen.go | 32 +- .../v2/cloudresourcemanager-gen.go | 24 +- .../v2beta1/cloudresourcemanager-gen.go | 24 +- cloudscheduler/v1/cloudscheduler-gen.go | 20 +- cloudscheduler/v1beta1/cloudscheduler-gen.go | 20 +- cloudsearch/v1/cloudsearch-gen.go | 84 +- cloudshell/v1/cloudshell-gen.go | 18 +- cloudshell/v1alpha1/cloudshell-gen.go | 12 +- cloudtasks/v2/cloudtasks-gen.go | 36 +- cloudtasks/v2beta2/cloudtasks-api.json | 44 +- cloudtasks/v2beta2/cloudtasks-gen.go | 118 +- cloudtasks/v2beta3/cloudtasks-api.json | 76 +- cloudtasks/v2beta3/cloudtasks-gen.go | 194 +- cloudtrace/v1/cloudtrace-gen.go | 6 +- cloudtrace/v2/cloudtrace-gen.go | 4 +- cloudtrace/v2beta1/cloudtrace-gen.go | 10 +- composer/v1/composer-gen.go | 18 +- composer/v1beta1/composer-gen.go | 20 +- compute/v0.alpha/compute-api.json | 310 +- compute/v0.alpha/compute-gen.go | 2292 +- compute/v0.beta/compute-gen.go | 1242 +- compute/v1/compute-gen.go | 1090 +- container/v1/container-gen.go | 126 +- container/v1beta1/container-gen.go | 128 +- .../v1alpha1/containeranalysis-gen.go | 66 +- .../v1beta1/containeranalysis-gen.go | 48 +- content/v2.1/content-gen.go | 254 +- content/v2/content-gen.go | 176 +- customsearch/v1/customsearch-gen.go | 4 +- datacatalog/v1beta1/datacatalog-gen.go | 110 +- dataflow/v1b3/dataflow-gen.go | 98 +- datafusion/v1/datafusion-gen.go | 32 +- datafusion/v1beta1/datafusion-gen.go | 34 +- datalabeling/v1beta1/datalabeling-gen.go | 94 +- datamigration/v1beta1/datamigration-gen.go | 58 +- dataproc/v1/dataproc-gen.go | 124 +- dataproc/v1beta2/dataproc-gen.go | 128 +- datastore/v1beta1/datastore-gen.go | 4 +- .../v0.alpha/deploymentmanager-gen.go | 66 +- deploymentmanager/v2/deploymentmanager-gen.go | 36 +- .../v2beta/deploymentmanager-gen.go | 64 +- dfareporting/v3.3/dfareporting-gen.go | 408 +- dfareporting/v3.4/dfareporting-gen.go | 410 +- dialogflow/v2/dialogflow-api.json | 435 +- dialogflow/v2/dialogflow-gen.go | 947 +- dialogflow/v2beta1/dialogflow-api.json | 435 +- dialogflow/v2beta1/dialogflow-gen.go | 1119 +- dialogflow/v3/dialogflow-api.json | 4760 +++- dialogflow/v3/dialogflow-gen.go | 23678 +++++++++++++--- dialogflow/v3beta1/dialogflow-api.json | 877 +- dialogflow/v3beta1/dialogflow-gen.go | 20743 +++++++------- digitalassetlinks/v1/digitalassetlinks-gen.go | 4 +- discovery/v1/discovery-gen.go | 4 +- displayvideo/v1/displayvideo-gen.go | 240 +- dlp/v2/dlp-gen.go | 202 +- dns/v1/dns-gen.go | 42 +- dns/v1beta2/dns-gen.go | 50 +- docs/v1/docs-gen.go | 6 +- documentai/v1beta2/documentai-api.json | 195 +- documentai/v1beta2/documentai-gen.go | 402 +- documentai/v1beta3/documentai-api.json | 269 +- documentai/v1beta3/documentai-gen.go | 722 +- domains/v1alpha2/domains-gen.go | 40 +- domains/v1beta1/domains-gen.go | 40 +- domainsrdap/v1/domainsrdap-gen.go | 20 +- .../v1.1/doubleclickbidmanager-gen.go | 18 +- .../v1/doubleclickbidmanager-gen.go | 18 +- doubleclicksearch/v2/doubleclicksearch-gen.go | 18 +- drive/v2/drive-gen.go | 144 +- drive/v3/drive-gen.go | 92 +- driveactivity/v2/driveactivity-gen.go | 2 +- factchecktools/v1alpha1/factchecktools-gen.go | 12 +- fcm/v1/fcm-gen.go | 2 +- file/v1/file-gen.go | 34 +- file/v1beta1/file-gen.go | 34 +- firebase/v1beta1/firebase-gen.go | 62 +- .../v1beta/firebasedatabase-gen.go | 12 +- .../v1/firebasedynamiclinks-gen.go | 10 +- firebasehosting/v1/firebasehosting-gen.go | 6 +- .../v1beta1/firebasehosting-gen.go | 94 +- firebaseml/v1/firebaseml-gen.go | 6 +- firebaseml/v1beta2/firebaseml-gen.go | 12 +- firebaserules/v1/firebaserules-gen.go | 22 +- firestore/v1beta2/firestore-gen.go | 18 +- fitness/v1/fitness-gen.go | 26 +- games/v1/games-gen.go | 60 +- .../v1configuration/gamesconfiguration-gen.go | 22 +- gameservices/v1/gameservices-gen.go | 72 +- gameservices/v1beta/gameservices-gen.go | 72 +- .../v1management/gamesmanagement-gen.go | 36 +- genomics/v1/genomics-gen.go | 6 +- genomics/v1alpha2/genomics-gen.go | 20 +- genomics/v2alpha1/genomics-gen.go | 12 +- gmail/v1/gmail-gen.go | 136 +- .../v1beta1/gmailpostmastertools-gen.go | 8 +- groupsmigration/v1/groupsmigration-gen.go | 2 +- groupssettings/v1/groupssettings-gen.go | 6 +- healthcare/v1/healthcare-api.json | 19 +- healthcare/v1/healthcare-gen.go | 209 +- healthcare/v1beta1/healthcare-api.json | 72 +- healthcare/v1beta1/healthcare-gen.go | 495 +- homegraph/v1/homegraph-gen.go | 10 +- iam/v1/iam-gen.go | 78 +- iamcredentials/v1/iamcredentials-gen.go | 8 +- iap/v1/iap-api.json | 5 +- iap/v1/iap-gen.go | 32 +- iap/v1beta1/iap-api.json | 5 +- iap/v1beta1/iap-gen.go | 12 +- identitytoolkit/v3/identitytoolkit-gen.go | 40 +- indexing/v3/indexing-gen.go | 4 +- internal/version/version.go | 2 +- jobs/v3/jobs-gen.go | 30 +- jobs/v3p1beta1/jobs-gen.go | 32 +- jobs/v4/jobs-gen.go | 44 +- kgsearch/v1/kgsearch-gen.go | 2 +- language/v1/language-gen.go | 12 +- language/v1beta1/language-gen.go | 8 +- language/v1beta2/language-gen.go | 12 +- libraryagent/v1/libraryagent-gen.go | 12 +- licensing/v1/licensing-gen.go | 14 +- lifesciences/v2beta/lifesciences-gen.go | 12 +- localservices/v1/localservices-gen.go | 4 +- logging/v2/logging-gen.go | 284 +- managedidentities/v1/managedidentities-gen.go | 38 +- .../v1alpha1/managedidentities-gen.go | 42 +- .../v1beta1/managedidentities-gen.go | 42 +- manufacturers/v1/manufacturers-gen.go | 8 +- memcache/v1beta2/memcache-gen.go | 26 +- ml/v1/ml-api.json | 26 +- ml/v1/ml-gen.go | 155 +- monitoring/v1/monitoring-gen.go | 10 +- monitoring/v3/monitoring-gen.go | 94 +- networkmanagement/v1/networkmanagement-gen.go | 30 +- .../v1beta1/networkmanagement-gen.go | 30 +- notebooks/v1/notebooks-gen.go | 56 +- oauth2/v2/oauth2-gen.go | 6 +- osconfig/v1/osconfig-gen.go | 18 +- osconfig/v1beta/osconfig-gen.go | 30 +- oslogin/v1/oslogin-gen.go | 12 +- oslogin/v1alpha/oslogin-gen.go | 12 +- oslogin/v1beta/oslogin-gen.go | 12 +- pagespeedonline/v5/pagespeedonline-gen.go | 2 +- people/v1/people-gen.go | 38 +- playablelocations/v3/playablelocations-gen.go | 6 +- playcustomapp/v1/playcustomapp-gen.go | 2 +- .../v1/policytroubleshooter-gen.go | 2 +- .../v1beta/policytroubleshooter-gen.go | 2 +- poly/v1/poly-gen.go | 8 +- privateca/v1beta1/privateca-api.json | 8 +- privateca/v1beta1/privateca-gen.go | 81 +- .../v1alpha1/prod_tt_sasportal-gen.go | 132 +- pubsub/v1/pubsub-api.json | 6 +- pubsub/v1/pubsub-gen.go | 71 +- pubsub/v1beta1a/pubsub-gen.go | 30 +- pubsub/v1beta2/pubsub-gen.go | 40 +- pubsublite/v1/pubsublite-gen.go | 28 +- realtimebidding/v1/realtimebidding-gen.go | 54 +- .../v1beta1/recommendationengine-gen.go | 44 +- recommender/v1/recommender-gen.go | 16 +- recommender/v1beta1/recommender-api.json | 270 +- recommender/v1beta1/recommender-gen.go | 1397 +- redis/v1/redis-gen.go | 32 +- redis/v1beta1/redis-gen.go | 32 +- .../v1/remotebuildexecution-gen.go | 12 +- .../v1alpha/remotebuildexecution-gen.go | 22 +- .../v2/remotebuildexecution-gen.go | 18 +- reseller/v1/reseller-gen.go | 34 +- run/v1/run-gen.go | 78 +- run/v1alpha1/run-gen.go | 164 +- run/v1beta1/run-gen.go | 8 +- runtimeconfig/v1/runtimeconfig-gen.go | 6 +- runtimeconfig/v1beta1/runtimeconfig-gen.go | 44 +- safebrowsing/v4/safebrowsing-gen.go | 14 +- sasportal/v1alpha1/sasportal-gen.go | 132 +- script/v1/script-gen.go | 32 +- searchconsole/v1/searchconsole-api.json | 20 +- searchconsole/v1/searchconsole-gen.go | 30 +- secretmanager/v1/secretmanager-gen.go | 34 +- secretmanager/v1beta1/secretmanager-gen.go | 34 +- securitycenter/v1/securitycenter-gen.go | 92 +- securitycenter/v1beta1/securitycenter-gen.go | 46 +- securitycenter/v1beta2/securitycenter-gen.go | 82 +- .../v1/serviceconsumermanagement-api.json | 6 +- .../v1/serviceconsumermanagement-gen.go | 52 +- .../serviceconsumermanagement-api.json | 6 +- .../v1beta1/serviceconsumermanagement-gen.go | 42 +- servicecontrol/v1/servicecontrol-gen.go | 6 +- servicecontrol/v2/servicecontrol-gen.go | 4 +- servicedirectory/v1/servicedirectory-gen.go | 48 +- .../v1beta1/servicedirectory-gen.go | 48 +- servicemanagement/v1/servicemanagement-gen.go | 46 +- .../v1/servicenetworking-api.json | 4 +- servicenetworking/v1/servicenetworking-gen.go | 67 +- .../v1beta/servicenetworking-api.json | 4 +- .../v1beta/servicenetworking-gen.go | 33 +- serviceusage/v1/serviceusage-api.json | 6 +- serviceusage/v1/serviceusage-gen.go | 44 +- serviceusage/v1beta1/serviceusage-api.json | 6 +- serviceusage/v1beta1/serviceusage-gen.go | 66 +- sheets/v4/sheets-gen.go | 34 +- siteverification/v1/siteverification-gen.go | 14 +- slides/v1/slides-gen.go | 10 +- .../v1/smartdevicemanagement-gen.go | 14 +- sourcerepo/v1/sourcerepo-gen.go | 22 +- speech/v1/speech-gen.go | 12 +- speech/v1p1beta1/speech-gen.go | 12 +- speech/v2beta1/speech-gen.go | 4 +- sqladmin/v1beta4/sqladmin-gen.go | 94 +- storage/v1/storage-gen.go | 104 +- streetviewpublish/v1/streetviewpublish-gen.go | 18 +- sts/v1/sts-gen.go | 2 +- sts/v1beta/sts-gen.go | 2 +- synth.metadata | 2 +- tagmanager/v1/tagmanager-gen.go | 98 +- tagmanager/v2/tagmanager-gen.go | 160 +- tasks/v1/tasks-gen.go | 28 +- testing/v1/testing-gen.go | 10 +- texttospeech/v1/texttospeech-gen.go | 4 +- texttospeech/v1beta1/texttospeech-gen.go | 4 +- toolresults/v1beta3/toolresults-gen.go | 58 +- tpu/v1/tpu-gen.go | 34 +- tpu/v1alpha1/tpu-gen.go | 34 +- trafficdirector/v2/trafficdirector-gen.go | 2 +- transcoder/v1beta1/transcoder-api.json | 9 +- transcoder/v1beta1/transcoder-gen.go | 25 +- translate/v2/translate-gen.go | 10 +- translate/v3/translate-api.json | 4 +- translate/v3/translate-gen.go | 38 +- translate/v3beta1/translate-api.json | 4 +- translate/v3beta1/translate-gen.go | 38 +- vault/v1/vault-gen.go | 66 +- vectortile/v1/vectortile-gen.go | 4 +- verifiedaccess/v1/verifiedaccess-gen.go | 4 +- videointelligence/v1/videointelligence-gen.go | 16 +- .../v1beta2/videointelligence-gen.go | 2 +- .../v1p1beta1/videointelligence-gen.go | 2 +- .../v1p2beta1/videointelligence-gen.go | 2 +- .../v1p3beta1/videointelligence-gen.go | 2 +- vision/v1/vision-gen.go | 76 +- vision/v1p1beta1/vision-gen.go | 24 +- vision/v1p2beta1/vision-gen.go | 24 +- webfonts/v1/webfonts-gen.go | 2 +- webmasters/v3/webmasters-gen.go | 18 +- .../v1/websecurityscanner-gen.go | 26 +- .../v1alpha/websecurityscanner-gen.go | 26 +- .../v1beta/websecurityscanner-gen.go | 26 +- .../v1beta/workflowexecutions-gen.go | 8 +- workflows/v1beta/workflows-api.json | 4 +- workflows/v1beta/workflows-gen.go | 30 +- youtube/v3/youtube-gen.go | 154 +- youtubeanalytics/v2/youtubeanalytics-gen.go | 16 +- youtubereporting/v1/youtubereporting-gen.go | 16 +- 327 files changed, 53039 insertions(+), 23606 deletions(-) diff --git a/abusiveexperiencereport/v1/abusiveexperiencereport-gen.go b/abusiveexperiencereport/v1/abusiveexperiencereport-gen.go index c2fe35a5367..08563240c8f 100644 --- a/abusiveexperiencereport/v1/abusiveexperiencereport-gen.go +++ b/abusiveexperiencereport/v1/abusiveexperiencereport-gen.go @@ -303,7 +303,7 @@ func (c *SitesGetCall) Header() http.Header { func (c *SitesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -442,7 +442,7 @@ func (c *ViolatingSitesListCall) Header() http.Header { func (c *ViolatingSitesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/acceleratedmobilepageurl/v1/acceleratedmobilepageurl-gen.go b/acceleratedmobilepageurl/v1/acceleratedmobilepageurl-gen.go index 60178dc6da5..b18466d3568 100644 --- a/acceleratedmobilepageurl/v1/acceleratedmobilepageurl-gen.go +++ b/acceleratedmobilepageurl/v1/acceleratedmobilepageurl-gen.go @@ -349,7 +349,7 @@ func (c *AmpUrlsBatchGetCall) Header() http.Header { func (c *AmpUrlsBatchGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/accessapproval/v1/accessapproval-gen.go b/accessapproval/v1/accessapproval-gen.go index 765665ed991..bbcb84d379c 100644 --- a/accessapproval/v1/accessapproval-gen.go +++ b/accessapproval/v1/accessapproval-gen.go @@ -714,7 +714,7 @@ func (c *FoldersDeleteAccessApprovalSettingsCall) Header() http.Header { func (c *FoldersDeleteAccessApprovalSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -856,7 +856,7 @@ func (c *FoldersGetAccessApprovalSettingsCall) Header() http.Header { func (c *FoldersGetAccessApprovalSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1006,7 +1006,7 @@ func (c *FoldersUpdateAccessApprovalSettingsCall) Header() http.Header { func (c *FoldersUpdateAccessApprovalSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1155,7 +1155,7 @@ func (c *FoldersApprovalRequestsApproveCall) Header() http.Header { func (c *FoldersApprovalRequestsApproveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1300,7 +1300,7 @@ func (c *FoldersApprovalRequestsDismissCall) Header() http.Header { func (c *FoldersApprovalRequestsDismissCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1450,7 +1450,7 @@ func (c *FoldersApprovalRequestsGetCall) Header() http.Header { func (c *FoldersApprovalRequestsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1623,7 +1623,7 @@ func (c *FoldersApprovalRequestsListCall) Header() http.Header { func (c *FoldersApprovalRequestsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1799,7 +1799,7 @@ func (c *OrganizationsDeleteAccessApprovalSettingsCall) Header() http.Header { func (c *OrganizationsDeleteAccessApprovalSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1941,7 +1941,7 @@ func (c *OrganizationsGetAccessApprovalSettingsCall) Header() http.Header { func (c *OrganizationsGetAccessApprovalSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2091,7 +2091,7 @@ func (c *OrganizationsUpdateAccessApprovalSettingsCall) Header() http.Header { func (c *OrganizationsUpdateAccessApprovalSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2240,7 +2240,7 @@ func (c *OrganizationsApprovalRequestsApproveCall) Header() http.Header { func (c *OrganizationsApprovalRequestsApproveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2385,7 +2385,7 @@ func (c *OrganizationsApprovalRequestsDismissCall) Header() http.Header { func (c *OrganizationsApprovalRequestsDismissCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2535,7 +2535,7 @@ func (c *OrganizationsApprovalRequestsGetCall) Header() http.Header { func (c *OrganizationsApprovalRequestsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2708,7 +2708,7 @@ func (c *OrganizationsApprovalRequestsListCall) Header() http.Header { func (c *OrganizationsApprovalRequestsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2884,7 +2884,7 @@ func (c *ProjectsDeleteAccessApprovalSettingsCall) Header() http.Header { func (c *ProjectsDeleteAccessApprovalSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3026,7 +3026,7 @@ func (c *ProjectsGetAccessApprovalSettingsCall) Header() http.Header { func (c *ProjectsGetAccessApprovalSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3176,7 +3176,7 @@ func (c *ProjectsUpdateAccessApprovalSettingsCall) Header() http.Header { func (c *ProjectsUpdateAccessApprovalSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3325,7 +3325,7 @@ func (c *ProjectsApprovalRequestsApproveCall) Header() http.Header { func (c *ProjectsApprovalRequestsApproveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3470,7 +3470,7 @@ func (c *ProjectsApprovalRequestsDismissCall) Header() http.Header { func (c *ProjectsApprovalRequestsDismissCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3620,7 +3620,7 @@ func (c *ProjectsApprovalRequestsGetCall) Header() http.Header { func (c *ProjectsApprovalRequestsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3793,7 +3793,7 @@ func (c *ProjectsApprovalRequestsListCall) Header() http.Header { func (c *ProjectsApprovalRequestsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/accesscontextmanager/v1/accesscontextmanager-gen.go b/accesscontextmanager/v1/accesscontextmanager-gen.go index e7d95432a39..f263805729c 100644 --- a/accesscontextmanager/v1/accesscontextmanager-gen.go +++ b/accesscontextmanager/v1/accesscontextmanager-gen.go @@ -1439,7 +1439,7 @@ func (c *AccessPoliciesCreateCall) Header() http.Header { func (c *AccessPoliciesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1566,7 +1566,7 @@ func (c *AccessPoliciesDeleteCall) Header() http.Header { func (c *AccessPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1707,7 +1707,7 @@ func (c *AccessPoliciesGetCall) Header() http.Header { func (c *AccessPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1872,7 +1872,7 @@ func (c *AccessPoliciesListCall) Header() http.Header { func (c *AccessPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2043,7 +2043,7 @@ func (c *AccessPoliciesPatchCall) Header() http.Header { func (c *AccessPoliciesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2192,7 +2192,7 @@ func (c *AccessPoliciesAccessLevelsCreateCall) Header() http.Header { func (c *AccessPoliciesAccessLevelsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2332,7 +2332,7 @@ func (c *AccessPoliciesAccessLevelsDeleteCall) Header() http.Header { func (c *AccessPoliciesAccessLevelsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2494,7 +2494,7 @@ func (c *AccessPoliciesAccessLevelsGetCall) Header() http.Header { func (c *AccessPoliciesAccessLevelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2686,7 +2686,7 @@ func (c *AccessPoliciesAccessLevelsListCall) Header() http.Header { func (c *AccessPoliciesAccessLevelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2879,7 +2879,7 @@ func (c *AccessPoliciesAccessLevelsPatchCall) Header() http.Header { func (c *AccessPoliciesAccessLevelsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3033,7 +3033,7 @@ func (c *AccessPoliciesAccessLevelsReplaceAllCall) Header() http.Header { func (c *AccessPoliciesAccessLevelsReplaceAllCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3184,7 +3184,7 @@ func (c *AccessPoliciesServicePerimetersCommitCall) Header() http.Header { func (c *AccessPoliciesServicePerimetersCommitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3328,7 +3328,7 @@ func (c *AccessPoliciesServicePerimetersCreateCall) Header() http.Header { func (c *AccessPoliciesServicePerimetersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3468,7 +3468,7 @@ func (c *AccessPoliciesServicePerimetersDeleteCall) Header() http.Header { func (c *AccessPoliciesServicePerimetersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3609,7 +3609,7 @@ func (c *AccessPoliciesServicePerimetersGetCall) Header() http.Header { func (c *AccessPoliciesServicePerimetersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3768,7 +3768,7 @@ func (c *AccessPoliciesServicePerimetersListCall) Header() http.Header { func (c *AccessPoliciesServicePerimetersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3946,7 +3946,7 @@ func (c *AccessPoliciesServicePerimetersPatchCall) Header() http.Header { func (c *AccessPoliciesServicePerimetersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4099,7 +4099,7 @@ func (c *AccessPoliciesServicePerimetersReplaceAllCall) Header() http.Header { func (c *AccessPoliciesServicePerimetersReplaceAllCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4248,7 +4248,7 @@ func (c *OperationsCancelCall) Header() http.Header { func (c *OperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4389,7 +4389,7 @@ func (c *OperationsDeleteCall) Header() http.Header { func (c *OperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4532,7 +4532,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4706,7 +4706,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4882,7 +4882,7 @@ func (c *OrganizationsGcpUserAccessBindingsCreateCall) Header() http.Header { func (c *OrganizationsGcpUserAccessBindingsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5023,7 +5023,7 @@ func (c *OrganizationsGcpUserAccessBindingsDeleteCall) Header() http.Header { func (c *OrganizationsGcpUserAccessBindingsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5164,7 +5164,7 @@ func (c *OrganizationsGcpUserAccessBindingsGetCall) Header() http.Header { func (c *OrganizationsGcpUserAccessBindingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5325,7 +5325,7 @@ func (c *OrganizationsGcpUserAccessBindingsListCall) Header() http.Header { func (c *OrganizationsGcpUserAccessBindingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5505,7 +5505,7 @@ func (c *OrganizationsGcpUserAccessBindingsPatchCall) Header() http.Header { func (c *OrganizationsGcpUserAccessBindingsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/accesscontextmanager/v1beta/accesscontextmanager-gen.go b/accesscontextmanager/v1beta/accesscontextmanager-gen.go index a1a879517f7..4fe417cfcba 100644 --- a/accesscontextmanager/v1beta/accesscontextmanager-gen.go +++ b/accesscontextmanager/v1beta/accesscontextmanager-gen.go @@ -1042,7 +1042,7 @@ func (c *AccessPoliciesCreateCall) Header() http.Header { func (c *AccessPoliciesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1169,7 +1169,7 @@ func (c *AccessPoliciesDeleteCall) Header() http.Header { func (c *AccessPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1310,7 +1310,7 @@ func (c *AccessPoliciesGetCall) Header() http.Header { func (c *AccessPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1475,7 +1475,7 @@ func (c *AccessPoliciesListCall) Header() http.Header { func (c *AccessPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1646,7 +1646,7 @@ func (c *AccessPoliciesPatchCall) Header() http.Header { func (c *AccessPoliciesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1795,7 +1795,7 @@ func (c *AccessPoliciesAccessLevelsCreateCall) Header() http.Header { func (c *AccessPoliciesAccessLevelsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1935,7 +1935,7 @@ func (c *AccessPoliciesAccessLevelsDeleteCall) Header() http.Header { func (c *AccessPoliciesAccessLevelsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2097,7 +2097,7 @@ func (c *AccessPoliciesAccessLevelsGetCall) Header() http.Header { func (c *AccessPoliciesAccessLevelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2289,7 +2289,7 @@ func (c *AccessPoliciesAccessLevelsListCall) Header() http.Header { func (c *AccessPoliciesAccessLevelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2482,7 +2482,7 @@ func (c *AccessPoliciesAccessLevelsPatchCall) Header() http.Header { func (c *AccessPoliciesAccessLevelsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2632,7 +2632,7 @@ func (c *AccessPoliciesServicePerimetersCreateCall) Header() http.Header { func (c *AccessPoliciesServicePerimetersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2772,7 +2772,7 @@ func (c *AccessPoliciesServicePerimetersDeleteCall) Header() http.Header { func (c *AccessPoliciesServicePerimetersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2913,7 +2913,7 @@ func (c *AccessPoliciesServicePerimetersGetCall) Header() http.Header { func (c *AccessPoliciesServicePerimetersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3072,7 +3072,7 @@ func (c *AccessPoliciesServicePerimetersListCall) Header() http.Header { func (c *AccessPoliciesServicePerimetersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3250,7 +3250,7 @@ func (c *AccessPoliciesServicePerimetersPatchCall) Header() http.Header { func (c *AccessPoliciesServicePerimetersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3407,7 +3407,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/adexchangebuyer/v1.2/adexchangebuyer-gen.go b/adexchangebuyer/v1.2/adexchangebuyer-gen.go index 8f5fc6a07d3..541f60ef483 100644 --- a/adexchangebuyer/v1.2/adexchangebuyer-gen.go +++ b/adexchangebuyer/v1.2/adexchangebuyer-gen.go @@ -637,7 +637,7 @@ func (c *AccountsGetCall) Header() http.Header { func (c *AccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -778,7 +778,7 @@ func (c *AccountsListCall) Header() http.Header { func (c *AccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -898,7 +898,7 @@ func (c *AccountsPatchCall) Header() http.Header { func (c *AccountsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1037,7 +1037,7 @@ func (c *AccountsUpdateCall) Header() http.Header { func (c *AccountsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1188,7 +1188,7 @@ func (c *CreativesGetCall) Header() http.Header { func (c *CreativesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1328,7 +1328,7 @@ func (c *CreativesInsertCall) Header() http.Header { func (c *CreativesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1489,7 +1489,7 @@ func (c *CreativesListCall) Header() http.Header { func (c *CreativesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/adexchangebuyer/v1.3/adexchangebuyer-gen.go b/adexchangebuyer/v1.3/adexchangebuyer-gen.go index 22b0902b82f..9a227c6b51e 100644 --- a/adexchangebuyer/v1.3/adexchangebuyer-gen.go +++ b/adexchangebuyer/v1.3/adexchangebuyer-gen.go @@ -1626,7 +1626,7 @@ func (c *AccountsGetCall) Header() http.Header { func (c *AccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1767,7 +1767,7 @@ func (c *AccountsListCall) Header() http.Header { func (c *AccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1887,7 +1887,7 @@ func (c *AccountsPatchCall) Header() http.Header { func (c *AccountsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2026,7 +2026,7 @@ func (c *AccountsUpdateCall) Header() http.Header { func (c *AccountsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2175,7 +2175,7 @@ func (c *BillingInfoGetCall) Header() http.Header { func (c *BillingInfoGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2317,7 +2317,7 @@ func (c *BillingInfoListCall) Header() http.Header { func (c *BillingInfoListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2448,7 +2448,7 @@ func (c *BudgetGetCall) Header() http.Header { func (c *BudgetGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2595,7 +2595,7 @@ func (c *BudgetPatchCall) Header() http.Header { func (c *BudgetPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2747,7 +2747,7 @@ func (c *BudgetUpdateCall) Header() http.Header { func (c *BudgetUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2907,7 +2907,7 @@ func (c *CreativesGetCall) Header() http.Header { func (c *CreativesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3047,7 +3047,7 @@ func (c *CreativesInsertCall) Header() http.Header { func (c *CreativesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3227,7 +3227,7 @@ func (c *CreativesListCall) Header() http.Header { func (c *CreativesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3419,7 +3419,7 @@ func (c *DirectDealsGetCall) Header() http.Header { func (c *DirectDealsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3560,7 +3560,7 @@ func (c *DirectDealsListCall) Header() http.Header { func (c *DirectDealsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3706,7 +3706,7 @@ func (c *PerformanceReportListCall) Header() http.Header { func (c *PerformanceReportListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3864,7 +3864,7 @@ func (c *PretargetingConfigDeleteCall) Header() http.Header { func (c *PretargetingConfigDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3987,7 +3987,7 @@ func (c *PretargetingConfigGetCall) Header() http.Header { func (c *PretargetingConfigGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4130,7 +4130,7 @@ func (c *PretargetingConfigInsertCall) Header() http.Header { func (c *PretargetingConfigInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4279,7 +4279,7 @@ func (c *PretargetingConfigListCall) Header() http.Header { func (c *PretargetingConfigListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4416,7 +4416,7 @@ func (c *PretargetingConfigPatchCall) Header() http.Header { func (c *PretargetingConfigPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4566,7 +4566,7 @@ func (c *PretargetingConfigUpdateCall) Header() http.Header { func (c *PretargetingConfigUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/adexchangebuyer/v1.4/adexchangebuyer-gen.go b/adexchangebuyer/v1.4/adexchangebuyer-gen.go index da43014ab97..485ce461017 100644 --- a/adexchangebuyer/v1.4/adexchangebuyer-gen.go +++ b/adexchangebuyer/v1.4/adexchangebuyer-gen.go @@ -4091,7 +4091,7 @@ func (c *AccountsGetCall) Header() http.Header { func (c *AccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4232,7 +4232,7 @@ func (c *AccountsListCall) Header() http.Header { func (c *AccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4360,7 +4360,7 @@ func (c *AccountsPatchCall) Header() http.Header { func (c *AccountsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4512,7 +4512,7 @@ func (c *AccountsUpdateCall) Header() http.Header { func (c *AccountsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4666,7 +4666,7 @@ func (c *BillingInfoGetCall) Header() http.Header { func (c *BillingInfoGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4808,7 +4808,7 @@ func (c *BillingInfoListCall) Header() http.Header { func (c *BillingInfoListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4939,7 +4939,7 @@ func (c *BudgetGetCall) Header() http.Header { func (c *BudgetGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5086,7 +5086,7 @@ func (c *BudgetPatchCall) Header() http.Header { func (c *BudgetPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5238,7 +5238,7 @@ func (c *BudgetUpdateCall) Header() http.Header { func (c *BudgetUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5388,7 +5388,7 @@ func (c *CreativesAddDealCall) Header() http.Header { func (c *CreativesAddDealCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5520,7 +5520,7 @@ func (c *CreativesGetCall) Header() http.Header { func (c *CreativesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5660,7 +5660,7 @@ func (c *CreativesInsertCall) Header() http.Header { func (c *CreativesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5863,7 +5863,7 @@ func (c *CreativesListCall) Header() http.Header { func (c *CreativesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6076,7 +6076,7 @@ func (c *CreativesListDealsCall) Header() http.Header { func (c *CreativesListDealsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6220,7 +6220,7 @@ func (c *CreativesRemoveDealCall) Header() http.Header { func (c *CreativesRemoveDealCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6340,7 +6340,7 @@ func (c *MarketplacedealsDeleteCall) Header() http.Header { func (c *MarketplacedealsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6478,7 +6478,7 @@ func (c *MarketplacedealsInsertCall) Header() http.Header { func (c *MarketplacedealsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6632,7 +6632,7 @@ func (c *MarketplacedealsListCall) Header() http.Header { func (c *MarketplacedealsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6771,7 +6771,7 @@ func (c *MarketplacedealsUpdateCall) Header() http.Header { func (c *MarketplacedealsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6909,7 +6909,7 @@ func (c *MarketplacenotesInsertCall) Header() http.Header { func (c *MarketplacenotesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7065,7 +7065,7 @@ func (c *MarketplacenotesListCall) Header() http.Header { func (c *MarketplacenotesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7203,7 +7203,7 @@ func (c *MarketplaceprivateauctionUpdateproposalCall) Header() http.Header { func (c *MarketplaceprivateauctionUpdateproposalCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7340,7 +7340,7 @@ func (c *PerformanceReportListCall) Header() http.Header { func (c *PerformanceReportListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7498,7 +7498,7 @@ func (c *PretargetingConfigDeleteCall) Header() http.Header { func (c *PretargetingConfigDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7621,7 +7621,7 @@ func (c *PretargetingConfigGetCall) Header() http.Header { func (c *PretargetingConfigGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7764,7 +7764,7 @@ func (c *PretargetingConfigInsertCall) Header() http.Header { func (c *PretargetingConfigInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7913,7 +7913,7 @@ func (c *PretargetingConfigListCall) Header() http.Header { func (c *PretargetingConfigListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8050,7 +8050,7 @@ func (c *PretargetingConfigPatchCall) Header() http.Header { func (c *PretargetingConfigPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8200,7 +8200,7 @@ func (c *PretargetingConfigUpdateCall) Header() http.Header { func (c *PretargetingConfigUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8357,7 +8357,7 @@ func (c *ProductsGetCall) Header() http.Header { func (c *ProductsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8504,7 +8504,7 @@ func (c *ProductsSearchCall) Header() http.Header { func (c *ProductsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8639,7 +8639,7 @@ func (c *ProposalsGetCall) Header() http.Header { func (c *ProposalsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8770,7 +8770,7 @@ func (c *ProposalsInsertCall) Header() http.Header { func (c *ProposalsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8899,7 +8899,7 @@ func (c *ProposalsPatchCall) Header() http.Header { func (c *ProposalsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9084,7 +9084,7 @@ func (c *ProposalsSearchCall) Header() http.Header { func (c *ProposalsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9209,7 +9209,7 @@ func (c *ProposalsSetupcompleteCall) Header() http.Header { func (c *ProposalsSetupcompleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9315,7 +9315,7 @@ func (c *ProposalsUpdateCall) Header() http.Header { func (c *ProposalsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9495,7 +9495,7 @@ func (c *PubprofilesListCall) Header() http.Header { func (c *PubprofilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/adexchangebuyer2/v2beta1/adexchangebuyer2-gen.go b/adexchangebuyer2/v2beta1/adexchangebuyer2-gen.go index b912fdc69cf..ff233ae7f02 100644 --- a/adexchangebuyer2/v2beta1/adexchangebuyer2-gen.go +++ b/adexchangebuyer2/v2beta1/adexchangebuyer2-gen.go @@ -5713,7 +5713,7 @@ func (c *AccountsClientsCreateCall) Header() http.Header { func (c *AccountsClientsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5864,7 +5864,7 @@ func (c *AccountsClientsGetCall) Header() http.Header { func (c *AccountsClientsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6043,7 +6043,7 @@ func (c *AccountsClientsListCall) Header() http.Header { func (c *AccountsClientsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6217,7 +6217,7 @@ func (c *AccountsClientsUpdateCall) Header() http.Header { func (c *AccountsClientsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6369,7 +6369,7 @@ func (c *AccountsClientsInvitationsCreateCall) Header() http.Header { func (c *AccountsClientsInvitationsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6531,7 +6531,7 @@ func (c *AccountsClientsInvitationsGetCall) Header() http.Header { func (c *AccountsClientsInvitationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6714,7 +6714,7 @@ func (c *AccountsClientsInvitationsListCall) Header() http.Header { func (c *AccountsClientsInvitationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6903,7 +6903,7 @@ func (c *AccountsClientsUsersGetCall) Header() http.Header { func (c *AccountsClientsUsersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7085,7 +7085,7 @@ func (c *AccountsClientsUsersListCall) Header() http.Header { func (c *AccountsClientsUsersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7265,7 +7265,7 @@ func (c *AccountsClientsUsersUpdateCall) Header() http.Header { func (c *AccountsClientsUsersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7441,7 +7441,7 @@ func (c *AccountsCreativesCreateCall) Header() http.Header { func (c *AccountsCreativesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7604,7 +7604,7 @@ func (c *AccountsCreativesGetCall) Header() http.Header { func (c *AccountsCreativesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7790,7 +7790,7 @@ func (c *AccountsCreativesListCall) Header() http.Header { func (c *AccountsCreativesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7964,7 +7964,7 @@ func (c *AccountsCreativesStopWatchingCall) Header() http.Header { func (c *AccountsCreativesStopWatchingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8113,7 +8113,7 @@ func (c *AccountsCreativesUpdateCall) Header() http.Header { func (c *AccountsCreativesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8263,7 +8263,7 @@ func (c *AccountsCreativesWatchCall) Header() http.Header { func (c *AccountsCreativesWatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8412,7 +8412,7 @@ func (c *AccountsCreativesDealAssociationsAddCall) Header() http.Header { func (c *AccountsCreativesDealAssociationsAddCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8600,7 +8600,7 @@ func (c *AccountsCreativesDealAssociationsListCall) Header() http.Header { func (c *AccountsCreativesDealAssociationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8781,7 +8781,7 @@ func (c *AccountsCreativesDealAssociationsRemoveCall) Header() http.Header { func (c *AccountsCreativesDealAssociationsRemoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8980,7 +8980,7 @@ func (c *AccountsFinalizedProposalsListCall) Header() http.Header { func (c *AccountsFinalizedProposalsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9177,7 +9177,7 @@ func (c *AccountsProductsGetCall) Header() http.Header { func (c *AccountsProductsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9354,7 +9354,7 @@ func (c *AccountsProductsListCall) Header() http.Header { func (c *AccountsProductsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9533,7 +9533,7 @@ func (c *AccountsProposalsAcceptCall) Header() http.Header { func (c *AccountsProposalsAcceptCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9684,7 +9684,7 @@ func (c *AccountsProposalsAddNoteCall) Header() http.Header { func (c *AccountsProposalsAddNoteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9835,7 +9835,7 @@ func (c *AccountsProposalsCancelNegotiationCall) Header() http.Header { func (c *AccountsProposalsCancelNegotiationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9990,7 +9990,7 @@ func (c *AccountsProposalsCompleteSetupCall) Header() http.Header { func (c *AccountsProposalsCompleteSetupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10138,7 +10138,7 @@ func (c *AccountsProposalsCreateCall) Header() http.Header { func (c *AccountsProposalsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10289,7 +10289,7 @@ func (c *AccountsProposalsGetCall) Header() http.Header { func (c *AccountsProposalsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10487,7 +10487,7 @@ func (c *AccountsProposalsListCall) Header() http.Header { func (c *AccountsProposalsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10679,7 +10679,7 @@ func (c *AccountsProposalsPauseCall) Header() http.Header { func (c *AccountsProposalsPauseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10834,7 +10834,7 @@ func (c *AccountsProposalsResumeCall) Header() http.Header { func (c *AccountsProposalsResumeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10993,7 +10993,7 @@ func (c *AccountsProposalsUpdateCall) Header() http.Header { func (c *AccountsProposalsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11151,7 +11151,7 @@ func (c *AccountsPublisherProfilesGetCall) Header() http.Header { func (c *AccountsPublisherProfilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11316,7 +11316,7 @@ func (c *AccountsPublisherProfilesListCall) Header() http.Header { func (c *AccountsPublisherProfilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11492,7 +11492,7 @@ func (c *BiddersAccountsFilterSetsCreateCall) Header() http.Header { func (c *BiddersAccountsFilterSetsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11636,7 +11636,7 @@ func (c *BiddersAccountsFilterSetsDeleteCall) Header() http.Header { func (c *BiddersAccountsFilterSetsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11778,7 +11778,7 @@ func (c *BiddersAccountsFilterSetsGetCall) Header() http.Header { func (c *BiddersAccountsFilterSetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11940,7 +11940,7 @@ func (c *BiddersAccountsFilterSetsListCall) Header() http.Header { func (c *BiddersAccountsFilterSetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12133,7 +12133,7 @@ func (c *BiddersAccountsFilterSetsBidMetricsListCall) Header() http.Header { func (c *BiddersAccountsFilterSetsBidMetricsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12327,7 +12327,7 @@ func (c *BiddersAccountsFilterSetsBidResponseErrorsListCall) Header() http.Heade func (c *BiddersAccountsFilterSetsBidResponseErrorsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12523,7 +12523,7 @@ func (c *BiddersAccountsFilterSetsBidResponsesWithoutBidsListCall) Header() http func (c *BiddersAccountsFilterSetsBidResponsesWithoutBidsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12720,7 +12720,7 @@ func (c *BiddersAccountsFilterSetsFilteredBidRequestsListCall) Header() http.Hea func (c *BiddersAccountsFilterSetsFilteredBidRequestsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12914,7 +12914,7 @@ func (c *BiddersAccountsFilterSetsFilteredBidsListCall) Header() http.Header { func (c *BiddersAccountsFilterSetsFilteredBidsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13112,7 +13112,7 @@ func (c *BiddersAccountsFilterSetsFilteredBidsCreativesListCall) Header() http.H func (c *BiddersAccountsFilterSetsFilteredBidsCreativesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13320,7 +13320,7 @@ func (c *BiddersAccountsFilterSetsFilteredBidsDetailsListCall) Header() http.Hea func (c *BiddersAccountsFilterSetsFilteredBidsDetailsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13525,7 +13525,7 @@ func (c *BiddersAccountsFilterSetsImpressionMetricsListCall) Header() http.Heade func (c *BiddersAccountsFilterSetsImpressionMetricsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13719,7 +13719,7 @@ func (c *BiddersAccountsFilterSetsLosingBidsListCall) Header() http.Header { func (c *BiddersAccountsFilterSetsLosingBidsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13914,7 +13914,7 @@ func (c *BiddersAccountsFilterSetsNonBillableWinningBidsListCall) Header() http. func (c *BiddersAccountsFilterSetsNonBillableWinningBidsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14092,7 +14092,7 @@ func (c *BiddersFilterSetsCreateCall) Header() http.Header { func (c *BiddersFilterSetsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14236,7 +14236,7 @@ func (c *BiddersFilterSetsDeleteCall) Header() http.Header { func (c *BiddersFilterSetsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14378,7 +14378,7 @@ func (c *BiddersFilterSetsGetCall) Header() http.Header { func (c *BiddersFilterSetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14540,7 +14540,7 @@ func (c *BiddersFilterSetsListCall) Header() http.Header { func (c *BiddersFilterSetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14733,7 +14733,7 @@ func (c *BiddersFilterSetsBidMetricsListCall) Header() http.Header { func (c *BiddersFilterSetsBidMetricsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14927,7 +14927,7 @@ func (c *BiddersFilterSetsBidResponseErrorsListCall) Header() http.Header { func (c *BiddersFilterSetsBidResponseErrorsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15123,7 +15123,7 @@ func (c *BiddersFilterSetsBidResponsesWithoutBidsListCall) Header() http.Header func (c *BiddersFilterSetsBidResponsesWithoutBidsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15320,7 +15320,7 @@ func (c *BiddersFilterSetsFilteredBidRequestsListCall) Header() http.Header { func (c *BiddersFilterSetsFilteredBidRequestsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15514,7 +15514,7 @@ func (c *BiddersFilterSetsFilteredBidsListCall) Header() http.Header { func (c *BiddersFilterSetsFilteredBidsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15712,7 +15712,7 @@ func (c *BiddersFilterSetsFilteredBidsCreativesListCall) Header() http.Header { func (c *BiddersFilterSetsFilteredBidsCreativesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15920,7 +15920,7 @@ func (c *BiddersFilterSetsFilteredBidsDetailsListCall) Header() http.Header { func (c *BiddersFilterSetsFilteredBidsDetailsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16125,7 +16125,7 @@ func (c *BiddersFilterSetsImpressionMetricsListCall) Header() http.Header { func (c *BiddersFilterSetsImpressionMetricsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16319,7 +16319,7 @@ func (c *BiddersFilterSetsLosingBidsListCall) Header() http.Header { func (c *BiddersFilterSetsLosingBidsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16514,7 +16514,7 @@ func (c *BiddersFilterSetsNonBillableWinningBidsListCall) Header() http.Header { func (c *BiddersFilterSetsNonBillableWinningBidsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/adexperiencereport/v1/adexperiencereport-gen.go b/adexperiencereport/v1/adexperiencereport-gen.go index f6c4e92bfc7..31789b859bc 100644 --- a/adexperiencereport/v1/adexperiencereport-gen.go +++ b/adexperiencereport/v1/adexperiencereport-gen.go @@ -353,7 +353,7 @@ func (c *SitesGetCall) Header() http.Header { func (c *SitesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -493,7 +493,7 @@ func (c *ViolatingSitesListCall) Header() http.Header { func (c *ViolatingSitesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/admin/datatransfer/v1/admin-gen.go b/admin/datatransfer/v1/admin-gen.go index 0474d224b59..9169b97eb8f 100644 --- a/admin/datatransfer/v1/admin-gen.go +++ b/admin/datatransfer/v1/admin-gen.go @@ -486,7 +486,7 @@ func (c *ApplicationsGetCall) Header() http.Header { func (c *ApplicationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -651,7 +651,7 @@ func (c *ApplicationsListCall) Header() http.Header { func (c *ApplicationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -823,7 +823,7 @@ func (c *TransfersGetCall) Header() http.Header { func (c *TransfersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -956,7 +956,7 @@ func (c *TransfersInsertCall) Header() http.Header { func (c *TransfersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1132,7 +1132,7 @@ func (c *TransfersListCall) Header() http.Header { func (c *TransfersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/admin/directory/v1/admin-gen.go b/admin/directory/v1/admin-gen.go index a5d0cd74322..497d87a93c1 100644 --- a/admin/directory/v1/admin-gen.go +++ b/admin/directory/v1/admin-gen.go @@ -5005,7 +5005,7 @@ func (c *AspsDeleteCall) Header() http.Header { func (c *AspsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5128,7 +5128,7 @@ func (c *AspsGetCall) Header() http.Header { func (c *AspsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5280,7 +5280,7 @@ func (c *AspsListCall) Header() http.Header { func (c *AspsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5412,7 +5412,7 @@ func (c *ChannelsStopCall) Header() http.Header { func (c *ChannelsStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5527,7 +5527,7 @@ func (c *ChromeosdevicesActionCall) Header() http.Header { func (c *ChromeosdevicesActionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5671,7 +5671,7 @@ func (c *ChromeosdevicesGetCall) Header() http.Header { func (c *ChromeosdevicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5919,7 +5919,7 @@ func (c *ChromeosdevicesListCall) Header() http.Header { func (c *ChromeosdevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6155,7 +6155,7 @@ func (c *ChromeosdevicesMoveDevicesToOuCall) Header() http.Header { func (c *ChromeosdevicesMoveDevicesToOuCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6291,7 +6291,7 @@ func (c *ChromeosdevicesPatchCall) Header() http.Header { func (c *ChromeosdevicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6470,7 +6470,7 @@ func (c *ChromeosdevicesUpdateCall) Header() http.Header { func (c *ChromeosdevicesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6634,7 +6634,7 @@ func (c *CustomerDevicesChromeosIssueCommandCall) Header() http.Header { func (c *CustomerDevicesChromeosIssueCommandCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6796,7 +6796,7 @@ func (c *CustomerDevicesChromeosCommandsGetCall) Header() http.Header { func (c *CustomerDevicesChromeosCommandsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6957,7 +6957,7 @@ func (c *CustomersGetCall) Header() http.Header { func (c *CustomersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7092,7 +7092,7 @@ func (c *CustomersPatchCall) Header() http.Header { func (c *CustomersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7231,7 +7231,7 @@ func (c *CustomersUpdateCall) Header() http.Header { func (c *CustomersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7370,7 +7370,7 @@ func (c *DomainAliasesDeleteCall) Header() http.Header { func (c *DomainAliasesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7492,7 +7492,7 @@ func (c *DomainAliasesGetCall) Header() http.Header { func (c *DomainAliasesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7635,7 +7635,7 @@ func (c *DomainAliasesInsertCall) Header() http.Header { func (c *DomainAliasesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7790,7 +7790,7 @@ func (c *DomainAliasesListCall) Header() http.Header { func (c *DomainAliasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7930,7 +7930,7 @@ func (c *DomainsDeleteCall) Header() http.Header { func (c *DomainsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8052,7 +8052,7 @@ func (c *DomainsGetCall) Header() http.Header { func (c *DomainsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8195,7 +8195,7 @@ func (c *DomainsInsertCall) Header() http.Header { func (c *DomainsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8343,7 +8343,7 @@ func (c *DomainsListCall) Header() http.Header { func (c *DomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8476,7 +8476,7 @@ func (c *GroupsDeleteCall) Header() http.Header { func (c *GroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8588,7 +8588,7 @@ func (c *GroupsGetCall) Header() http.Header { func (c *GroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8721,7 +8721,7 @@ func (c *GroupsInsertCall) Header() http.Header { func (c *GroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8931,7 +8931,7 @@ func (c *GroupsListCall) Header() http.Header { func (c *GroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9138,7 +9138,7 @@ func (c *GroupsPatchCall) Header() http.Header { func (c *GroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9277,7 +9277,7 @@ func (c *GroupsUpdateCall) Header() http.Header { func (c *GroupsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9416,7 +9416,7 @@ func (c *GroupsAliasesDeleteCall) Header() http.Header { func (c *GroupsAliasesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9527,7 +9527,7 @@ func (c *GroupsAliasesInsertCall) Header() http.Header { func (c *GroupsAliasesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9675,7 +9675,7 @@ func (c *GroupsAliasesListCall) Header() http.Header { func (c *GroupsAliasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9810,7 +9810,7 @@ func (c *MembersDeleteCall) Header() http.Header { func (c *MembersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9933,7 +9933,7 @@ func (c *MembersGetCall) Header() http.Header { func (c *MembersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10090,7 +10090,7 @@ func (c *MembersHasMemberCall) Header() http.Header { func (c *MembersHasMemberCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10235,7 +10235,7 @@ func (c *MembersInsertCall) Header() http.Header { func (c *MembersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10414,7 +10414,7 @@ func (c *MembersListCall) Header() http.Header { func (c *MembersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10599,7 +10599,7 @@ func (c *MembersPatchCall) Header() http.Header { func (c *MembersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10749,7 +10749,7 @@ func (c *MembersUpdateCall) Header() http.Header { func (c *MembersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10900,7 +10900,7 @@ func (c *MobiledevicesActionCall) Header() http.Header { func (c *MobiledevicesActionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11020,7 +11020,7 @@ func (c *MobiledevicesDeleteCall) Header() http.Header { func (c *MobiledevicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11155,7 +11155,7 @@ func (c *MobiledevicesGetCall) Header() http.Header { func (c *MobiledevicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11391,7 +11391,7 @@ func (c *MobiledevicesListCall) Header() http.Header { func (c *MobiledevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11624,7 +11624,7 @@ func (c *OrgunitsDeleteCall) Header() http.Header { func (c *OrgunitsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11747,7 +11747,7 @@ func (c *OrgunitsGetCall) Header() http.Header { func (c *OrgunitsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11891,7 +11891,7 @@ func (c *OrgunitsInsertCall) Header() http.Header { func (c *OrgunitsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12059,7 +12059,7 @@ func (c *OrgunitsListCall) Header() http.Header { func (c *OrgunitsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12218,7 +12218,7 @@ func (c *OrgunitsPatchCall) Header() http.Header { func (c *OrgunitsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12368,7 +12368,7 @@ func (c *OrgunitsUpdateCall) Header() http.Header { func (c *OrgunitsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12525,7 +12525,7 @@ func (c *PrivilegesListCall) Header() http.Header { func (c *PrivilegesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12660,7 +12660,7 @@ func (c *ResourcesBuildingsDeleteCall) Header() http.Header { func (c *ResourcesBuildingsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12782,7 +12782,7 @@ func (c *ResourcesBuildingsGetCall) Header() http.Header { func (c *ResourcesBuildingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12942,7 +12942,7 @@ func (c *ResourcesBuildingsInsertCall) Header() http.Header { func (c *ResourcesBuildingsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13122,7 +13122,7 @@ func (c *ResourcesBuildingsListCall) Header() http.Header { func (c *ResourcesBuildingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13310,7 +13310,7 @@ func (c *ResourcesBuildingsPatchCall) Header() http.Header { func (c *ResourcesBuildingsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13494,7 +13494,7 @@ func (c *ResourcesBuildingsUpdateCall) Header() http.Header { func (c *ResourcesBuildingsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13659,7 +13659,7 @@ func (c *ResourcesCalendarsDeleteCall) Header() http.Header { func (c *ResourcesCalendarsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13781,7 +13781,7 @@ func (c *ResourcesCalendarsGetCall) Header() http.Header { func (c *ResourcesCalendarsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13924,7 +13924,7 @@ func (c *ResourcesCalendarsInsertCall) Header() http.Header { func (c *ResourcesCalendarsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14116,7 +14116,7 @@ func (c *ResourcesCalendarsListCall) Header() http.Header { func (c *ResourcesCalendarsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14297,7 +14297,7 @@ func (c *ResourcesCalendarsPatchCall) Header() http.Header { func (c *ResourcesCalendarsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14448,7 +14448,7 @@ func (c *ResourcesCalendarsUpdateCall) Header() http.Header { func (c *ResourcesCalendarsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14595,7 +14595,7 @@ func (c *ResourcesFeaturesDeleteCall) Header() http.Header { func (c *ResourcesFeaturesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14717,7 +14717,7 @@ func (c *ResourcesFeaturesGetCall) Header() http.Header { func (c *ResourcesFeaturesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14860,7 +14860,7 @@ func (c *ResourcesFeaturesInsertCall) Header() http.Header { func (c *ResourcesFeaturesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15022,7 +15022,7 @@ func (c *ResourcesFeaturesListCall) Header() http.Header { func (c *ResourcesFeaturesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15193,7 +15193,7 @@ func (c *ResourcesFeaturesPatchCall) Header() http.Header { func (c *ResourcesFeaturesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15342,7 +15342,7 @@ func (c *ResourcesFeaturesRenameCall) Header() http.Header { func (c *ResourcesFeaturesRenameCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15463,7 +15463,7 @@ func (c *ResourcesFeaturesUpdateCall) Header() http.Header { func (c *ResourcesFeaturesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15610,7 +15610,7 @@ func (c *RoleAssignmentsDeleteCall) Header() http.Header { func (c *RoleAssignmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15732,7 +15732,7 @@ func (c *RoleAssignmentsGetCall) Header() http.Header { func (c *RoleAssignmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15875,7 +15875,7 @@ func (c *RoleAssignmentsInsertCall) Header() http.Header { func (c *RoleAssignmentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16053,7 +16053,7 @@ func (c *RoleAssignmentsListCall) Header() http.Header { func (c *RoleAssignmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16232,7 +16232,7 @@ func (c *RolesDeleteCall) Header() http.Header { func (c *RolesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16354,7 +16354,7 @@ func (c *RolesGetCall) Header() http.Header { func (c *RolesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16497,7 +16497,7 @@ func (c *RolesInsertCall) Header() http.Header { func (c *RolesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16659,7 +16659,7 @@ func (c *RolesListCall) Header() http.Header { func (c *RolesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16830,7 +16830,7 @@ func (c *RolesPatchCall) Header() http.Header { func (c *RolesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16979,7 +16979,7 @@ func (c *RolesUpdateCall) Header() http.Header { func (c *RolesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17126,7 +17126,7 @@ func (c *SchemasDeleteCall) Header() http.Header { func (c *SchemasDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17248,7 +17248,7 @@ func (c *SchemasGetCall) Header() http.Header { func (c *SchemasGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17391,7 +17391,7 @@ func (c *SchemasInsertCall) Header() http.Header { func (c *SchemasInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17539,7 +17539,7 @@ func (c *SchemasListCall) Header() http.Header { func (c *SchemasListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17676,7 +17676,7 @@ func (c *SchemasPatchCall) Header() http.Header { func (c *SchemasPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17825,7 +17825,7 @@ func (c *SchemasUpdateCall) Header() http.Header { func (c *SchemasUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17972,7 +17972,7 @@ func (c *TokensDeleteCall) Header() http.Header { func (c *TokensDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18094,7 +18094,7 @@ func (c *TokensGetCall) Header() http.Header { func (c *TokensGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18246,7 +18246,7 @@ func (c *TokensListCall) Header() http.Header { func (c *TokensListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18378,7 +18378,7 @@ func (c *TwoStepVerificationTurnOffCall) Header() http.Header { func (c *TwoStepVerificationTurnOffCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18479,7 +18479,7 @@ func (c *UsersDeleteCall) Header() http.Header { func (c *UsersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18630,7 +18630,7 @@ func (c *UsersGetCall) Header() http.Header { func (c *UsersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18802,7 +18802,7 @@ func (c *UsersInsertCall) Header() http.Header { func (c *UsersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19051,7 +19051,7 @@ func (c *UsersListCall) Header() http.Header { func (c *UsersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19302,7 +19302,7 @@ func (c *UsersMakeAdminCall) Header() http.Header { func (c *UsersMakeAdminCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19417,7 +19417,7 @@ func (c *UsersPatchCall) Header() http.Header { func (c *UsersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19556,7 +19556,7 @@ func (c *UsersSignOutCall) Header() http.Header { func (c *UsersSignOutCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19659,7 +19659,7 @@ func (c *UsersUndeleteCall) Header() http.Header { func (c *UsersUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19773,7 +19773,7 @@ func (c *UsersUpdateCall) Header() http.Header { func (c *UsersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20032,7 +20032,7 @@ func (c *UsersWatchCall) Header() http.Header { func (c *UsersWatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20286,7 +20286,7 @@ func (c *UsersAliasesDeleteCall) Header() http.Header { func (c *UsersAliasesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20398,7 +20398,7 @@ func (c *UsersAliasesInsertCall) Header() http.Header { func (c *UsersAliasesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20547,7 +20547,7 @@ func (c *UsersAliasesListCall) Header() http.Header { func (c *UsersAliasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20695,7 +20695,7 @@ func (c *UsersAliasesWatchCall) Header() http.Header { func (c *UsersAliasesWatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20850,7 +20850,7 @@ func (c *UsersPhotosDeleteCall) Header() http.Header { func (c *UsersPhotosDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20962,7 +20962,7 @@ func (c *UsersPhotosGetCall) Header() http.Header { func (c *UsersPhotosGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21098,7 +21098,7 @@ func (c *UsersPhotosPatchCall) Header() http.Header { func (c *UsersPhotosPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21237,7 +21237,7 @@ func (c *UsersPhotosUpdateCall) Header() http.Header { func (c *UsersPhotosUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21374,7 +21374,7 @@ func (c *VerificationCodesGenerateCall) Header() http.Header { func (c *VerificationCodesGenerateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21476,7 +21476,7 @@ func (c *VerificationCodesInvalidateCall) Header() http.Header { func (c *VerificationCodesInvalidateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21589,7 +21589,7 @@ func (c *VerificationCodesListCall) Header() http.Header { func (c *VerificationCodesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/admin/reports/v1/admin-gen.go b/admin/reports/v1/admin-gen.go index eac587bf2b8..f255cd42027 100644 --- a/admin/reports/v1/admin-gen.go +++ b/admin/reports/v1/admin-gen.go @@ -1115,7 +1115,7 @@ func (c *ActivitiesListCall) Header() http.Header { func (c *ActivitiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1535,7 +1535,7 @@ func (c *ActivitiesWatchCall) Header() http.Header { func (c *ActivitiesWatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1788,7 +1788,7 @@ func (c *ChannelsStopCall) Header() http.Header { func (c *ChannelsStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1938,7 +1938,7 @@ func (c *CustomerUsageReportsGetCall) Header() http.Header { func (c *CustomerUsageReportsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2191,7 +2191,7 @@ func (c *EntityUsageReportsGetCall) Header() http.Header { func (c *EntityUsageReportsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2512,7 +2512,7 @@ func (c *UserUsageReportGetCall) Header() http.Header { func (c *UserUsageReportGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/admob/v1/admob-gen.go b/admob/v1/admob-gen.go index 019683e7c35..69a28c72ee4 100644 --- a/admob/v1/admob-gen.go +++ b/admob/v1/admob-gen.go @@ -1481,7 +1481,7 @@ func (c *AccountsGetCall) Header() http.Header { func (c *AccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1643,7 +1643,7 @@ func (c *AccountsListCall) Header() http.Header { func (c *AccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1802,7 +1802,7 @@ func (c *AccountsMediationReportGenerateCall) Header() http.Header { func (c *AccountsMediationReportGenerateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1946,7 +1946,7 @@ func (c *AccountsNetworkReportGenerateCall) Header() http.Header { func (c *AccountsNetworkReportGenerateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/admob/v1beta/admob-gen.go b/admob/v1beta/admob-gen.go index c21add066ab..b671ac4ca13 100644 --- a/admob/v1beta/admob-gen.go +++ b/admob/v1beta/admob-gen.go @@ -1762,7 +1762,7 @@ func (c *AccountsGetCall) Header() http.Header { func (c *AccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1924,7 +1924,7 @@ func (c *AccountsListCall) Header() http.Header { func (c *AccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2106,7 +2106,7 @@ func (c *AccountsAdUnitsListCall) Header() http.Header { func (c *AccountsAdUnitsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2301,7 +2301,7 @@ func (c *AccountsAppsListCall) Header() http.Header { func (c *AccountsAppsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2471,7 +2471,7 @@ func (c *AccountsMediationReportGenerateCall) Header() http.Header { func (c *AccountsMediationReportGenerateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2615,7 +2615,7 @@ func (c *AccountsNetworkReportGenerateCall) Header() http.Header { func (c *AccountsNetworkReportGenerateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/adsense/v1.4/adsense-gen.go b/adsense/v1.4/adsense-gen.go index dfb0de986f4..fda8e80358e 100644 --- a/adsense/v1.4/adsense-gen.go +++ b/adsense/v1.4/adsense-gen.go @@ -1825,7 +1825,7 @@ func (c *AccountsGetCall) Header() http.Header { func (c *AccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1987,7 +1987,7 @@ func (c *AccountsListCall) Header() http.Header { func (c *AccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2161,7 +2161,7 @@ func (c *AccountsAdclientsGetAdCodeCall) Header() http.Header { func (c *AccountsAdclientsGetAdCodeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2333,7 +2333,7 @@ func (c *AccountsAdclientsListCall) Header() http.Header { func (c *AccountsAdclientsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2515,7 +2515,7 @@ func (c *AccountsAdunitsGetCall) Header() http.Header { func (c *AccountsAdunitsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2678,7 +2678,7 @@ func (c *AccountsAdunitsGetAdCodeCall) Header() http.Header { func (c *AccountsAdunitsGetAdCodeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2863,7 +2863,7 @@ func (c *AccountsAdunitsListCall) Header() http.Header { func (c *AccountsAdunitsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3075,7 +3075,7 @@ func (c *AccountsAdunitsCustomchannelsListCall) Header() http.Header { func (c *AccountsAdunitsCustomchannelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3260,7 +3260,7 @@ func (c *AccountsAlertsDeleteCall) Header() http.Header { func (c *AccountsAlertsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3388,7 +3388,7 @@ func (c *AccountsAlertsListCall) Header() http.Header { func (c *AccountsAlertsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3541,7 +3541,7 @@ func (c *AccountsCustomchannelsGetCall) Header() http.Header { func (c *AccountsCustomchannelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3720,7 +3720,7 @@ func (c *AccountsCustomchannelsListCall) Header() http.Header { func (c *AccountsCustomchannelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3932,7 +3932,7 @@ func (c *AccountsCustomchannelsAdunitsListCall) Header() http.Header { func (c *AccountsCustomchannelsAdunitsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4130,7 +4130,7 @@ func (c *AccountsPaymentsListCall) Header() http.Header { func (c *AccountsPaymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4346,7 +4346,7 @@ func (c *AccountsReportsGenerateCall) Header() http.Header { func (c *AccountsReportsGenerateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4608,7 +4608,7 @@ func (c *AccountsReportsSavedGenerateCall) Header() http.Header { func (c *AccountsReportsSavedGenerateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4797,7 +4797,7 @@ func (c *AccountsReportsSavedListCall) Header() http.Header { func (c *AccountsReportsSavedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4976,7 +4976,7 @@ func (c *AccountsSavedadstylesGetCall) Header() http.Header { func (c *AccountsSavedadstylesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5144,7 +5144,7 @@ func (c *AccountsSavedadstylesListCall) Header() http.Header { func (c *AccountsSavedadstylesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5340,7 +5340,7 @@ func (c *AccountsUrlchannelsListCall) Header() http.Header { func (c *AccountsUrlchannelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5539,7 +5539,7 @@ func (c *AdclientsListCall) Header() http.Header { func (c *AdclientsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5706,7 +5706,7 @@ func (c *AdunitsGetCall) Header() http.Header { func (c *AdunitsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5859,7 +5859,7 @@ func (c *AdunitsGetAdCodeCall) Header() http.Header { func (c *AdunitsGetAdCodeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6034,7 +6034,7 @@ func (c *AdunitsListCall) Header() http.Header { func (c *AdunitsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6236,7 +6236,7 @@ func (c *AdunitsCustomchannelsListCall) Header() http.Header { func (c *AdunitsCustomchannelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6411,7 +6411,7 @@ func (c *AlertsDeleteCall) Header() http.Header { func (c *AlertsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6529,7 +6529,7 @@ func (c *AlertsListCall) Header() http.Header { func (c *AlertsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6667,7 +6667,7 @@ func (c *CustomchannelsGetCall) Header() http.Header { func (c *CustomchannelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6836,7 +6836,7 @@ func (c *CustomchannelsListCall) Header() http.Header { func (c *CustomchannelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7038,7 +7038,7 @@ func (c *CustomchannelsAdunitsListCall) Header() http.Header { func (c *CustomchannelsAdunitsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7227,7 +7227,7 @@ func (c *MetadataDimensionsListCall) Header() http.Header { func (c *MetadataDimensionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7355,7 +7355,7 @@ func (c *MetadataMetricsListCall) Header() http.Header { func (c *MetadataMetricsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7482,7 +7482,7 @@ func (c *PaymentsListCall) Header() http.Header { func (c *PaymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7689,7 +7689,7 @@ func (c *ReportsGenerateCall) Header() http.Header { func (c *ReportsGenerateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7945,7 +7945,7 @@ func (c *ReportsSavedGenerateCall) Header() http.Header { func (c *ReportsSavedGenerateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8124,7 +8124,7 @@ func (c *ReportsSavedListCall) Header() http.Header { func (c *ReportsSavedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8289,7 +8289,7 @@ func (c *SavedadstylesGetCall) Header() http.Header { func (c *SavedadstylesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8447,7 +8447,7 @@ func (c *SavedadstylesListCall) Header() http.Header { func (c *SavedadstylesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8629,7 +8629,7 @@ func (c *UrlchannelsListCall) Header() http.Header { func (c *UrlchannelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/adsensehost/v4.1/adsensehost-gen.go b/adsensehost/v4.1/adsensehost-gen.go index 3c4ee85616f..6da4b35db02 100644 --- a/adsensehost/v4.1/adsensehost-gen.go +++ b/adsensehost/v4.1/adsensehost-gen.go @@ -1153,7 +1153,7 @@ func (c *AccountsGetCall) Header() http.Header { func (c *AccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1295,7 +1295,7 @@ func (c *AccountsListCall) Header() http.Header { func (c *AccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1438,7 +1438,7 @@ func (c *AccountsAdclientsGetCall) Header() http.Header { func (c *AccountsAdclientsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1604,7 +1604,7 @@ func (c *AccountsAdclientsListCall) Header() http.Header { func (c *AccountsAdclientsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1774,7 +1774,7 @@ func (c *AccountsAdunitsDeleteCall) Header() http.Header { func (c *AccountsAdunitsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1933,7 +1933,7 @@ func (c *AccountsAdunitsGetCall) Header() http.Header { func (c *AccountsAdunitsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2103,7 +2103,7 @@ func (c *AccountsAdunitsGetAdCodeCall) Header() http.Header { func (c *AccountsAdunitsGetAdCodeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2261,7 +2261,7 @@ func (c *AccountsAdunitsInsertCall) Header() http.Header { func (c *AccountsAdunitsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2441,7 +2441,7 @@ func (c *AccountsAdunitsListCall) Header() http.Header { func (c *AccountsAdunitsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2625,7 +2625,7 @@ func (c *AccountsAdunitsPatchCall) Header() http.Header { func (c *AccountsAdunitsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2781,7 +2781,7 @@ func (c *AccountsAdunitsUpdateCall) Header() http.Header { func (c *AccountsAdunitsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2992,7 +2992,7 @@ func (c *AccountsReportsGenerateCall) Header() http.Header { func (c *AccountsReportsGenerateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3201,7 +3201,7 @@ func (c *AdclientsGetCall) Header() http.Header { func (c *AdclientsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3357,7 +3357,7 @@ func (c *AdclientsListCall) Header() http.Header { func (c *AdclientsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3545,7 +3545,7 @@ func (c *AssociationsessionsStartCall) Header() http.Header { func (c *AssociationsessionsStartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3721,7 +3721,7 @@ func (c *AssociationsessionsVerifyCall) Header() http.Header { func (c *AssociationsessionsVerifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3852,7 +3852,7 @@ func (c *CustomchannelsDeleteCall) Header() http.Header { func (c *CustomchannelsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4001,7 +4001,7 @@ func (c *CustomchannelsGetCall) Header() http.Header { func (c *CustomchannelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4142,7 +4142,7 @@ func (c *CustomchannelsInsertCall) Header() http.Header { func (c *CustomchannelsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4306,7 +4306,7 @@ func (c *CustomchannelsListCall) Header() http.Header { func (c *CustomchannelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4475,7 +4475,7 @@ func (c *CustomchannelsPatchCall) Header() http.Header { func (c *CustomchannelsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4620,7 +4620,7 @@ func (c *CustomchannelsUpdateCall) Header() http.Header { func (c *CustomchannelsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4821,7 +4821,7 @@ func (c *ReportsGenerateCall) Header() http.Header { func (c *ReportsGenerateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5010,7 +5010,7 @@ func (c *UrlchannelsDeleteCall) Header() http.Header { func (c *UrlchannelsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5148,7 +5148,7 @@ func (c *UrlchannelsInsertCall) Header() http.Header { func (c *UrlchannelsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5311,7 +5311,7 @@ func (c *UrlchannelsListCall) Header() http.Header { func (c *UrlchannelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/alertcenter/v1beta1/alertcenter-gen.go b/alertcenter/v1beta1/alertcenter-gen.go index 8adf01b348d..feb12ccd72d 100644 --- a/alertcenter/v1beta1/alertcenter-gen.go +++ b/alertcenter/v1beta1/alertcenter-gen.go @@ -1951,7 +1951,7 @@ func (c *AlertsBatchDeleteCall) Header() http.Header { func (c *AlertsBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2076,7 +2076,7 @@ func (c *AlertsBatchUndeleteCall) Header() http.Header { func (c *AlertsBatchUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2214,7 +2214,7 @@ func (c *AlertsDeleteCall) Header() http.Header { func (c *AlertsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2369,7 +2369,7 @@ func (c *AlertsGetCall) Header() http.Header { func (c *AlertsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2527,7 +2527,7 @@ func (c *AlertsGetMetadataCall) Header() http.Header { func (c *AlertsGetMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2720,7 +2720,7 @@ func (c *AlertsListCall) Header() http.Header { func (c *AlertsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2895,7 +2895,7 @@ func (c *AlertsUndeleteCall) Header() http.Header { func (c *AlertsUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3046,7 +3046,7 @@ func (c *AlertsFeedbackCreateCall) Header() http.Header { func (c *AlertsFeedbackCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3220,7 +3220,7 @@ func (c *AlertsFeedbackListCall) Header() http.Header { func (c *AlertsFeedbackListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3380,7 +3380,7 @@ func (c *V1beta1GetSettingsCall) Header() http.Header { func (c *V1beta1GetSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3515,7 +3515,7 @@ func (c *V1beta1UpdateSettingsCall) Header() http.Header { func (c *V1beta1UpdateSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/analytics/v3/analytics-gen.go b/analytics/v3/analytics-gen.go index c858cd954b5..cef26483fbd 100644 --- a/analytics/v3/analytics-gen.go +++ b/analytics/v3/analytics-gen.go @@ -6030,7 +6030,7 @@ func (c *DataGaGetCall) Header() http.Header { func (c *DataGaGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6319,7 +6319,7 @@ func (c *DataMcfGetCall) Header() http.Header { func (c *DataMcfGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6560,7 +6560,7 @@ func (c *DataRealtimeGetCall) Header() http.Header { func (c *DataRealtimeGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6748,7 +6748,7 @@ func (c *ManagementAccountSummariesListCall) Header() http.Header { func (c *ManagementAccountSummariesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6883,7 +6883,7 @@ func (c *ManagementAccountUserLinksDeleteCall) Header() http.Header { func (c *ManagementAccountUserLinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6993,7 +6993,7 @@ func (c *ManagementAccountUserLinksInsertCall) Header() http.Header { func (c *ManagementAccountUserLinksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7155,7 +7155,7 @@ func (c *ManagementAccountUserLinksListCall) Header() http.Header { func (c *ManagementAccountUserLinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7305,7 +7305,7 @@ func (c *ManagementAccountUserLinksUpdateCall) Header() http.Header { func (c *ManagementAccountUserLinksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7473,7 +7473,7 @@ func (c *ManagementAccountsListCall) Header() http.Header { func (c *ManagementAccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7607,7 +7607,7 @@ func (c *ManagementClientIdHashClientIdCall) Header() http.Header { func (c *ManagementClientIdHashClientIdCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7758,7 +7758,7 @@ func (c *ManagementCustomDataSourcesListCall) Header() http.Header { func (c *ManagementCustomDataSourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7930,7 +7930,7 @@ func (c *ManagementCustomDimensionsGetCall) Header() http.Header { func (c *ManagementCustomDimensionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8082,7 +8082,7 @@ func (c *ManagementCustomDimensionsInsertCall) Header() http.Header { func (c *ManagementCustomDimensionsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8254,7 +8254,7 @@ func (c *ManagementCustomDimensionsListCall) Header() http.Header { func (c *ManagementCustomDimensionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8423,7 +8423,7 @@ func (c *ManagementCustomDimensionsPatchCall) Header() http.Header { func (c *ManagementCustomDimensionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8596,7 +8596,7 @@ func (c *ManagementCustomDimensionsUpdateCall) Header() http.Header { func (c *ManagementCustomDimensionsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8769,7 +8769,7 @@ func (c *ManagementCustomMetricsGetCall) Header() http.Header { func (c *ManagementCustomMetricsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8921,7 +8921,7 @@ func (c *ManagementCustomMetricsInsertCall) Header() http.Header { func (c *ManagementCustomMetricsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9093,7 +9093,7 @@ func (c *ManagementCustomMetricsListCall) Header() http.Header { func (c *ManagementCustomMetricsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9262,7 +9262,7 @@ func (c *ManagementCustomMetricsPatchCall) Header() http.Header { func (c *ManagementCustomMetricsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9435,7 +9435,7 @@ func (c *ManagementCustomMetricsUpdateCall) Header() http.Header { func (c *ManagementCustomMetricsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9599,7 +9599,7 @@ func (c *ManagementExperimentsDeleteCall) Header() http.Header { func (c *ManagementExperimentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9741,7 +9741,7 @@ func (c *ManagementExperimentsGetCall) Header() http.Header { func (c *ManagementExperimentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9904,7 +9904,7 @@ func (c *ManagementExperimentsInsertCall) Header() http.Header { func (c *ManagementExperimentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10087,7 +10087,7 @@ func (c *ManagementExperimentsListCall) Header() http.Header { func (c *ManagementExperimentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10261,7 +10261,7 @@ func (c *ManagementExperimentsPatchCall) Header() http.Header { func (c *ManagementExperimentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10430,7 +10430,7 @@ func (c *ManagementExperimentsUpdateCall) Header() http.Header { func (c *ManagementExperimentsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10593,7 +10593,7 @@ func (c *ManagementFiltersDeleteCall) Header() http.Header { func (c *ManagementFiltersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10742,7 +10742,7 @@ func (c *ManagementFiltersGetCall) Header() http.Header { func (c *ManagementFiltersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10884,7 +10884,7 @@ func (c *ManagementFiltersInsertCall) Header() http.Header { func (c *ManagementFiltersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11046,7 +11046,7 @@ func (c *ManagementFiltersListCall) Header() http.Header { func (c *ManagementFiltersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11197,7 +11197,7 @@ func (c *ManagementFiltersPatchCall) Header() http.Header { func (c *ManagementFiltersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11345,7 +11345,7 @@ func (c *ManagementFiltersUpdateCall) Header() http.Header { func (c *ManagementFiltersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11506,7 +11506,7 @@ func (c *ManagementGoalsGetCall) Header() http.Header { func (c *ManagementGoalsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11668,7 +11668,7 @@ func (c *ManagementGoalsInsertCall) Header() http.Header { func (c *ManagementGoalsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11850,7 +11850,7 @@ func (c *ManagementGoalsListCall) Header() http.Header { func (c *ManagementGoalsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12021,7 +12021,7 @@ func (c *ManagementGoalsPatchCall) Header() http.Header { func (c *ManagementGoalsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12189,7 +12189,7 @@ func (c *ManagementGoalsUpdateCall) Header() http.Header { func (c *ManagementGoalsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12355,7 +12355,7 @@ func (c *ManagementProfileFilterLinksDeleteCall) Header() http.Header { func (c *ManagementProfileFilterLinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12500,7 +12500,7 @@ func (c *ManagementProfileFilterLinksGetCall) Header() http.Header { func (c *ManagementProfileFilterLinksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12666,7 +12666,7 @@ func (c *ManagementProfileFilterLinksInsertCall) Header() http.Header { func (c *ManagementProfileFilterLinksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12851,7 +12851,7 @@ func (c *ManagementProfileFilterLinksListCall) Header() http.Header { func (c *ManagementProfileFilterLinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13022,7 +13022,7 @@ func (c *ManagementProfileFilterLinksPatchCall) Header() http.Header { func (c *ManagementProfileFilterLinksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13194,7 +13194,7 @@ func (c *ManagementProfileFilterLinksUpdateCall) Header() http.Header { func (c *ManagementProfileFilterLinksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13364,7 +13364,7 @@ func (c *ManagementProfileUserLinksDeleteCall) Header() http.Header { func (c *ManagementProfileUserLinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13494,7 +13494,7 @@ func (c *ManagementProfileUserLinksInsertCall) Header() http.Header { func (c *ManagementProfileUserLinksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13676,7 +13676,7 @@ func (c *ManagementProfileUserLinksListCall) Header() http.Header { func (c *ManagementProfileUserLinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13846,7 +13846,7 @@ func (c *ManagementProfileUserLinksUpdateCall) Header() http.Header { func (c *ManagementProfileUserLinksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14010,7 +14010,7 @@ func (c *ManagementProfilesDeleteCall) Header() http.Header { func (c *ManagementProfilesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14141,7 +14141,7 @@ func (c *ManagementProfilesGetCall) Header() http.Header { func (c *ManagementProfilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14296,7 +14296,7 @@ func (c *ManagementProfilesInsertCall) Header() http.Header { func (c *ManagementProfilesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14468,7 +14468,7 @@ func (c *ManagementProfilesListCall) Header() http.Header { func (c *ManagementProfilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14629,7 +14629,7 @@ func (c *ManagementProfilesPatchCall) Header() http.Header { func (c *ManagementProfilesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14787,7 +14787,7 @@ func (c *ManagementProfilesUpdateCall) Header() http.Header { func (c *ManagementProfilesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14943,7 +14943,7 @@ func (c *ManagementRemarketingAudienceDeleteCall) Header() http.Header { func (c *ManagementRemarketingAudienceDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15074,7 +15074,7 @@ func (c *ManagementRemarketingAudienceGetCall) Header() http.Header { func (c *ManagementRemarketingAudienceGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15226,7 +15226,7 @@ func (c *ManagementRemarketingAudienceInsertCall) Header() http.Header { func (c *ManagementRemarketingAudienceInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15404,7 +15404,7 @@ func (c *ManagementRemarketingAudienceListCall) Header() http.Header { func (c *ManagementRemarketingAudienceListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15569,7 +15569,7 @@ func (c *ManagementRemarketingAudiencePatchCall) Header() http.Header { func (c *ManagementRemarketingAudiencePatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15727,7 +15727,7 @@ func (c *ManagementRemarketingAudienceUpdateCall) Header() http.Header { func (c *ManagementRemarketingAudienceUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15903,7 +15903,7 @@ func (c *ManagementSegmentsListCall) Header() http.Header { func (c *ManagementSegmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16043,7 +16043,7 @@ func (c *ManagementUnsampledReportsDeleteCall) Header() http.Header { func (c *ManagementUnsampledReportsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16184,7 +16184,7 @@ func (c *ManagementUnsampledReportsGetCall) Header() http.Header { func (c *ManagementUnsampledReportsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16347,7 +16347,7 @@ func (c *ManagementUnsampledReportsInsertCall) Header() http.Header { func (c *ManagementUnsampledReportsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16530,7 +16530,7 @@ func (c *ManagementUnsampledReportsListCall) Header() http.Header { func (c *ManagementUnsampledReportsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16698,7 +16698,7 @@ func (c *ManagementUploadsDeleteUploadDataCall) Header() http.Header { func (c *ManagementUploadsDeleteUploadDataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16843,7 +16843,7 @@ func (c *ManagementUploadsGetCall) Header() http.Header { func (c *ManagementUploadsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17034,7 +17034,7 @@ func (c *ManagementUploadsListCall) Header() http.Header { func (c *ManagementUploadsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17244,7 +17244,7 @@ func (c *ManagementUploadsUploadDataCall) Header() http.Header { func (c *ManagementUploadsUploadDataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17440,7 +17440,7 @@ func (c *ManagementWebPropertyAdWordsLinksDeleteCall) Header() http.Header { func (c *ManagementWebPropertyAdWordsLinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17572,7 +17572,7 @@ func (c *ManagementWebPropertyAdWordsLinksGetCall) Header() http.Header { func (c *ManagementWebPropertyAdWordsLinksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17724,7 +17724,7 @@ func (c *ManagementWebPropertyAdWordsLinksInsertCall) Header() http.Header { func (c *ManagementWebPropertyAdWordsLinksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17896,7 +17896,7 @@ func (c *ManagementWebPropertyAdWordsLinksListCall) Header() http.Header { func (c *ManagementWebPropertyAdWordsLinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18057,7 +18057,7 @@ func (c *ManagementWebPropertyAdWordsLinksPatchCall) Header() http.Header { func (c *ManagementWebPropertyAdWordsLinksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18215,7 +18215,7 @@ func (c *ManagementWebPropertyAdWordsLinksUpdateCall) Header() http.Header { func (c *ManagementWebPropertyAdWordsLinksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18380,7 +18380,7 @@ func (c *ManagementWebpropertiesGetCall) Header() http.Header { func (c *ManagementWebpropertiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18526,7 +18526,7 @@ func (c *ManagementWebpropertiesInsertCall) Header() http.Header { func (c *ManagementWebpropertiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18688,7 +18688,7 @@ func (c *ManagementWebpropertiesListCall) Header() http.Header { func (c *ManagementWebpropertiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18839,7 +18839,7 @@ func (c *ManagementWebpropertiesPatchCall) Header() http.Header { func (c *ManagementWebpropertiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18987,7 +18987,7 @@ func (c *ManagementWebpropertiesUpdateCall) Header() http.Header { func (c *ManagementWebpropertiesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19135,7 +19135,7 @@ func (c *ManagementWebpropertyUserLinksDeleteCall) Header() http.Header { func (c *ManagementWebpropertyUserLinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19255,7 +19255,7 @@ func (c *ManagementWebpropertyUserLinksInsertCall) Header() http.Header { func (c *ManagementWebpropertyUserLinksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19427,7 +19427,7 @@ func (c *ManagementWebpropertyUserLinksListCall) Header() http.Header { func (c *ManagementWebpropertyUserLinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19587,7 +19587,7 @@ func (c *ManagementWebpropertyUserLinksUpdateCall) Header() http.Header { func (c *ManagementWebpropertyUserLinksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19750,7 +19750,7 @@ func (c *MetadataColumnsListCall) Header() http.Header { func (c *MetadataColumnsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19884,7 +19884,7 @@ func (c *ProvisioningCreateAccountTicketCall) Header() http.Header { func (c *ProvisioningCreateAccountTicketCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20006,7 +20006,7 @@ func (c *ProvisioningCreateAccountTreeCall) Header() http.Header { func (c *ProvisioningCreateAccountTreeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20128,7 +20128,7 @@ func (c *UserDeletionUserDeletionRequestUpsertCall) Header() http.Header { func (c *UserDeletionUserDeletionRequestUpsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/analyticsadmin/v1alpha/analyticsadmin-api.json b/analyticsadmin/v1alpha/analyticsadmin-api.json index bfd45e5d008..4f387a628e3 100644 --- a/analyticsadmin/v1alpha/analyticsadmin-api.json +++ b/analyticsadmin/v1alpha/analyticsadmin-api.json @@ -1827,7 +1827,7 @@ } } }, - "revision": "20201202", + "revision": "20201208", "rootUrl": "https://analyticsadmin.googleapis.com/", "schemas": { "GoogleAnalyticsAdminV1alphaAccount": { @@ -1835,7 +1835,7 @@ "id": "GoogleAnalyticsAdminV1alphaAccount", "properties": { "countryCode": { - "description": "Country of business. Must be a non-deprecated code for a UN M.49 region. https: //unicode.org/cldr/charts/latest/supplem // ental/territory_containment_un_m_49.html", + "description": "Country of business. Must be a non-deprecated code for a UN M.49 region. https://unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html", "type": "string" }, "createTime": { diff --git a/analyticsadmin/v1alpha/analyticsadmin-gen.go b/analyticsadmin/v1alpha/analyticsadmin-gen.go index 65851522fc4..df092eea8b5 100644 --- a/analyticsadmin/v1alpha/analyticsadmin-gen.go +++ b/analyticsadmin/v1alpha/analyticsadmin-gen.go @@ -272,8 +272,8 @@ type PropertiesWebDataStreamsService struct { // Google Analytics account. type GoogleAnalyticsAdminV1alphaAccount struct { // CountryCode: Country of business. Must be a non-deprecated code for a - // UN M.49 region. https: //unicode.org/cldr/charts/latest/supplem // - // ental/territory_containment_un_m_49.html + // UN M.49 region. + // https://unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html CountryCode string `json:"countryCode,omitempty"` // CreateTime: Output only. Time when this account was originally @@ -1970,7 +1970,7 @@ func (c *AccountSummariesListCall) Header() http.Header { func (c *AccountSummariesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2133,7 +2133,7 @@ func (c *AccountsDeleteCall) Header() http.Header { func (c *AccountsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2276,7 +2276,7 @@ func (c *AccountsGetCall) Header() http.Header { func (c *AccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2422,7 +2422,7 @@ func (c *AccountsGetDataSharingSettingsCall) Header() http.Header { func (c *AccountsGetDataSharingSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2598,7 +2598,7 @@ func (c *AccountsListCall) Header() http.Header { func (c *AccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2769,7 +2769,7 @@ func (c *AccountsPatchCall) Header() http.Header { func (c *AccountsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2914,7 +2914,7 @@ func (c *AccountsProvisionAccountTicketCall) Header() http.Header { func (c *AccountsProvisionAccountTicketCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3050,7 +3050,7 @@ func (c *AccountsUserLinksAuditCall) Header() http.Header { func (c *AccountsUserLinksAuditCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3215,7 +3215,7 @@ func (c *AccountsUserLinksBatchCreateCall) Header() http.Header { func (c *AccountsUserLinksBatchCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3359,7 +3359,7 @@ func (c *AccountsUserLinksBatchDeleteCall) Header() http.Header { func (c *AccountsUserLinksBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3517,7 +3517,7 @@ func (c *AccountsUserLinksBatchGetCall) Header() http.Header { func (c *AccountsUserLinksBatchGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3661,7 +3661,7 @@ func (c *AccountsUserLinksBatchUpdateCall) Header() http.Header { func (c *AccountsUserLinksBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3815,7 +3815,7 @@ func (c *AccountsUserLinksCreateCall) Header() http.Header { func (c *AccountsUserLinksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3959,7 +3959,7 @@ func (c *AccountsUserLinksDeleteCall) Header() http.Header { func (c *AccountsUserLinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4100,7 +4100,7 @@ func (c *AccountsUserLinksGetCall) Header() http.Header { func (c *AccountsUserLinksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4264,7 +4264,7 @@ func (c *AccountsUserLinksListCall) Header() http.Header { func (c *AccountsUserLinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4433,7 +4433,7 @@ func (c *AccountsUserLinksPatchCall) Header() http.Header { func (c *AccountsUserLinksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4573,7 +4573,7 @@ func (c *PropertiesCreateCall) Header() http.Header { func (c *PropertiesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4706,7 +4706,7 @@ func (c *PropertiesDeleteCall) Header() http.Header { func (c *PropertiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4849,7 +4849,7 @@ func (c *PropertiesGetCall) Header() http.Header { func (c *PropertiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5040,7 +5040,7 @@ func (c *PropertiesListCall) Header() http.Header { func (c *PropertiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5216,7 +5216,7 @@ func (c *PropertiesPatchCall) Header() http.Header { func (c *PropertiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5364,7 +5364,7 @@ func (c *PropertiesAndroidAppDataStreamsCreateCall) Header() http.Header { func (c *PropertiesAndroidAppDataStreamsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5504,7 +5504,7 @@ func (c *PropertiesAndroidAppDataStreamsDeleteCall) Header() http.Header { func (c *PropertiesAndroidAppDataStreamsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5647,7 +5647,7 @@ func (c *PropertiesAndroidAppDataStreamsGetCall) Header() http.Header { func (c *PropertiesAndroidAppDataStreamsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5815,7 +5815,7 @@ func (c *PropertiesAndroidAppDataStreamsListCall) Header() http.Header { func (c *PropertiesAndroidAppDataStreamsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5994,7 +5994,7 @@ func (c *PropertiesAndroidAppDataStreamsPatchCall) Header() http.Header { func (c *PropertiesAndroidAppDataStreamsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6143,7 +6143,7 @@ func (c *PropertiesFirebaseLinksCreateCall) Header() http.Header { func (c *PropertiesFirebaseLinksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6282,7 +6282,7 @@ func (c *PropertiesFirebaseLinksDeleteCall) Header() http.Header { func (c *PropertiesFirebaseLinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6424,7 +6424,7 @@ func (c *PropertiesFirebaseLinksListCall) Header() http.Header { func (c *PropertiesFirebaseLinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6570,7 +6570,7 @@ func (c *PropertiesFirebaseLinksPatchCall) Header() http.Header { func (c *PropertiesFirebaseLinksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6717,7 +6717,7 @@ func (c *PropertiesGoogleAdsLinksCreateCall) Header() http.Header { func (c *PropertiesGoogleAdsLinksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6857,7 +6857,7 @@ func (c *PropertiesGoogleAdsLinksDeleteCall) Header() http.Header { func (c *PropertiesGoogleAdsLinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7017,7 +7017,7 @@ func (c *PropertiesGoogleAdsLinksListCall) Header() http.Header { func (c *PropertiesGoogleAdsLinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7195,7 +7195,7 @@ func (c *PropertiesGoogleAdsLinksPatchCall) Header() http.Header { func (c *PropertiesGoogleAdsLinksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7344,7 +7344,7 @@ func (c *PropertiesIosAppDataStreamsCreateCall) Header() http.Header { func (c *PropertiesIosAppDataStreamsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7484,7 +7484,7 @@ func (c *PropertiesIosAppDataStreamsDeleteCall) Header() http.Header { func (c *PropertiesIosAppDataStreamsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7627,7 +7627,7 @@ func (c *PropertiesIosAppDataStreamsGetCall) Header() http.Header { func (c *PropertiesIosAppDataStreamsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7795,7 +7795,7 @@ func (c *PropertiesIosAppDataStreamsListCall) Header() http.Header { func (c *PropertiesIosAppDataStreamsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7974,7 +7974,7 @@ func (c *PropertiesIosAppDataStreamsPatchCall) Header() http.Header { func (c *PropertiesIosAppDataStreamsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8128,7 +8128,7 @@ func (c *PropertiesUserLinksAuditCall) Header() http.Header { func (c *PropertiesUserLinksAuditCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8293,7 +8293,7 @@ func (c *PropertiesUserLinksBatchCreateCall) Header() http.Header { func (c *PropertiesUserLinksBatchCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8437,7 +8437,7 @@ func (c *PropertiesUserLinksBatchDeleteCall) Header() http.Header { func (c *PropertiesUserLinksBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8595,7 +8595,7 @@ func (c *PropertiesUserLinksBatchGetCall) Header() http.Header { func (c *PropertiesUserLinksBatchGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8739,7 +8739,7 @@ func (c *PropertiesUserLinksBatchUpdateCall) Header() http.Header { func (c *PropertiesUserLinksBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8893,7 +8893,7 @@ func (c *PropertiesUserLinksCreateCall) Header() http.Header { func (c *PropertiesUserLinksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9037,7 +9037,7 @@ func (c *PropertiesUserLinksDeleteCall) Header() http.Header { func (c *PropertiesUserLinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9178,7 +9178,7 @@ func (c *PropertiesUserLinksGetCall) Header() http.Header { func (c *PropertiesUserLinksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9342,7 +9342,7 @@ func (c *PropertiesUserLinksListCall) Header() http.Header { func (c *PropertiesUserLinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9511,7 +9511,7 @@ func (c *PropertiesUserLinksPatchCall) Header() http.Header { func (c *PropertiesUserLinksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9653,7 +9653,7 @@ func (c *PropertiesWebDataStreamsCreateCall) Header() http.Header { func (c *PropertiesWebDataStreamsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9793,7 +9793,7 @@ func (c *PropertiesWebDataStreamsDeleteCall) Header() http.Header { func (c *PropertiesWebDataStreamsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9936,7 +9936,7 @@ func (c *PropertiesWebDataStreamsGetCall) Header() http.Header { func (c *PropertiesWebDataStreamsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10084,7 +10084,7 @@ func (c *PropertiesWebDataStreamsGetEnhancedMeasurementSettingsCall) Header() ht func (c *PropertiesWebDataStreamsGetEnhancedMeasurementSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10232,7 +10232,7 @@ func (c *PropertiesWebDataStreamsGetGlobalSiteTagCall) Header() http.Header { func (c *PropertiesWebDataStreamsGetGlobalSiteTagCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10400,7 +10400,7 @@ func (c *PropertiesWebDataStreamsListCall) Header() http.Header { func (c *PropertiesWebDataStreamsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10578,7 +10578,7 @@ func (c *PropertiesWebDataStreamsPatchCall) Header() http.Header { func (c *PropertiesWebDataStreamsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10737,7 +10737,7 @@ func (c *PropertiesWebDataStreamsUpdateEnhancedMeasurementSettingsCall) Header() func (c *PropertiesWebDataStreamsUpdateEnhancedMeasurementSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/analyticsdata/v1alpha/analyticsdata-gen.go b/analyticsdata/v1alpha/analyticsdata-gen.go index 13c97270095..afbf52e4778 100644 --- a/analyticsdata/v1alpha/analyticsdata-gen.go +++ b/analyticsdata/v1alpha/analyticsdata-gen.go @@ -2378,7 +2378,7 @@ func (c *PropertiesGetMetadataCall) Header() http.Header { func (c *PropertiesGetMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2516,7 +2516,7 @@ func (c *PropertiesRunRealtimeReportCall) Header() http.Header { func (c *PropertiesRunRealtimeReportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2656,7 +2656,7 @@ func (c *V1alphaBatchRunPivotReportsCall) Header() http.Header { func (c *V1alphaBatchRunPivotReportsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2783,7 +2783,7 @@ func (c *V1alphaBatchRunReportsCall) Header() http.Header { func (c *V1alphaBatchRunReportsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2913,7 +2913,7 @@ func (c *V1alphaRunPivotReportCall) Header() http.Header { func (c *V1alphaRunPivotReportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3045,7 +3045,7 @@ func (c *V1alphaRunReportCall) Header() http.Header { func (c *V1alphaRunReportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/analyticsreporting/v4/analyticsreporting-gen.go b/analyticsreporting/v4/analyticsreporting-gen.go index 7f52faf4837..472cee57107 100644 --- a/analyticsreporting/v4/analyticsreporting-gen.go +++ b/analyticsreporting/v4/analyticsreporting-gen.go @@ -2692,7 +2692,7 @@ func (c *ReportsBatchGetCall) Header() http.Header { func (c *ReportsBatchGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2818,7 +2818,7 @@ func (c *UserActivitySearchCall) Header() http.Header { func (c *UserActivitySearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/androiddeviceprovisioning/v1/androiddeviceprovisioning-gen.go b/androiddeviceprovisioning/v1/androiddeviceprovisioning-gen.go index 790b2b633ef..b5a5932bf34 100644 --- a/androiddeviceprovisioning/v1/androiddeviceprovisioning-gen.go +++ b/androiddeviceprovisioning/v1/androiddeviceprovisioning-gen.go @@ -1975,7 +1975,7 @@ func (c *CustomersListCall) Header() http.Header { func (c *CustomersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2128,7 +2128,7 @@ func (c *CustomersConfigurationsCreateCall) Header() http.Header { func (c *CustomersConfigurationsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2264,7 +2264,7 @@ func (c *CustomersConfigurationsDeleteCall) Header() http.Header { func (c *CustomersConfigurationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2402,7 +2402,7 @@ func (c *CustomersConfigurationsGetCall) Header() http.Header { func (c *CustomersConfigurationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2543,7 +2543,7 @@ func (c *CustomersConfigurationsListCall) Header() http.Header { func (c *CustomersConfigurationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2686,7 +2686,7 @@ func (c *CustomersConfigurationsPatchCall) Header() http.Header { func (c *CustomersConfigurationsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2832,7 +2832,7 @@ func (c *CustomersDevicesApplyConfigurationCall) Header() http.Header { func (c *CustomersDevicesApplyConfigurationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2978,7 +2978,7 @@ func (c *CustomersDevicesGetCall) Header() http.Header { func (c *CustomersDevicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3134,7 +3134,7 @@ func (c *CustomersDevicesListCall) Header() http.Header { func (c *CustomersDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3298,7 +3298,7 @@ func (c *CustomersDevicesRemoveConfigurationCall) Header() http.Header { func (c *CustomersDevicesRemoveConfigurationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3438,7 +3438,7 @@ func (c *CustomersDevicesUnclaimCall) Header() http.Header { func (c *CustomersDevicesUnclaimCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3585,7 +3585,7 @@ func (c *CustomersDpcsListCall) Header() http.Header { func (c *CustomersDpcsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3728,7 +3728,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3864,7 +3864,7 @@ func (c *PartnersCustomersCreateCall) Header() http.Header { func (c *PartnersCustomersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4028,7 +4028,7 @@ func (c *PartnersCustomersListCall) Header() http.Header { func (c *PartnersCustomersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4195,7 +4195,7 @@ func (c *PartnersDevicesClaimCall) Header() http.Header { func (c *PartnersDevicesClaimCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4336,7 +4336,7 @@ func (c *PartnersDevicesClaimAsyncCall) Header() http.Header { func (c *PartnersDevicesClaimAsyncCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4475,7 +4475,7 @@ func (c *PartnersDevicesFindByIdentifierCall) Header() http.Header { func (c *PartnersDevicesFindByIdentifierCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4638,7 +4638,7 @@ func (c *PartnersDevicesFindByOwnerCall) Header() http.Header { func (c *PartnersDevicesFindByOwnerCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4806,7 +4806,7 @@ func (c *PartnersDevicesGetCall) Header() http.Header { func (c *PartnersDevicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4940,7 +4940,7 @@ func (c *PartnersDevicesMetadataCall) Header() http.Header { func (c *PartnersDevicesMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5089,7 +5089,7 @@ func (c *PartnersDevicesUnclaimCall) Header() http.Header { func (c *PartnersDevicesUnclaimCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5230,7 +5230,7 @@ func (c *PartnersDevicesUnclaimAsyncCall) Header() http.Header { func (c *PartnersDevicesUnclaimAsyncCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5372,7 +5372,7 @@ func (c *PartnersDevicesUpdateMetadataAsyncCall) Header() http.Header { func (c *PartnersDevicesUpdateMetadataAsyncCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5533,7 +5533,7 @@ func (c *PartnersVendorsListCall) Header() http.Header { func (c *PartnersVendorsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5720,7 +5720,7 @@ func (c *PartnersVendorsCustomersListCall) Header() http.Header { func (c *PartnersVendorsCustomersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/androidenterprise/v1/androidenterprise-gen.go b/androidenterprise/v1/androidenterprise-gen.go index 190063b65ef..12d126fd9f1 100644 --- a/androidenterprise/v1/androidenterprise-gen.go +++ b/androidenterprise/v1/androidenterprise-gen.go @@ -4106,7 +4106,7 @@ func (c *DevicesForceReportUploadCall) Header() http.Header { func (c *DevicesForceReportUploadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4238,7 +4238,7 @@ func (c *DevicesGetCall) Header() http.Header { func (c *DevicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4406,7 +4406,7 @@ func (c *DevicesGetStateCall) Header() http.Header { func (c *DevicesGetStateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4567,7 +4567,7 @@ func (c *DevicesListCall) Header() http.Header { func (c *DevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4718,7 +4718,7 @@ func (c *DevicesSetStateCall) Header() http.Header { func (c *DevicesSetStateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4890,7 +4890,7 @@ func (c *DevicesUpdateCall) Header() http.Header { func (c *DevicesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5056,7 +5056,7 @@ func (c *EnterprisesAcknowledgeNotificationSetCall) Header() http.Header { func (c *EnterprisesAcknowledgeNotificationSetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5165,7 +5165,7 @@ func (c *EnterprisesCompleteSignupCall) Header() http.Header { func (c *EnterprisesCompleteSignupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5299,7 +5299,7 @@ func (c *EnterprisesCreateWebTokenCall) Header() http.Header { func (c *EnterprisesCreateWebTokenCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5437,7 +5437,7 @@ func (c *EnterprisesEnrollCall) Header() http.Header { func (c *EnterprisesEnrollCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5583,7 +5583,7 @@ func (c *EnterprisesGenerateSignupUrlCall) Header() http.Header { func (c *EnterprisesGenerateSignupUrlCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5717,7 +5717,7 @@ func (c *EnterprisesGetCall) Header() http.Header { func (c *EnterprisesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5886,7 +5886,7 @@ func (c *EnterprisesGetServiceAccountCall) Header() http.Header { func (c *EnterprisesGetServiceAccountCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6044,7 +6044,7 @@ func (c *EnterprisesGetStoreLayoutCall) Header() http.Header { func (c *EnterprisesGetStoreLayoutCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6190,7 +6190,7 @@ func (c *EnterprisesListCall) Header() http.Header { func (c *EnterprisesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6350,7 +6350,7 @@ func (c *EnterprisesPullNotificationSetCall) Header() http.Header { func (c *EnterprisesPullNotificationSetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6483,7 +6483,7 @@ func (c *EnterprisesSendTestPushNotificationCall) Header() http.Header { func (c *EnterprisesSendTestPushNotificationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6617,7 +6617,7 @@ func (c *EnterprisesSetAccountCall) Header() http.Header { func (c *EnterprisesSetAccountCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6763,7 +6763,7 @@ func (c *EnterprisesSetStoreLayoutCall) Header() http.Header { func (c *EnterprisesSetStoreLayoutCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6900,7 +6900,7 @@ func (c *EnterprisesUnenrollCall) Header() http.Header { func (c *EnterprisesUnenrollCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7005,7 +7005,7 @@ func (c *EntitlementsDeleteCall) Header() http.Header { func (c *EntitlementsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7137,7 +7137,7 @@ func (c *EntitlementsGetCall) Header() http.Header { func (c *EntitlementsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7299,7 +7299,7 @@ func (c *EntitlementsListCall) Header() http.Header { func (c *EntitlementsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7455,7 +7455,7 @@ func (c *EntitlementsUpdateCall) Header() http.Header { func (c *EntitlementsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7627,7 +7627,7 @@ func (c *GrouplicensesGetCall) Header() http.Header { func (c *GrouplicensesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7779,7 +7779,7 @@ func (c *GrouplicensesListCall) Header() http.Header { func (c *GrouplicensesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7925,7 +7925,7 @@ func (c *GrouplicenseusersListCall) Header() http.Header { func (c *GrouplicenseusersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8073,7 +8073,7 @@ func (c *InstallsDeleteCall) Header() http.Header { func (c *InstallsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8215,7 +8215,7 @@ func (c *InstallsGetCall) Header() http.Header { func (c *InstallsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8387,7 +8387,7 @@ func (c *InstallsListCall) Header() http.Header { func (c *InstallsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8545,7 +8545,7 @@ func (c *InstallsUpdateCall) Header() http.Header { func (c *InstallsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8713,7 +8713,7 @@ func (c *ManagedconfigurationsfordeviceDeleteCall) Header() http.Header { func (c *ManagedconfigurationsfordeviceDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8855,7 +8855,7 @@ func (c *ManagedconfigurationsfordeviceGetCall) Header() http.Header { func (c *ManagedconfigurationsfordeviceGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9027,7 +9027,7 @@ func (c *ManagedconfigurationsfordeviceListCall) Header() http.Header { func (c *ManagedconfigurationsfordeviceListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9186,7 +9186,7 @@ func (c *ManagedconfigurationsfordeviceUpdateCall) Header() http.Header { func (c *ManagedconfigurationsfordeviceUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9352,7 +9352,7 @@ func (c *ManagedconfigurationsforuserDeleteCall) Header() http.Header { func (c *ManagedconfigurationsforuserDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9485,7 +9485,7 @@ func (c *ManagedconfigurationsforuserGetCall) Header() http.Header { func (c *ManagedconfigurationsforuserGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9647,7 +9647,7 @@ func (c *ManagedconfigurationsforuserListCall) Header() http.Header { func (c *ManagedconfigurationsforuserListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9800,7 +9800,7 @@ func (c *ManagedconfigurationsforuserUpdateCall) Header() http.Header { func (c *ManagedconfigurationsforuserUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9967,7 +9967,7 @@ func (c *ManagedconfigurationssettingsListCall) Header() http.Header { func (c *ManagedconfigurationssettingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10128,7 +10128,7 @@ func (c *PermissionsGetCall) Header() http.Header { func (c *PermissionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10273,7 +10273,7 @@ func (c *ProductsApproveCall) Header() http.Header { func (c *ProductsApproveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10408,7 +10408,7 @@ func (c *ProductsGenerateApprovalUrlCall) Header() http.Header { func (c *ProductsGenerateApprovalUrlCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10572,7 +10572,7 @@ func (c *ProductsGetCall) Header() http.Header { func (c *ProductsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10743,7 +10743,7 @@ func (c *ProductsGetAppRestrictionsSchemaCall) Header() http.Header { func (c *ProductsGetAppRestrictionsSchemaCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10902,7 +10902,7 @@ func (c *ProductsGetPermissionsCall) Header() http.Header { func (c *ProductsGetPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11096,7 +11096,7 @@ func (c *ProductsListCall) Header() http.Header { func (c *ProductsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11257,7 +11257,7 @@ func (c *ProductsUnapproveCall) Header() http.Header { func (c *ProductsUnapproveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11372,7 +11372,7 @@ func (c *ServiceaccountkeysDeleteCall) Header() http.Header { func (c *ServiceaccountkeysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11488,7 +11488,7 @@ func (c *ServiceaccountkeysInsertCall) Header() http.Header { func (c *ServiceaccountkeysInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11640,7 +11640,7 @@ func (c *ServiceaccountkeysListCall) Header() http.Header { func (c *ServiceaccountkeysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11776,7 +11776,7 @@ func (c *StorelayoutclustersDeleteCall) Header() http.Header { func (c *StorelayoutclustersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11908,7 +11908,7 @@ func (c *StorelayoutclustersGetCall) Header() http.Header { func (c *StorelayoutclustersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12060,7 +12060,7 @@ func (c *StorelayoutclustersInsertCall) Header() http.Header { func (c *StorelayoutclustersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12218,7 +12218,7 @@ func (c *StorelayoutclustersListCall) Header() http.Header { func (c *StorelayoutclustersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12364,7 +12364,7 @@ func (c *StorelayoutclustersUpdateCall) Header() http.Header { func (c *StorelayoutclustersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12519,7 +12519,7 @@ func (c *StorelayoutpagesDeleteCall) Header() http.Header { func (c *StorelayoutpagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12641,7 +12641,7 @@ func (c *StorelayoutpagesGetCall) Header() http.Header { func (c *StorelayoutpagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12783,7 +12783,7 @@ func (c *StorelayoutpagesInsertCall) Header() http.Header { func (c *StorelayoutpagesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12931,7 +12931,7 @@ func (c *StorelayoutpagesListCall) Header() http.Header { func (c *StorelayoutpagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13067,7 +13067,7 @@ func (c *StorelayoutpagesUpdateCall) Header() http.Header { func (c *StorelayoutpagesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13214,7 +13214,7 @@ func (c *UsersDeleteCall) Header() http.Header { func (c *UsersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13329,7 +13329,7 @@ func (c *UsersGenerateAuthenticationTokenCall) Header() http.Header { func (c *UsersGenerateAuthenticationTokenCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13479,7 +13479,7 @@ func (c *UsersGetCall) Header() http.Header { func (c *UsersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13633,7 +13633,7 @@ func (c *UsersGetAvailableProductSetCall) Header() http.Header { func (c *UsersGetAvailableProductSetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13779,7 +13779,7 @@ func (c *UsersInsertCall) Header() http.Header { func (c *UsersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13931,7 +13931,7 @@ func (c *UsersListCall) Header() http.Header { func (c *UsersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14075,7 +14075,7 @@ func (c *UsersRevokeDeviceAccessCall) Header() http.Header { func (c *UsersRevokeDeviceAccessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14191,7 +14191,7 @@ func (c *UsersSetAvailableProductSetCall) Header() http.Header { func (c *UsersSetAvailableProductSetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14344,7 +14344,7 @@ func (c *UsersUpdateCall) Header() http.Header { func (c *UsersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14491,7 +14491,7 @@ func (c *WebappsDeleteCall) Header() http.Header { func (c *WebappsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14613,7 +14613,7 @@ func (c *WebappsGetCall) Header() http.Header { func (c *WebappsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14755,7 +14755,7 @@ func (c *WebappsInsertCall) Header() http.Header { func (c *WebappsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14903,7 +14903,7 @@ func (c *WebappsListCall) Header() http.Header { func (c *WebappsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15039,7 +15039,7 @@ func (c *WebappsUpdateCall) Header() http.Header { func (c *WebappsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/androidmanagement/v1/androidmanagement-api.json b/androidmanagement/v1/androidmanagement-api.json index 8e3dfcb3e95..ec37d91e675 100644 --- a/androidmanagement/v1/androidmanagement-api.json +++ b/androidmanagement/v1/androidmanagement-api.json @@ -929,7 +929,7 @@ } } }, - "revision": "20201207", + "revision": "20201209", "rootUrl": "https://androidmanagement.googleapis.com/", "schemas": { "AdvancedSecurityOverrides": { @@ -2558,13 +2558,6 @@ "description": "Alphabetic name of current registered operator. For example, Vodafone.", "type": "string" }, - "telephonyInfos": { - "description": "Provides telephony information associated with each SIM card on the device. Only supported on fully managed devices starting from Android API level 23 and above.", - "items": { - "$ref": "TelephonyInfo" - }, - "type": "array" - }, "wifiMacAddress": { "description": "Wi-Fi MAC address of the device. For example, 7c:11:11:11:11:11.", "type": "string" @@ -3903,21 +3896,6 @@ }, "type": "object" }, - "TelephonyInfo": { - "description": "Telephony information associated with a given SIM card on the device. Only supported on fully managed devices starting from Android API level 23 and above.", - "id": "TelephonyInfo", - "properties": { - "carrierName": { - "description": "The carrier name associated with this SIM card.", - "type": "string" - }, - "phoneNumber": { - "description": "The phone number associated with this SIM card.", - "type": "string" - } - }, - "type": "object" - }, "TermsAndConditions": { "description": "A terms and conditions page to be accepted during provisioning.", "id": "TermsAndConditions", diff --git a/androidmanagement/v1/androidmanagement-gen.go b/androidmanagement/v1/androidmanagement-gen.go index bab95e924ae..1eac21aa42c 100644 --- a/androidmanagement/v1/androidmanagement-gen.go +++ b/androidmanagement/v1/androidmanagement-gen.go @@ -2408,11 +2408,6 @@ type NetworkInfo struct { // For example, Vodafone. NetworkOperatorName string `json:"networkOperatorName,omitempty"` - // TelephonyInfos: Provides telephony information associated with each - // SIM card on the device. Only supported on fully managed devices - // starting from Android API level 23 and above. - TelephonyInfos []*TelephonyInfo `json:"telephonyInfos,omitempty"` - // WifiMacAddress: Wi-Fi MAC address of the device. For example, // 7c:11:11:11:11:11. WifiMacAddress string `json:"wifiMacAddress,omitempty"` @@ -4152,39 +4147,6 @@ func (s *SystemUpdateInfo) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// TelephonyInfo: Telephony information associated with a given SIM card -// on the device. Only supported on fully managed devices starting from -// Android API level 23 and above. -type TelephonyInfo struct { - // CarrierName: The carrier name associated with this SIM card. - CarrierName string `json:"carrierName,omitempty"` - - // PhoneNumber: The phone number associated with this SIM card. - PhoneNumber string `json:"phoneNumber,omitempty"` - - // ForceSendFields is a list of field names (e.g. "CarrierName") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "CarrierName") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *TelephonyInfo) MarshalJSON() ([]byte, error) { - type NoMethod TelephonyInfo - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - // TermsAndConditions: A terms and conditions page to be accepted during // provisioning. type TermsAndConditions struct { @@ -4567,7 +4529,7 @@ func (c *EnterprisesCreateCall) Header() http.Header { func (c *EnterprisesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4719,7 +4681,7 @@ func (c *EnterprisesGetCall) Header() http.Header { func (c *EnterprisesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4862,7 +4824,7 @@ func (c *EnterprisesPatchCall) Header() http.Header { func (c *EnterprisesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5026,7 +4988,7 @@ func (c *EnterprisesApplicationsGetCall) Header() http.Header { func (c *EnterprisesApplicationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5187,7 +5149,7 @@ func (c *EnterprisesDevicesDeleteCall) Header() http.Header { func (c *EnterprisesDevicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5349,7 +5311,7 @@ func (c *EnterprisesDevicesGetCall) Header() http.Header { func (c *EnterprisesDevicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5486,7 +5448,7 @@ func (c *EnterprisesDevicesIssueCommandCall) Header() http.Header { func (c *EnterprisesDevicesIssueCommandCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5649,7 +5611,7 @@ func (c *EnterprisesDevicesListCall) Header() http.Header { func (c *EnterprisesDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5824,7 +5786,7 @@ func (c *EnterprisesDevicesPatchCall) Header() http.Header { func (c *EnterprisesDevicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5977,7 +5939,7 @@ func (c *EnterprisesDevicesOperationsCancelCall) Header() http.Header { func (c *EnterprisesDevicesOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6110,7 +6072,7 @@ func (c *EnterprisesDevicesOperationsDeleteCall) Header() http.Header { func (c *EnterprisesDevicesOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6253,7 +6215,7 @@ func (c *EnterprisesDevicesOperationsGetCall) Header() http.Header { func (c *EnterprisesDevicesOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6427,7 +6389,7 @@ func (c *EnterprisesDevicesOperationsListCall) Header() http.Header { func (c *EnterprisesDevicesOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6599,7 +6561,7 @@ func (c *EnterprisesEnrollmentTokensCreateCall) Header() http.Header { func (c *EnterprisesEnrollmentTokensCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6738,7 +6700,7 @@ func (c *EnterprisesEnrollmentTokensDeleteCall) Header() http.Header { func (c *EnterprisesEnrollmentTokensDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6869,7 +6831,7 @@ func (c *EnterprisesPoliciesDeleteCall) Header() http.Header { func (c *EnterprisesPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7010,7 +6972,7 @@ func (c *EnterprisesPoliciesGetCall) Header() http.Header { func (c *EnterprisesPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7168,7 +7130,7 @@ func (c *EnterprisesPoliciesListCall) Header() http.Header { func (c *EnterprisesPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7343,7 +7305,7 @@ func (c *EnterprisesPoliciesPatchCall) Header() http.Header { func (c *EnterprisesPoliciesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7489,7 +7451,7 @@ func (c *EnterprisesWebAppsCreateCall) Header() http.Header { func (c *EnterprisesWebAppsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7627,7 +7589,7 @@ func (c *EnterprisesWebAppsDeleteCall) Header() http.Header { func (c *EnterprisesWebAppsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7768,7 +7730,7 @@ func (c *EnterprisesWebAppsGetCall) Header() http.Header { func (c *EnterprisesWebAppsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7926,7 +7888,7 @@ func (c *EnterprisesWebAppsListCall) Header() http.Header { func (c *EnterprisesWebAppsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8101,7 +8063,7 @@ func (c *EnterprisesWebAppsPatchCall) Header() http.Header { func (c *EnterprisesWebAppsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8248,7 +8210,7 @@ func (c *EnterprisesWebTokensCreateCall) Header() http.Header { func (c *EnterprisesWebTokensCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8403,7 +8365,7 @@ func (c *SignupUrlsCreateCall) Header() http.Header { func (c *SignupUrlsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/androidpublisher/v3/androidpublisher-gen.go b/androidpublisher/v3/androidpublisher-gen.go index c998b149980..2936130b712 100644 --- a/androidpublisher/v3/androidpublisher-gen.go +++ b/androidpublisher/v3/androidpublisher-gen.go @@ -2979,7 +2979,7 @@ func (c *EditsCommitCall) Header() http.Header { func (c *EditsCommitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3118,7 +3118,7 @@ func (c *EditsDeleteCall) Header() http.Header { func (c *EditsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3240,7 +3240,7 @@ func (c *EditsGetCall) Header() http.Header { func (c *EditsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3382,7 +3382,7 @@ func (c *EditsInsertCall) Header() http.Header { func (c *EditsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3521,7 +3521,7 @@ func (c *EditsValidateCall) Header() http.Header { func (c *EditsValidateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3666,7 +3666,7 @@ func (c *EditsApksAddexternallyhostedCall) Header() http.Header { func (c *EditsApksAddexternallyhostedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3824,7 +3824,7 @@ func (c *EditsApksListCall) Header() http.Header { func (c *EditsApksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4006,7 +4006,7 @@ func (c *EditsApksUploadCall) Header() http.Header { func (c *EditsApksUploadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4202,7 +4202,7 @@ func (c *EditsBundlesListCall) Header() http.Header { func (c *EditsBundlesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4398,7 +4398,7 @@ func (c *EditsBundlesUploadCall) Header() http.Header { func (c *EditsBundlesUploadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4632,7 +4632,7 @@ func (c *EditsDeobfuscationfilesUploadCall) Header() http.Header { func (c *EditsDeobfuscationfilesUploadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4854,7 +4854,7 @@ func (c *EditsDetailsGetCall) Header() http.Header { func (c *EditsDetailsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4998,7 +4998,7 @@ func (c *EditsDetailsPatchCall) Header() http.Header { func (c *EditsDetailsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5147,7 +5147,7 @@ func (c *EditsDetailsUpdateCall) Header() http.Header { func (c *EditsDetailsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5309,7 +5309,7 @@ func (c *EditsExpansionfilesGetCall) Header() http.Header { func (c *EditsExpansionfilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5486,7 +5486,7 @@ func (c *EditsExpansionfilesPatchCall) Header() http.Header { func (c *EditsExpansionfilesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5668,7 +5668,7 @@ func (c *EditsExpansionfilesUpdateCall) Header() http.Header { func (c *EditsExpansionfilesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5887,7 +5887,7 @@ func (c *EditsExpansionfilesUploadCall) Header() http.Header { func (c *EditsExpansionfilesUploadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6104,7 +6104,7 @@ func (c *EditsImagesDeleteCall) Header() http.Header { func (c *EditsImagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6266,7 +6266,7 @@ func (c *EditsImagesDeleteallCall) Header() http.Header { func (c *EditsImagesDeleteallCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6458,7 +6458,7 @@ func (c *EditsImagesListCall) Header() http.Header { func (c *EditsImagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6683,7 +6683,7 @@ func (c *EditsImagesUploadCall) Header() http.Header { func (c *EditsImagesUploadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6907,7 +6907,7 @@ func (c *EditsListingsDeleteCall) Header() http.Header { func (c *EditsListingsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7026,7 +7026,7 @@ func (c *EditsListingsDeleteallCall) Header() http.Header { func (c *EditsListingsDeleteallCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7150,7 +7150,7 @@ func (c *EditsListingsGetCall) Header() http.Header { func (c *EditsListingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7311,7 +7311,7 @@ func (c *EditsListingsListCall) Header() http.Header { func (c *EditsListingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7457,7 +7457,7 @@ func (c *EditsListingsPatchCall) Header() http.Header { func (c *EditsListingsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7616,7 +7616,7 @@ func (c *EditsListingsUpdateCall) Header() http.Header { func (c *EditsListingsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7784,7 +7784,7 @@ func (c *EditsTestersGetCall) Header() http.Header { func (c *EditsTestersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7938,7 +7938,7 @@ func (c *EditsTestersPatchCall) Header() http.Header { func (c *EditsTestersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8097,7 +8097,7 @@ func (c *EditsTestersUpdateCall) Header() http.Header { func (c *EditsTestersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8265,7 +8265,7 @@ func (c *EditsTracksGetCall) Header() http.Header { func (c *EditsTracksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8426,7 +8426,7 @@ func (c *EditsTracksListCall) Header() http.Header { func (c *EditsTracksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8572,7 +8572,7 @@ func (c *EditsTracksPatchCall) Header() http.Header { func (c *EditsTracksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8731,7 +8731,7 @@ func (c *EditsTracksUpdateCall) Header() http.Header { func (c *EditsTracksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8887,7 +8887,7 @@ func (c *InappproductsDeleteCall) Header() http.Header { func (c *InappproductsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9010,7 +9010,7 @@ func (c *InappproductsGetCall) Header() http.Header { func (c *InappproductsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9163,7 +9163,7 @@ func (c *InappproductsInsertCall) Header() http.Header { func (c *InappproductsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9338,7 +9338,7 @@ func (c *InappproductsListCall) Header() http.Header { func (c *InappproductsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9502,7 +9502,7 @@ func (c *InappproductsPatchCall) Header() http.Header { func (c *InappproductsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9667,7 +9667,7 @@ func (c *InappproductsUpdateCall) Header() http.Header { func (c *InappproductsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9862,7 +9862,7 @@ func (c *InternalappsharingartifactsUploadapkCall) Header() http.Header { func (c *InternalappsharingartifactsUploadapkCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10082,7 +10082,7 @@ func (c *InternalappsharingartifactsUploadbundleCall) Header() http.Header { func (c *InternalappsharingartifactsUploadbundleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10268,7 +10268,7 @@ func (c *OrdersRefundCall) Header() http.Header { func (c *OrdersRefundCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10388,7 +10388,7 @@ func (c *PurchasesProductsAcknowledgeCall) Header() http.Header { func (c *PurchasesProductsAcknowledgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10528,7 +10528,7 @@ func (c *PurchasesProductsGetCall) Header() http.Header { func (c *PurchasesProductsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10682,7 +10682,7 @@ func (c *PurchasesSubscriptionsAcknowledgeCall) Header() http.Header { func (c *PurchasesSubscriptionsAcknowledgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10812,7 +10812,7 @@ func (c *PurchasesSubscriptionsCancelCall) Header() http.Header { func (c *PurchasesSubscriptionsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10936,7 +10936,7 @@ func (c *PurchasesSubscriptionsDeferCall) Header() http.Header { func (c *PurchasesSubscriptionsDeferCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11106,7 +11106,7 @@ func (c *PurchasesSubscriptionsGetCall) Header() http.Header { func (c *PurchasesSubscriptionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11260,7 +11260,7 @@ func (c *PurchasesSubscriptionsRefundCall) Header() http.Header { func (c *PurchasesSubscriptionsRefundCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11383,7 +11383,7 @@ func (c *PurchasesSubscriptionsRevokeCall) Header() http.Header { func (c *PurchasesSubscriptionsRevokeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11575,7 +11575,7 @@ func (c *PurchasesVoidedpurchasesListCall) Header() http.Header { func (c *PurchasesVoidedpurchasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11762,7 +11762,7 @@ func (c *ReviewsGetCall) Header() http.Header { func (c *ReviewsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11946,7 +11946,7 @@ func (c *ReviewsListCall) Header() http.Header { func (c *ReviewsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12104,7 +12104,7 @@ func (c *ReviewsReplyCall) Header() http.Header { func (c *ReviewsReplyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12254,7 +12254,7 @@ func (c *SystemapksVariantsCreateCall) Header() http.Header { func (c *SystemapksVariantsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12416,7 +12416,7 @@ func (c *SystemapksVariantsDownloadCall) Header() http.Header { func (c *SystemapksVariantsDownloadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12571,7 +12571,7 @@ func (c *SystemapksVariantsGetCall) Header() http.Header { func (c *SystemapksVariantsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12734,7 +12734,7 @@ func (c *SystemapksVariantsListCall) Header() http.Header { func (c *SystemapksVariantsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/apigateway/v1beta/apigateway-gen.go b/apigateway/v1beta/apigateway-gen.go index 0553daf87d1..26a3c9d5a06 100644 --- a/apigateway/v1beta/apigateway-gen.go +++ b/apigateway/v1beta/apigateway-gen.go @@ -1552,7 +1552,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1718,7 +1718,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1898,7 +1898,7 @@ func (c *ProjectsLocationsApisCreateCall) Header() http.Header { func (c *ProjectsLocationsApisCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2041,7 +2041,7 @@ func (c *ProjectsLocationsApisDeleteCall) Header() http.Header { func (c *ProjectsLocationsApisDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2182,7 +2182,7 @@ func (c *ProjectsLocationsApisGetCall) Header() http.Header { func (c *ProjectsLocationsApisGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2343,7 +2343,7 @@ func (c *ProjectsLocationsApisGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsApisGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2517,7 +2517,7 @@ func (c *ProjectsLocationsApisListCall) Header() http.Header { func (c *ProjectsLocationsApisListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2705,7 +2705,7 @@ func (c *ProjectsLocationsApisPatchCall) Header() http.Header { func (c *ProjectsLocationsApisPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2853,7 +2853,7 @@ func (c *ProjectsLocationsApisSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsApisSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2998,7 +2998,7 @@ func (c *ProjectsLocationsApisTestIamPermissionsCall) Header() http.Header { func (c *ProjectsLocationsApisTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3147,7 +3147,7 @@ func (c *ProjectsLocationsApisConfigsCreateCall) Header() http.Header { func (c *ProjectsLocationsApisConfigsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3290,7 +3290,7 @@ func (c *ProjectsLocationsApisConfigsDeleteCall) Header() http.Header { func (c *ProjectsLocationsApisConfigsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3444,7 +3444,7 @@ func (c *ProjectsLocationsApisConfigsGetCall) Header() http.Header { func (c *ProjectsLocationsApisConfigsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3620,7 +3620,7 @@ func (c *ProjectsLocationsApisConfigsGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsApisConfigsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3794,7 +3794,7 @@ func (c *ProjectsLocationsApisConfigsListCall) Header() http.Header { func (c *ProjectsLocationsApisConfigsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3982,7 +3982,7 @@ func (c *ProjectsLocationsApisConfigsPatchCall) Header() http.Header { func (c *ProjectsLocationsApisConfigsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4130,7 +4130,7 @@ func (c *ProjectsLocationsApisConfigsSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsApisConfigsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4275,7 +4275,7 @@ func (c *ProjectsLocationsApisConfigsTestIamPermissionsCall) Header() http.Heade func (c *ProjectsLocationsApisConfigsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4424,7 +4424,7 @@ func (c *ProjectsLocationsGatewaysCreateCall) Header() http.Header { func (c *ProjectsLocationsGatewaysCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4567,7 +4567,7 @@ func (c *ProjectsLocationsGatewaysDeleteCall) Header() http.Header { func (c *ProjectsLocationsGatewaysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4708,7 +4708,7 @@ func (c *ProjectsLocationsGatewaysGetCall) Header() http.Header { func (c *ProjectsLocationsGatewaysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4869,7 +4869,7 @@ func (c *ProjectsLocationsGatewaysGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsGatewaysGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5043,7 +5043,7 @@ func (c *ProjectsLocationsGatewaysListCall) Header() http.Header { func (c *ProjectsLocationsGatewaysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5231,7 +5231,7 @@ func (c *ProjectsLocationsGatewaysPatchCall) Header() http.Header { func (c *ProjectsLocationsGatewaysPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5379,7 +5379,7 @@ func (c *ProjectsLocationsGatewaysSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsGatewaysSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5524,7 +5524,7 @@ func (c *ProjectsLocationsGatewaysTestIamPermissionsCall) Header() http.Header { func (c *ProjectsLocationsGatewaysTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5674,7 +5674,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5815,7 +5815,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5958,7 +5958,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6132,7 +6132,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/apigee/v1/apigee-api.json b/apigee/v1/apigee-api.json index bd14b72a925..75f621b80f3 100644 --- a/apigee/v1/apigee-api.json +++ b/apigee/v1/apigee-api.json @@ -164,6 +164,31 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "delete": { + "description": "Delete an Apigee organization. Only supported for SubscriptionType TRIAL.", + "flatPath": "v1/organizations/{organizationsId}", + "httpMethod": "DELETE", + "id": "apigee.organizations.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the organization. Use the following structure in your request: `organizations/{org}`", + "location": "path", + "pattern": "^organizations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "get": { "description": "Gets the profile for an Apigee organization. See [Understanding organizations](https://cloud.google.com/apigee/docs/api-platform/fundamentals/organization-structure).", "flatPath": "v1/organizations/{organizationsId}", @@ -5451,6 +5476,152 @@ ] } } + }, + "natAddresses": { + "methods": { + "activate": { + "description": "Activates the NAT address. The Apigee instance can now use this for Internet egress traffic. **Note:** Not supported for Apigee hybrid.", + "flatPath": "v1/organizations/{organizationsId}/instances/{instancesId}/natAddresses/{natAddressesId}:activate", + "httpMethod": "POST", + "id": "apigee.organizations.instances.natAddresses.activate", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the nat address. Use the following structure in your request: `organizations/{org}/instances/{instances}/natAddresses/{nataddress}``", + "location": "path", + "pattern": "^organizations/[^/]+/instances/[^/]+/natAddresses/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:activate", + "request": { + "$ref": "GoogleCloudApigeeV1ActivateNatAddressRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "create": { + "description": "Creates a NAT address. The address is created in the RESERVED state and a static external IP address will be provisioned. At this time, the instance will not use this IP address for Internet egress traffic. The address can be activated for use once any required firewall IP whitelisting has been completed. **Note:** Not supported for Apigee hybrid.", + "flatPath": "v1/organizations/{organizationsId}/instances/{instancesId}/natAddresses", + "httpMethod": "POST", + "id": "apigee.organizations.instances.natAddresses.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Name of the instance. Use the following structure in your request: `organizations/{org}/instances/{instance}`", + "location": "path", + "pattern": "^organizations/[^/]+/instances/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/natAddresses", + "request": { + "$ref": "GoogleCloudApigeeV1NatAddress" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes the NAT address. Connections that are actively using the address are drained before it is removed. **Note:** Not supported for Apigee hybrid.", + "flatPath": "v1/organizations/{organizationsId}/instances/{instancesId}/natAddresses/{natAddressesId}", + "httpMethod": "DELETE", + "id": "apigee.organizations.instances.natAddresses.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the nat address. Use the following structure in your request: `organizations/{org}/instances/{instances}/natAddresses/{nataddress}``", + "location": "path", + "pattern": "^organizations/[^/]+/instances/[^/]+/natAddresses/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets the details of a NAT address. **Note:** Not supported for Apigee hybrid.", + "flatPath": "v1/organizations/{organizationsId}/instances/{instancesId}/natAddresses/{natAddressesId}", + "httpMethod": "GET", + "id": "apigee.organizations.instances.natAddresses.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the nat address. Use the following structure in your request: `organizations/{org}/instances/{instances}/natAddresses/{nataddress}`", + "location": "path", + "pattern": "^organizations/[^/]+/instances/[^/]+/natAddresses/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudApigeeV1NatAddress" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists the NAT addresses for an Apigee instance. **Note:** Not supported for Apigee hybrid.", + "flatPath": "v1/organizations/{organizationsId}/instances/{instancesId}/natAddresses", + "httpMethod": "GET", + "id": "apigee.organizations.instances.natAddresses.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Maximum number of natAddresses to return. Defaults to 25.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Page token, returned from a previous ListNatAddresses call, that you can use to retrieve the next page of content.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Name of the instance. Use the following structure in your request: `organizations/{org}/instances/{instance}`", + "location": "path", + "pattern": "^organizations/[^/]+/instances/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/natAddresses", + "response": { + "$ref": "GoogleCloudApigeeV1ListNatAddressesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } } } }, @@ -6275,7 +6446,7 @@ } } }, - "revision": "20201117", + "revision": "20201203", "rootUrl": "https://apigee.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -6362,6 +6533,12 @@ }, "type": "object" }, + "GoogleCloudApigeeV1ActivateNatAddressRequest": { + "description": "Request for ActivateNatAddressRequest. Activate the nat address request.", + "id": "GoogleCloudApigeeV1ActivateNatAddressRequest", + "properties": {}, + "type": "object" + }, "GoogleCloudApigeeV1Alias": { "description": "A reference to a certificate or key, certificate pair.", "id": "GoogleCloudApigeeV1Alias", @@ -8926,6 +9103,24 @@ }, "type": "object" }, + "GoogleCloudApigeeV1ListNatAddressesResponse": { + "description": "Response for ListNatAddresses.", + "id": "GoogleCloudApigeeV1ListNatAddressesResponse", + "properties": { + "natAddresses": { + "description": "List of NAT Addresses for the instance.", + "items": { + "$ref": "GoogleCloudApigeeV1NatAddress" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Page token that you can include in a ListNatAddresses request to retrieve the next page of content. If omitted, no subsequent pages exist.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudApigeeV1ListOfDevelopersResponse": { "id": "GoogleCloudApigeeV1ListOfDevelopersResponse", "properties": { @@ -9003,6 +9198,39 @@ }, "type": "object" }, + "GoogleCloudApigeeV1NatAddress": { + "description": "Apigee NAT(network address translation) address. A NAT address is a static external IP address used for Internet egress traffic.", + "id": "GoogleCloudApigeeV1NatAddress", + "properties": { + "ipAddress": { + "description": "Required. The static IPV4 address.", + "type": "string" + }, + "name": { + "description": "Required. Resource ID of the NAT address.", + "type": "string" + }, + "state": { + "description": "Required. State of the nat address.", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "RESERVED", + "ACTIVE", + "DELETING" + ], + "enumDescriptions": [ + "The resource is in an unspecified state.", + "The NAT address is being created.", + "The NAT address is reserved but not yet used for Internet egress.", + "The NAT address is active and used for Internet egress.", + "The NAT address is being deleted." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudApigeeV1Operation": { "description": "Operation represents the pairing of REST resource path and the actions (verbs) allowed on the resource path.", "id": "GoogleCloudApigeeV1Operation", diff --git a/apigee/v1/apigee-gen.go b/apigee/v1/apigee-gen.go index 6224bf994db..76609fc7001 100644 --- a/apigee/v1/apigee-gen.go +++ b/apigee/v1/apigee-gen.go @@ -772,6 +772,7 @@ func NewOrganizationsInstancesService(s *Service) *OrganizationsInstancesService rs := &OrganizationsInstancesService{s: s} rs.Attachments = NewOrganizationsInstancesAttachmentsService(s) rs.Canaryevaluations = NewOrganizationsInstancesCanaryevaluationsService(s) + rs.NatAddresses = NewOrganizationsInstancesNatAddressesService(s) return rs } @@ -781,6 +782,8 @@ type OrganizationsInstancesService struct { Attachments *OrganizationsInstancesAttachmentsService Canaryevaluations *OrganizationsInstancesCanaryevaluationsService + + NatAddresses *OrganizationsInstancesNatAddressesService } func NewOrganizationsInstancesAttachmentsService(s *Service) *OrganizationsInstancesAttachmentsService { @@ -801,6 +804,15 @@ type OrganizationsInstancesCanaryevaluationsService struct { s *Service } +func NewOrganizationsInstancesNatAddressesService(s *Service) *OrganizationsInstancesNatAddressesService { + rs := &OrganizationsInstancesNatAddressesService{s: s} + return rs +} + +type OrganizationsInstancesNatAddressesService struct { + s *Service +} + func NewOrganizationsKeyvaluemapsService(s *Service) *OrganizationsKeyvaluemapsService { rs := &OrganizationsKeyvaluemapsService{s: s} return rs @@ -1091,6 +1103,11 @@ func (s *GoogleCloudApigeeV1AccessSet) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudApigeeV1ActivateNatAddressRequest: Request for +// ActivateNatAddressRequest. Activate the nat address request. +type GoogleCloudApigeeV1ActivateNatAddressRequest struct { +} + // GoogleCloudApigeeV1Alias: A reference to a certificate or key, // certificate pair. type GoogleCloudApigeeV1Alias struct { @@ -4890,6 +4907,44 @@ func (s *GoogleCloudApigeeV1ListInstancesResponse) MarshalJSON() ([]byte, error) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudApigeeV1ListNatAddressesResponse: Response for +// ListNatAddresses. +type GoogleCloudApigeeV1ListNatAddressesResponse struct { + // NatAddresses: List of NAT Addresses for the instance. + NatAddresses []*GoogleCloudApigeeV1NatAddress `json:"natAddresses,omitempty"` + + // NextPageToken: Page token that you can include in a ListNatAddresses + // request to retrieve the next page of content. If omitted, no + // subsequent pages exist. + NextPageToken string `json:"nextPageToken,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "NatAddresses") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "NatAddresses") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudApigeeV1ListNatAddressesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudApigeeV1ListNatAddressesResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + type GoogleCloudApigeeV1ListOfDevelopersResponse struct { // Developer: List of developers. Developer []*GoogleCloudApigeeV1Developer `json:"developer,omitempty"` @@ -5056,6 +5111,54 @@ func (s *GoogleCloudApigeeV1Metric) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudApigeeV1NatAddress: Apigee NAT(network address +// translation) address. A NAT address is a static external IP address +// used for Internet egress traffic. +type GoogleCloudApigeeV1NatAddress struct { + // IpAddress: Required. The static IPV4 address. + IpAddress string `json:"ipAddress,omitempty"` + + // Name: Required. Resource ID of the NAT address. + Name string `json:"name,omitempty"` + + // State: Required. State of the nat address. + // + // Possible values: + // "STATE_UNSPECIFIED" - The resource is in an unspecified state. + // "CREATING" - The NAT address is being created. + // "RESERVED" - The NAT address is reserved but not yet used for + // Internet egress. + // "ACTIVE" - The NAT address is active and used for Internet egress. + // "DELETING" - The NAT address is being deleted. + State string `json:"state,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "IpAddress") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "IpAddress") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudApigeeV1NatAddress) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudApigeeV1NatAddress + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudApigeeV1Operation: Operation represents the pairing of // REST resource path and the actions (verbs) allowed on the resource // path. @@ -8218,7 +8321,7 @@ func (c *HybridIssuersListCall) Header() http.Header { func (c *HybridIssuersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8364,7 +8467,7 @@ func (c *OrganizationsCreateCall) Header() http.Header { func (c *OrganizationsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8451,6 +8554,137 @@ func (c *OrganizationsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongr } +// method id "apigee.organizations.delete": + +type OrganizationsDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Delete: Delete an Apigee organization. Only supported for +// SubscriptionType TRIAL. +func (r *OrganizationsService) Delete(name string) *OrganizationsDeleteCall { + c := &OrganizationsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *OrganizationsDeleteCall) Fields(s ...googleapi.Field) *OrganizationsDeleteCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *OrganizationsDeleteCall) Context(ctx context.Context) *OrganizationsDeleteCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *OrganizationsDeleteCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *OrganizationsDeleteCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("DELETE", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigee.organizations.delete" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *OrganizationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleLongrunningOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Delete an Apigee organization. Only supported for SubscriptionType TRIAL.", + // "flatPath": "v1/organizations/{organizationsId}", + // "httpMethod": "DELETE", + // "id": "apigee.organizations.delete", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. Name of the organization. Use the following structure in your request: `organizations/{org}`", + // "location": "path", + // "pattern": "^organizations/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+name}", + // "response": { + // "$ref": "GoogleLongrunningOperation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + // method id "apigee.organizations.get": type OrganizationsGetCall struct { @@ -8508,7 +8742,7 @@ func (c *OrganizationsGetCall) Header() http.Header { func (c *OrganizationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8671,7 +8905,7 @@ func (c *OrganizationsGetDeployedIngressConfigCall) Header() http.Header { func (c *OrganizationsGetDeployedIngressConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8831,7 +9065,7 @@ func (c *OrganizationsGetSyncAuthorizationCall) Header() http.Header { func (c *OrganizationsGetSyncAuthorizationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8984,7 +9218,7 @@ func (c *OrganizationsListCall) Header() http.Header { func (c *OrganizationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9131,7 +9365,7 @@ func (c *OrganizationsSetSyncAuthorizationCall) Header() http.Header { func (c *OrganizationsSetSyncAuthorizationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9273,7 +9507,7 @@ func (c *OrganizationsUpdateCall) Header() http.Header { func (c *OrganizationsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9413,7 +9647,7 @@ func (c *OrganizationsAnalyticsDatastoresCreateCall) Header() http.Header { func (c *OrganizationsAnalyticsDatastoresCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9551,7 +9785,7 @@ func (c *OrganizationsAnalyticsDatastoresDeleteCall) Header() http.Header { func (c *OrganizationsAnalyticsDatastoresDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9692,7 +9926,7 @@ func (c *OrganizationsAnalyticsDatastoresGetCall) Header() http.Header { func (c *OrganizationsAnalyticsDatastoresGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9843,7 +10077,7 @@ func (c *OrganizationsAnalyticsDatastoresListCall) Header() http.Header { func (c *OrganizationsAnalyticsDatastoresListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9987,7 +10221,7 @@ func (c *OrganizationsAnalyticsDatastoresTestCall) Header() http.Header { func (c *OrganizationsAnalyticsDatastoresTestCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10129,7 +10363,7 @@ func (c *OrganizationsAnalyticsDatastoresUpdateCall) Header() http.Header { func (c *OrganizationsAnalyticsDatastoresUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10279,7 +10513,7 @@ func (c *OrganizationsApiproductsAttributesCall) Header() http.Header { func (c *OrganizationsApiproductsAttributesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10437,7 +10671,7 @@ func (c *OrganizationsApiproductsCreateCall) Header() http.Header { func (c *OrganizationsApiproductsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10583,7 +10817,7 @@ func (c *OrganizationsApiproductsDeleteCall) Header() http.Header { func (c *OrganizationsApiproductsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10728,7 +10962,7 @@ func (c *OrganizationsApiproductsGetCall) Header() http.Header { func (c *OrganizationsApiproductsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10916,7 +11150,7 @@ func (c *OrganizationsApiproductsListCall) Header() http.Header { func (c *OrganizationsApiproductsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11085,7 +11319,7 @@ func (c *OrganizationsApiproductsUpdateCall) Header() http.Header { func (c *OrganizationsApiproductsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11223,7 +11457,7 @@ func (c *OrganizationsApiproductsAttributesDeleteCall) Header() http.Header { func (c *OrganizationsApiproductsAttributesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11364,7 +11598,7 @@ func (c *OrganizationsApiproductsAttributesGetCall) Header() http.Header { func (c *OrganizationsApiproductsAttributesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11508,7 +11742,7 @@ func (c *OrganizationsApiproductsAttributesListCall) Header() http.Header { func (c *OrganizationsApiproductsAttributesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11650,7 +11884,7 @@ func (c *OrganizationsApiproductsAttributesUpdateApiProductAttributeCall) Header func (c *OrganizationsApiproductsAttributesUpdateApiProductAttributeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11830,7 +12064,7 @@ func (c *OrganizationsApisCreateCall) Header() http.Header { func (c *OrganizationsApisCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11986,7 +12220,7 @@ func (c *OrganizationsApisDeleteCall) Header() http.Header { func (c *OrganizationsApisDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12127,7 +12361,7 @@ func (c *OrganizationsApisGetCall) Header() http.Header { func (c *OrganizationsApisGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12288,7 +12522,7 @@ func (c *OrganizationsApisListCall) Header() http.Header { func (c *OrganizationsApisListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12444,7 +12678,7 @@ func (c *OrganizationsApisDeploymentsListCall) Header() http.Header { func (c *OrganizationsApisDeploymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12581,7 +12815,7 @@ func (c *OrganizationsApisKeyvaluemapsCreateCall) Header() http.Header { func (c *OrganizationsApisKeyvaluemapsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12719,7 +12953,7 @@ func (c *OrganizationsApisKeyvaluemapsDeleteCall) Header() http.Header { func (c *OrganizationsApisKeyvaluemapsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12851,7 +13085,7 @@ func (c *OrganizationsApisRevisionsDeleteCall) Header() http.Header { func (c *OrganizationsApisRevisionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13008,7 +13242,7 @@ func (c *OrganizationsApisRevisionsGetCall) Header() http.Header { func (c *OrganizationsApisRevisionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13161,7 +13395,7 @@ func (c *OrganizationsApisRevisionsUpdateApiProxyRevisionCall) Header() http.Hea func (c *OrganizationsApisRevisionsUpdateApiProxyRevisionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13316,7 +13550,7 @@ func (c *OrganizationsApisRevisionsDeploymentsListCall) Header() http.Header { func (c *OrganizationsApisRevisionsDeploymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13462,7 +13696,7 @@ func (c *OrganizationsAppsGetCall) Header() http.Header { func (c *OrganizationsAppsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13674,7 +13908,7 @@ func (c *OrganizationsAppsListCall) Header() http.Header { func (c *OrganizationsAppsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13864,7 +14098,7 @@ func (c *OrganizationsDatacollectorsCreateCall) Header() http.Header { func (c *OrganizationsDatacollectorsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14007,7 +14241,7 @@ func (c *OrganizationsDatacollectorsDeleteCall) Header() http.Header { func (c *OrganizationsDatacollectorsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14148,7 +14382,7 @@ func (c *OrganizationsDatacollectorsGetCall) Header() http.Header { func (c *OrganizationsDatacollectorsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14307,7 +14541,7 @@ func (c *OrganizationsDatacollectorsListCall) Header() http.Header { func (c *OrganizationsDatacollectorsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14483,7 +14717,7 @@ func (c *OrganizationsDatacollectorsPatchCall) Header() http.Header { func (c *OrganizationsDatacollectorsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14647,7 +14881,7 @@ func (c *OrganizationsDeploymentsListCall) Header() http.Header { func (c *OrganizationsDeploymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14799,7 +15033,7 @@ func (c *OrganizationsDevelopersAttributesCall) Header() http.Header { func (c *OrganizationsDevelopersAttributesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14942,7 +15176,7 @@ func (c *OrganizationsDevelopersCreateCall) Header() http.Header { func (c *OrganizationsDevelopersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15088,7 +15322,7 @@ func (c *OrganizationsDevelopersDeleteCall) Header() http.Header { func (c *OrganizationsDevelopersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15238,7 +15472,7 @@ func (c *OrganizationsDevelopersGetCall) Header() http.Header { func (c *OrganizationsDevelopersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15443,7 +15677,7 @@ func (c *OrganizationsDevelopersListCall) Header() http.Header { func (c *OrganizationsDevelopersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15623,7 +15857,7 @@ func (c *OrganizationsDevelopersSetDeveloperStatusCall) Header() http.Header { func (c *OrganizationsDevelopersSetDeveloperStatusCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15769,7 +16003,7 @@ func (c *OrganizationsDevelopersUpdateCall) Header() http.Header { func (c *OrganizationsDevelopersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15910,7 +16144,7 @@ func (c *OrganizationsDevelopersAppsAttributesCall) Header() http.Header { func (c *OrganizationsDevelopersAppsAttributesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16056,7 +16290,7 @@ func (c *OrganizationsDevelopersAppsCreateCall) Header() http.Header { func (c *OrganizationsDevelopersAppsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16197,7 +16431,7 @@ func (c *OrganizationsDevelopersAppsDeleteCall) Header() http.Header { func (c *OrganizationsDevelopersAppsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16361,7 +16595,7 @@ func (c *OrganizationsDevelopersAppsGenerateKeyPairOrUpdateDeveloperAppStatusCal func (c *OrganizationsDevelopersAppsGenerateKeyPairOrUpdateDeveloperAppStatusCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16533,7 +16767,7 @@ func (c *OrganizationsDevelopersAppsGetCall) Header() http.Header { func (c *OrganizationsDevelopersAppsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16728,7 +16962,7 @@ func (c *OrganizationsDevelopersAppsListCall) Header() http.Header { func (c *OrganizationsDevelopersAppsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16896,7 +17130,7 @@ func (c *OrganizationsDevelopersAppsUpdateCall) Header() http.Header { func (c *OrganizationsDevelopersAppsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17034,7 +17268,7 @@ func (c *OrganizationsDevelopersAppsAttributesDeleteCall) Header() http.Header { func (c *OrganizationsDevelopersAppsAttributesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17175,7 +17409,7 @@ func (c *OrganizationsDevelopersAppsAttributesGetCall) Header() http.Header { func (c *OrganizationsDevelopersAppsAttributesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17319,7 +17553,7 @@ func (c *OrganizationsDevelopersAppsAttributesListCall) Header() http.Header { func (c *OrganizationsDevelopersAppsAttributesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17461,7 +17695,7 @@ func (c *OrganizationsDevelopersAppsAttributesUpdateDeveloperAppAttributeCall) H func (c *OrganizationsDevelopersAppsAttributesUpdateDeveloperAppAttributeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17613,7 +17847,7 @@ func (c *OrganizationsDevelopersAppsKeysCreateCall) Header() http.Header { func (c *OrganizationsDevelopersAppsKeysCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17758,7 +17992,7 @@ func (c *OrganizationsDevelopersAppsKeysDeleteCall) Header() http.Header { func (c *OrganizationsDevelopersAppsKeysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17902,7 +18136,7 @@ func (c *OrganizationsDevelopersAppsKeysGetCall) Header() http.Header { func (c *OrganizationsDevelopersAppsKeysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18044,7 +18278,7 @@ func (c *OrganizationsDevelopersAppsKeysReplaceDeveloperAppKeyCall) Header() htt func (c *OrganizationsDevelopersAppsKeysReplaceDeveloperAppKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18199,7 +18433,7 @@ func (c *OrganizationsDevelopersAppsKeysUpdateDeveloperAppKeyCall) Header() http func (c *OrganizationsDevelopersAppsKeysUpdateDeveloperAppKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18346,7 +18580,7 @@ func (c *OrganizationsDevelopersAppsKeysApiproductsDeleteCall) Header() http.Hea func (c *OrganizationsDevelopersAppsKeysApiproductsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18491,7 +18725,7 @@ func (c *OrganizationsDevelopersAppsKeysApiproductsUpdateDeveloperAppKeyApiProdu func (c *OrganizationsDevelopersAppsKeysApiproductsUpdateDeveloperAppKeyApiProductCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18640,7 +18874,7 @@ func (c *OrganizationsDevelopersAppsKeysCreateCreateCall) Header() http.Header { func (c *OrganizationsDevelopersAppsKeysCreateCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18779,7 +19013,7 @@ func (c *OrganizationsDevelopersAttributesDeleteCall) Header() http.Header { func (c *OrganizationsDevelopersAttributesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18920,7 +19154,7 @@ func (c *OrganizationsDevelopersAttributesGetCall) Header() http.Header { func (c *OrganizationsDevelopersAttributesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19064,7 +19298,7 @@ func (c *OrganizationsDevelopersAttributesListCall) Header() http.Header { func (c *OrganizationsDevelopersAttributesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19205,7 +19439,7 @@ func (c *OrganizationsDevelopersAttributesUpdateDeveloperAttributeCall) Header() func (c *OrganizationsDevelopersAttributesUpdateDeveloperAttributeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19352,7 +19586,7 @@ func (c *OrganizationsEnvgroupsCreateCall) Header() http.Header { func (c *OrganizationsEnvgroupsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19495,7 +19729,7 @@ func (c *OrganizationsEnvgroupsDeleteCall) Header() http.Header { func (c *OrganizationsEnvgroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19636,7 +19870,7 @@ func (c *OrganizationsEnvgroupsGetCall) Header() http.Header { func (c *OrganizationsEnvgroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19796,7 +20030,7 @@ func (c *OrganizationsEnvgroupsListCall) Header() http.Header { func (c *OrganizationsEnvgroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19972,7 +20206,7 @@ func (c *OrganizationsEnvgroupsPatchCall) Header() http.Header { func (c *OrganizationsEnvgroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20119,7 +20353,7 @@ func (c *OrganizationsEnvgroupsAttachmentsCreateCall) Header() http.Header { func (c *OrganizationsEnvgroupsAttachmentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20257,7 +20491,7 @@ func (c *OrganizationsEnvgroupsAttachmentsDeleteCall) Header() http.Header { func (c *OrganizationsEnvgroupsAttachmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20398,7 +20632,7 @@ func (c *OrganizationsEnvgroupsAttachmentsGetCall) Header() http.Header { func (c *OrganizationsEnvgroupsAttachmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20560,7 +20794,7 @@ func (c *OrganizationsEnvgroupsAttachmentsListCall) Header() http.Header { func (c *OrganizationsEnvgroupsAttachmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20738,7 +20972,7 @@ func (c *OrganizationsEnvironmentsCreateCall) Header() http.Header { func (c *OrganizationsEnvironmentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20881,7 +21115,7 @@ func (c *OrganizationsEnvironmentsDeleteCall) Header() http.Header { func (c *OrganizationsEnvironmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21022,7 +21256,7 @@ func (c *OrganizationsEnvironmentsGetCall) Header() http.Header { func (c *OrganizationsEnvironmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21167,7 +21401,7 @@ func (c *OrganizationsEnvironmentsGetDebugmaskCall) Header() http.Header { func (c *OrganizationsEnvironmentsGetDebugmaskCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21312,7 +21546,7 @@ func (c *OrganizationsEnvironmentsGetDeployedConfigCall) Header() http.Header { func (c *OrganizationsEnvironmentsGetDeployedConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21476,7 +21710,7 @@ func (c *OrganizationsEnvironmentsGetIamPolicyCall) Header() http.Header { func (c *OrganizationsEnvironmentsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21622,7 +21856,7 @@ func (c *OrganizationsEnvironmentsSetIamPolicyCall) Header() http.Header { func (c *OrganizationsEnvironmentsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21762,7 +21996,7 @@ func (c *OrganizationsEnvironmentsSubscribeCall) Header() http.Header { func (c *OrganizationsEnvironmentsSubscribeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21897,7 +22131,7 @@ func (c *OrganizationsEnvironmentsTestIamPermissionsCall) Header() http.Header { func (c *OrganizationsEnvironmentsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22039,7 +22273,7 @@ func (c *OrganizationsEnvironmentsUnsubscribeCall) Header() http.Header { func (c *OrganizationsEnvironmentsUnsubscribeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22183,7 +22417,7 @@ func (c *OrganizationsEnvironmentsUpdateCall) Header() http.Header { func (c *OrganizationsEnvironmentsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22341,7 +22575,7 @@ func (c *OrganizationsEnvironmentsUpdateDebugmaskCall) Header() http.Header { func (c *OrganizationsEnvironmentsUpdateDebugmaskCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22496,7 +22730,7 @@ func (c *OrganizationsEnvironmentsUpdateEnvironmentCall) Header() http.Header { func (c *OrganizationsEnvironmentsUpdateEnvironmentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22656,7 +22890,7 @@ func (c *OrganizationsEnvironmentsAnalyticsAdminGetSchemav2Call) Header() http.H func (c *OrganizationsEnvironmentsAnalyticsAdminGetSchemav2Call) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22799,7 +23033,7 @@ func (c *OrganizationsEnvironmentsAnalyticsExportsCreateCall) Header() http.Head func (c *OrganizationsEnvironmentsAnalyticsExportsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22952,7 +23186,7 @@ func (c *OrganizationsEnvironmentsAnalyticsExportsGetCall) Header() http.Header func (c *OrganizationsEnvironmentsAnalyticsExportsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23097,7 +23331,7 @@ func (c *OrganizationsEnvironmentsAnalyticsExportsListCall) Header() http.Header func (c *OrganizationsEnvironmentsAnalyticsExportsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23242,7 +23476,7 @@ func (c *OrganizationsEnvironmentsApisDeploymentsListCall) Header() http.Header func (c *OrganizationsEnvironmentsApisDeploymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23418,7 +23652,7 @@ func (c *OrganizationsEnvironmentsApisRevisionsDeployCall) Header() http.Header func (c *OrganizationsEnvironmentsApisRevisionsDeployCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23570,7 +23804,7 @@ func (c *OrganizationsEnvironmentsApisRevisionsGetDeploymentsCall) Header() http func (c *OrganizationsEnvironmentsApisRevisionsGetDeploymentsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23726,7 +23960,7 @@ func (c *OrganizationsEnvironmentsApisRevisionsUndeployCall) Header() http.Heade func (c *OrganizationsEnvironmentsApisRevisionsUndeployCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23871,7 +24105,7 @@ func (c *OrganizationsEnvironmentsApisRevisionsDebugsessionsCreateCall) Header() func (c *OrganizationsEnvironmentsApisRevisionsDebugsessionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24017,7 +24251,7 @@ func (c *OrganizationsEnvironmentsApisRevisionsDebugsessionsDeleteDataCall) Head func (c *OrganizationsEnvironmentsApisRevisionsDebugsessionsDeleteDataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24158,7 +24392,7 @@ func (c *OrganizationsEnvironmentsApisRevisionsDebugsessionsGetCall) Header() ht func (c *OrganizationsEnvironmentsApisRevisionsDebugsessionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24318,7 +24552,7 @@ func (c *OrganizationsEnvironmentsApisRevisionsDebugsessionsListCall) Header() h func (c *OrganizationsEnvironmentsApisRevisionsDebugsessionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24496,7 +24730,7 @@ func (c *OrganizationsEnvironmentsApisRevisionsDebugsessionsDataGetCall) Header( func (c *OrganizationsEnvironmentsApisRevisionsDebugsessionsDataGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24652,7 +24886,7 @@ func (c *OrganizationsEnvironmentsApisRevisionsDeploymentsGenerateDeployChangeRe func (c *OrganizationsEnvironmentsApisRevisionsDeploymentsGenerateDeployChangeReportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24803,7 +25037,7 @@ func (c *OrganizationsEnvironmentsApisRevisionsDeploymentsGenerateUndeployChange func (c *OrganizationsEnvironmentsApisRevisionsDeploymentsGenerateUndeployChangeReportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24935,7 +25169,7 @@ func (c *OrganizationsEnvironmentsCachesDeleteCall) Header() http.Header { func (c *OrganizationsEnvironmentsCachesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25086,7 +25320,7 @@ func (c *OrganizationsEnvironmentsDeploymentsListCall) Header() http.Header { func (c *OrganizationsEnvironmentsDeploymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25228,7 +25462,7 @@ func (c *OrganizationsEnvironmentsFlowhooksAttachSharedFlowToFlowHookCall) Heade func (c *OrganizationsEnvironmentsFlowhooksAttachSharedFlowToFlowHookCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25367,7 +25601,7 @@ func (c *OrganizationsEnvironmentsFlowhooksDetachSharedFlowFromFlowHookCall) Hea func (c *OrganizationsEnvironmentsFlowhooksDetachSharedFlowFromFlowHookCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25511,7 +25745,7 @@ func (c *OrganizationsEnvironmentsFlowhooksGetCall) Header() http.Header { func (c *OrganizationsEnvironmentsFlowhooksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25657,7 +25891,7 @@ func (c *OrganizationsEnvironmentsKeystoresCreateCall) Header() http.Header { func (c *OrganizationsEnvironmentsKeystoresCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25800,7 +26034,7 @@ func (c *OrganizationsEnvironmentsKeystoresDeleteCall) Header() http.Header { func (c *OrganizationsEnvironmentsKeystoresDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25941,7 +26175,7 @@ func (c *OrganizationsEnvironmentsKeystoresGetCall) Header() http.Header { func (c *OrganizationsEnvironmentsKeystoresGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26132,7 +26366,7 @@ func (c *OrganizationsEnvironmentsKeystoresAliasesCreateCall) Header() http.Head func (c *OrganizationsEnvironmentsKeystoresAliasesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26307,7 +26541,7 @@ func (c *OrganizationsEnvironmentsKeystoresAliasesCsrCall) Header() http.Header func (c *OrganizationsEnvironmentsKeystoresAliasesCsrCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26440,7 +26674,7 @@ func (c *OrganizationsEnvironmentsKeystoresAliasesDeleteCall) Header() http.Head func (c *OrganizationsEnvironmentsKeystoresAliasesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26581,7 +26815,7 @@ func (c *OrganizationsEnvironmentsKeystoresAliasesGetCall) Header() http.Header func (c *OrganizationsEnvironmentsKeystoresAliasesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26726,7 +26960,7 @@ func (c *OrganizationsEnvironmentsKeystoresAliasesGetCertificateCall) Header() h func (c *OrganizationsEnvironmentsKeystoresAliasesGetCertificateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26878,7 +27112,7 @@ func (c *OrganizationsEnvironmentsKeystoresAliasesUpdateCall) Header() http.Head func (c *OrganizationsEnvironmentsKeystoresAliasesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27028,7 +27262,7 @@ func (c *OrganizationsEnvironmentsKeyvaluemapsCreateCall) Header() http.Header { func (c *OrganizationsEnvironmentsKeyvaluemapsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27166,7 +27400,7 @@ func (c *OrganizationsEnvironmentsKeyvaluemapsDeleteCall) Header() http.Header { func (c *OrganizationsEnvironmentsKeyvaluemapsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27426,7 +27660,7 @@ func (c *OrganizationsEnvironmentsOptimizedStatsGetCall) Header() http.Header { func (c *OrganizationsEnvironmentsOptimizedStatsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27640,7 +27874,7 @@ func (c *OrganizationsEnvironmentsQueriesCreateCall) Header() http.Header { func (c *OrganizationsEnvironmentsQueriesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27791,7 +28025,7 @@ func (c *OrganizationsEnvironmentsQueriesGetCall) Header() http.Header { func (c *OrganizationsEnvironmentsQueriesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27939,7 +28173,7 @@ func (c *OrganizationsEnvironmentsQueriesGetResultCall) Header() http.Header { func (c *OrganizationsEnvironmentsQueriesGetResultCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28128,7 +28362,7 @@ func (c *OrganizationsEnvironmentsQueriesListCall) Header() http.Header { func (c *OrganizationsEnvironmentsQueriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28295,7 +28529,7 @@ func (c *OrganizationsEnvironmentsReferencesCreateCall) Header() http.Header { func (c *OrganizationsEnvironmentsReferencesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28434,7 +28668,7 @@ func (c *OrganizationsEnvironmentsReferencesDeleteCall) Header() http.Header { func (c *OrganizationsEnvironmentsReferencesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28575,7 +28809,7 @@ func (c *OrganizationsEnvironmentsReferencesGetCall) Header() http.Header { func (c *OrganizationsEnvironmentsReferencesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28712,7 +28946,7 @@ func (c *OrganizationsEnvironmentsReferencesUpdateCall) Header() http.Header { func (c *OrganizationsEnvironmentsReferencesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28871,7 +29105,7 @@ func (c *OrganizationsEnvironmentsResourcefilesCreateCall) Header() http.Header func (c *OrganizationsEnvironmentsResourcefilesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29026,7 +29260,7 @@ func (c *OrganizationsEnvironmentsResourcefilesDeleteCall) Header() http.Header func (c *OrganizationsEnvironmentsResourcefilesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29190,7 +29424,7 @@ func (c *OrganizationsEnvironmentsResourcefilesGetCall) Header() http.Header { func (c *OrganizationsEnvironmentsResourcefilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29360,7 +29594,7 @@ func (c *OrganizationsEnvironmentsResourcefilesListCall) Header() http.Header { func (c *OrganizationsEnvironmentsResourcefilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29517,7 +29751,7 @@ func (c *OrganizationsEnvironmentsResourcefilesListEnvironmentResourcesCall) Hea func (c *OrganizationsEnvironmentsResourcefilesListEnvironmentResourcesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29670,7 +29904,7 @@ func (c *OrganizationsEnvironmentsResourcefilesUpdateCall) Header() http.Header func (c *OrganizationsEnvironmentsResourcefilesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29835,7 +30069,7 @@ func (c *OrganizationsEnvironmentsSharedflowsDeploymentsListCall) Header() http. func (c *OrganizationsEnvironmentsSharedflowsDeploymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29993,7 +30227,7 @@ func (c *OrganizationsEnvironmentsSharedflowsRevisionsDeployCall) Header() http. func (c *OrganizationsEnvironmentsSharedflowsRevisionsDeployCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30140,7 +30374,7 @@ func (c *OrganizationsEnvironmentsSharedflowsRevisionsGetDeploymentsCall) Header func (c *OrganizationsEnvironmentsSharedflowsRevisionsGetDeploymentsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30280,7 +30514,7 @@ func (c *OrganizationsEnvironmentsSharedflowsRevisionsUndeployCall) Header() htt func (c *OrganizationsEnvironmentsSharedflowsRevisionsUndeployCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30541,7 +30775,7 @@ func (c *OrganizationsEnvironmentsStatsGetCall) Header() http.Header { func (c *OrganizationsEnvironmentsStatsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30758,7 +30992,7 @@ func (c *OrganizationsEnvironmentsTargetserversCreateCall) Header() http.Header func (c *OrganizationsEnvironmentsTargetserversCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30902,7 +31136,7 @@ func (c *OrganizationsEnvironmentsTargetserversDeleteCall) Header() http.Header func (c *OrganizationsEnvironmentsTargetserversDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31043,7 +31277,7 @@ func (c *OrganizationsEnvironmentsTargetserversGetCall) Header() http.Header { func (c *OrganizationsEnvironmentsTargetserversGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31180,7 +31414,7 @@ func (c *OrganizationsEnvironmentsTargetserversUpdateCall) Header() http.Header func (c *OrganizationsEnvironmentsTargetserversUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31324,7 +31558,7 @@ func (c *OrganizationsHostQueriesCreateCall) Header() http.Header { func (c *OrganizationsHostQueriesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31475,7 +31709,7 @@ func (c *OrganizationsHostQueriesGetCall) Header() http.Header { func (c *OrganizationsHostQueriesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31623,7 +31857,7 @@ func (c *OrganizationsHostQueriesGetResultCall) Header() http.Header { func (c *OrganizationsHostQueriesGetResultCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31767,7 +32001,7 @@ func (c *OrganizationsHostQueriesGetResultViewCall) Header() http.Header { func (c *OrganizationsHostQueriesGetResultViewCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31964,7 +32198,7 @@ func (c *OrganizationsHostQueriesListCall) Header() http.Header { func (c *OrganizationsHostQueriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32255,7 +32489,7 @@ func (c *OrganizationsHostStatsGetCall) Header() http.Header { func (c *OrganizationsHostStatsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32462,7 +32696,7 @@ func (c *OrganizationsInstancesCreateCall) Header() http.Header { func (c *OrganizationsInstancesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32602,7 +32836,7 @@ func (c *OrganizationsInstancesDeleteCall) Header() http.Header { func (c *OrganizationsInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32744,7 +32978,7 @@ func (c *OrganizationsInstancesGetCall) Header() http.Header { func (c *OrganizationsInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32904,7 +33138,7 @@ func (c *OrganizationsInstancesListCall) Header() http.Header { func (c *OrganizationsInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33073,7 +33307,7 @@ func (c *OrganizationsInstancesReportStatusCall) Header() http.Header { func (c *OrganizationsInstancesReportStatusCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33216,7 +33450,7 @@ func (c *OrganizationsInstancesAttachmentsCreateCall) Header() http.Header { func (c *OrganizationsInstancesAttachmentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33355,7 +33589,7 @@ func (c *OrganizationsInstancesAttachmentsDeleteCall) Header() http.Header { func (c *OrganizationsInstancesAttachmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33496,7 +33730,7 @@ func (c *OrganizationsInstancesAttachmentsGetCall) Header() http.Header { func (c *OrganizationsInstancesAttachmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33657,7 +33891,7 @@ func (c *OrganizationsInstancesAttachmentsListCall) Header() http.Header { func (c *OrganizationsInstancesAttachmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33826,7 +34060,7 @@ func (c *OrganizationsInstancesCanaryevaluationsCreateCall) Header() http.Header func (c *OrganizationsInstancesCanaryevaluationsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33975,7 +34209,7 @@ func (c *OrganizationsInstancesCanaryevaluationsGetCall) Header() http.Header { func (c *OrganizationsInstancesCanaryevaluationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34065,6 +34299,764 @@ func (c *OrganizationsInstancesCanaryevaluationsGetCall) Do(opts ...googleapi.Ca } +// method id "apigee.organizations.instances.natAddresses.activate": + +type OrganizationsInstancesNatAddressesActivateCall struct { + s *Service + name string + googlecloudapigeev1activatenataddressrequest *GoogleCloudApigeeV1ActivateNatAddressRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Activate: Activates the NAT address. The Apigee instance can now use +// this for Internet egress traffic. **Note:** Not supported for Apigee +// hybrid. +func (r *OrganizationsInstancesNatAddressesService) Activate(name string, googlecloudapigeev1activatenataddressrequest *GoogleCloudApigeeV1ActivateNatAddressRequest) *OrganizationsInstancesNatAddressesActivateCall { + c := &OrganizationsInstancesNatAddressesActivateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.googlecloudapigeev1activatenataddressrequest = googlecloudapigeev1activatenataddressrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *OrganizationsInstancesNatAddressesActivateCall) Fields(s ...googleapi.Field) *OrganizationsInstancesNatAddressesActivateCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *OrganizationsInstancesNatAddressesActivateCall) Context(ctx context.Context) *OrganizationsInstancesNatAddressesActivateCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *OrganizationsInstancesNatAddressesActivateCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *OrganizationsInstancesNatAddressesActivateCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudapigeev1activatenataddressrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:activate") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigee.organizations.instances.natAddresses.activate" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *OrganizationsInstancesNatAddressesActivateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleLongrunningOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Activates the NAT address. The Apigee instance can now use this for Internet egress traffic. **Note:** Not supported for Apigee hybrid.", + // "flatPath": "v1/organizations/{organizationsId}/instances/{instancesId}/natAddresses/{natAddressesId}:activate", + // "httpMethod": "POST", + // "id": "apigee.organizations.instances.natAddresses.activate", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. Name of the nat address. Use the following structure in your request: `organizations/{org}/instances/{instances}/natAddresses/{nataddress}``", + // "location": "path", + // "pattern": "^organizations/[^/]+/instances/[^/]+/natAddresses/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+name}:activate", + // "request": { + // "$ref": "GoogleCloudApigeeV1ActivateNatAddressRequest" + // }, + // "response": { + // "$ref": "GoogleLongrunningOperation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "apigee.organizations.instances.natAddresses.create": + +type OrganizationsInstancesNatAddressesCreateCall struct { + s *Service + parent string + googlecloudapigeev1nataddress *GoogleCloudApigeeV1NatAddress + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Create: Creates a NAT address. The address is created in the RESERVED +// state and a static external IP address will be provisioned. At this +// time, the instance will not use this IP address for Internet egress +// traffic. The address can be activated for use once any required +// firewall IP whitelisting has been completed. **Note:** Not supported +// for Apigee hybrid. +func (r *OrganizationsInstancesNatAddressesService) Create(parent string, googlecloudapigeev1nataddress *GoogleCloudApigeeV1NatAddress) *OrganizationsInstancesNatAddressesCreateCall { + c := &OrganizationsInstancesNatAddressesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googlecloudapigeev1nataddress = googlecloudapigeev1nataddress + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *OrganizationsInstancesNatAddressesCreateCall) Fields(s ...googleapi.Field) *OrganizationsInstancesNatAddressesCreateCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *OrganizationsInstancesNatAddressesCreateCall) Context(ctx context.Context) *OrganizationsInstancesNatAddressesCreateCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *OrganizationsInstancesNatAddressesCreateCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *OrganizationsInstancesNatAddressesCreateCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudapigeev1nataddress) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/natAddresses") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigee.organizations.instances.natAddresses.create" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *OrganizationsInstancesNatAddressesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleLongrunningOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Creates a NAT address. The address is created in the RESERVED state and a static external IP address will be provisioned. At this time, the instance will not use this IP address for Internet egress traffic. The address can be activated for use once any required firewall IP whitelisting has been completed. **Note:** Not supported for Apigee hybrid.", + // "flatPath": "v1/organizations/{organizationsId}/instances/{instancesId}/natAddresses", + // "httpMethod": "POST", + // "id": "apigee.organizations.instances.natAddresses.create", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "parent": { + // "description": "Required. Name of the instance. Use the following structure in your request: `organizations/{org}/instances/{instance}`", + // "location": "path", + // "pattern": "^organizations/[^/]+/instances/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+parent}/natAddresses", + // "request": { + // "$ref": "GoogleCloudApigeeV1NatAddress" + // }, + // "response": { + // "$ref": "GoogleLongrunningOperation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "apigee.organizations.instances.natAddresses.delete": + +type OrganizationsInstancesNatAddressesDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Delete: Deletes the NAT address. Connections that are actively using +// the address are drained before it is removed. **Note:** Not supported +// for Apigee hybrid. +func (r *OrganizationsInstancesNatAddressesService) Delete(name string) *OrganizationsInstancesNatAddressesDeleteCall { + c := &OrganizationsInstancesNatAddressesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *OrganizationsInstancesNatAddressesDeleteCall) Fields(s ...googleapi.Field) *OrganizationsInstancesNatAddressesDeleteCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *OrganizationsInstancesNatAddressesDeleteCall) Context(ctx context.Context) *OrganizationsInstancesNatAddressesDeleteCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *OrganizationsInstancesNatAddressesDeleteCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *OrganizationsInstancesNatAddressesDeleteCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("DELETE", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigee.organizations.instances.natAddresses.delete" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *OrganizationsInstancesNatAddressesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleLongrunningOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Deletes the NAT address. Connections that are actively using the address are drained before it is removed. **Note:** Not supported for Apigee hybrid.", + // "flatPath": "v1/organizations/{organizationsId}/instances/{instancesId}/natAddresses/{natAddressesId}", + // "httpMethod": "DELETE", + // "id": "apigee.organizations.instances.natAddresses.delete", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. Name of the nat address. Use the following structure in your request: `organizations/{org}/instances/{instances}/natAddresses/{nataddress}``", + // "location": "path", + // "pattern": "^organizations/[^/]+/instances/[^/]+/natAddresses/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+name}", + // "response": { + // "$ref": "GoogleLongrunningOperation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "apigee.organizations.instances.natAddresses.get": + +type OrganizationsInstancesNatAddressesGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Gets the details of a NAT address. **Note:** Not supported for +// Apigee hybrid. +func (r *OrganizationsInstancesNatAddressesService) Get(name string) *OrganizationsInstancesNatAddressesGetCall { + c := &OrganizationsInstancesNatAddressesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *OrganizationsInstancesNatAddressesGetCall) Fields(s ...googleapi.Field) *OrganizationsInstancesNatAddressesGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *OrganizationsInstancesNatAddressesGetCall) IfNoneMatch(entityTag string) *OrganizationsInstancesNatAddressesGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *OrganizationsInstancesNatAddressesGetCall) Context(ctx context.Context) *OrganizationsInstancesNatAddressesGetCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *OrganizationsInstancesNatAddressesGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *OrganizationsInstancesNatAddressesGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigee.organizations.instances.natAddresses.get" call. +// Exactly one of *GoogleCloudApigeeV1NatAddress or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudApigeeV1NatAddress.ServerResponse.Header or (if a +// response was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *OrganizationsInstancesNatAddressesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudApigeeV1NatAddress, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudApigeeV1NatAddress{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Gets the details of a NAT address. **Note:** Not supported for Apigee hybrid.", + // "flatPath": "v1/organizations/{organizationsId}/instances/{instancesId}/natAddresses/{natAddressesId}", + // "httpMethod": "GET", + // "id": "apigee.organizations.instances.natAddresses.get", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. Name of the nat address. Use the following structure in your request: `organizations/{org}/instances/{instances}/natAddresses/{nataddress}`", + // "location": "path", + // "pattern": "^organizations/[^/]+/instances/[^/]+/natAddresses/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+name}", + // "response": { + // "$ref": "GoogleCloudApigeeV1NatAddress" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "apigee.organizations.instances.natAddresses.list": + +type OrganizationsInstancesNatAddressesListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Lists the NAT addresses for an Apigee instance. **Note:** Not +// supported for Apigee hybrid. +func (r *OrganizationsInstancesNatAddressesService) List(parent string) *OrganizationsInstancesNatAddressesListCall { + c := &OrganizationsInstancesNatAddressesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// PageSize sets the optional parameter "pageSize": Maximum number of +// natAddresses to return. Defaults to 25. +func (c *OrganizationsInstancesNatAddressesListCall) PageSize(pageSize int64) *OrganizationsInstancesNatAddressesListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": Page token, +// returned from a previous ListNatAddresses call, that you can use to +// retrieve the next page of content. +func (c *OrganizationsInstancesNatAddressesListCall) PageToken(pageToken string) *OrganizationsInstancesNatAddressesListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *OrganizationsInstancesNatAddressesListCall) Fields(s ...googleapi.Field) *OrganizationsInstancesNatAddressesListCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *OrganizationsInstancesNatAddressesListCall) IfNoneMatch(entityTag string) *OrganizationsInstancesNatAddressesListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *OrganizationsInstancesNatAddressesListCall) Context(ctx context.Context) *OrganizationsInstancesNatAddressesListCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *OrganizationsInstancesNatAddressesListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *OrganizationsInstancesNatAddressesListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/natAddresses") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigee.organizations.instances.natAddresses.list" call. +// Exactly one of *GoogleCloudApigeeV1ListNatAddressesResponse or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudApigeeV1ListNatAddressesResponse.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *OrganizationsInstancesNatAddressesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudApigeeV1ListNatAddressesResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudApigeeV1ListNatAddressesResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Lists the NAT addresses for an Apigee instance. **Note:** Not supported for Apigee hybrid.", + // "flatPath": "v1/organizations/{organizationsId}/instances/{instancesId}/natAddresses", + // "httpMethod": "GET", + // "id": "apigee.organizations.instances.natAddresses.list", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "pageSize": { + // "description": "Maximum number of natAddresses to return. Defaults to 25.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "Page token, returned from a previous ListNatAddresses call, that you can use to retrieve the next page of content.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. Name of the instance. Use the following structure in your request: `organizations/{org}/instances/{instance}`", + // "location": "path", + // "pattern": "^organizations/[^/]+/instances/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+parent}/natAddresses", + // "response": { + // "$ref": "GoogleCloudApigeeV1ListNatAddressesResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *OrganizationsInstancesNatAddressesListCall) Pages(ctx context.Context, f func(*GoogleCloudApigeeV1ListNatAddressesResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + // method id "apigee.organizations.keyvaluemaps.create": type OrganizationsKeyvaluemapsCreateCall struct { @@ -34111,7 +35103,7 @@ func (c *OrganizationsKeyvaluemapsCreateCall) Header() http.Header { func (c *OrganizationsKeyvaluemapsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34249,7 +35241,7 @@ func (c *OrganizationsKeyvaluemapsDeleteCall) Header() http.Header { func (c *OrganizationsKeyvaluemapsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34392,7 +35384,7 @@ func (c *OrganizationsOperationsGetCall) Header() http.Header { func (c *OrganizationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34566,7 +35558,7 @@ func (c *OrganizationsOperationsListCall) Header() http.Header { func (c *OrganizationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34854,7 +35846,7 @@ func (c *OrganizationsOptimizedHostStatsGetCall) Header() http.Header { func (c *OrganizationsOptimizedHostStatsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35067,7 +36059,7 @@ func (c *OrganizationsReportsCreateCall) Header() http.Header { func (c *OrganizationsReportsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35205,7 +36197,7 @@ func (c *OrganizationsReportsDeleteCall) Header() http.Header { func (c *OrganizationsReportsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35348,7 +36340,7 @@ func (c *OrganizationsReportsGetCall) Header() http.Header { func (c *OrganizationsReportsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35499,7 +36491,7 @@ func (c *OrganizationsReportsListCall) Header() http.Header { func (c *OrganizationsReportsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35641,7 +36633,7 @@ func (c *OrganizationsReportsUpdateCall) Header() http.Header { func (c *OrganizationsReportsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35800,7 +36792,7 @@ func (c *OrganizationsSharedflowsCreateCall) Header() http.Header { func (c *OrganizationsSharedflowsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35950,7 +36942,7 @@ func (c *OrganizationsSharedflowsDeleteCall) Header() http.Header { func (c *OrganizationsSharedflowsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36091,7 +37083,7 @@ func (c *OrganizationsSharedflowsGetCall) Header() http.Header { func (c *OrganizationsSharedflowsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36249,7 +37241,7 @@ func (c *OrganizationsSharedflowsListCall) Header() http.Header { func (c *OrganizationsSharedflowsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36405,7 +37397,7 @@ func (c *OrganizationsSharedflowsDeploymentsListCall) Header() http.Header { func (c *OrganizationsSharedflowsDeploymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36541,7 +37533,7 @@ func (c *OrganizationsSharedflowsRevisionsDeleteCall) Header() http.Header { func (c *OrganizationsSharedflowsRevisionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36693,7 +37685,7 @@ func (c *OrganizationsSharedflowsRevisionsGetCall) Header() http.Header { func (c *OrganizationsSharedflowsRevisionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36847,7 +37839,7 @@ func (c *OrganizationsSharedflowsRevisionsUpdateSharedFlowRevisionCall) Header() func (c *OrganizationsSharedflowsRevisionsUpdateSharedFlowRevisionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37002,7 +37994,7 @@ func (c *OrganizationsSharedflowsRevisionsDeploymentsListCall) Header() http.Hea func (c *OrganizationsSharedflowsRevisionsDeploymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37139,7 +38131,7 @@ func (c *OrganizationsSitesApicategoriesCreateCall) Header() http.Header { func (c *OrganizationsSitesApicategoriesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37277,7 +38269,7 @@ func (c *OrganizationsSitesApicategoriesDeleteCall) Header() http.Header { func (c *OrganizationsSitesApicategoriesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37419,7 +38411,7 @@ func (c *OrganizationsSitesApicategoriesGetCall) Header() http.Header { func (c *OrganizationsSitesApicategoriesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37563,7 +38555,7 @@ func (c *OrganizationsSitesApicategoriesListCall) Header() http.Header { func (c *OrganizationsSitesApicategoriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37700,7 +38692,7 @@ func (c *OrganizationsSitesApicategoriesPatchCall) Header() http.Header { func (c *OrganizationsSitesApicategoriesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37842,7 +38834,7 @@ func (c *ProjectsProvisionOrganizationCall) Header() http.Header { func (c *ProjectsProvisionOrganizationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/appengine/v1/appengine-gen.go b/appengine/v1/appengine-gen.go index 49ac2103263..0aaba3a6f3e 100644 --- a/appengine/v1/appengine-gen.go +++ b/appengine/v1/appengine-gen.go @@ -3788,7 +3788,7 @@ func (c *AppsCreateCall) Header() http.Header { func (c *AppsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3924,7 +3924,7 @@ func (c *AppsGetCall) Header() http.Header { func (c *AppsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4070,7 +4070,7 @@ func (c *AppsPatchCall) Header() http.Header { func (c *AppsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4223,7 +4223,7 @@ func (c *AppsRepairCall) Header() http.Header { func (c *AppsRepairCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4362,7 +4362,7 @@ func (c *AppsAuthorizedCertificatesCreateCall) Header() http.Header { func (c *AppsAuthorizedCertificatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4501,7 +4501,7 @@ func (c *AppsAuthorizedCertificatesDeleteCall) Header() http.Header { func (c *AppsAuthorizedCertificatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4665,7 +4665,7 @@ func (c *AppsAuthorizedCertificatesGetCall) Header() http.Header { func (c *AppsAuthorizedCertificatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4860,7 +4860,7 @@ func (c *AppsAuthorizedCertificatesListCall) Header() http.Header { func (c *AppsAuthorizedCertificatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5056,7 +5056,7 @@ func (c *AppsAuthorizedCertificatesPatchCall) Header() http.Header { func (c *AppsAuthorizedCertificatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5232,7 +5232,7 @@ func (c *AppsAuthorizedDomainsListCall) Header() http.Header { func (c *AppsAuthorizedDomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5423,7 +5423,7 @@ func (c *AppsDomainMappingsCreateCall) Header() http.Header { func (c *AppsDomainMappingsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5579,7 +5579,7 @@ func (c *AppsDomainMappingsDeleteCall) Header() http.Header { func (c *AppsDomainMappingsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5729,7 +5729,7 @@ func (c *AppsDomainMappingsGetCall) Header() http.Header { func (c *AppsDomainMappingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5896,7 +5896,7 @@ func (c *AppsDomainMappingsListCall) Header() http.Header { func (c *AppsDomainMappingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6077,7 +6077,7 @@ func (c *AppsDomainMappingsPatchCall) Header() http.Header { func (c *AppsDomainMappingsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6234,7 +6234,7 @@ func (c *AppsFirewallIngressRulesBatchUpdateCall) Header() http.Header { func (c *AppsFirewallIngressRulesBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6373,7 +6373,7 @@ func (c *AppsFirewallIngressRulesCreateCall) Header() http.Header { func (c *AppsFirewallIngressRulesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6512,7 +6512,7 @@ func (c *AppsFirewallIngressRulesDeleteCall) Header() http.Header { func (c *AppsFirewallIngressRulesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6662,7 +6662,7 @@ func (c *AppsFirewallIngressRulesGetCall) Header() http.Header { func (c *AppsFirewallIngressRulesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6838,7 +6838,7 @@ func (c *AppsFirewallIngressRulesListCall) Header() http.Header { func (c *AppsFirewallIngressRulesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7020,7 +7020,7 @@ func (c *AppsFirewallIngressRulesPatchCall) Header() http.Header { func (c *AppsFirewallIngressRulesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7184,7 +7184,7 @@ func (c *AppsLocationsGetCall) Header() http.Header { func (c *AppsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7359,7 +7359,7 @@ func (c *AppsLocationsListCall) Header() http.Header { func (c *AppsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7545,7 +7545,7 @@ func (c *AppsOperationsGetCall) Header() http.Header { func (c *AppsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7728,7 +7728,7 @@ func (c *AppsOperationsListCall) Header() http.Header { func (c *AppsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7901,7 +7901,7 @@ func (c *AppsServicesDeleteCall) Header() http.Header { func (c *AppsServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8051,7 +8051,7 @@ func (c *AppsServicesGetCall) Header() http.Header { func (c *AppsServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8218,7 +8218,7 @@ func (c *AppsServicesListCall) Header() http.Header { func (c *AppsServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8415,7 +8415,7 @@ func (c *AppsServicesPatchCall) Header() http.Header { func (c *AppsServicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8575,7 +8575,7 @@ func (c *AppsServicesVersionsCreateCall) Header() http.Header { func (c *AppsServicesVersionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8724,7 +8724,7 @@ func (c *AppsServicesVersionsDeleteCall) Header() http.Header { func (c *AppsServicesVersionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8900,7 +8900,7 @@ func (c *AppsServicesVersionsGetCall) Header() http.Header { func (c *AppsServicesVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9104,7 +9104,7 @@ func (c *AppsServicesVersionsListCall) Header() http.Header { func (c *AppsServicesVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9352,7 +9352,7 @@ func (c *AppsServicesVersionsPatchCall) Header() http.Header { func (c *AppsServicesVersionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9525,7 +9525,7 @@ func (c *AppsServicesVersionsInstancesDebugCall) Header() http.Header { func (c *AppsServicesVersionsInstancesDebugCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9703,7 +9703,7 @@ func (c *AppsServicesVersionsInstancesDeleteCall) Header() http.Header { func (c *AppsServicesVersionsInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9873,7 +9873,7 @@ func (c *AppsServicesVersionsInstancesGetCall) Header() http.Header { func (c *AppsServicesVersionsInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10063,7 +10063,7 @@ func (c *AppsServicesVersionsInstancesListCall) Header() http.Header { func (c *AppsServicesVersionsInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/appengine/v1alpha/appengine-gen.go b/appengine/v1alpha/appengine-gen.go index eff7aafdbca..c43cacdfc0d 100644 --- a/appengine/v1alpha/appengine-gen.go +++ b/appengine/v1alpha/appengine-gen.go @@ -1268,7 +1268,7 @@ func (c *AppsAuthorizedCertificatesCreateCall) Header() http.Header { func (c *AppsAuthorizedCertificatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1407,7 +1407,7 @@ func (c *AppsAuthorizedCertificatesDeleteCall) Header() http.Header { func (c *AppsAuthorizedCertificatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1571,7 +1571,7 @@ func (c *AppsAuthorizedCertificatesGetCall) Header() http.Header { func (c *AppsAuthorizedCertificatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1766,7 +1766,7 @@ func (c *AppsAuthorizedCertificatesListCall) Header() http.Header { func (c *AppsAuthorizedCertificatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1962,7 +1962,7 @@ func (c *AppsAuthorizedCertificatesPatchCall) Header() http.Header { func (c *AppsAuthorizedCertificatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2138,7 +2138,7 @@ func (c *AppsAuthorizedDomainsListCall) Header() http.Header { func (c *AppsAuthorizedDomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2340,7 +2340,7 @@ func (c *AppsDomainMappingsCreateCall) Header() http.Header { func (c *AppsDomainMappingsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2501,7 +2501,7 @@ func (c *AppsDomainMappingsDeleteCall) Header() http.Header { func (c *AppsDomainMappingsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2651,7 +2651,7 @@ func (c *AppsDomainMappingsGetCall) Header() http.Header { func (c *AppsDomainMappingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2818,7 +2818,7 @@ func (c *AppsDomainMappingsListCall) Header() http.Header { func (c *AppsDomainMappingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3011,7 +3011,7 @@ func (c *AppsDomainMappingsPatchCall) Header() http.Header { func (c *AppsDomainMappingsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3180,7 +3180,7 @@ func (c *AppsLocationsGetCall) Header() http.Header { func (c *AppsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3355,7 +3355,7 @@ func (c *AppsLocationsListCall) Header() http.Header { func (c *AppsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3541,7 +3541,7 @@ func (c *AppsOperationsGetCall) Header() http.Header { func (c *AppsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3724,7 +3724,7 @@ func (c *AppsOperationsListCall) Header() http.Header { func (c *AppsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/appengine/v1beta/appengine-gen.go b/appengine/v1beta/appengine-gen.go index 82158ebc5a6..29be26022d0 100644 --- a/appengine/v1beta/appengine-gen.go +++ b/appengine/v1beta/appengine-gen.go @@ -3888,7 +3888,7 @@ func (c *AppsCreateCall) Header() http.Header { func (c *AppsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4024,7 +4024,7 @@ func (c *AppsGetCall) Header() http.Header { func (c *AppsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4170,7 +4170,7 @@ func (c *AppsPatchCall) Header() http.Header { func (c *AppsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4323,7 +4323,7 @@ func (c *AppsRepairCall) Header() http.Header { func (c *AppsRepairCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4462,7 +4462,7 @@ func (c *AppsAuthorizedCertificatesCreateCall) Header() http.Header { func (c *AppsAuthorizedCertificatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4601,7 +4601,7 @@ func (c *AppsAuthorizedCertificatesDeleteCall) Header() http.Header { func (c *AppsAuthorizedCertificatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4765,7 +4765,7 @@ func (c *AppsAuthorizedCertificatesGetCall) Header() http.Header { func (c *AppsAuthorizedCertificatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4960,7 +4960,7 @@ func (c *AppsAuthorizedCertificatesListCall) Header() http.Header { func (c *AppsAuthorizedCertificatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5156,7 +5156,7 @@ func (c *AppsAuthorizedCertificatesPatchCall) Header() http.Header { func (c *AppsAuthorizedCertificatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5332,7 +5332,7 @@ func (c *AppsAuthorizedDomainsListCall) Header() http.Header { func (c *AppsAuthorizedDomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5523,7 +5523,7 @@ func (c *AppsDomainMappingsCreateCall) Header() http.Header { func (c *AppsDomainMappingsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5679,7 +5679,7 @@ func (c *AppsDomainMappingsDeleteCall) Header() http.Header { func (c *AppsDomainMappingsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5829,7 +5829,7 @@ func (c *AppsDomainMappingsGetCall) Header() http.Header { func (c *AppsDomainMappingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5996,7 +5996,7 @@ func (c *AppsDomainMappingsListCall) Header() http.Header { func (c *AppsDomainMappingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6177,7 +6177,7 @@ func (c *AppsDomainMappingsPatchCall) Header() http.Header { func (c *AppsDomainMappingsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6334,7 +6334,7 @@ func (c *AppsFirewallIngressRulesBatchUpdateCall) Header() http.Header { func (c *AppsFirewallIngressRulesBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6473,7 +6473,7 @@ func (c *AppsFirewallIngressRulesCreateCall) Header() http.Header { func (c *AppsFirewallIngressRulesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6612,7 +6612,7 @@ func (c *AppsFirewallIngressRulesDeleteCall) Header() http.Header { func (c *AppsFirewallIngressRulesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6762,7 +6762,7 @@ func (c *AppsFirewallIngressRulesGetCall) Header() http.Header { func (c *AppsFirewallIngressRulesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6938,7 +6938,7 @@ func (c *AppsFirewallIngressRulesListCall) Header() http.Header { func (c *AppsFirewallIngressRulesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7120,7 +7120,7 @@ func (c *AppsFirewallIngressRulesPatchCall) Header() http.Header { func (c *AppsFirewallIngressRulesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7284,7 +7284,7 @@ func (c *AppsLocationsGetCall) Header() http.Header { func (c *AppsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7459,7 +7459,7 @@ func (c *AppsLocationsListCall) Header() http.Header { func (c *AppsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7645,7 +7645,7 @@ func (c *AppsOperationsGetCall) Header() http.Header { func (c *AppsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7828,7 +7828,7 @@ func (c *AppsOperationsListCall) Header() http.Header { func (c *AppsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8001,7 +8001,7 @@ func (c *AppsServicesDeleteCall) Header() http.Header { func (c *AppsServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8151,7 +8151,7 @@ func (c *AppsServicesGetCall) Header() http.Header { func (c *AppsServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8318,7 +8318,7 @@ func (c *AppsServicesListCall) Header() http.Header { func (c *AppsServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8516,7 +8516,7 @@ func (c *AppsServicesPatchCall) Header() http.Header { func (c *AppsServicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8676,7 +8676,7 @@ func (c *AppsServicesVersionsCreateCall) Header() http.Header { func (c *AppsServicesVersionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8825,7 +8825,7 @@ func (c *AppsServicesVersionsDeleteCall) Header() http.Header { func (c *AppsServicesVersionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9001,7 +9001,7 @@ func (c *AppsServicesVersionsGetCall) Header() http.Header { func (c *AppsServicesVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9205,7 +9205,7 @@ func (c *AppsServicesVersionsListCall) Header() http.Header { func (c *AppsServicesVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9455,7 +9455,7 @@ func (c *AppsServicesVersionsPatchCall) Header() http.Header { func (c *AppsServicesVersionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9628,7 +9628,7 @@ func (c *AppsServicesVersionsInstancesDebugCall) Header() http.Header { func (c *AppsServicesVersionsInstancesDebugCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9806,7 +9806,7 @@ func (c *AppsServicesVersionsInstancesDeleteCall) Header() http.Header { func (c *AppsServicesVersionsInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9976,7 +9976,7 @@ func (c *AppsServicesVersionsInstancesGetCall) Header() http.Header { func (c *AppsServicesVersionsInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10166,7 +10166,7 @@ func (c *AppsServicesVersionsInstancesListCall) Header() http.Header { func (c *AppsServicesVersionsInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/area120tables/v1alpha1/area120tables-gen.go b/area120tables/v1alpha1/area120tables-gen.go index 16466697ea8..1ffe94bb6eb 100644 --- a/area120tables/v1alpha1/area120tables-gen.go +++ b/area120tables/v1alpha1/area120tables-gen.go @@ -841,7 +841,7 @@ func (c *TablesGetCall) Header() http.Header { func (c *TablesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1006,7 +1006,7 @@ func (c *TablesListCall) Header() http.Header { func (c *TablesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1166,7 +1166,7 @@ func (c *TablesRowsBatchCreateCall) Header() http.Header { func (c *TablesRowsBatchCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1309,7 +1309,7 @@ func (c *TablesRowsBatchUpdateCall) Header() http.Header { func (c *TablesRowsBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1464,7 +1464,7 @@ func (c *TablesRowsCreateCall) Header() http.Header { func (c *TablesRowsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1618,7 +1618,7 @@ func (c *TablesRowsDeleteCall) Header() http.Header { func (c *TablesRowsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1775,7 +1775,7 @@ func (c *TablesRowsGetCall) Header() http.Header { func (c *TablesRowsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1968,7 +1968,7 @@ func (c *TablesRowsListCall) Header() http.Header { func (c *TablesRowsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2172,7 +2172,7 @@ func (c *TablesRowsPatchCall) Header() http.Header { func (c *TablesRowsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2344,7 +2344,7 @@ func (c *WorkspacesGetCall) Header() http.Header { func (c *WorkspacesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2510,7 +2510,7 @@ func (c *WorkspacesListCall) Header() http.Header { func (c *WorkspacesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/artifactregistry/v1beta1/artifactregistry-gen.go b/artifactregistry/v1beta1/artifactregistry-gen.go index abe3a610c26..2319ddfd05a 100644 --- a/artifactregistry/v1beta1/artifactregistry-gen.go +++ b/artifactregistry/v1beta1/artifactregistry-gen.go @@ -1464,7 +1464,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1631,7 +1631,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1815,7 +1815,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1990,7 +1990,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2172,7 +2172,7 @@ func (c *ProjectsLocationsRepositoriesCreateCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2318,7 +2318,7 @@ func (c *ProjectsLocationsRepositoriesDeleteCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2459,7 +2459,7 @@ func (c *ProjectsLocationsRepositoriesGetCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2619,7 +2619,7 @@ func (c *ProjectsLocationsRepositoriesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2784,7 +2784,7 @@ func (c *ProjectsLocationsRepositoriesListCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2960,7 +2960,7 @@ func (c *ProjectsLocationsRepositoriesPatchCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3106,7 +3106,7 @@ func (c *ProjectsLocationsRepositoriesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3247,7 +3247,7 @@ func (c *ProjectsLocationsRepositoriesTestIamPermissionsCall) Header() http.Head func (c *ProjectsLocationsRepositoriesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3397,7 +3397,7 @@ func (c *ProjectsLocationsRepositoriesFilesGetCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesFilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3570,7 +3570,7 @@ func (c *ProjectsLocationsRepositoriesFilesListCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesFilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3742,7 +3742,7 @@ func (c *ProjectsLocationsRepositoriesPackagesDeleteCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesPackagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3883,7 +3883,7 @@ func (c *ProjectsLocationsRepositoriesPackagesGetCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesPackagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4042,7 +4042,7 @@ func (c *ProjectsLocationsRepositoriesPackagesListCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesPackagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4217,7 +4217,7 @@ func (c *ProjectsLocationsRepositoriesPackagesTagsCreateCall) Header() http.Head func (c *ProjectsLocationsRepositoriesPackagesTagsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4360,7 +4360,7 @@ func (c *ProjectsLocationsRepositoriesPackagesTagsDeleteCall) Header() http.Head func (c *ProjectsLocationsRepositoriesPackagesTagsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4501,7 +4501,7 @@ func (c *ProjectsLocationsRepositoriesPackagesTagsGetCall) Header() http.Header func (c *ProjectsLocationsRepositoriesPackagesTagsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4672,7 +4672,7 @@ func (c *ProjectsLocationsRepositoriesPackagesTagsListCall) Header() http.Header func (c *ProjectsLocationsRepositoriesPackagesTagsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4853,7 +4853,7 @@ func (c *ProjectsLocationsRepositoriesPackagesTagsPatchCall) Header() http.Heade func (c *ProjectsLocationsRepositoriesPackagesTagsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5006,7 +5006,7 @@ func (c *ProjectsLocationsRepositoriesPackagesVersionsDeleteCall) Header() http. func (c *ProjectsLocationsRepositoriesPackagesVersionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5166,7 +5166,7 @@ func (c *ProjectsLocationsRepositoriesPackagesVersionsGetCall) Header() http.Hea func (c *ProjectsLocationsRepositoriesPackagesVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5354,7 +5354,7 @@ func (c *ProjectsLocationsRepositoriesPackagesVersionsListCall) Header() http.He func (c *ProjectsLocationsRepositoriesPackagesVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/artifactregistry/v1beta2/artifactregistry-gen.go b/artifactregistry/v1beta2/artifactregistry-gen.go index 3feac9a8088..e9cf434b2db 100644 --- a/artifactregistry/v1beta2/artifactregistry-gen.go +++ b/artifactregistry/v1beta2/artifactregistry-gen.go @@ -1464,7 +1464,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1631,7 +1631,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1815,7 +1815,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1990,7 +1990,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2172,7 +2172,7 @@ func (c *ProjectsLocationsRepositoriesCreateCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2318,7 +2318,7 @@ func (c *ProjectsLocationsRepositoriesDeleteCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2459,7 +2459,7 @@ func (c *ProjectsLocationsRepositoriesGetCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2619,7 +2619,7 @@ func (c *ProjectsLocationsRepositoriesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2784,7 +2784,7 @@ func (c *ProjectsLocationsRepositoriesListCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2960,7 +2960,7 @@ func (c *ProjectsLocationsRepositoriesPatchCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3106,7 +3106,7 @@ func (c *ProjectsLocationsRepositoriesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3247,7 +3247,7 @@ func (c *ProjectsLocationsRepositoriesTestIamPermissionsCall) Header() http.Head func (c *ProjectsLocationsRepositoriesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3397,7 +3397,7 @@ func (c *ProjectsLocationsRepositoriesFilesGetCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesFilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3570,7 +3570,7 @@ func (c *ProjectsLocationsRepositoriesFilesListCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesFilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3742,7 +3742,7 @@ func (c *ProjectsLocationsRepositoriesPackagesDeleteCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesPackagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3883,7 +3883,7 @@ func (c *ProjectsLocationsRepositoriesPackagesGetCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesPackagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4042,7 +4042,7 @@ func (c *ProjectsLocationsRepositoriesPackagesListCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesPackagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4217,7 +4217,7 @@ func (c *ProjectsLocationsRepositoriesPackagesTagsCreateCall) Header() http.Head func (c *ProjectsLocationsRepositoriesPackagesTagsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4360,7 +4360,7 @@ func (c *ProjectsLocationsRepositoriesPackagesTagsDeleteCall) Header() http.Head func (c *ProjectsLocationsRepositoriesPackagesTagsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4501,7 +4501,7 @@ func (c *ProjectsLocationsRepositoriesPackagesTagsGetCall) Header() http.Header func (c *ProjectsLocationsRepositoriesPackagesTagsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4672,7 +4672,7 @@ func (c *ProjectsLocationsRepositoriesPackagesTagsListCall) Header() http.Header func (c *ProjectsLocationsRepositoriesPackagesTagsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4853,7 +4853,7 @@ func (c *ProjectsLocationsRepositoriesPackagesTagsPatchCall) Header() http.Heade func (c *ProjectsLocationsRepositoriesPackagesTagsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5006,7 +5006,7 @@ func (c *ProjectsLocationsRepositoriesPackagesVersionsDeleteCall) Header() http. func (c *ProjectsLocationsRepositoriesPackagesVersionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5166,7 +5166,7 @@ func (c *ProjectsLocationsRepositoriesPackagesVersionsGetCall) Header() http.Hea func (c *ProjectsLocationsRepositoriesPackagesVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5354,7 +5354,7 @@ func (c *ProjectsLocationsRepositoriesPackagesVersionsListCall) Header() http.He func (c *ProjectsLocationsRepositoriesPackagesVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/assuredworkloads/v1/assuredworkloads-gen.go b/assuredworkloads/v1/assuredworkloads-gen.go index d1a0fbef70e..bce0073d2ad 100644 --- a/assuredworkloads/v1/assuredworkloads-gen.go +++ b/assuredworkloads/v1/assuredworkloads-gen.go @@ -995,7 +995,7 @@ func (c *OrganizationsLocationsOperationsGetCall) Header() http.Header { func (c *OrganizationsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1169,7 +1169,7 @@ func (c *OrganizationsLocationsOperationsListCall) Header() http.Header { func (c *OrganizationsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1352,7 +1352,7 @@ func (c *OrganizationsLocationsWorkloadsCreateCall) Header() http.Header { func (c *OrganizationsLocationsWorkloadsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1504,7 +1504,7 @@ func (c *OrganizationsLocationsWorkloadsDeleteCall) Header() http.Header { func (c *OrganizationsLocationsWorkloadsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1650,7 +1650,7 @@ func (c *OrganizationsLocationsWorkloadsGetCall) Header() http.Header { func (c *OrganizationsLocationsWorkloadsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1818,7 +1818,7 @@ func (c *OrganizationsLocationsWorkloadsListCall) Header() http.Header { func (c *OrganizationsLocationsWorkloadsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2002,7 +2002,7 @@ func (c *OrganizationsLocationsWorkloadsPatchCall) Header() http.Header { func (c *OrganizationsLocationsWorkloadsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/bigquery/v2/bigquery-gen.go b/bigquery/v2/bigquery-gen.go index 30ffaacae34..a22c554f797 100644 --- a/bigquery/v2/bigquery-gen.go +++ b/bigquery/v2/bigquery-gen.go @@ -7696,7 +7696,7 @@ func (c *DatasetsDeleteCall) Header() http.Header { func (c *DatasetsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7823,7 +7823,7 @@ func (c *DatasetsGetCall) Header() http.Header { func (c *DatasetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7967,7 +7967,7 @@ func (c *DatasetsInsertCall) Header() http.Header { func (c *DatasetsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8147,7 +8147,7 @@ func (c *DatasetsListCall) Header() http.Header { func (c *DatasetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8330,7 +8330,7 @@ func (c *DatasetsPatchCall) Header() http.Header { func (c *DatasetsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8481,7 +8481,7 @@ func (c *DatasetsUpdateCall) Header() http.Header { func (c *DatasetsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8639,7 +8639,7 @@ func (c *JobsCancelCall) Header() http.Header { func (c *JobsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8804,7 +8804,7 @@ func (c *JobsGetCall) Header() http.Header { func (c *JobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9003,7 +9003,7 @@ func (c *JobsGetQueryResultsCall) Header() http.Header { func (c *JobsGetQueryResultsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9237,7 +9237,7 @@ func (c *JobsInsertCall) Header() http.Header { func (c *JobsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9504,7 +9504,7 @@ func (c *JobsListCall) Header() http.Header { func (c *JobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9724,7 +9724,7 @@ func (c *JobsQueryCall) Header() http.Header { func (c *JobsQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9867,7 +9867,7 @@ func (c *ModelsDeleteCall) Header() http.Header { func (c *ModelsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10003,7 +10003,7 @@ func (c *ModelsGetCall) Header() http.Header { func (c *ModelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10186,7 +10186,7 @@ func (c *ModelsListCall) Header() http.Header { func (c *ModelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10369,7 +10369,7 @@ func (c *ModelsPatchCall) Header() http.Header { func (c *ModelsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10538,7 +10538,7 @@ func (c *ProjectsGetServiceAccountCall) Header() http.Header { func (c *ProjectsGetServiceAccountCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10696,7 +10696,7 @@ func (c *ProjectsListCall) Header() http.Header { func (c *ProjectsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10854,7 +10854,7 @@ func (c *RoutinesDeleteCall) Header() http.Header { func (c *RoutinesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10998,7 +10998,7 @@ func (c *RoutinesGetCall) Header() http.Header { func (c *RoutinesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11162,7 +11162,7 @@ func (c *RoutinesInsertCall) Header() http.Header { func (c *RoutinesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11359,7 +11359,7 @@ func (c *RoutinesListCall) Header() http.Header { func (c *RoutinesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11554,7 +11554,7 @@ func (c *RoutinesUpdateCall) Header() http.Header { func (c *RoutinesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11741,7 +11741,7 @@ func (c *RowAccessPoliciesListCall) Header() http.Header { func (c *RowAccessPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11934,7 +11934,7 @@ func (c *TabledataInsertAllCall) Header() http.Header { func (c *TabledataInsertAllCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12133,7 +12133,7 @@ func (c *TabledataListCall) Header() http.Header { func (c *TabledataListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12331,7 +12331,7 @@ func (c *TablesDeleteCall) Header() http.Header { func (c *TablesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12473,7 +12473,7 @@ func (c *TablesGetCall) Header() http.Header { func (c *TablesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12632,7 +12632,7 @@ func (c *TablesGetIamPolicyCall) Header() http.Header { func (c *TablesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12777,7 +12777,7 @@ func (c *TablesInsertCall) Header() http.Header { func (c *TablesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12950,7 +12950,7 @@ func (c *TablesListCall) Header() http.Header { func (c *TablesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13133,7 +13133,7 @@ func (c *TablesPatchCall) Header() http.Header { func (c *TablesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13290,7 +13290,7 @@ func (c *TablesSetIamPolicyCall) Header() http.Header { func (c *TablesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13436,7 +13436,7 @@ func (c *TablesTestIamPermissionsCall) Header() http.Header { func (c *TablesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13585,7 +13585,7 @@ func (c *TablesUpdateCall) Header() http.Header { func (c *TablesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/bigqueryconnection/v1beta1/bigqueryconnection-gen.go b/bigqueryconnection/v1beta1/bigqueryconnection-gen.go index 1ec3cd90b37..827202566e3 100644 --- a/bigqueryconnection/v1beta1/bigqueryconnection-gen.go +++ b/bigqueryconnection/v1beta1/bigqueryconnection-gen.go @@ -940,7 +940,7 @@ func (c *ProjectsLocationsConnectionsCreateCall) Header() http.Header { func (c *ProjectsLocationsConnectionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1084,7 +1084,7 @@ func (c *ProjectsLocationsConnectionsDeleteCall) Header() http.Header { func (c *ProjectsLocationsConnectionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1226,7 +1226,7 @@ func (c *ProjectsLocationsConnectionsGetCall) Header() http.Header { func (c *ProjectsLocationsConnectionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1364,7 +1364,7 @@ func (c *ProjectsLocationsConnectionsGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsConnectionsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1527,7 +1527,7 @@ func (c *ProjectsLocationsConnectionsListCall) Header() http.Header { func (c *ProjectsLocationsConnectionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1704,7 +1704,7 @@ func (c *ProjectsLocationsConnectionsPatchCall) Header() http.Header { func (c *ProjectsLocationsConnectionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1853,7 +1853,7 @@ func (c *ProjectsLocationsConnectionsSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsConnectionsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1999,7 +1999,7 @@ func (c *ProjectsLocationsConnectionsTestIamPermissionsCall) Header() http.Heade func (c *ProjectsLocationsConnectionsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2140,7 +2140,7 @@ func (c *ProjectsLocationsConnectionsUpdateCredentialCall) Header() http.Header func (c *ProjectsLocationsConnectionsUpdateCredentialCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/bigquerydatatransfer/v1/bigquerydatatransfer-gen.go b/bigquerydatatransfer/v1/bigquerydatatransfer-gen.go index 92f076f3d23..707c7a8b0e5 100644 --- a/bigquerydatatransfer/v1/bigquerydatatransfer-gen.go +++ b/bigquerydatatransfer/v1/bigquerydatatransfer-gen.go @@ -1411,7 +1411,7 @@ func (c *ProjectsDataSourcesCheckValidCredsCall) Header() http.Header { func (c *ProjectsDataSourcesCheckValidCredsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1564,7 +1564,7 @@ func (c *ProjectsDataSourcesGetCall) Header() http.Header { func (c *ProjectsDataSourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1730,7 +1730,7 @@ func (c *ProjectsDataSourcesListCall) Header() http.Header { func (c *ProjectsDataSourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1909,7 +1909,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2078,7 +2078,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2258,7 +2258,7 @@ func (c *ProjectsLocationsDataSourcesCheckValidCredsCall) Header() http.Header { func (c *ProjectsLocationsDataSourcesCheckValidCredsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2411,7 +2411,7 @@ func (c *ProjectsLocationsDataSourcesGetCall) Header() http.Header { func (c *ProjectsLocationsDataSourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2577,7 +2577,7 @@ func (c *ProjectsLocationsDataSourcesListCall) Header() http.Header { func (c *ProjectsLocationsDataSourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2781,7 +2781,7 @@ func (c *ProjectsLocationsTransferConfigsCreateCall) Header() http.Header { func (c *ProjectsLocationsTransferConfigsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2935,7 +2935,7 @@ func (c *ProjectsLocationsTransferConfigsDeleteCall) Header() http.Header { func (c *ProjectsLocationsTransferConfigsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3077,7 +3077,7 @@ func (c *ProjectsLocationsTransferConfigsGetCall) Header() http.Header { func (c *ProjectsLocationsTransferConfigsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3250,7 +3250,7 @@ func (c *ProjectsLocationsTransferConfigsListCall) Header() http.Header { func (c *ProjectsLocationsTransferConfigsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3469,7 +3469,7 @@ func (c *ProjectsLocationsTransferConfigsPatchCall) Header() http.Header { func (c *ProjectsLocationsTransferConfigsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3634,7 +3634,7 @@ func (c *ProjectsLocationsTransferConfigsScheduleRunsCall) Header() http.Header func (c *ProjectsLocationsTransferConfigsScheduleRunsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3778,7 +3778,7 @@ func (c *ProjectsLocationsTransferConfigsStartManualRunsCall) Header() http.Head func (c *ProjectsLocationsTransferConfigsStartManualRunsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3917,7 +3917,7 @@ func (c *ProjectsLocationsTransferConfigsRunsDeleteCall) Header() http.Header { func (c *ProjectsLocationsTransferConfigsRunsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4059,7 +4059,7 @@ func (c *ProjectsLocationsTransferConfigsRunsGetCall) Header() http.Header { func (c *ProjectsLocationsTransferConfigsRunsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4251,7 +4251,7 @@ func (c *ProjectsLocationsTransferConfigsRunsListCall) Header() http.Header { func (c *ProjectsLocationsTransferConfigsRunsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4497,7 +4497,7 @@ func (c *ProjectsLocationsTransferConfigsRunsTransferLogsListCall) Header() http func (c *ProjectsLocationsTransferConfigsRunsTransferLogsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4719,7 +4719,7 @@ func (c *ProjectsTransferConfigsCreateCall) Header() http.Header { func (c *ProjectsTransferConfigsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4873,7 +4873,7 @@ func (c *ProjectsTransferConfigsDeleteCall) Header() http.Header { func (c *ProjectsTransferConfigsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5015,7 +5015,7 @@ func (c *ProjectsTransferConfigsGetCall) Header() http.Header { func (c *ProjectsTransferConfigsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5188,7 +5188,7 @@ func (c *ProjectsTransferConfigsListCall) Header() http.Header { func (c *ProjectsTransferConfigsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5407,7 +5407,7 @@ func (c *ProjectsTransferConfigsPatchCall) Header() http.Header { func (c *ProjectsTransferConfigsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5572,7 +5572,7 @@ func (c *ProjectsTransferConfigsScheduleRunsCall) Header() http.Header { func (c *ProjectsTransferConfigsScheduleRunsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5716,7 +5716,7 @@ func (c *ProjectsTransferConfigsStartManualRunsCall) Header() http.Header { func (c *ProjectsTransferConfigsStartManualRunsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5855,7 +5855,7 @@ func (c *ProjectsTransferConfigsRunsDeleteCall) Header() http.Header { func (c *ProjectsTransferConfigsRunsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5997,7 +5997,7 @@ func (c *ProjectsTransferConfigsRunsGetCall) Header() http.Header { func (c *ProjectsTransferConfigsRunsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6189,7 +6189,7 @@ func (c *ProjectsTransferConfigsRunsListCall) Header() http.Header { func (c *ProjectsTransferConfigsRunsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6435,7 +6435,7 @@ func (c *ProjectsTransferConfigsRunsTransferLogsListCall) Header() http.Header { func (c *ProjectsTransferConfigsRunsTransferLogsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/bigqueryreservation/v1/bigqueryreservation-gen.go b/bigqueryreservation/v1/bigqueryreservation-gen.go index fc94ac1f37a..535db61007c 100644 --- a/bigqueryreservation/v1/bigqueryreservation-gen.go +++ b/bigqueryreservation/v1/bigqueryreservation-gen.go @@ -1036,7 +1036,7 @@ func (c *OperationsDeleteCall) Header() http.Header { func (c *OperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1208,7 +1208,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1390,7 +1390,7 @@ func (c *ProjectsLocationsGetBiReservationCall) Header() http.Header { func (c *ProjectsLocationsGetBiReservationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1570,7 +1570,7 @@ func (c *ProjectsLocationsSearchAllAssignmentsCall) Header() http.Header { func (c *ProjectsLocationsSearchAllAssignmentsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1788,7 +1788,7 @@ func (c *ProjectsLocationsSearchAssignmentsCall) Header() http.Header { func (c *ProjectsLocationsSearchAssignmentsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1972,7 +1972,7 @@ func (c *ProjectsLocationsUpdateBiReservationCall) Header() http.Header { func (c *ProjectsLocationsUpdateBiReservationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2127,7 +2127,7 @@ func (c *ProjectsLocationsCapacityCommitmentsCreateCall) Header() http.Header { func (c *ProjectsLocationsCapacityCommitmentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2273,7 +2273,7 @@ func (c *ProjectsLocationsCapacityCommitmentsDeleteCall) Header() http.Header { func (c *ProjectsLocationsCapacityCommitmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2415,7 +2415,7 @@ func (c *ProjectsLocationsCapacityCommitmentsGetCall) Header() http.Header { func (c *ProjectsLocationsCapacityCommitmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2574,7 +2574,7 @@ func (c *ProjectsLocationsCapacityCommitmentsListCall) Header() http.Header { func (c *ProjectsLocationsCapacityCommitmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2746,7 +2746,7 @@ func (c *ProjectsLocationsCapacityCommitmentsMergeCall) Header() http.Header { func (c *ProjectsLocationsCapacityCommitmentsMergeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2898,7 +2898,7 @@ func (c *ProjectsLocationsCapacityCommitmentsPatchCall) Header() http.Header { func (c *ProjectsLocationsCapacityCommitmentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3050,7 +3050,7 @@ func (c *ProjectsLocationsCapacityCommitmentsSplitCall) Header() http.Header { func (c *ProjectsLocationsCapacityCommitmentsSplitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3199,7 +3199,7 @@ func (c *ProjectsLocationsReservationsCreateCall) Header() http.Header { func (c *ProjectsLocationsReservationsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3345,7 +3345,7 @@ func (c *ProjectsLocationsReservationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsReservationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3487,7 +3487,7 @@ func (c *ProjectsLocationsReservationsGetCall) Header() http.Header { func (c *ProjectsLocationsReservationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3647,7 +3647,7 @@ func (c *ProjectsLocationsReservationsListCall) Header() http.Header { func (c *ProjectsLocationsReservationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3822,7 +3822,7 @@ func (c *ProjectsLocationsReservationsPatchCall) Header() http.Header { func (c *ProjectsLocationsReservationsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3987,7 +3987,7 @@ func (c *ProjectsLocationsReservationsAssignmentsCreateCall) Header() http.Heade func (c *ProjectsLocationsReservationsAssignmentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4134,7 +4134,7 @@ func (c *ProjectsLocationsReservationsAssignmentsDeleteCall) Header() http.Heade func (c *ProjectsLocationsReservationsAssignmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4300,7 +4300,7 @@ func (c *ProjectsLocationsReservationsAssignmentsListCall) Header() http.Header func (c *ProjectsLocationsReservationsAssignmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4471,7 +4471,7 @@ func (c *ProjectsLocationsReservationsAssignmentsMoveCall) Header() http.Header func (c *ProjectsLocationsReservationsAssignmentsMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/bigqueryreservation/v1alpha2/bigqueryreservation-gen.go b/bigqueryreservation/v1alpha2/bigqueryreservation-gen.go index c7e6cbd96b2..d52c4ab8531 100644 --- a/bigqueryreservation/v1alpha2/bigqueryreservation-gen.go +++ b/bigqueryreservation/v1alpha2/bigqueryreservation-gen.go @@ -803,7 +803,7 @@ func (c *ProjectsLocationsSearchReservationGrantsCall) Header() http.Header { func (c *ProjectsLocationsSearchReservationGrantsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -983,7 +983,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1127,7 +1127,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1267,7 +1267,7 @@ func (c *ProjectsLocationsReservationGrantsCreateCall) Header() http.Header { func (c *ProjectsLocationsReservationGrantsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1411,7 +1411,7 @@ func (c *ProjectsLocationsReservationGrantsDeleteCall) Header() http.Header { func (c *ProjectsLocationsReservationGrantsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1572,7 +1572,7 @@ func (c *ProjectsLocationsReservationGrantsListCall) Header() http.Header { func (c *ProjectsLocationsReservationGrantsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1749,7 +1749,7 @@ func (c *ProjectsLocationsReservationsCreateCall) Header() http.Header { func (c *ProjectsLocationsReservationsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1904,7 +1904,7 @@ func (c *ProjectsLocationsReservationsCreateReservationCall) Header() http.Heade func (c *ProjectsLocationsReservationsCreateReservationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2061,7 +2061,7 @@ func (c *ProjectsLocationsReservationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsReservationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2208,7 +2208,7 @@ func (c *ProjectsLocationsReservationsGetCall) Header() http.Header { func (c *ProjectsLocationsReservationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2378,7 +2378,7 @@ func (c *ProjectsLocationsReservationsListCall) Header() http.Header { func (c *ProjectsLocationsReservationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2559,7 +2559,7 @@ func (c *ProjectsLocationsReservationsPatchCall) Header() http.Header { func (c *ProjectsLocationsReservationsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2706,7 +2706,7 @@ func (c *ProjectsLocationsReservationsSlotPoolsDeleteCall) Header() http.Header func (c *ProjectsLocationsReservationsSlotPoolsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2848,7 +2848,7 @@ func (c *ProjectsLocationsReservationsSlotPoolsGetCall) Header() http.Header { func (c *ProjectsLocationsReservationsSlotPoolsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3007,7 +3007,7 @@ func (c *ProjectsLocationsReservationsSlotPoolsListCall) Header() http.Header { func (c *ProjectsLocationsReservationsSlotPoolsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/bigqueryreservation/v1beta1/bigqueryreservation-gen.go b/bigqueryreservation/v1beta1/bigqueryreservation-gen.go index a280a0d2d60..502dbc9967f 100644 --- a/bigqueryreservation/v1beta1/bigqueryreservation-gen.go +++ b/bigqueryreservation/v1beta1/bigqueryreservation-gen.go @@ -900,7 +900,7 @@ func (c *ProjectsLocationsGetBiReservationCall) Header() http.Header { func (c *ProjectsLocationsGetBiReservationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1081,7 +1081,7 @@ func (c *ProjectsLocationsSearchAssignmentsCall) Header() http.Header { func (c *ProjectsLocationsSearchAssignmentsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1265,7 +1265,7 @@ func (c *ProjectsLocationsUpdateBiReservationCall) Header() http.Header { func (c *ProjectsLocationsUpdateBiReservationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1420,7 +1420,7 @@ func (c *ProjectsLocationsCapacityCommitmentsCreateCall) Header() http.Header { func (c *ProjectsLocationsCapacityCommitmentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1566,7 +1566,7 @@ func (c *ProjectsLocationsCapacityCommitmentsDeleteCall) Header() http.Header { func (c *ProjectsLocationsCapacityCommitmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1708,7 +1708,7 @@ func (c *ProjectsLocationsCapacityCommitmentsGetCall) Header() http.Header { func (c *ProjectsLocationsCapacityCommitmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1867,7 +1867,7 @@ func (c *ProjectsLocationsCapacityCommitmentsListCall) Header() http.Header { func (c *ProjectsLocationsCapacityCommitmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2039,7 +2039,7 @@ func (c *ProjectsLocationsCapacityCommitmentsMergeCall) Header() http.Header { func (c *ProjectsLocationsCapacityCommitmentsMergeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2191,7 +2191,7 @@ func (c *ProjectsLocationsCapacityCommitmentsPatchCall) Header() http.Header { func (c *ProjectsLocationsCapacityCommitmentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2343,7 +2343,7 @@ func (c *ProjectsLocationsCapacityCommitmentsSplitCall) Header() http.Header { func (c *ProjectsLocationsCapacityCommitmentsSplitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2492,7 +2492,7 @@ func (c *ProjectsLocationsReservationsCreateCall) Header() http.Header { func (c *ProjectsLocationsReservationsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2638,7 +2638,7 @@ func (c *ProjectsLocationsReservationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsReservationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2780,7 +2780,7 @@ func (c *ProjectsLocationsReservationsGetCall) Header() http.Header { func (c *ProjectsLocationsReservationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2950,7 +2950,7 @@ func (c *ProjectsLocationsReservationsListCall) Header() http.Header { func (c *ProjectsLocationsReservationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3130,7 +3130,7 @@ func (c *ProjectsLocationsReservationsPatchCall) Header() http.Header { func (c *ProjectsLocationsReservationsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3295,7 +3295,7 @@ func (c *ProjectsLocationsReservationsAssignmentsCreateCall) Header() http.Heade func (c *ProjectsLocationsReservationsAssignmentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3442,7 +3442,7 @@ func (c *ProjectsLocationsReservationsAssignmentsDeleteCall) Header() http.Heade func (c *ProjectsLocationsReservationsAssignmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3608,7 +3608,7 @@ func (c *ProjectsLocationsReservationsAssignmentsListCall) Header() http.Header func (c *ProjectsLocationsReservationsAssignmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3779,7 +3779,7 @@ func (c *ProjectsLocationsReservationsAssignmentsMoveCall) Header() http.Header func (c *ProjectsLocationsReservationsAssignmentsMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/bigtableadmin/v2/bigtableadmin-gen.go b/bigtableadmin/v2/bigtableadmin-gen.go index e7ff1598c5a..c929e6d01ab 100644 --- a/bigtableadmin/v2/bigtableadmin-gen.go +++ b/bigtableadmin/v2/bigtableadmin-gen.go @@ -2813,7 +2813,7 @@ func (c *OperationsCancelCall) Header() http.Header { func (c *OperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2951,7 +2951,7 @@ func (c *OperationsDeleteCall) Header() http.Header { func (c *OperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3099,7 +3099,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3279,7 +3279,7 @@ func (c *OperationsProjectsOperationsListCall) Header() http.Header { func (c *OperationsProjectsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3457,7 +3457,7 @@ func (c *ProjectsInstancesCreateCall) Header() http.Header { func (c *ProjectsInstancesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3600,7 +3600,7 @@ func (c *ProjectsInstancesDeleteCall) Header() http.Header { func (c *ProjectsInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3746,7 +3746,7 @@ func (c *ProjectsInstancesGetCall) Header() http.Header { func (c *ProjectsInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3889,7 +3889,7 @@ func (c *ProjectsInstancesGetIamPolicyCall) Header() http.Header { func (c *ProjectsInstancesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4050,7 +4050,7 @@ func (c *ProjectsInstancesListCall) Header() http.Header { func (c *ProjectsInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4227,7 +4227,7 @@ func (c *ProjectsInstancesPartialUpdateInstanceCall) Header() http.Header { func (c *ProjectsInstancesPartialUpdateInstanceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4379,7 +4379,7 @@ func (c *ProjectsInstancesSetIamPolicyCall) Header() http.Header { func (c *ProjectsInstancesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4525,7 +4525,7 @@ func (c *ProjectsInstancesTestIamPermissionsCall) Header() http.Header { func (c *ProjectsInstancesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4672,7 +4672,7 @@ func (c *ProjectsInstancesUpdateCall) Header() http.Header { func (c *ProjectsInstancesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4833,7 +4833,7 @@ func (c *ProjectsInstancesAppProfilesCreateCall) Header() http.Header { func (c *ProjectsInstancesAppProfilesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4994,7 +4994,7 @@ func (c *ProjectsInstancesAppProfilesDeleteCall) Header() http.Header { func (c *ProjectsInstancesAppProfilesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5145,7 +5145,7 @@ func (c *ProjectsInstancesAppProfilesGetCall) Header() http.Header { func (c *ProjectsInstancesAppProfilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5314,7 +5314,7 @@ func (c *ProjectsInstancesAppProfilesListCall) Header() http.Header { func (c *ProjectsInstancesAppProfilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5501,7 +5501,7 @@ func (c *ProjectsInstancesAppProfilesPatchCall) Header() http.Header { func (c *ProjectsInstancesAppProfilesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5666,7 +5666,7 @@ func (c *ProjectsInstancesClustersCreateCall) Header() http.Header { func (c *ProjectsInstancesClustersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5814,7 +5814,7 @@ func (c *ProjectsInstancesClustersDeleteCall) Header() http.Header { func (c *ProjectsInstancesClustersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5960,7 +5960,7 @@ func (c *ProjectsInstancesClustersGetCall) Header() http.Header { func (c *ProjectsInstancesClustersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6117,7 +6117,7 @@ func (c *ProjectsInstancesClustersListCall) Header() http.Header { func (c *ProjectsInstancesClustersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6284,7 +6284,7 @@ func (c *ProjectsInstancesClustersUpdateCall) Header() http.Header { func (c *ProjectsInstancesClustersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6445,7 +6445,7 @@ func (c *ProjectsInstancesClustersBackupsCreateCall) Header() http.Header { func (c *ProjectsInstancesClustersBackupsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6592,7 +6592,7 @@ func (c *ProjectsInstancesClustersBackupsDeleteCall) Header() http.Header { func (c *ProjectsInstancesClustersBackupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6737,7 +6737,7 @@ func (c *ProjectsInstancesClustersBackupsGetCall) Header() http.Header { func (c *ProjectsInstancesClustersBackupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6878,7 +6878,7 @@ func (c *ProjectsInstancesClustersBackupsGetIamPolicyCall) Header() http.Header func (c *ProjectsInstancesClustersBackupsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7093,7 +7093,7 @@ func (c *ProjectsInstancesClustersBackupsListCall) Header() http.Header { func (c *ProjectsInstancesClustersBackupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7285,7 +7285,7 @@ func (c *ProjectsInstancesClustersBackupsPatchCall) Header() http.Header { func (c *ProjectsInstancesClustersBackupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7436,7 +7436,7 @@ func (c *ProjectsInstancesClustersBackupsSetIamPolicyCall) Header() http.Header func (c *ProjectsInstancesClustersBackupsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7581,7 +7581,7 @@ func (c *ProjectsInstancesClustersBackupsTestIamPermissionsCall) Header() http.H func (c *ProjectsInstancesClustersBackupsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7727,7 +7727,7 @@ func (c *ProjectsInstancesTablesCheckConsistencyCall) Header() http.Header { func (c *ProjectsInstancesTablesCheckConsistencyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7873,7 +7873,7 @@ func (c *ProjectsInstancesTablesCreateCall) Header() http.Header { func (c *ProjectsInstancesTablesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8015,7 +8015,7 @@ func (c *ProjectsInstancesTablesDeleteCall) Header() http.Header { func (c *ProjectsInstancesTablesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8153,7 +8153,7 @@ func (c *ProjectsInstancesTablesDropRowRangeCall) Header() http.Header { func (c *ProjectsInstancesTablesDropRowRangeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8300,7 +8300,7 @@ func (c *ProjectsInstancesTablesGenerateConsistencyTokenCall) Header() http.Head func (c *ProjectsInstancesTablesGenerateConsistencyTokenCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8471,7 +8471,7 @@ func (c *ProjectsInstancesTablesGetCall) Header() http.Header { func (c *ProjectsInstancesTablesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8632,7 +8632,7 @@ func (c *ProjectsInstancesTablesGetIamPolicyCall) Header() http.Header { func (c *ProjectsInstancesTablesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8822,7 +8822,7 @@ func (c *ProjectsInstancesTablesListCall) Header() http.Header { func (c *ProjectsInstancesTablesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9017,7 +9017,7 @@ func (c *ProjectsInstancesTablesModifyColumnFamiliesCall) Header() http.Header { func (c *ProjectsInstancesTablesModifyColumnFamiliesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9166,7 +9166,7 @@ func (c *ProjectsInstancesTablesRestoreCall) Header() http.Header { func (c *ProjectsInstancesTablesRestoreCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9311,7 +9311,7 @@ func (c *ProjectsInstancesTablesSetIamPolicyCall) Header() http.Header { func (c *ProjectsInstancesTablesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9456,7 +9456,7 @@ func (c *ProjectsInstancesTablesTestIamPermissionsCall) Header() http.Header { func (c *ProjectsInstancesTablesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9609,7 +9609,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9781,7 +9781,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/billingbudgets/v1/billingbudgets-gen.go b/billingbudgets/v1/billingbudgets-gen.go index f256a083622..ccb6cb706cd 100644 --- a/billingbudgets/v1/billingbudgets-gen.go +++ b/billingbudgets/v1/billingbudgets-gen.go @@ -615,7 +615,7 @@ func (c *BillingAccountsBudgetsCreateCall) Header() http.Header { func (c *BillingAccountsBudgetsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -755,7 +755,7 @@ func (c *BillingAccountsBudgetsDeleteCall) Header() http.Header { func (c *BillingAccountsBudgetsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -900,7 +900,7 @@ func (c *BillingAccountsBudgetsGetCall) Header() http.Header { func (c *BillingAccountsBudgetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1066,7 +1066,7 @@ func (c *BillingAccountsBudgetsListCall) Header() http.Header { func (c *BillingAccountsBudgetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1250,7 +1250,7 @@ func (c *BillingAccountsBudgetsPatchCall) Header() http.Header { func (c *BillingAccountsBudgetsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/billingbudgets/v1beta1/billingbudgets-gen.go b/billingbudgets/v1beta1/billingbudgets-gen.go index 3c1e0c5c7c5..caba6accb08 100644 --- a/billingbudgets/v1beta1/billingbudgets-gen.go +++ b/billingbudgets/v1beta1/billingbudgets-gen.go @@ -681,7 +681,7 @@ func (c *BillingAccountsBudgetsCreateCall) Header() http.Header { func (c *BillingAccountsBudgetsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -821,7 +821,7 @@ func (c *BillingAccountsBudgetsDeleteCall) Header() http.Header { func (c *BillingAccountsBudgetsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -966,7 +966,7 @@ func (c *BillingAccountsBudgetsGetCall) Header() http.Header { func (c *BillingAccountsBudgetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1132,7 +1132,7 @@ func (c *BillingAccountsBudgetsListCall) Header() http.Header { func (c *BillingAccountsBudgetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1305,7 +1305,7 @@ func (c *BillingAccountsBudgetsPatchCall) Header() http.Header { func (c *BillingAccountsBudgetsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/binaryauthorization/v1/binaryauthorization-gen.go b/binaryauthorization/v1/binaryauthorization-gen.go index d785a383594..9c88bfc7a81 100644 --- a/binaryauthorization/v1/binaryauthorization-gen.go +++ b/binaryauthorization/v1/binaryauthorization-gen.go @@ -1234,7 +1234,7 @@ func (c *ProjectsGetPolicyCall) Header() http.Header { func (c *ProjectsGetPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1373,7 +1373,7 @@ func (c *ProjectsUpdatePolicyCall) Header() http.Header { func (c *ProjectsUpdatePolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1523,7 +1523,7 @@ func (c *ProjectsAttestorsCreateCall) Header() http.Header { func (c *ProjectsAttestorsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1667,7 +1667,7 @@ func (c *ProjectsAttestorsDeleteCall) Header() http.Header { func (c *ProjectsAttestorsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1809,7 +1809,7 @@ func (c *ProjectsAttestorsGetCall) Header() http.Header { func (c *ProjectsAttestorsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1970,7 +1970,7 @@ func (c *ProjectsAttestorsGetIamPolicyCall) Header() http.Header { func (c *ProjectsAttestorsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2138,7 +2138,7 @@ func (c *ProjectsAttestorsListCall) Header() http.Header { func (c *ProjectsAttestorsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2307,7 +2307,7 @@ func (c *ProjectsAttestorsSetIamPolicyCall) Header() http.Header { func (c *ProjectsAttestorsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2452,7 +2452,7 @@ func (c *ProjectsAttestorsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsAttestorsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2593,7 +2593,7 @@ func (c *ProjectsAttestorsUpdateCall) Header() http.Header { func (c *ProjectsAttestorsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2734,7 +2734,7 @@ func (c *ProjectsAttestorsValidateAttestationOccurrenceCall) Header() http.Heade func (c *ProjectsAttestorsValidateAttestationOccurrenceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2901,7 +2901,7 @@ func (c *ProjectsPolicyGetIamPolicyCall) Header() http.Header { func (c *ProjectsPolicyGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3044,7 +3044,7 @@ func (c *ProjectsPolicySetIamPolicyCall) Header() http.Header { func (c *ProjectsPolicySetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3189,7 +3189,7 @@ func (c *ProjectsPolicyTestIamPermissionsCall) Header() http.Header { func (c *ProjectsPolicyTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/binaryauthorization/v1beta1/binaryauthorization-gen.go b/binaryauthorization/v1beta1/binaryauthorization-gen.go index 035227219c6..57315df35b4 100644 --- a/binaryauthorization/v1beta1/binaryauthorization-gen.go +++ b/binaryauthorization/v1beta1/binaryauthorization-gen.go @@ -1236,7 +1236,7 @@ func (c *ProjectsGetPolicyCall) Header() http.Header { func (c *ProjectsGetPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1375,7 +1375,7 @@ func (c *ProjectsUpdatePolicyCall) Header() http.Header { func (c *ProjectsUpdatePolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1525,7 +1525,7 @@ func (c *ProjectsAttestorsCreateCall) Header() http.Header { func (c *ProjectsAttestorsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1669,7 +1669,7 @@ func (c *ProjectsAttestorsDeleteCall) Header() http.Header { func (c *ProjectsAttestorsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1811,7 +1811,7 @@ func (c *ProjectsAttestorsGetCall) Header() http.Header { func (c *ProjectsAttestorsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1972,7 +1972,7 @@ func (c *ProjectsAttestorsGetIamPolicyCall) Header() http.Header { func (c *ProjectsAttestorsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2140,7 +2140,7 @@ func (c *ProjectsAttestorsListCall) Header() http.Header { func (c *ProjectsAttestorsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2309,7 +2309,7 @@ func (c *ProjectsAttestorsSetIamPolicyCall) Header() http.Header { func (c *ProjectsAttestorsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2454,7 +2454,7 @@ func (c *ProjectsAttestorsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsAttestorsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2595,7 +2595,7 @@ func (c *ProjectsAttestorsUpdateCall) Header() http.Header { func (c *ProjectsAttestorsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2736,7 +2736,7 @@ func (c *ProjectsAttestorsValidateAttestationOccurrenceCall) Header() http.Heade func (c *ProjectsAttestorsValidateAttestationOccurrenceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2903,7 +2903,7 @@ func (c *ProjectsPolicyGetIamPolicyCall) Header() http.Header { func (c *ProjectsPolicyGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3046,7 +3046,7 @@ func (c *ProjectsPolicySetIamPolicyCall) Header() http.Header { func (c *ProjectsPolicySetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3191,7 +3191,7 @@ func (c *ProjectsPolicyTestIamPermissionsCall) Header() http.Header { func (c *ProjectsPolicyTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/blogger/v2/blogger-gen.go b/blogger/v2/blogger-gen.go index 69e3a9da4e4..f49b9e7c45a 100644 --- a/blogger/v2/blogger-gen.go +++ b/blogger/v2/blogger-gen.go @@ -1471,7 +1471,7 @@ func (c *BlogsGetCall) Header() http.Header { func (c *BlogsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1613,7 +1613,7 @@ func (c *BlogsListCall) Header() http.Header { func (c *BlogsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1759,7 +1759,7 @@ func (c *CommentsGetCall) Header() http.Header { func (c *CommentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1941,7 +1941,7 @@ func (c *CommentsListCall) Header() http.Header { func (c *CommentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2130,7 +2130,7 @@ func (c *PagesGetCall) Header() http.Header { func (c *PagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2285,7 +2285,7 @@ func (c *PagesListCall) Header() http.Header { func (c *PagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2433,7 +2433,7 @@ func (c *PostsGetCall) Header() http.Header { func (c *PostsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2606,7 +2606,7 @@ func (c *PostsListCall) Header() http.Header { func (c *PostsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2786,7 +2786,7 @@ func (c *UsersGetCall) Header() http.Header { func (c *UsersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/blogger/v3/blogger-gen.go b/blogger/v3/blogger-gen.go index 35e08d68ef3..dfd3bb62822 100644 --- a/blogger/v3/blogger-gen.go +++ b/blogger/v3/blogger-gen.go @@ -1714,7 +1714,7 @@ func (c *BlogUserInfosGetCall) Header() http.Header { func (c *BlogUserInfosGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1887,7 +1887,7 @@ func (c *BlogsGetCall) Header() http.Header { func (c *BlogsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2062,7 +2062,7 @@ func (c *BlogsGetByUrlCall) Header() http.Header { func (c *BlogsGetByUrlCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2259,7 +2259,7 @@ func (c *BlogsListByUserCall) Header() http.Header { func (c *BlogsListByUserCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2447,7 +2447,7 @@ func (c *CommentsApproveCall) Header() http.Header { func (c *CommentsApproveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2593,7 +2593,7 @@ func (c *CommentsDeleteCall) Header() http.Header { func (c *CommentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2734,7 +2734,7 @@ func (c *CommentsGetCall) Header() http.Header { func (c *CommentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2963,7 +2963,7 @@ func (c *CommentsListCall) Header() http.Header { func (c *CommentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3229,7 +3229,7 @@ func (c *CommentsListByBlogCall) Header() http.Header { func (c *CommentsListByBlogCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3425,7 +3425,7 @@ func (c *CommentsMarkAsSpamCall) Header() http.Header { func (c *CommentsMarkAsSpamCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3572,7 +3572,7 @@ func (c *CommentsRemoveContentCall) Header() http.Header { func (c *CommentsRemoveContentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3736,7 +3736,7 @@ func (c *PageViewsGetCall) Header() http.Header { func (c *PageViewsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3884,7 +3884,7 @@ func (c *PagesDeleteCall) Header() http.Header { func (c *PagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4016,7 +4016,7 @@ func (c *PagesGetCall) Header() http.Header { func (c *PagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4179,7 +4179,7 @@ func (c *PagesInsertCall) Header() http.Header { func (c *PagesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4370,7 +4370,7 @@ func (c *PagesListCall) Header() http.Header { func (c *PagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4581,7 +4581,7 @@ func (c *PagesPatchCall) Header() http.Header { func (c *PagesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4734,7 +4734,7 @@ func (c *PagesPublishCall) Header() http.Header { func (c *PagesPublishCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4871,7 +4871,7 @@ func (c *PagesRevertCall) Header() http.Header { func (c *PagesRevertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5022,7 +5022,7 @@ func (c *PagesUpdateCall) Header() http.Header { func (c *PagesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5194,7 +5194,7 @@ func (c *PostUserInfosGetCall) Header() http.Header { func (c *PostUserInfosGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5428,7 +5428,7 @@ func (c *PostUserInfosListCall) Header() http.Header { func (c *PostUserInfosListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5662,7 +5662,7 @@ func (c *PostsDeleteCall) Header() http.Header { func (c *PostsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5812,7 +5812,7 @@ func (c *PostsGetCall) Header() http.Header { func (c *PostsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6011,7 +6011,7 @@ func (c *PostsGetByPathCall) Header() http.Header { func (c *PostsGetByPathCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6190,7 +6190,7 @@ func (c *PostsInsertCall) Header() http.Header { func (c *PostsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6426,7 +6426,7 @@ func (c *PostsListCall) Header() http.Header { func (c *PostsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6689,7 +6689,7 @@ func (c *PostsPatchCall) Header() http.Header { func (c *PostsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6862,7 +6862,7 @@ func (c *PostsPublishCall) Header() http.Header { func (c *PostsPublishCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7003,7 +7003,7 @@ func (c *PostsRevertCall) Header() http.Header { func (c *PostsRevertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7168,7 +7168,7 @@ func (c *PostsSearchCall) Header() http.Header { func (c *PostsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7360,7 +7360,7 @@ func (c *PostsUpdateCall) Header() http.Header { func (c *PostsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7536,7 +7536,7 @@ func (c *UsersGetCall) Header() http.Header { func (c *UsersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/books/v1/books-gen.go b/books/v1/books-gen.go index 3b6abd726cc..243c7cfa294 100644 --- a/books/v1/books-gen.go +++ b/books/v1/books-gen.go @@ -4973,7 +4973,7 @@ func (c *BookshelvesGetCall) Header() http.Header { func (c *BookshelvesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5136,7 +5136,7 @@ func (c *BookshelvesListCall) Header() http.Header { func (c *BookshelvesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5315,7 +5315,7 @@ func (c *BookshelvesVolumesListCall) Header() http.Header { func (c *BookshelvesVolumesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5505,7 +5505,7 @@ func (c *CloudloadingAddBookCall) Header() http.Header { func (c *CloudloadingAddBookCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5642,7 +5642,7 @@ func (c *CloudloadingDeleteBookCall) Header() http.Header { func (c *CloudloadingDeleteBookCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5768,7 +5768,7 @@ func (c *CloudloadingUpdateBookCall) Header() http.Header { func (c *CloudloadingUpdateBookCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5904,7 +5904,7 @@ func (c *DictionaryListOfflineMetadataCall) Header() http.Header { func (c *DictionaryListOfflineMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6050,7 +6050,7 @@ func (c *FamilysharingGetFamilyInfoCall) Header() http.Header { func (c *FamilysharingGetFamilyInfoCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6194,7 +6194,7 @@ func (c *FamilysharingShareCall) Header() http.Header { func (c *FamilysharingShareCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6346,7 +6346,7 @@ func (c *FamilysharingUnshareCall) Header() http.Header { func (c *FamilysharingUnshareCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6506,7 +6506,7 @@ func (c *LayersGetCall) Header() http.Header { func (c *LayersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6695,7 +6695,7 @@ func (c *LayersListCall) Header() http.Header { func (c *LayersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6910,7 +6910,7 @@ func (c *LayersAnnotationDataGetCall) Header() http.Header { func (c *LayersAnnotationDataGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7187,7 +7187,7 @@ func (c *LayersAnnotationDataListCall) Header() http.Header { func (c *LayersAnnotationDataListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7443,7 +7443,7 @@ func (c *LayersVolumeAnnotationsGetCall) Header() http.Header { func (c *LayersVolumeAnnotationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7704,7 +7704,7 @@ func (c *LayersVolumeAnnotationsListCall) Header() http.Header { func (c *LayersVolumeAnnotationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7951,7 +7951,7 @@ func (c *MyconfigGetUserSettingsCall) Header() http.Header { func (c *MyconfigGetUserSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8091,7 +8091,7 @@ func (c *MyconfigReleaseDownloadAccessCall) Header() http.Header { func (c *MyconfigReleaseDownloadAccessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8257,7 +8257,7 @@ func (c *MyconfigRequestAccessCall) Header() http.Header { func (c *MyconfigRequestAccessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8468,7 +8468,7 @@ func (c *MyconfigSyncVolumeLicensesCall) Header() http.Header { func (c *MyconfigSyncVolumeLicensesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8645,7 +8645,7 @@ func (c *MyconfigUpdateUserSettingsCall) Header() http.Header { func (c *MyconfigUpdateUserSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8777,7 +8777,7 @@ func (c *MylibraryAnnotationsDeleteCall) Header() http.Header { func (c *MylibraryAnnotationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8940,7 +8940,7 @@ func (c *MylibraryAnnotationsInsertCall) Header() http.Header { func (c *MylibraryAnnotationsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9168,7 +9168,7 @@ func (c *MylibraryAnnotationsListCall) Header() http.Header { func (c *MylibraryAnnotationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9364,7 +9364,7 @@ func (c *MylibraryAnnotationsSummaryCall) Header() http.Header { func (c *MylibraryAnnotationsSummaryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9507,7 +9507,7 @@ func (c *MylibraryAnnotationsUpdateCall) Header() http.Header { func (c *MylibraryAnnotationsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9670,7 +9670,7 @@ func (c *MylibraryBookshelvesAddVolumeCall) Header() http.Header { func (c *MylibraryBookshelvesAddVolumeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9835,7 +9835,7 @@ func (c *MylibraryBookshelvesClearVolumesCall) Header() http.Header { func (c *MylibraryBookshelvesClearVolumesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9988,7 +9988,7 @@ func (c *MylibraryBookshelvesGetCall) Header() http.Header { func (c *MylibraryBookshelvesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10142,7 +10142,7 @@ func (c *MylibraryBookshelvesListCall) Header() http.Header { func (c *MylibraryBookshelvesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10277,7 +10277,7 @@ func (c *MylibraryBookshelvesMoveVolumeCall) Header() http.Header { func (c *MylibraryBookshelvesMoveVolumeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10445,7 +10445,7 @@ func (c *MylibraryBookshelvesRemoveVolumeCall) Header() http.Header { func (c *MylibraryBookshelvesRemoveVolumeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10664,7 +10664,7 @@ func (c *MylibraryBookshelvesVolumesListCall) Header() http.Header { func (c *MylibraryBookshelvesVolumesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10870,7 +10870,7 @@ func (c *MylibraryReadingpositionsGetCall) Header() http.Header { func (c *MylibraryReadingpositionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11051,7 +11051,7 @@ func (c *MylibraryReadingpositionsSetPositionCall) Header() http.Header { func (c *MylibraryReadingpositionsSetPositionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11257,7 +11257,7 @@ func (c *NotificationGetCall) Header() http.Header { func (c *NotificationGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11412,7 +11412,7 @@ func (c *OnboardingListCategoriesCall) Header() http.Header { func (c *OnboardingListCategoriesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11590,7 +11590,7 @@ func (c *OnboardingListCategoryVolumesCall) Header() http.Header { func (c *OnboardingListCategoryVolumesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11807,7 +11807,7 @@ func (c *PersonalizedstreamGetCall) Header() http.Header { func (c *PersonalizedstreamGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12001,7 +12001,7 @@ func (c *PromoofferAcceptCall) Header() http.Header { func (c *PromoofferAcceptCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12199,7 +12199,7 @@ func (c *PromoofferDismissCall) Header() http.Header { func (c *PromoofferDismissCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12398,7 +12398,7 @@ func (c *PromoofferGetCall) Header() http.Header { func (c *PromoofferGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12559,7 +12559,7 @@ func (c *SeriesGetCall) Header() http.Header { func (c *SeriesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12713,7 +12713,7 @@ func (c *SeriesMembershipGetCall) Header() http.Header { func (c *SeriesMembershipGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12912,7 +12912,7 @@ func (c *VolumesGetCall) Header() http.Header { func (c *VolumesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13222,7 +13222,7 @@ func (c *VolumesListCall) Header() http.Header { func (c *VolumesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13550,7 +13550,7 @@ func (c *VolumesAssociatedListCall) Header() http.Header { func (c *VolumesAssociatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13801,7 +13801,7 @@ func (c *VolumesMybooksListCall) Header() http.Header { func (c *VolumesMybooksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14036,7 +14036,7 @@ func (c *VolumesRecommendedListCall) Header() http.Header { func (c *VolumesRecommendedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14197,7 +14197,7 @@ func (c *VolumesRecommendedRateCall) Header() http.Header { func (c *VolumesRecommendedRateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14410,7 +14410,7 @@ func (c *VolumesUseruploadedListCall) Header() http.Header { func (c *VolumesUseruploadedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/calendar/v3/calendar-gen.go b/calendar/v3/calendar-gen.go index a8e8e8d3b14..ec11bb50452 100644 --- a/calendar/v3/calendar-gen.go +++ b/calendar/v3/calendar-gen.go @@ -2424,7 +2424,7 @@ func (c *AclDeleteCall) Header() http.Header { func (c *AclDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2545,7 +2545,7 @@ func (c *AclGetCall) Header() http.Header { func (c *AclGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2695,7 +2695,7 @@ func (c *AclInsertCall) Header() http.Header { func (c *AclInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2887,7 +2887,7 @@ func (c *AclListCall) Header() http.Header { func (c *AclListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3076,7 +3076,7 @@ func (c *AclPatchCall) Header() http.Header { func (c *AclPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3238,7 +3238,7 @@ func (c *AclUpdateCall) Header() http.Header { func (c *AclUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3429,7 +3429,7 @@ func (c *AclWatchCall) Header() http.Header { func (c *AclWatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3589,7 +3589,7 @@ func (c *CalendarListDeleteCall) Header() http.Header { func (c *CalendarListDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3700,7 +3700,7 @@ func (c *CalendarListGetCall) Header() http.Header { func (c *CalendarListGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3842,7 +3842,7 @@ func (c *CalendarListInsertCall) Header() http.Header { func (c *CalendarListInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4045,7 +4045,7 @@ func (c *CalendarListListCall) Header() http.Header { func (c *CalendarListListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4244,7 +4244,7 @@ func (c *CalendarListPatchCall) Header() http.Header { func (c *CalendarListPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4397,7 +4397,7 @@ func (c *CalendarListUpdateCall) Header() http.Header { func (c *CalendarListUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4603,7 +4603,7 @@ func (c *CalendarListWatchCall) Header() http.Header { func (c *CalendarListWatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4775,7 +4775,7 @@ func (c *CalendarsClearCall) Header() http.Header { func (c *CalendarsClearCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4876,7 +4876,7 @@ func (c *CalendarsDeleteCall) Header() http.Header { func (c *CalendarsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4987,7 +4987,7 @@ func (c *CalendarsGetCall) Header() http.Header { func (c *CalendarsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5119,7 +5119,7 @@ func (c *CalendarsInsertCall) Header() http.Header { func (c *CalendarsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5244,7 +5244,7 @@ func (c *CalendarsPatchCall) Header() http.Header { func (c *CalendarsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5382,7 +5382,7 @@ func (c *CalendarsUpdateCall) Header() http.Header { func (c *CalendarsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5518,7 +5518,7 @@ func (c *ChannelsStopCall) Header() http.Header { func (c *ChannelsStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5626,7 +5626,7 @@ func (c *ColorsGetCall) Header() http.Header { func (c *ColorsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5772,7 +5772,7 @@ func (c *EventsDeleteCall) Header() http.Header { func (c *EventsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5940,7 +5940,7 @@ func (c *EventsGetCall) Header() http.Header { func (c *EventsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6122,7 +6122,7 @@ func (c *EventsImportCall) Header() http.Header { func (c *EventsImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6330,7 +6330,7 @@ func (c *EventsInsertCall) Header() http.Header { func (c *EventsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6595,7 +6595,7 @@ func (c *EventsInstancesCall) Header() http.Header { func (c *EventsInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7003,7 +7003,7 @@ func (c *EventsListCall) Header() http.Header { func (c *EventsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7293,7 +7293,7 @@ func (c *EventsMoveCall) Header() http.Header { func (c *EventsMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7527,7 +7527,7 @@ func (c *EventsPatchCall) Header() http.Header { func (c *EventsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7744,7 +7744,7 @@ func (c *EventsQuickAddCall) Header() http.Header { func (c *EventsQuickAddCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7970,7 +7970,7 @@ func (c *EventsUpdateCall) Header() http.Header { func (c *EventsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8344,7 +8344,7 @@ func (c *EventsWatchCall) Header() http.Header { func (c *EventsWatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8588,7 +8588,7 @@ func (c *FreebusyQueryCall) Header() http.Header { func (c *FreebusyQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8722,7 +8722,7 @@ func (c *SettingsGetCall) Header() http.Header { func (c *SettingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8893,7 +8893,7 @@ func (c *SettingsListCall) Header() http.Header { func (c *SettingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9082,7 +9082,7 @@ func (c *SettingsWatchCall) Header() http.Header { func (c *SettingsWatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/chat/v1/chat-gen.go b/chat/v1/chat-gen.go index adff0e197e0..421332bc58f 100644 --- a/chat/v1/chat-gen.go +++ b/chat/v1/chat-gen.go @@ -1689,7 +1689,7 @@ func (c *DmsMessagesCall) Header() http.Header { func (c *DmsMessagesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1846,7 +1846,7 @@ func (c *DmsConversationsMessagesCall) Header() http.Header { func (c *DmsConversationsMessagesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1998,7 +1998,7 @@ func (c *MediaDownloadCall) Header() http.Header { func (c *MediaDownloadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2162,7 +2162,7 @@ func (c *RoomsMessagesCall) Header() http.Header { func (c *RoomsMessagesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2319,7 +2319,7 @@ func (c *RoomsConversationsMessagesCall) Header() http.Header { func (c *RoomsConversationsMessagesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2470,7 +2470,7 @@ func (c *SpacesGetCall) Header() http.Header { func (c *SpacesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2624,7 +2624,7 @@ func (c *SpacesListCall) Header() http.Header { func (c *SpacesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2785,7 +2785,7 @@ func (c *SpacesMembersGetCall) Header() http.Header { func (c *SpacesMembersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2941,7 +2941,7 @@ func (c *SpacesMembersListCall) Header() http.Header { func (c *SpacesMembersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3119,7 +3119,7 @@ func (c *SpacesMessagesCreateCall) Header() http.Header { func (c *SpacesMessagesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3259,7 +3259,7 @@ func (c *SpacesMessagesDeleteCall) Header() http.Header { func (c *SpacesMessagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3397,7 +3397,7 @@ func (c *SpacesMessagesGetCall) Header() http.Header { func (c *SpacesMessagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3537,7 +3537,7 @@ func (c *SpacesMessagesUpdateCall) Header() http.Header { func (c *SpacesMessagesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3690,7 +3690,7 @@ func (c *SpacesMessagesAttachmentsGetCall) Header() http.Header { func (c *SpacesMessagesAttachmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/chromeuxreport/v1/chromeuxreport-gen.go b/chromeuxreport/v1/chromeuxreport-gen.go index 1d4770a060f..f1c43256b34 100644 --- a/chromeuxreport/v1/chromeuxreport-gen.go +++ b/chromeuxreport/v1/chromeuxreport-gen.go @@ -552,7 +552,7 @@ func (c *RecordsQueryRecordCall) Header() http.Header { func (c *RecordsQueryRecordCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/civicinfo/v2/civicinfo-gen.go b/civicinfo/v2/civicinfo-gen.go index 473b7b2c844..50961a868a5 100644 --- a/civicinfo/v2/civicinfo-gen.go +++ b/civicinfo/v2/civicinfo-gen.go @@ -1355,7 +1355,7 @@ func (c *DivisionsSearchCall) Header() http.Header { func (c *DivisionsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1487,7 +1487,7 @@ func (c *ElectionsElectionQueryCall) Header() http.Header { func (c *ElectionsElectionQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1643,7 +1643,7 @@ func (c *ElectionsVoterInfoQueryCall) Header() http.Header { func (c *ElectionsVoterInfoQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1855,7 +1855,7 @@ func (c *RepresentativesRepresentativeInfoByAddressCall) Header() http.Header { func (c *RepresentativesRepresentativeInfoByAddressCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2108,7 +2108,7 @@ func (c *RepresentativesRepresentativeInfoByDivisionCall) Header() http.Header { func (c *RepresentativesRepresentativeInfoByDivisionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/classroom/v1/classroom-gen.go b/classroom/v1/classroom-gen.go index 9f3dc1066f2..dc39180fd1c 100644 --- a/classroom/v1/classroom-gen.go +++ b/classroom/v1/classroom-gen.go @@ -3167,7 +3167,7 @@ func (c *CoursesCreateCall) Header() http.Header { func (c *CoursesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3295,7 +3295,7 @@ func (c *CoursesDeleteCall) Header() http.Header { func (c *CoursesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3438,7 +3438,7 @@ func (c *CoursesGetCall) Header() http.Header { func (c *CoursesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3653,7 +3653,7 @@ func (c *CoursesListCall) Header() http.Header { func (c *CoursesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3861,7 +3861,7 @@ func (c *CoursesPatchCall) Header() http.Header { func (c *CoursesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4010,7 +4010,7 @@ func (c *CoursesUpdateCall) Header() http.Header { func (c *CoursesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4155,7 +4155,7 @@ func (c *CoursesAliasesCreateCall) Header() http.Header { func (c *CoursesAliasesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4300,7 +4300,7 @@ func (c *CoursesAliasesDeleteCall) Header() http.Header { func (c *CoursesAliasesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4469,7 +4469,7 @@ func (c *CoursesAliasesListCall) Header() http.Header { func (c *CoursesAliasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4642,7 +4642,7 @@ func (c *CoursesAnnouncementsCreateCall) Header() http.Header { func (c *CoursesAnnouncementsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4790,7 +4790,7 @@ func (c *CoursesAnnouncementsDeleteCall) Header() http.Header { func (c *CoursesAnnouncementsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4944,7 +4944,7 @@ func (c *CoursesAnnouncementsGetCall) Header() http.Header { func (c *CoursesAnnouncementsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5152,7 +5152,7 @@ func (c *CoursesAnnouncementsListCall) Header() http.Header { func (c *CoursesAnnouncementsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5350,7 +5350,7 @@ func (c *CoursesAnnouncementsModifyAssigneesCall) Header() http.Header { func (c *CoursesAnnouncementsModifyAssigneesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5519,7 +5519,7 @@ func (c *CoursesAnnouncementsPatchCall) Header() http.Header { func (c *CoursesAnnouncementsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5684,7 +5684,7 @@ func (c *CoursesCourseWorkCreateCall) Header() http.Header { func (c *CoursesCourseWorkCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5832,7 +5832,7 @@ func (c *CoursesCourseWorkDeleteCall) Header() http.Header { func (c *CoursesCourseWorkDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5986,7 +5986,7 @@ func (c *CoursesCourseWorkGetCall) Header() http.Header { func (c *CoursesCourseWorkGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6195,7 +6195,7 @@ func (c *CoursesCourseWorkListCall) Header() http.Header { func (c *CoursesCourseWorkListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6395,7 +6395,7 @@ func (c *CoursesCourseWorkModifyAssigneesCall) Header() http.Header { func (c *CoursesCourseWorkModifyAssigneesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6572,7 +6572,7 @@ func (c *CoursesCourseWorkPatchCall) Header() http.Header { func (c *CoursesCourseWorkPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6742,7 +6742,7 @@ func (c *CoursesCourseWorkStudentSubmissionsGetCall) Header() http.Header { func (c *CoursesCourseWorkStudentSubmissionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6979,7 +6979,7 @@ func (c *CoursesCourseWorkStudentSubmissionsListCall) Header() http.Header { func (c *CoursesCourseWorkStudentSubmissionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7215,7 +7215,7 @@ func (c *CoursesCourseWorkStudentSubmissionsModifyAttachmentsCall) Header() http func (c *CoursesCourseWorkStudentSubmissionsModifyAttachmentsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7396,7 +7396,7 @@ func (c *CoursesCourseWorkStudentSubmissionsPatchCall) Header() http.Header { func (c *CoursesCourseWorkStudentSubmissionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7576,7 +7576,7 @@ func (c *CoursesCourseWorkStudentSubmissionsReclaimCall) Header() http.Header { func (c *CoursesCourseWorkStudentSubmissionsReclaimCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7748,7 +7748,7 @@ func (c *CoursesCourseWorkStudentSubmissionsReturnCall) Header() http.Header { func (c *CoursesCourseWorkStudentSubmissionsReturnCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7918,7 +7918,7 @@ func (c *CoursesCourseWorkStudentSubmissionsTurnInCall) Header() http.Header { func (c *CoursesCourseWorkStudentSubmissionsTurnInCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8080,7 +8080,7 @@ func (c *CoursesCourseWorkMaterialsCreateCall) Header() http.Header { func (c *CoursesCourseWorkMaterialsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8228,7 +8228,7 @@ func (c *CoursesCourseWorkMaterialsDeleteCall) Header() http.Header { func (c *CoursesCourseWorkMaterialsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8383,7 +8383,7 @@ func (c *CoursesCourseWorkMaterialsGetCall) Header() http.Header { func (c *CoursesCourseWorkMaterialsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8611,7 +8611,7 @@ func (c *CoursesCourseWorkMaterialsListCall) Header() http.Header { func (c *CoursesCourseWorkMaterialsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8834,7 +8834,7 @@ func (c *CoursesCourseWorkMaterialsPatchCall) Header() http.Header { func (c *CoursesCourseWorkMaterialsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9005,7 +9005,7 @@ func (c *CoursesStudentsCreateCall) Header() http.Header { func (c *CoursesStudentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9155,7 +9155,7 @@ func (c *CoursesStudentsDeleteCall) Header() http.Header { func (c *CoursesStudentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9309,7 +9309,7 @@ func (c *CoursesStudentsGetCall) Header() http.Header { func (c *CoursesStudentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9483,7 +9483,7 @@ func (c *CoursesStudentsListCall) Header() http.Header { func (c *CoursesStudentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9660,7 +9660,7 @@ func (c *CoursesTeachersCreateCall) Header() http.Header { func (c *CoursesTeachersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9806,7 +9806,7 @@ func (c *CoursesTeachersDeleteCall) Header() http.Header { func (c *CoursesTeachersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9960,7 +9960,7 @@ func (c *CoursesTeachersGetCall) Header() http.Header { func (c *CoursesTeachersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10134,7 +10134,7 @@ func (c *CoursesTeachersListCall) Header() http.Header { func (c *CoursesTeachersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10307,7 +10307,7 @@ func (c *CoursesTopicsCreateCall) Header() http.Header { func (c *CoursesTopicsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10451,7 +10451,7 @@ func (c *CoursesTopicsDeleteCall) Header() http.Header { func (c *CoursesTopicsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10605,7 +10605,7 @@ func (c *CoursesTopicsGetCall) Header() http.Header { func (c *CoursesTopicsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10780,7 +10780,7 @@ func (c *CoursesTopicsListCall) Header() http.Header { func (c *CoursesTopicsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10966,7 +10966,7 @@ func (c *CoursesTopicsPatchCall) Header() http.Header { func (c *CoursesTopicsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11125,7 +11125,7 @@ func (c *InvitationsAcceptCall) Header() http.Header { func (c *InvitationsAcceptCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11262,7 +11262,7 @@ func (c *InvitationsCreateCall) Header() http.Header { func (c *InvitationsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11390,7 +11390,7 @@ func (c *InvitationsDeleteCall) Header() http.Header { func (c *InvitationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11533,7 +11533,7 @@ func (c *InvitationsGetCall) Header() http.Header { func (c *InvitationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11713,7 +11713,7 @@ func (c *InvitationsListCall) Header() http.Header { func (c *InvitationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11900,7 +11900,7 @@ func (c *RegistrationsCreateCall) Header() http.Header { func (c *RegistrationsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12026,7 +12026,7 @@ func (c *RegistrationsDeleteCall) Header() http.Header { func (c *RegistrationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12169,7 +12169,7 @@ func (c *UserProfilesGetCall) Header() http.Header { func (c *UserProfilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12330,7 +12330,7 @@ func (c *UserProfilesGuardianInvitationsCreateCall) Header() http.Header { func (c *UserProfilesGuardianInvitationsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12490,7 +12490,7 @@ func (c *UserProfilesGuardianInvitationsGetCall) Header() http.Header { func (c *UserProfilesGuardianInvitationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12694,7 +12694,7 @@ func (c *UserProfilesGuardianInvitationsListCall) Header() http.Header { func (c *UserProfilesGuardianInvitationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12908,7 +12908,7 @@ func (c *UserProfilesGuardianInvitationsPatchCall) Header() http.Header { func (c *UserProfilesGuardianInvitationsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13073,7 +13073,7 @@ func (c *UserProfilesGuardiansDeleteCall) Header() http.Header { func (c *UserProfilesGuardiansDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13234,7 +13234,7 @@ func (c *UserProfilesGuardiansGetCall) Header() http.Header { func (c *UserProfilesGuardiansGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13430,7 +13430,7 @@ func (c *UserProfilesGuardiansListCall) Header() http.Header { func (c *UserProfilesGuardiansListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudasset/v1/cloudasset-gen.go b/cloudasset/v1/cloudasset-gen.go index bb8aee1e381..89feacbbbb8 100644 --- a/cloudasset/v1/cloudasset-gen.go +++ b/cloudasset/v1/cloudasset-gen.go @@ -3909,7 +3909,7 @@ func (c *FeedsCreateCall) Header() http.Header { func (c *FeedsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4047,7 +4047,7 @@ func (c *FeedsDeleteCall) Header() http.Header { func (c *FeedsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4188,7 +4188,7 @@ func (c *FeedsGetCall) Header() http.Header { func (c *FeedsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4332,7 +4332,7 @@ func (c *FeedsListCall) Header() http.Header { func (c *FeedsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4467,7 +4467,7 @@ func (c *FeedsPatchCall) Header() http.Header { func (c *FeedsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4618,7 +4618,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4908,7 +4908,7 @@ func (c *V1AnalyzeIamPolicyCall) Header() http.Header { func (c *V1AnalyzeIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5110,7 +5110,7 @@ func (c *V1AnalyzeIamPolicyLongrunningCall) Header() http.Header { func (c *V1AnalyzeIamPolicyLongrunningCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5309,7 +5309,7 @@ func (c *V1BatchGetAssetsHistoryCall) Header() http.Header { func (c *V1BatchGetAssetsHistoryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5493,7 +5493,7 @@ func (c *V1ExportAssetsCall) Header() http.Header { func (c *V1ExportAssetsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5694,7 +5694,7 @@ func (c *V1SearchAllIamPoliciesCall) Header() http.Header { func (c *V1SearchAllIamPoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5956,7 +5956,7 @@ func (c *V1SearchAllResourcesCall) Header() http.Header { func (c *V1SearchAllResourcesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudasset/v1beta1/cloudasset-gen.go b/cloudasset/v1beta1/cloudasset-gen.go index d9e693d7bbf..d377f5df028 100644 --- a/cloudasset/v1beta1/cloudasset-gen.go +++ b/cloudasset/v1beta1/cloudasset-gen.go @@ -1876,7 +1876,7 @@ func (c *FoldersExportAssetsCall) Header() http.Header { func (c *FoldersExportAssetsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2027,7 +2027,7 @@ func (c *FoldersOperationsGetCall) Header() http.Header { func (c *FoldersOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2218,7 +2218,7 @@ func (c *OrganizationsBatchGetAssetsHistoryCall) Header() http.Header { func (c *OrganizationsBatchGetAssetsHistoryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2392,7 +2392,7 @@ func (c *OrganizationsExportAssetsCall) Header() http.Header { func (c *OrganizationsExportAssetsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2543,7 +2543,7 @@ func (c *OrganizationsOperationsGetCall) Header() http.Header { func (c *OrganizationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2734,7 +2734,7 @@ func (c *ProjectsBatchGetAssetsHistoryCall) Header() http.Header { func (c *ProjectsBatchGetAssetsHistoryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2908,7 +2908,7 @@ func (c *ProjectsExportAssetsCall) Header() http.Header { func (c *ProjectsExportAssetsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3059,7 +3059,7 @@ func (c *ProjectsOperationsGetCall) Header() http.Header { func (c *ProjectsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudasset/v1p1beta1/cloudasset-gen.go b/cloudasset/v1p1beta1/cloudasset-gen.go index fdf7d4acd10..a9a3d4ecea7 100644 --- a/cloudasset/v1p1beta1/cloudasset-gen.go +++ b/cloudasset/v1p1beta1/cloudasset-gen.go @@ -837,7 +837,7 @@ func (c *IamPoliciesSearchAllCall) Header() http.Header { func (c *IamPoliciesSearchAllCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1069,7 +1069,7 @@ func (c *ResourcesSearchAllCall) Header() http.Header { func (c *ResourcesSearchAllCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudasset/v1p4beta1/cloudasset-gen.go b/cloudasset/v1p4beta1/cloudasset-gen.go index f242c3a1a09..10539490ed0 100644 --- a/cloudasset/v1p4beta1/cloudasset-gen.go +++ b/cloudasset/v1p4beta1/cloudasset-gen.go @@ -1402,7 +1402,7 @@ func (c *V1p4beta1AnalyzeIamPolicyCall) Header() http.Header { func (c *V1p4beta1AnalyzeIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1602,7 +1602,7 @@ func (c *V1p4beta1ExportIamPolicyAnalysisCall) Header() http.Header { func (c *V1p4beta1ExportIamPolicyAnalysisCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudasset/v1p5beta1/cloudasset-gen.go b/cloudasset/v1p5beta1/cloudasset-gen.go index 2280c29a748..d7a854dcbb0 100644 --- a/cloudasset/v1p5beta1/cloudasset-gen.go +++ b/cloudasset/v1p5beta1/cloudasset-gen.go @@ -1603,7 +1603,7 @@ func (c *AssetsListCall) Header() http.Header { func (c *AssetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudbilling/v1/cloudbilling-gen.go b/cloudbilling/v1/cloudbilling-gen.go index 68c00fb0349..263015341d6 100644 --- a/cloudbilling/v1/cloudbilling-gen.go +++ b/cloudbilling/v1/cloudbilling-gen.go @@ -1427,7 +1427,7 @@ func (c *BillingAccountsCreateCall) Header() http.Header { func (c *BillingAccountsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1566,7 +1566,7 @@ func (c *BillingAccountsGetCall) Header() http.Header { func (c *BillingAccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1731,7 +1731,7 @@ func (c *BillingAccountsGetIamPolicyCall) Header() http.Header { func (c *BillingAccountsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1912,7 +1912,7 @@ func (c *BillingAccountsListCall) Header() http.Header { func (c *BillingAccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2086,7 +2086,7 @@ func (c *BillingAccountsPatchCall) Header() http.Header { func (c *BillingAccountsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2238,7 +2238,7 @@ func (c *BillingAccountsSetIamPolicyCall) Header() http.Header { func (c *BillingAccountsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2382,7 +2382,7 @@ func (c *BillingAccountsTestIamPermissionsCall) Header() http.Header { func (c *BillingAccountsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2555,7 +2555,7 @@ func (c *BillingAccountsProjectsListCall) Header() http.Header { func (c *BillingAccountsProjectsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2736,7 +2736,7 @@ func (c *ProjectsGetBillingInfoCall) Header() http.Header { func (c *ProjectsGetBillingInfoCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2900,7 +2900,7 @@ func (c *ProjectsUpdateBillingInfoCall) Header() http.Header { func (c *ProjectsUpdateBillingInfoCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3064,7 +3064,7 @@ func (c *ServicesListCall) Header() http.Header { func (c *ServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3277,7 +3277,7 @@ func (c *ServicesSkusListCall) Header() http.Header { func (c *ServicesSkusListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudbuild/v1/cloudbuild-gen.go b/cloudbuild/v1/cloudbuild-gen.go index ef33a8939da..6cfe232062c 100644 --- a/cloudbuild/v1/cloudbuild-gen.go +++ b/cloudbuild/v1/cloudbuild-gen.go @@ -2083,7 +2083,7 @@ func (c *OperationsCancelCall) Header() http.Header { func (c *OperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2234,7 +2234,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2371,7 +2371,7 @@ func (c *ProjectsBuildsCancelCall) Header() http.Header { func (c *ProjectsBuildsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2529,7 +2529,7 @@ func (c *ProjectsBuildsCreateCall) Header() http.Header { func (c *ProjectsBuildsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2694,7 +2694,7 @@ func (c *ProjectsBuildsGetCall) Header() http.Header { func (c *ProjectsBuildsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2885,7 +2885,7 @@ func (c *ProjectsBuildsListCall) Header() http.Header { func (c *ProjectsBuildsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3080,7 +3080,7 @@ func (c *ProjectsBuildsRetryCall) Header() http.Header { func (c *ProjectsBuildsRetryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3227,7 +3227,7 @@ func (c *ProjectsLocationsBuildsCancelCall) Header() http.Header { func (c *ProjectsLocationsBuildsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3377,7 +3377,7 @@ func (c *ProjectsLocationsBuildsCreateCall) Header() http.Header { func (c *ProjectsLocationsBuildsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3546,7 +3546,7 @@ func (c *ProjectsLocationsBuildsGetCall) Header() http.Header { func (c *ProjectsLocationsBuildsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3734,7 +3734,7 @@ func (c *ProjectsLocationsBuildsListCall) Header() http.Header { func (c *ProjectsLocationsBuildsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3928,7 +3928,7 @@ func (c *ProjectsLocationsBuildsRetryCall) Header() http.Header { func (c *ProjectsLocationsBuildsRetryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4077,7 +4077,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4228,7 +4228,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4363,7 +4363,7 @@ func (c *ProjectsTriggersCreateCall) Header() http.Header { func (c *ProjectsTriggersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4503,7 +4503,7 @@ func (c *ProjectsTriggersDeleteCall) Header() http.Header { func (c *ProjectsTriggersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4654,7 +4654,7 @@ func (c *ProjectsTriggersGetCall) Header() http.Header { func (c *ProjectsTriggersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4819,7 +4819,7 @@ func (c *ProjectsTriggersListCall) Header() http.Header { func (c *ProjectsTriggersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4988,7 +4988,7 @@ func (c *ProjectsTriggersPatchCall) Header() http.Header { func (c *ProjectsTriggersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5137,7 +5137,7 @@ func (c *ProjectsTriggersRunCall) Header() http.Header { func (c *ProjectsTriggersRunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudbuild/v1alpha1/cloudbuild-gen.go b/cloudbuild/v1alpha1/cloudbuild-gen.go index 8cf03a60cd9..b1b43812cfe 100644 --- a/cloudbuild/v1alpha1/cloudbuild-gen.go +++ b/cloudbuild/v1alpha1/cloudbuild-gen.go @@ -1889,7 +1889,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2040,7 +2040,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2176,7 +2176,7 @@ func (c *ProjectsWorkerPoolsCreateCall) Header() http.Header { func (c *ProjectsWorkerPoolsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2314,7 +2314,7 @@ func (c *ProjectsWorkerPoolsDeleteCall) Header() http.Header { func (c *ProjectsWorkerPoolsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2455,7 +2455,7 @@ func (c *ProjectsWorkerPoolsGetCall) Header() http.Header { func (c *ProjectsWorkerPoolsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2599,7 +2599,7 @@ func (c *ProjectsWorkerPoolsListCall) Header() http.Header { func (c *ProjectsWorkerPoolsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2734,7 +2734,7 @@ func (c *ProjectsWorkerPoolsPatchCall) Header() http.Header { func (c *ProjectsWorkerPoolsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudbuild/v1alpha2/cloudbuild-gen.go b/cloudbuild/v1alpha2/cloudbuild-gen.go index dead857fe65..ab64b5709b6 100644 --- a/cloudbuild/v1alpha2/cloudbuild-gen.go +++ b/cloudbuild/v1alpha2/cloudbuild-gen.go @@ -1847,7 +1847,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1998,7 +1998,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2143,7 +2143,7 @@ func (c *ProjectsWorkerPoolsCreateCall) Header() http.Header { func (c *ProjectsWorkerPoolsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2286,7 +2286,7 @@ func (c *ProjectsWorkerPoolsDeleteCall) Header() http.Header { func (c *ProjectsWorkerPoolsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2427,7 +2427,7 @@ func (c *ProjectsWorkerPoolsGetCall) Header() http.Header { func (c *ProjectsWorkerPoolsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2571,7 +2571,7 @@ func (c *ProjectsWorkerPoolsListCall) Header() http.Header { func (c *ProjectsWorkerPoolsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2713,7 +2713,7 @@ func (c *ProjectsWorkerPoolsPatchCall) Header() http.Header { func (c *ProjectsWorkerPoolsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/clouddebugger/v2/clouddebugger-gen.go b/clouddebugger/v2/clouddebugger-gen.go index 99c55252802..c4acd2141c4 100644 --- a/clouddebugger/v2/clouddebugger-gen.go +++ b/clouddebugger/v2/clouddebugger-gen.go @@ -1435,7 +1435,7 @@ func (c *ControllerDebuggeesRegisterCall) Header() http.Header { func (c *ControllerDebuggeesRegisterCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1610,7 +1610,7 @@ func (c *ControllerDebuggeesBreakpointsListCall) Header() http.Header { func (c *ControllerDebuggeesBreakpointsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1769,7 +1769,7 @@ func (c *ControllerDebuggeesBreakpointsUpdateCall) Header() http.Header { func (c *ControllerDebuggeesBreakpointsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1947,7 +1947,7 @@ func (c *DebuggerDebuggeesListCall) Header() http.Header { func (c *DebuggerDebuggeesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2094,7 +2094,7 @@ func (c *DebuggerDebuggeesBreakpointsDeleteCall) Header() http.Header { func (c *DebuggerDebuggeesBreakpointsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2258,7 +2258,7 @@ func (c *DebuggerDebuggeesBreakpointsGetCall) Header() http.Header { func (c *DebuggerDebuggeesBreakpointsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2472,7 +2472,7 @@ func (c *DebuggerDebuggeesBreakpointsListCall) Header() http.Header { func (c *DebuggerDebuggeesBreakpointsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2670,7 +2670,7 @@ func (c *DebuggerDebuggeesBreakpointsSetCall) Header() http.Header { func (c *DebuggerDebuggeesBreakpointsSetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/clouderrorreporting/v1beta1/clouderrorreporting-gen.go b/clouderrorreporting/v1beta1/clouderrorreporting-gen.go index 7c647d31750..6cbf05a3e2b 100644 --- a/clouderrorreporting/v1beta1/clouderrorreporting-gen.go +++ b/clouderrorreporting/v1beta1/clouderrorreporting-gen.go @@ -854,7 +854,7 @@ func (c *ProjectsDeleteEventsCall) Header() http.Header { func (c *ProjectsDeleteEventsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1063,7 +1063,7 @@ func (c *ProjectsEventsListCall) Header() http.Header { func (c *ProjectsEventsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1276,7 +1276,7 @@ func (c *ProjectsEventsReportCall) Header() http.Header { func (c *ProjectsEventsReportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1550,7 +1550,7 @@ func (c *ProjectsGroupStatsListCall) Header() http.Header { func (c *ProjectsGroupStatsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1814,7 +1814,7 @@ func (c *ProjectsGroupsGetCall) Header() http.Header { func (c *ProjectsGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1950,7 +1950,7 @@ func (c *ProjectsGroupsUpdateCall) Header() http.Header { func (c *ProjectsGroupsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudfunctions/v1/cloudfunctions-gen.go b/cloudfunctions/v1/cloudfunctions-gen.go index e1ad11d90c2..b2d471cfecb 100644 --- a/cloudfunctions/v1/cloudfunctions-gen.go +++ b/cloudfunctions/v1/cloudfunctions-gen.go @@ -1525,7 +1525,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1710,7 +1710,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1906,7 +1906,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2081,7 +2081,7 @@ func (c *ProjectsLocationsFunctionsCallCall) Header() http.Header { func (c *ProjectsLocationsFunctionsCallCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2223,7 +2223,7 @@ func (c *ProjectsLocationsFunctionsCreateCall) Header() http.Header { func (c *ProjectsLocationsFunctionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2363,7 +2363,7 @@ func (c *ProjectsLocationsFunctionsDeleteCall) Header() http.Header { func (c *ProjectsLocationsFunctionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2499,7 +2499,7 @@ func (c *ProjectsLocationsFunctionsGenerateDownloadUrlCall) Header() http.Header func (c *ProjectsLocationsFunctionsGenerateDownloadUrlCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2654,7 +2654,7 @@ func (c *ProjectsLocationsFunctionsGenerateUploadUrlCall) Header() http.Header { func (c *ProjectsLocationsFunctionsGenerateUploadUrlCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2804,7 +2804,7 @@ func (c *ProjectsLocationsFunctionsGetCall) Header() http.Header { func (c *ProjectsLocationsFunctionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2965,7 +2965,7 @@ func (c *ProjectsLocationsFunctionsGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsFunctionsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3132,7 +3132,7 @@ func (c *ProjectsLocationsFunctionsListCall) Header() http.Header { func (c *ProjectsLocationsFunctionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3306,7 +3306,7 @@ func (c *ProjectsLocationsFunctionsPatchCall) Header() http.Header { func (c *ProjectsLocationsFunctionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3453,7 +3453,7 @@ func (c *ProjectsLocationsFunctionsSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsFunctionsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3595,7 +3595,7 @@ func (c *ProjectsLocationsFunctionsTestIamPermissionsCall) Header() http.Header func (c *ProjectsLocationsFunctionsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudidentity/v1/cloudidentity-gen.go b/cloudidentity/v1/cloudidentity-gen.go index 0bf18dbc668..38c28021bc6 100644 --- a/cloudidentity/v1/cloudidentity-gen.go +++ b/cloudidentity/v1/cloudidentity-gen.go @@ -1869,7 +1869,7 @@ func (c *DevicesCancelWipeCall) Header() http.Header { func (c *DevicesCancelWipeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2015,7 +2015,7 @@ func (c *DevicesCreateCall) Header() http.Header { func (c *DevicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2154,7 +2154,7 @@ func (c *DevicesDeleteCall) Header() http.Header { func (c *DevicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2310,7 +2310,7 @@ func (c *DevicesGetCall) Header() http.Header { func (c *DevicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2526,7 +2526,7 @@ func (c *DevicesListCall) Header() http.Header { func (c *DevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2710,7 +2710,7 @@ func (c *DevicesWipeCall) Header() http.Header { func (c *DevicesWipeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2847,7 +2847,7 @@ func (c *DevicesDeviceUsersApproveCall) Header() http.Header { func (c *DevicesDeviceUsersApproveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2984,7 +2984,7 @@ func (c *DevicesDeviceUsersBlockCall) Header() http.Header { func (c *DevicesDeviceUsersBlockCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3123,7 +3123,7 @@ func (c *DevicesDeviceUsersCancelWipeCall) Header() http.Header { func (c *DevicesDeviceUsersCancelWipeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3270,7 +3270,7 @@ func (c *DevicesDeviceUsersDeleteCall) Header() http.Header { func (c *DevicesDeviceUsersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3424,7 +3424,7 @@ func (c *DevicesDeviceUsersGetCall) Header() http.Header { func (c *DevicesDeviceUsersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3620,7 +3620,7 @@ func (c *DevicesDeviceUsersListCall) Header() http.Header { func (c *DevicesDeviceUsersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3871,7 +3871,7 @@ func (c *DevicesDeviceUsersLookupCall) Header() http.Header { func (c *DevicesDeviceUsersLookupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4062,7 +4062,7 @@ func (c *DevicesDeviceUsersWipeCall) Header() http.Header { func (c *DevicesDeviceUsersWipeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4219,7 +4219,7 @@ func (c *DevicesDeviceUsersClientStatesGetCall) Header() http.Header { func (c *DevicesDeviceUsersClientStatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4402,7 +4402,7 @@ func (c *DevicesDeviceUsersClientStatesListCall) Header() http.Header { func (c *DevicesDeviceUsersClientStatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4597,7 +4597,7 @@ func (c *DevicesDeviceUsersClientStatesPatchCall) Header() http.Header { func (c *DevicesDeviceUsersClientStatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4757,7 +4757,7 @@ func (c *GroupsCreateCall) Header() http.Header { func (c *GroupsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4899,7 +4899,7 @@ func (c *GroupsDeleteCall) Header() http.Header { func (c *GroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5041,7 +5041,7 @@ func (c *GroupsGetCall) Header() http.Header { func (c *GroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5227,7 +5227,7 @@ func (c *GroupsListCall) Header() http.Header { func (c *GroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5435,7 +5435,7 @@ func (c *GroupsLookupCall) Header() http.Header { func (c *GroupsLookupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5578,7 +5578,7 @@ func (c *GroupsPatchCall) Header() http.Header { func (c *GroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5776,7 +5776,7 @@ func (c *GroupsSearchCall) Header() http.Header { func (c *GroupsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5953,7 +5953,7 @@ func (c *GroupsMembershipsCreateCall) Header() http.Header { func (c *GroupsMembershipsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6092,7 +6092,7 @@ func (c *GroupsMembershipsDeleteCall) Header() http.Header { func (c *GroupsMembershipsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6234,7 +6234,7 @@ func (c *GroupsMembershipsGetCall) Header() http.Header { func (c *GroupsMembershipsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6413,7 +6413,7 @@ func (c *GroupsMembershipsListCall) Header() http.Header { func (c *GroupsMembershipsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6630,7 +6630,7 @@ func (c *GroupsMembershipsLookupCall) Header() http.Header { func (c *GroupsMembershipsLookupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6778,7 +6778,7 @@ func (c *GroupsMembershipsModifyMembershipRolesCall) Header() http.Header { func (c *GroupsMembershipsModifyMembershipRolesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudidentity/v1beta1/cloudidentity-gen.go b/cloudidentity/v1beta1/cloudidentity-gen.go index c940aeeb392..102f101980b 100644 --- a/cloudidentity/v1beta1/cloudidentity-gen.go +++ b/cloudidentity/v1beta1/cloudidentity-gen.go @@ -3065,7 +3065,7 @@ func (c *DevicesCancelWipeCall) Header() http.Header { func (c *DevicesCancelWipeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3200,7 +3200,7 @@ func (c *DevicesCreateCall) Header() http.Header { func (c *DevicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3333,7 +3333,7 @@ func (c *DevicesDeleteCall) Header() http.Header { func (c *DevicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3485,7 +3485,7 @@ func (c *DevicesGetCall) Header() http.Header { func (c *DevicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3694,7 +3694,7 @@ func (c *DevicesListCall) Header() http.Header { func (c *DevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3876,7 +3876,7 @@ func (c *DevicesWipeCall) Header() http.Header { func (c *DevicesWipeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4013,7 +4013,7 @@ func (c *DevicesDeviceUsersApproveCall) Header() http.Header { func (c *DevicesDeviceUsersApproveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4150,7 +4150,7 @@ func (c *DevicesDeviceUsersBlockCall) Header() http.Header { func (c *DevicesDeviceUsersBlockCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4289,7 +4289,7 @@ func (c *DevicesDeviceUsersCancelWipeCall) Header() http.Header { func (c *DevicesDeviceUsersCancelWipeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4436,7 +4436,7 @@ func (c *DevicesDeviceUsersDeleteCall) Header() http.Header { func (c *DevicesDeviceUsersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4590,7 +4590,7 @@ func (c *DevicesDeviceUsersGetCall) Header() http.Header { func (c *DevicesDeviceUsersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4784,7 +4784,7 @@ func (c *DevicesDeviceUsersListCall) Header() http.Header { func (c *DevicesDeviceUsersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5032,7 +5032,7 @@ func (c *DevicesDeviceUsersLookupCall) Header() http.Header { func (c *DevicesDeviceUsersLookupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5214,7 +5214,7 @@ func (c *DevicesDeviceUsersWipeCall) Header() http.Header { func (c *DevicesDeviceUsersWipeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5371,7 +5371,7 @@ func (c *DevicesDeviceUsersClientStatesGetCall) Header() http.Header { func (c *DevicesDeviceUsersClientStatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5527,7 +5527,7 @@ func (c *DevicesDeviceUsersClientStatesPatchCall) Header() http.Header { func (c *DevicesDeviceUsersClientStatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5687,7 +5687,7 @@ func (c *GroupsCreateCall) Header() http.Header { func (c *GroupsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5829,7 +5829,7 @@ func (c *GroupsDeleteCall) Header() http.Header { func (c *GroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5971,7 +5971,7 @@ func (c *GroupsGetCall) Header() http.Header { func (c *GroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6157,7 +6157,7 @@ func (c *GroupsListCall) Header() http.Header { func (c *GroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6365,7 +6365,7 @@ func (c *GroupsLookupCall) Header() http.Header { func (c *GroupsLookupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6508,7 +6508,7 @@ func (c *GroupsPatchCall) Header() http.Header { func (c *GroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6705,7 +6705,7 @@ func (c *GroupsSearchCall) Header() http.Header { func (c *GroupsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6907,7 +6907,7 @@ func (c *GroupsMembershipsCheckTransitiveMembershipCall) Header() http.Header { func (c *GroupsMembershipsCheckTransitiveMembershipCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7050,7 +7050,7 @@ func (c *GroupsMembershipsCreateCall) Header() http.Header { func (c *GroupsMembershipsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7189,7 +7189,7 @@ func (c *GroupsMembershipsDeleteCall) Header() http.Header { func (c *GroupsMembershipsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7331,7 +7331,7 @@ func (c *GroupsMembershipsGetCall) Header() http.Header { func (c *GroupsMembershipsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7494,7 +7494,7 @@ func (c *GroupsMembershipsGetMembershipGraphCall) Header() http.Header { func (c *GroupsMembershipsGetMembershipGraphCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7677,7 +7677,7 @@ func (c *GroupsMembershipsListCall) Header() http.Header { func (c *GroupsMembershipsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7892,7 +7892,7 @@ func (c *GroupsMembershipsLookupCall) Header() http.Header { func (c *GroupsMembershipsLookupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8040,7 +8040,7 @@ func (c *GroupsMembershipsModifyMembershipRolesCall) Header() http.Header { func (c *GroupsMembershipsModifyMembershipRolesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8222,7 +8222,7 @@ func (c *GroupsMembershipsSearchTransitiveGroupsCall) Header() http.Header { func (c *GroupsMembershipsSearchTransitiveGroupsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8424,7 +8424,7 @@ func (c *GroupsMembershipsSearchTransitiveMembershipsCall) Header() http.Header func (c *GroupsMembershipsSearchTransitiveMembershipsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudiot/v1/cloudiot-gen.go b/cloudiot/v1/cloudiot-gen.go index 0f72ddd1bdf..cbb5f3af360 100644 --- a/cloudiot/v1/cloudiot-gen.go +++ b/cloudiot/v1/cloudiot-gen.go @@ -1786,7 +1786,7 @@ func (c *ProjectsLocationsRegistriesBindDeviceToGatewayCall) Header() http.Heade func (c *ProjectsLocationsRegistriesBindDeviceToGatewayCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1927,7 +1927,7 @@ func (c *ProjectsLocationsRegistriesCreateCall) Header() http.Header { func (c *ProjectsLocationsRegistriesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2066,7 +2066,7 @@ func (c *ProjectsLocationsRegistriesDeleteCall) Header() http.Header { func (c *ProjectsLocationsRegistriesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2208,7 +2208,7 @@ func (c *ProjectsLocationsRegistriesGetCall) Header() http.Header { func (c *ProjectsLocationsRegistriesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2346,7 +2346,7 @@ func (c *ProjectsLocationsRegistriesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsRegistriesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2515,7 +2515,7 @@ func (c *ProjectsLocationsRegistriesListCall) Header() http.Header { func (c *ProjectsLocationsRegistriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2694,7 +2694,7 @@ func (c *ProjectsLocationsRegistriesPatchCall) Header() http.Header { func (c *ProjectsLocationsRegistriesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2842,7 +2842,7 @@ func (c *ProjectsLocationsRegistriesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsRegistriesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2985,7 +2985,7 @@ func (c *ProjectsLocationsRegistriesTestIamPermissionsCall) Header() http.Header func (c *ProjectsLocationsRegistriesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3127,7 +3127,7 @@ func (c *ProjectsLocationsRegistriesUnbindDeviceFromGatewayCall) Header() http.H func (c *ProjectsLocationsRegistriesUnbindDeviceFromGatewayCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3268,7 +3268,7 @@ func (c *ProjectsLocationsRegistriesDevicesCreateCall) Header() http.Header { func (c *ProjectsLocationsRegistriesDevicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3407,7 +3407,7 @@ func (c *ProjectsLocationsRegistriesDevicesDeleteCall) Header() http.Header { func (c *ProjectsLocationsRegistriesDevicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3557,7 +3557,7 @@ func (c *ProjectsLocationsRegistriesDevicesGetCall) Header() http.Header { func (c *ProjectsLocationsRegistriesDevicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3793,7 +3793,7 @@ func (c *ProjectsLocationsRegistriesDevicesListCall) Header() http.Header { func (c *ProjectsLocationsRegistriesDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4007,7 +4007,7 @@ func (c *ProjectsLocationsRegistriesDevicesModifyCloudToDeviceConfigCall) Header func (c *ProjectsLocationsRegistriesDevicesModifyCloudToDeviceConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4158,7 +4158,7 @@ func (c *ProjectsLocationsRegistriesDevicesPatchCall) Header() http.Header { func (c *ProjectsLocationsRegistriesDevicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4318,7 +4318,7 @@ func (c *ProjectsLocationsRegistriesDevicesSendCommandToDeviceCall) Header() htt func (c *ProjectsLocationsRegistriesDevicesSendCommandToDeviceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4478,7 +4478,7 @@ func (c *ProjectsLocationsRegistriesDevicesConfigVersionsListCall) Header() http func (c *ProjectsLocationsRegistriesDevicesConfigVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4639,7 +4639,7 @@ func (c *ProjectsLocationsRegistriesDevicesStatesListCall) Header() http.Header func (c *ProjectsLocationsRegistriesDevicesStatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4783,7 +4783,7 @@ func (c *ProjectsLocationsRegistriesGroupsGetIamPolicyCall) Header() http.Header func (c *ProjectsLocationsRegistriesGroupsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4925,7 +4925,7 @@ func (c *ProjectsLocationsRegistriesGroupsSetIamPolicyCall) Header() http.Header func (c *ProjectsLocationsRegistriesGroupsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5068,7 +5068,7 @@ func (c *ProjectsLocationsRegistriesGroupsTestIamPermissionsCall) Header() http. func (c *ProjectsLocationsRegistriesGroupsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5303,7 +5303,7 @@ func (c *ProjectsLocationsRegistriesGroupsDevicesListCall) Header() http.Header func (c *ProjectsLocationsRegistriesGroupsDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudkms/v1/cloudkms-gen.go b/cloudkms/v1/cloudkms-gen.go index a7549dbfaa7..780df62ec2f 100644 --- a/cloudkms/v1/cloudkms-gen.go +++ b/cloudkms/v1/cloudkms-gen.go @@ -2363,7 +2363,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2530,7 +2530,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2711,7 +2711,7 @@ func (c *ProjectsLocationsKeyRingsCreateCall) Header() http.Header { func (c *ProjectsLocationsKeyRingsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2866,7 +2866,7 @@ func (c *ProjectsLocationsKeyRingsGetCall) Header() http.Header { func (c *ProjectsLocationsKeyRingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3028,7 +3028,7 @@ func (c *ProjectsLocationsKeyRingsGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsKeyRingsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3216,7 +3216,7 @@ func (c *ProjectsLocationsKeyRingsListCall) Header() http.Header { func (c *ProjectsLocationsKeyRingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3396,7 +3396,7 @@ func (c *ProjectsLocationsKeyRingsSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsKeyRingsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3542,7 +3542,7 @@ func (c *ProjectsLocationsKeyRingsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsLocationsKeyRingsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3702,7 +3702,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysCreateCall) Header() http.Header { func (c *ProjectsLocationsKeyRingsCryptoKeysCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3854,7 +3854,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysDecryptCall) Header() http.Header { func (c *ProjectsLocationsKeyRingsCryptoKeysDecryptCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3996,7 +3996,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysEncryptCall) Header() http.Header { func (c *ProjectsLocationsKeyRingsCryptoKeysEncryptCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4147,7 +4147,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysGetCall) Header() http.Header { func (c *ProjectsLocationsKeyRingsCryptoKeysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4309,7 +4309,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysGetIamPolicyCall) Header() http.Head func (c *ProjectsLocationsKeyRingsCryptoKeysGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4510,7 +4510,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysListCall) Header() http.Header { func (c *ProjectsLocationsKeyRingsCryptoKeysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4708,7 +4708,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysPatchCall) Header() http.Header { func (c *ProjectsLocationsKeyRingsCryptoKeysPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4857,7 +4857,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysSetIamPolicyCall) Header() http.Head func (c *ProjectsLocationsKeyRingsCryptoKeysSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5003,7 +5003,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysTestIamPermissionsCall) Header() htt func (c *ProjectsLocationsKeyRingsCryptoKeysTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5145,7 +5145,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysUpdatePrimaryVersionCall) Header() h func (c *ProjectsLocationsKeyRingsCryptoKeysUpdatePrimaryVersionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5288,7 +5288,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsAsymmetricDecryptCa func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsAsymmetricDecryptCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5431,7 +5431,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsAsymmetricSignCall) func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsAsymmetricSignCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5574,7 +5574,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsCreateCall) Header( func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5721,7 +5721,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsDestroyCall) Header func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsDestroyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5871,7 +5871,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsGetCall) Header() h func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6017,7 +6017,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsGetPublicKeyCall) H func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsGetPublicKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6155,7 +6155,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsImportCall) Header( func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6355,7 +6355,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsListCall) Header() func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6556,7 +6556,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsPatchCall) Header() func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6705,7 +6705,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsRestoreCall) Header func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsRestoreCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6855,7 +6855,7 @@ func (c *ProjectsLocationsKeyRingsImportJobsCreateCall) Header() http.Header { func (c *ProjectsLocationsKeyRingsImportJobsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7010,7 +7010,7 @@ func (c *ProjectsLocationsKeyRingsImportJobsGetCall) Header() http.Header { func (c *ProjectsLocationsKeyRingsImportJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7172,7 +7172,7 @@ func (c *ProjectsLocationsKeyRingsImportJobsGetIamPolicyCall) Header() http.Head func (c *ProjectsLocationsKeyRingsImportJobsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7360,7 +7360,7 @@ func (c *ProjectsLocationsKeyRingsImportJobsListCall) Header() http.Header { func (c *ProjectsLocationsKeyRingsImportJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7540,7 +7540,7 @@ func (c *ProjectsLocationsKeyRingsImportJobsSetIamPolicyCall) Header() http.Head func (c *ProjectsLocationsKeyRingsImportJobsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7686,7 +7686,7 @@ func (c *ProjectsLocationsKeyRingsImportJobsTestIamPermissionsCall) Header() htt func (c *ProjectsLocationsKeyRingsImportJobsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudprofiler/v2/cloudprofiler-gen.go b/cloudprofiler/v2/cloudprofiler-gen.go index bfa280ec508..a07334cd1db 100644 --- a/cloudprofiler/v2/cloudprofiler-gen.go +++ b/cloudprofiler/v2/cloudprofiler-gen.go @@ -407,7 +407,7 @@ func (c *ProjectsProfilesCreateCall) Header() http.Header { func (c *ProjectsProfilesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -551,7 +551,7 @@ func (c *ProjectsProfilesCreateOfflineCall) Header() http.Header { func (c *ProjectsProfilesCreateOfflineCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -706,7 +706,7 @@ func (c *ProjectsProfilesPatchCall) Header() http.Header { func (c *ProjectsProfilesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudresourcemanager/v1/cloudresourcemanager-gen.go b/cloudresourcemanager/v1/cloudresourcemanager-gen.go index 36b840b402e..e3d3faf9f01 100644 --- a/cloudresourcemanager/v1/cloudresourcemanager-gen.go +++ b/cloudresourcemanager/v1/cloudresourcemanager-gen.go @@ -2452,7 +2452,7 @@ func (c *FoldersClearOrgPolicyCall) Header() http.Header { func (c *FoldersClearOrgPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2596,7 +2596,7 @@ func (c *FoldersGetEffectiveOrgPolicyCall) Header() http.Header { func (c *FoldersGetEffectiveOrgPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2741,7 +2741,7 @@ func (c *FoldersGetOrgPolicyCall) Header() http.Header { func (c *FoldersGetOrgPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2883,7 +2883,7 @@ func (c *FoldersListAvailableOrgPolicyConstraintsCall) Header() http.Header { func (c *FoldersListAvailableOrgPolicyConstraintsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3048,7 +3048,7 @@ func (c *FoldersListOrgPoliciesCall) Header() http.Header { func (c *FoldersListOrgPoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3213,7 +3213,7 @@ func (c *FoldersSetOrgPolicyCall) Header() http.Header { func (c *FoldersSetOrgPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3355,7 +3355,7 @@ func (c *LiensCreateCall) Header() http.Header { func (c *LiensCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3484,7 +3484,7 @@ func (c *LiensDeleteCall) Header() http.Header { func (c *LiensDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3630,7 +3630,7 @@ func (c *LiensGetCall) Header() http.Header { func (c *LiensGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3801,7 +3801,7 @@ func (c *LiensListCall) Header() http.Header { func (c *LiensListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3973,7 +3973,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4109,7 +4109,7 @@ func (c *OrganizationsClearOrgPolicyCall) Header() http.Header { func (c *OrganizationsClearOrgPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4259,7 +4259,7 @@ func (c *OrganizationsGetCall) Header() http.Header { func (c *OrganizationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4399,7 +4399,7 @@ func (c *OrganizationsGetEffectiveOrgPolicyCall) Header() http.Header { func (c *OrganizationsGetEffectiveOrgPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4545,7 +4545,7 @@ func (c *OrganizationsGetIamPolicyCall) Header() http.Header { func (c *OrganizationsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4690,7 +4690,7 @@ func (c *OrganizationsGetOrgPolicyCall) Header() http.Header { func (c *OrganizationsGetOrgPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4832,7 +4832,7 @@ func (c *OrganizationsListAvailableOrgPolicyConstraintsCall) Header() http.Heade func (c *OrganizationsListAvailableOrgPolicyConstraintsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4997,7 +4997,7 @@ func (c *OrganizationsListOrgPoliciesCall) Header() http.Header { func (c *OrganizationsListOrgPoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5161,7 +5161,7 @@ func (c *OrganizationsSearchCall) Header() http.Header { func (c *OrganizationsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5315,7 +5315,7 @@ func (c *OrganizationsSetIamPolicyCall) Header() http.Header { func (c *OrganizationsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5458,7 +5458,7 @@ func (c *OrganizationsSetOrgPolicyCall) Header() http.Header { func (c *OrganizationsSetOrgPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5601,7 +5601,7 @@ func (c *OrganizationsTestIamPermissionsCall) Header() http.Header { func (c *OrganizationsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5742,7 +5742,7 @@ func (c *ProjectsClearOrgPolicyCall) Header() http.Header { func (c *ProjectsClearOrgPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5891,7 +5891,7 @@ func (c *ProjectsCreateCall) Header() http.Header { func (c *ProjectsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6027,7 +6027,7 @@ func (c *ProjectsDeleteCall) Header() http.Header { func (c *ProjectsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6169,7 +6169,7 @@ func (c *ProjectsGetCall) Header() http.Header { func (c *ProjectsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6307,7 +6307,7 @@ func (c *ProjectsGetAncestryCall) Header() http.Header { func (c *ProjectsGetAncestryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6451,7 +6451,7 @@ func (c *ProjectsGetEffectiveOrgPolicyCall) Header() http.Header { func (c *ProjectsGetEffectiveOrgPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6598,7 +6598,7 @@ func (c *ProjectsGetIamPolicyCall) Header() http.Header { func (c *ProjectsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6742,7 +6742,7 @@ func (c *ProjectsGetOrgPolicyCall) Header() http.Header { func (c *ProjectsGetOrgPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6950,7 +6950,7 @@ func (c *ProjectsListCall) Header() http.Header { func (c *ProjectsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7112,7 +7112,7 @@ func (c *ProjectsListAvailableOrgPolicyConstraintsCall) Header() http.Header { func (c *ProjectsListAvailableOrgPolicyConstraintsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7277,7 +7277,7 @@ func (c *ProjectsListOrgPoliciesCall) Header() http.Header { func (c *ProjectsListOrgPoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7475,7 +7475,7 @@ func (c *ProjectsSetIamPolicyCall) Header() http.Header { func (c *ProjectsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7617,7 +7617,7 @@ func (c *ProjectsSetOrgPolicyCall) Header() http.Header { func (c *ProjectsSetOrgPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7761,7 +7761,7 @@ func (c *ProjectsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7905,7 +7905,7 @@ func (c *ProjectsUndeleteCall) Header() http.Header { func (c *ProjectsUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8046,7 +8046,7 @@ func (c *ProjectsUpdateCall) Header() http.Header { func (c *ProjectsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudresourcemanager/v1beta1/cloudresourcemanager-gen.go b/cloudresourcemanager/v1beta1/cloudresourcemanager-gen.go index 1534efce3a6..5ec0cc44b72 100644 --- a/cloudresourcemanager/v1beta1/cloudresourcemanager-gen.go +++ b/cloudresourcemanager/v1beta1/cloudresourcemanager-gen.go @@ -1534,7 +1534,7 @@ func (c *OrganizationsGetCall) Header() http.Header { func (c *OrganizationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1678,7 +1678,7 @@ func (c *OrganizationsGetIamPolicyCall) Header() http.Header { func (c *OrganizationsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1858,7 +1858,7 @@ func (c *OrganizationsListCall) Header() http.Header { func (c *OrganizationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2021,7 +2021,7 @@ func (c *OrganizationsSetIamPolicyCall) Header() http.Header { func (c *OrganizationsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2163,7 +2163,7 @@ func (c *OrganizationsTestIamPermissionsCall) Header() http.Header { func (c *OrganizationsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2305,7 +2305,7 @@ func (c *OrganizationsUpdateCall) Header() http.Header { func (c *OrganizationsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2459,7 +2459,7 @@ func (c *ProjectsCreateCall) Header() http.Header { func (c *ProjectsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2601,7 +2601,7 @@ func (c *ProjectsDeleteCall) Header() http.Header { func (c *ProjectsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2743,7 +2743,7 @@ func (c *ProjectsGetCall) Header() http.Header { func (c *ProjectsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2881,7 +2881,7 @@ func (c *ProjectsGetAncestryCall) Header() http.Header { func (c *ProjectsGetAncestryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3024,7 +3024,7 @@ func (c *ProjectsGetIamPolicyCall) Header() http.Header { func (c *ProjectsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3229,7 +3229,7 @@ func (c *ProjectsListCall) Header() http.Header { func (c *ProjectsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3420,7 +3420,7 @@ func (c *ProjectsSetIamPolicyCall) Header() http.Header { func (c *ProjectsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3560,7 +3560,7 @@ func (c *ProjectsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3704,7 +3704,7 @@ func (c *ProjectsUndeleteCall) Header() http.Header { func (c *ProjectsUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3845,7 +3845,7 @@ func (c *ProjectsUpdateCall) Header() http.Header { func (c *ProjectsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudresourcemanager/v2/cloudresourcemanager-gen.go b/cloudresourcemanager/v2/cloudresourcemanager-gen.go index b580479cd5c..74770360c40 100644 --- a/cloudresourcemanager/v2/cloudresourcemanager-gen.go +++ b/cloudresourcemanager/v2/cloudresourcemanager-gen.go @@ -1477,7 +1477,7 @@ func (c *FoldersCreateCall) Header() http.Header { func (c *FoldersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1613,7 +1613,7 @@ func (c *FoldersDeleteCall) Header() http.Header { func (c *FoldersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1757,7 +1757,7 @@ func (c *FoldersGetCall) Header() http.Header { func (c *FoldersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1898,7 +1898,7 @@ func (c *FoldersGetIamPolicyCall) Header() http.Header { func (c *FoldersGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2085,7 +2085,7 @@ func (c *FoldersListCall) Header() http.Header { func (c *FoldersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2264,7 +2264,7 @@ func (c *FoldersMoveCall) Header() http.Header { func (c *FoldersMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2422,7 +2422,7 @@ func (c *FoldersPatchCall) Header() http.Header { func (c *FoldersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2570,7 +2570,7 @@ func (c *FoldersSearchCall) Header() http.Header { func (c *FoldersSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2723,7 +2723,7 @@ func (c *FoldersSetIamPolicyCall) Header() http.Header { func (c *FoldersSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2866,7 +2866,7 @@ func (c *FoldersTestIamPermissionsCall) Header() http.Header { func (c *FoldersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3013,7 +3013,7 @@ func (c *FoldersUndeleteCall) Header() http.Header { func (c *FoldersUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3164,7 +3164,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudresourcemanager/v2beta1/cloudresourcemanager-gen.go b/cloudresourcemanager/v2beta1/cloudresourcemanager-gen.go index 5f987bce63c..dbd9e7424b3 100644 --- a/cloudresourcemanager/v2beta1/cloudresourcemanager-gen.go +++ b/cloudresourcemanager/v2beta1/cloudresourcemanager-gen.go @@ -1477,7 +1477,7 @@ func (c *FoldersCreateCall) Header() http.Header { func (c *FoldersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1613,7 +1613,7 @@ func (c *FoldersDeleteCall) Header() http.Header { func (c *FoldersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1757,7 +1757,7 @@ func (c *FoldersGetCall) Header() http.Header { func (c *FoldersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1898,7 +1898,7 @@ func (c *FoldersGetIamPolicyCall) Header() http.Header { func (c *FoldersGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2085,7 +2085,7 @@ func (c *FoldersListCall) Header() http.Header { func (c *FoldersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2264,7 +2264,7 @@ func (c *FoldersMoveCall) Header() http.Header { func (c *FoldersMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2422,7 +2422,7 @@ func (c *FoldersPatchCall) Header() http.Header { func (c *FoldersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2570,7 +2570,7 @@ func (c *FoldersSearchCall) Header() http.Header { func (c *FoldersSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2723,7 +2723,7 @@ func (c *FoldersSetIamPolicyCall) Header() http.Header { func (c *FoldersSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2866,7 +2866,7 @@ func (c *FoldersTestIamPermissionsCall) Header() http.Header { func (c *FoldersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3013,7 +3013,7 @@ func (c *FoldersUndeleteCall) Header() http.Header { func (c *FoldersUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3164,7 +3164,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudscheduler/v1/cloudscheduler-gen.go b/cloudscheduler/v1/cloudscheduler-gen.go index 8cf5f6e5628..c4a15f719b6 100644 --- a/cloudscheduler/v1/cloudscheduler-gen.go +++ b/cloudscheduler/v1/cloudscheduler-gen.go @@ -1061,7 +1061,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1227,7 +1227,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1399,7 +1399,7 @@ func (c *ProjectsLocationsJobsCreateCall) Header() http.Header { func (c *ProjectsLocationsJobsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1537,7 +1537,7 @@ func (c *ProjectsLocationsJobsDeleteCall) Header() http.Header { func (c *ProjectsLocationsJobsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1678,7 +1678,7 @@ func (c *ProjectsLocationsJobsGetCall) Header() http.Header { func (c *ProjectsLocationsJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1842,7 +1842,7 @@ func (c *ProjectsLocationsJobsListCall) Header() http.Header { func (c *ProjectsLocationsJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2021,7 +2021,7 @@ func (c *ProjectsLocationsJobsPatchCall) Header() http.Header { func (c *ProjectsLocationsJobsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2170,7 +2170,7 @@ func (c *ProjectsLocationsJobsPauseCall) Header() http.Header { func (c *ProjectsLocationsJobsPauseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2313,7 +2313,7 @@ func (c *ProjectsLocationsJobsResumeCall) Header() http.Header { func (c *ProjectsLocationsJobsResumeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2454,7 +2454,7 @@ func (c *ProjectsLocationsJobsRunCall) Header() http.Header { func (c *ProjectsLocationsJobsRunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudscheduler/v1beta1/cloudscheduler-gen.go b/cloudscheduler/v1beta1/cloudscheduler-gen.go index 7be8ceb0910..04de0d7efe2 100644 --- a/cloudscheduler/v1beta1/cloudscheduler-gen.go +++ b/cloudscheduler/v1beta1/cloudscheduler-gen.go @@ -1096,7 +1096,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1262,7 +1262,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1434,7 +1434,7 @@ func (c *ProjectsLocationsJobsCreateCall) Header() http.Header { func (c *ProjectsLocationsJobsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1582,7 +1582,7 @@ func (c *ProjectsLocationsJobsDeleteCall) Header() http.Header { func (c *ProjectsLocationsJobsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1728,7 +1728,7 @@ func (c *ProjectsLocationsJobsGetCall) Header() http.Header { func (c *ProjectsLocationsJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1901,7 +1901,7 @@ func (c *ProjectsLocationsJobsListCall) Header() http.Header { func (c *ProjectsLocationsJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2085,7 +2085,7 @@ func (c *ProjectsLocationsJobsPatchCall) Header() http.Header { func (c *ProjectsLocationsJobsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2234,7 +2234,7 @@ func (c *ProjectsLocationsJobsPauseCall) Header() http.Header { func (c *ProjectsLocationsJobsPauseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2377,7 +2377,7 @@ func (c *ProjectsLocationsJobsResumeCall) Header() http.Header { func (c *ProjectsLocationsJobsResumeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2518,7 +2518,7 @@ func (c *ProjectsLocationsJobsRunCall) Header() http.Header { func (c *ProjectsLocationsJobsRunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudsearch/v1/cloudsearch-gen.go b/cloudsearch/v1/cloudsearch-gen.go index 4f2ba3e45d1..5648e8f24ed 100644 --- a/cloudsearch/v1/cloudsearch-gen.go +++ b/cloudsearch/v1/cloudsearch-gen.go @@ -6533,7 +6533,7 @@ func (c *DebugDatasourcesItemsCheckAccessCall) Header() http.Header { func (c *DebugDatasourcesItemsCheckAccessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6681,7 +6681,7 @@ func (c *DebugDatasourcesItemsSearchByViewUrlCall) Header() http.Header { func (c *DebugDatasourcesItemsSearchByViewUrlCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6875,7 +6875,7 @@ func (c *DebugDatasourcesItemsUnmappedidsListCall) Header() http.Header { func (c *DebugDatasourcesItemsUnmappedidsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7093,7 +7093,7 @@ func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) Header() http.Hea func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7329,7 +7329,7 @@ func (c *DebugIdentitysourcesUnmappedidsListCall) Header() http.Header { func (c *DebugIdentitysourcesUnmappedidsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7530,7 +7530,7 @@ func (c *IndexingDatasourcesDeleteSchemaCall) Header() http.Header { func (c *IndexingDatasourcesDeleteSchemaCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7687,7 +7687,7 @@ func (c *IndexingDatasourcesGetSchemaCall) Header() http.Header { func (c *IndexingDatasourcesGetSchemaCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7832,7 +7832,7 @@ func (c *IndexingDatasourcesUpdateSchemaCall) Header() http.Header { func (c *IndexingDatasourcesUpdateSchemaCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8017,7 +8017,7 @@ func (c *IndexingDatasourcesItemsDeleteCall) Header() http.Header { func (c *IndexingDatasourcesItemsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8184,7 +8184,7 @@ func (c *IndexingDatasourcesItemsDeleteQueueItemsCall) Header() http.Header { func (c *IndexingDatasourcesItemsDeleteQueueItemsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8352,7 +8352,7 @@ func (c *IndexingDatasourcesItemsGetCall) Header() http.Header { func (c *IndexingDatasourcesItemsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8503,7 +8503,7 @@ func (c *IndexingDatasourcesItemsIndexCall) Header() http.Header { func (c *IndexingDatasourcesItemsIndexCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8699,7 +8699,7 @@ func (c *IndexingDatasourcesItemsListCall) Header() http.Header { func (c *IndexingDatasourcesItemsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8893,7 +8893,7 @@ func (c *IndexingDatasourcesItemsPollCall) Header() http.Header { func (c *IndexingDatasourcesItemsPollCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9036,7 +9036,7 @@ func (c *IndexingDatasourcesItemsPushCall) Header() http.Header { func (c *IndexingDatasourcesItemsPushCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9181,7 +9181,7 @@ func (c *IndexingDatasourcesItemsUnreserveCall) Header() http.Header { func (c *IndexingDatasourcesItemsUnreserveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9326,7 +9326,7 @@ func (c *IndexingDatasourcesItemsUploadCall) Header() http.Header { func (c *IndexingDatasourcesItemsUploadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9523,7 +9523,7 @@ func (c *MediaUploadCall) Header() http.Header { func (c *MediaUploadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9715,7 +9715,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9894,7 +9894,7 @@ func (c *OperationsLroListCall) Header() http.Header { func (c *OperationsLroListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10077,7 +10077,7 @@ func (c *QuerySearchCall) Header() http.Header { func (c *QuerySearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10208,7 +10208,7 @@ func (c *QuerySuggestCall) Header() http.Header { func (c *QuerySuggestCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10404,7 +10404,7 @@ func (c *QuerySourcesListCall) Header() http.Header { func (c *QuerySourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10573,7 +10573,7 @@ func (c *SettingsDatasourcesCreateCall) Header() http.Header { func (c *SettingsDatasourcesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10709,7 +10709,7 @@ func (c *SettingsDatasourcesDeleteCall) Header() http.Header { func (c *SettingsDatasourcesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10866,7 +10866,7 @@ func (c *SettingsDatasourcesGetCall) Header() http.Header { func (c *SettingsDatasourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11039,7 +11039,7 @@ func (c *SettingsDatasourcesListCall) Header() http.Header { func (c *SettingsDatasourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11202,7 +11202,7 @@ func (c *SettingsDatasourcesUpdateCall) Header() http.Header { func (c *SettingsDatasourcesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11343,7 +11343,7 @@ func (c *SettingsSearchapplicationsCreateCall) Header() http.Header { func (c *SettingsSearchapplicationsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11479,7 +11479,7 @@ func (c *SettingsSearchapplicationsDeleteCall) Header() http.Header { func (c *SettingsSearchapplicationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11636,7 +11636,7 @@ func (c *SettingsSearchapplicationsGetCall) Header() http.Header { func (c *SettingsSearchapplicationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11809,7 +11809,7 @@ func (c *SettingsSearchapplicationsListCall) Header() http.Header { func (c *SettingsSearchapplicationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11973,7 +11973,7 @@ func (c *SettingsSearchapplicationsResetCall) Header() http.Header { func (c *SettingsSearchapplicationsResetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12116,7 +12116,7 @@ func (c *SettingsSearchapplicationsUpdateCall) Header() http.Header { func (c *SettingsSearchapplicationsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12310,7 +12310,7 @@ func (c *StatsGetIndexCall) Header() http.Header { func (c *StatsGetIndexCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12521,7 +12521,7 @@ func (c *StatsGetQueryCall) Header() http.Header { func (c *StatsGetQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12733,7 +12733,7 @@ func (c *StatsGetSessionCall) Header() http.Header { func (c *StatsGetSessionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12944,7 +12944,7 @@ func (c *StatsGetUserCall) Header() http.Header { func (c *StatsGetUserCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13157,7 +13157,7 @@ func (c *StatsIndexDatasourcesGetCall) Header() http.Header { func (c *StatsIndexDatasourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13382,7 +13382,7 @@ func (c *StatsQuerySearchapplicationsGetCall) Header() http.Header { func (c *StatsQuerySearchapplicationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13609,7 +13609,7 @@ func (c *StatsSessionSearchapplicationsGetCall) Header() http.Header { func (c *StatsSessionSearchapplicationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13836,7 +13836,7 @@ func (c *StatsUserSearchapplicationsGetCall) Header() http.Header { func (c *StatsUserSearchapplicationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudshell/v1/cloudshell-gen.go b/cloudshell/v1/cloudshell-gen.go index 4dc7c240995..d1eedc709c2 100644 --- a/cloudshell/v1/cloudshell-gen.go +++ b/cloudshell/v1/cloudshell-gen.go @@ -740,7 +740,7 @@ func (c *OperationsCancelCall) Header() http.Header { func (c *OperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -881,7 +881,7 @@ func (c *OperationsDeleteCall) Header() http.Header { func (c *OperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1024,7 +1024,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1198,7 +1198,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1373,7 +1373,7 @@ func (c *UsersEnvironmentsAddPublicKeyCall) Header() http.Header { func (c *UsersEnvironmentsAddPublicKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1516,7 +1516,7 @@ func (c *UsersEnvironmentsAuthorizeCall) Header() http.Header { func (c *UsersEnvironmentsAuthorizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1666,7 +1666,7 @@ func (c *UsersEnvironmentsGetCall) Header() http.Header { func (c *UsersEnvironmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1804,7 +1804,7 @@ func (c *UsersEnvironmentsRemovePublicKeyCall) Header() http.Header { func (c *UsersEnvironmentsRemovePublicKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1950,7 +1950,7 @@ func (c *UsersEnvironmentsStartCall) Header() http.Header { func (c *UsersEnvironmentsStartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudshell/v1alpha1/cloudshell-gen.go b/cloudshell/v1alpha1/cloudshell-gen.go index 7ec151aba2b..fbe1a641794 100644 --- a/cloudshell/v1alpha1/cloudshell-gen.go +++ b/cloudshell/v1alpha1/cloudshell-gen.go @@ -677,7 +677,7 @@ func (c *UsersEnvironmentsAuthorizeCall) Header() http.Header { func (c *UsersEnvironmentsAuthorizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -827,7 +827,7 @@ func (c *UsersEnvironmentsGetCall) Header() http.Header { func (c *UsersEnvironmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -969,7 +969,7 @@ func (c *UsersEnvironmentsPatchCall) Header() http.Header { func (c *UsersEnvironmentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1121,7 +1121,7 @@ func (c *UsersEnvironmentsStartCall) Header() http.Header { func (c *UsersEnvironmentsStartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1264,7 +1264,7 @@ func (c *UsersEnvironmentsPublicKeysCreateCall) Header() http.Header { func (c *UsersEnvironmentsPublicKeysCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1404,7 +1404,7 @@ func (c *UsersEnvironmentsPublicKeysDeleteCall) Header() http.Header { func (c *UsersEnvironmentsPublicKeysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudtasks/v2/cloudtasks-gen.go b/cloudtasks/v2/cloudtasks-gen.go index bfa1369f715..ef27cce40dc 100644 --- a/cloudtasks/v2/cloudtasks-gen.go +++ b/cloudtasks/v2/cloudtasks-gen.go @@ -1893,7 +1893,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2059,7 +2059,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2238,7 +2238,7 @@ func (c *ProjectsLocationsQueuesCreateCall) Header() http.Header { func (c *ProjectsLocationsQueuesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2383,7 +2383,7 @@ func (c *ProjectsLocationsQueuesDeleteCall) Header() http.Header { func (c *ProjectsLocationsQueuesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2524,7 +2524,7 @@ func (c *ProjectsLocationsQueuesGetCall) Header() http.Header { func (c *ProjectsLocationsQueuesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2663,7 +2663,7 @@ func (c *ProjectsLocationsQueuesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsQueuesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2846,7 +2846,7 @@ func (c *ProjectsLocationsQueuesListCall) Header() http.Header { func (c *ProjectsLocationsQueuesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3035,7 +3035,7 @@ func (c *ProjectsLocationsQueuesPatchCall) Header() http.Header { func (c *ProjectsLocationsQueuesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3184,7 +3184,7 @@ func (c *ProjectsLocationsQueuesPauseCall) Header() http.Header { func (c *ProjectsLocationsQueuesPauseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3327,7 +3327,7 @@ func (c *ProjectsLocationsQueuesPurgeCall) Header() http.Header { func (c *ProjectsLocationsQueuesPurgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3473,7 +3473,7 @@ func (c *ProjectsLocationsQueuesResumeCall) Header() http.Header { func (c *ProjectsLocationsQueuesResumeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3618,7 +3618,7 @@ func (c *ProjectsLocationsQueuesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsQueuesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3763,7 +3763,7 @@ func (c *ProjectsLocationsQueuesTestIamPermissionsCall) Header() http.Header { func (c *ProjectsLocationsQueuesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3905,7 +3905,7 @@ func (c *ProjectsLocationsQueuesTasksCreateCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4045,7 +4045,7 @@ func (c *ProjectsLocationsQueuesTasksDeleteCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4210,7 +4210,7 @@ func (c *ProjectsLocationsQueuesTasksGetCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4417,7 +4417,7 @@ func (c *ProjectsLocationsQueuesTasksListCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4612,7 +4612,7 @@ func (c *ProjectsLocationsQueuesTasksRunCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksRunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudtasks/v2beta2/cloudtasks-api.json b/cloudtasks/v2beta2/cloudtasks-api.json index f8930fad704..daaf6712a5f 100644 --- a/cloudtasks/v2beta2/cloudtasks-api.json +++ b/cloudtasks/v2beta2/cloudtasks-api.json @@ -809,7 +809,7 @@ } } }, - "revision": "20201111", + "revision": "20201202", "rootUrl": "https://cloudtasks.googleapis.com/", "schemas": { "AcknowledgeTaskRequest": { @@ -1295,6 +1295,48 @@ "The queue is disabled. A queue becomes `DISABLED` when [queue.yaml](https://cloud.google.com/appengine/docs/python/config/queueref) or [queue.xml](https://cloud.google.com/appengine/docs/standard/java/config/queueref) is uploaded which does not contain the queue. You cannot directly disable a queue. When a queue is disabled, tasks can still be added to a queue but the tasks are not dispatched and LeaseTasks calls return a `FAILED_PRECONDITION` error. To permanently delete this queue and all of its tasks, call DeleteQueue." ], "type": "string" + }, + "stats": { + "$ref": "QueueStats", + "description": "Output only. The realtime, informational statistics for a queue. In order to receive the statistics the caller should include this field in the FieldMask.", + "readOnly": true + } + }, + "type": "object" + }, + "QueueStats": { + "description": "Statistics for a queue.", + "id": "QueueStats", + "properties": { + "concurrentDispatchesCount": { + "description": "Output only. The number of requests that the queue has dispatched but has not received a reply for yet.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "effectiveExecutionRate": { + "description": "Output only. The current maximum number of tasks per second executed by the queue. The maximum value of this variable is controlled by the RateLimits of the Queue. However, this value could be less to avoid overloading the endpoints tasks in the queue are targeting.", + "format": "double", + "readOnly": true, + "type": "number" + }, + "executedLastMinuteCount": { + "description": "Output only. The number of tasks that the queue has dispatched and received a reply for during the last minute. This variable counts both successful and non-successful executions.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "oldestEstimatedArrivalTime": { + "description": "Output only. An estimation of the nearest time in the future where a task in the queue is scheduled to be executed.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "tasksCount": { + "description": "Output only. An estimation of the number of tasks in the queue, that is, the tasks in the queue that haven't been executed, the tasks in the queue which the queue has dispatched but has not yet received a reply for, and the failed tasks that the queue is retrying.", + "format": "int64", + "readOnly": true, + "type": "string" } }, "type": "object" diff --git a/cloudtasks/v2beta2/cloudtasks-gen.go b/cloudtasks/v2beta2/cloudtasks-gen.go index 27bcadeadfc..65eeaf46992 100644 --- a/cloudtasks/v2beta2/cloudtasks-gen.go +++ b/cloudtasks/v2beta2/cloudtasks-gen.go @@ -1390,6 +1390,11 @@ type Queue struct { // this queue and all of its tasks, call DeleteQueue. State string `json:"state,omitempty"` + // Stats: Output only. The realtime, informational statistics for a + // queue. In order to receive the statistics the caller should include + // this field in the FieldMask. + Stats *QueueStats `json:"stats,omitempty"` + // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` @@ -1418,6 +1423,75 @@ func (s *Queue) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// QueueStats: Statistics for a queue. +type QueueStats struct { + // ConcurrentDispatchesCount: Output only. The number of requests that + // the queue has dispatched but has not received a reply for yet. + ConcurrentDispatchesCount int64 `json:"concurrentDispatchesCount,omitempty,string"` + + // EffectiveExecutionRate: Output only. The current maximum number of + // tasks per second executed by the queue. The maximum value of this + // variable is controlled by the RateLimits of the Queue. However, this + // value could be less to avoid overloading the endpoints tasks in the + // queue are targeting. + EffectiveExecutionRate float64 `json:"effectiveExecutionRate,omitempty"` + + // ExecutedLastMinuteCount: Output only. The number of tasks that the + // queue has dispatched and received a reply for during the last minute. + // This variable counts both successful and non-successful executions. + ExecutedLastMinuteCount int64 `json:"executedLastMinuteCount,omitempty,string"` + + // OldestEstimatedArrivalTime: Output only. An estimation of the nearest + // time in the future where a task in the queue is scheduled to be + // executed. + OldestEstimatedArrivalTime string `json:"oldestEstimatedArrivalTime,omitempty"` + + // TasksCount: Output only. An estimation of the number of tasks in the + // queue, that is, the tasks in the queue that haven't been executed, + // the tasks in the queue which the queue has dispatched but has not yet + // received a reply for, and the failed tasks that the queue is + // retrying. + TasksCount int64 `json:"tasksCount,omitempty,string"` + + // ForceSendFields is a list of field names (e.g. + // "ConcurrentDispatchesCount") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. + // "ConcurrentDispatchesCount") to include in API requests with the JSON + // null value. By default, fields with empty values are omitted from API + // requests. However, any field with an empty value appearing in + // NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *QueueStats) MarshalJSON() ([]byte, error) { + type NoMethod QueueStats + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *QueueStats) UnmarshalJSON(data []byte) error { + type NoMethod QueueStats + var s1 struct { + EffectiveExecutionRate gensupport.JSONFloat64 `json:"effectiveExecutionRate"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.EffectiveExecutionRate = float64(s1.EffectiveExecutionRate) + return nil +} + // RateLimits: Rate limits. This message determines the maximum rate // that tasks can be dispatched by a queue, regardless of whether the // dispatch is a first task attempt or a retry. Note: The debugging @@ -2039,7 +2113,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2205,7 +2279,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2384,7 +2458,7 @@ func (c *ProjectsLocationsQueuesCreateCall) Header() http.Header { func (c *ProjectsLocationsQueuesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2529,7 +2603,7 @@ func (c *ProjectsLocationsQueuesDeleteCall) Header() http.Header { func (c *ProjectsLocationsQueuesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2681,7 +2755,7 @@ func (c *ProjectsLocationsQueuesGetCall) Header() http.Header { func (c *ProjectsLocationsQueuesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2826,7 +2900,7 @@ func (c *ProjectsLocationsQueuesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsQueuesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3020,7 +3094,7 @@ func (c *ProjectsLocationsQueuesListCall) Header() http.Header { func (c *ProjectsLocationsQueuesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3215,7 +3289,7 @@ func (c *ProjectsLocationsQueuesPatchCall) Header() http.Header { func (c *ProjectsLocationsQueuesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3364,7 +3438,7 @@ func (c *ProjectsLocationsQueuesPauseCall) Header() http.Header { func (c *ProjectsLocationsQueuesPauseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3507,7 +3581,7 @@ func (c *ProjectsLocationsQueuesPurgeCall) Header() http.Header { func (c *ProjectsLocationsQueuesPurgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3653,7 +3727,7 @@ func (c *ProjectsLocationsQueuesResumeCall) Header() http.Header { func (c *ProjectsLocationsQueuesResumeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3798,7 +3872,7 @@ func (c *ProjectsLocationsQueuesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsQueuesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3943,7 +4017,7 @@ func (c *ProjectsLocationsQueuesTestIamPermissionsCall) Header() http.Header { func (c *ProjectsLocationsQueuesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4089,7 +4163,7 @@ func (c *ProjectsLocationsQueuesTasksAcknowledgeCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksAcknowledgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4232,7 +4306,7 @@ func (c *ProjectsLocationsQueuesTasksCancelLeaseCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksCancelLeaseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4375,7 +4449,7 @@ func (c *ProjectsLocationsQueuesTasksCreateCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4515,7 +4589,7 @@ func (c *ProjectsLocationsQueuesTasksDeleteCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4681,7 +4755,7 @@ func (c *ProjectsLocationsQueuesTasksGetCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4840,7 +4914,7 @@ func (c *ProjectsLocationsQueuesTasksLeaseCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksLeaseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5038,7 +5112,7 @@ func (c *ProjectsLocationsQueuesTasksListCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5222,7 +5296,7 @@ func (c *ProjectsLocationsQueuesTasksRenewLeaseCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksRenewLeaseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5375,7 +5449,7 @@ func (c *ProjectsLocationsQueuesTasksRunCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksRunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudtasks/v2beta3/cloudtasks-api.json b/cloudtasks/v2beta3/cloudtasks-api.json index 72abcfe7968..08f60ae67a5 100644 --- a/cloudtasks/v2beta3/cloudtasks-api.json +++ b/cloudtasks/v2beta3/cloudtasks-api.json @@ -247,6 +247,12 @@ "pattern": "^projects/[^/]+/locations/[^/]+/queues/[^/]+$", "required": true, "type": "string" + }, + "readMask": { + "description": "Optional. Read mask is used for a more granular control over what the API returns. If the mask is not present all fields will be returned except [Queue.stats], if the mask is set to \"*\" all fields including [Queue.stats] will be returned, otherwise only the fields explicitly specified in the mask will be returned.", + "format": "google-fieldmask", + "location": "query", + "type": "string" } }, "path": "v2beta3/{+name}", @@ -316,6 +322,12 @@ "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, "type": "string" + }, + "readMask": { + "description": "Optional. Read mask is used for a more granular control on the queues that the API returns. If the mask is not present all fields will be returned except [Queue.stats], if the mask is set to \"*\" all fields including [Queue.stats] will be returned, otherwise only the fields explicitly specified in the mask will be returned.", + "format": "google-fieldmask", + "location": "query", + "type": "string" } }, "path": "v2beta3/{+parent}/queues", @@ -685,7 +697,7 @@ } } }, - "revision": "20201111", + "revision": "20201202", "rootUrl": "https://cloudtasks.googleapis.com/", "schemas": { "AppEngineHttpQueue": { @@ -1101,6 +1113,22 @@ }, "type": "object" }, + "PullMessage": { + "description": "Pull Message. This proto can only be used for tasks in a queue which has PULL type. It currently exists for backwards compatibility with the App Engine Task Queue SDK. This message type maybe returned with methods list and get, when the response view is FULL.", + "id": "PullMessage", + "properties": { + "payload": { + "description": "A data payload consumed by the worker to execute the task.", + "format": "byte", + "type": "string" + }, + "tag": { + "description": "The tasks's tag. The tag is less than 500 characters. SDK compatibility: Although the SDK allows tags to be either string or [bytes](https://cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-), only UTF-8 encoded tags can be used in Cloud Tasks. If a tag isn't UTF-8 encoded, the tag will be empty when the task is returned by Cloud Tasks.", + "type": "string" + } + }, + "type": "object" + }, "PurgeQueueRequest": { "description": "Request message for PurgeQueue.", "id": "PurgeQueueRequest", @@ -1152,6 +1180,11 @@ ], "type": "string" }, + "stats": { + "$ref": "QueueStats", + "description": "Output only. The realtime, informational statistics for a queue. In order to receive the statistics the caller should include this field in the FieldMask.", + "readOnly": true + }, "type": { "description": "Immutable. The type of a queue (push or pull). `Queue.type` is an immutable property of the queue that is set at the queue creation time. When left unspecified, the default value of `PUSH` is selected.", "enum": [ @@ -1169,6 +1202,43 @@ }, "type": "object" }, + "QueueStats": { + "description": "Statistics for a queue.", + "id": "QueueStats", + "properties": { + "concurrentDispatchesCount": { + "description": "Output only. The number of requests that the queue has dispatched but has not received a reply for yet.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "effectiveExecutionRate": { + "description": "Output only. The current maximum number of tasks per second executed by the queue. The maximum value of this variable is controlled by the RateLimits of the Queue. However, this value could be less to avoid overloading the endpoints tasks in the queue are targeting.", + "format": "double", + "readOnly": true, + "type": "number" + }, + "executedLastMinuteCount": { + "description": "Output only. The number of tasks that the queue has dispatched and received a reply for during the last minute. This variable counts both successful and non-successful executions.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "oldestEstimatedArrivalTime": { + "description": "Output only. An estimation of the nearest time in the future where a task in the queue is scheduled to be executed.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "tasksCount": { + "description": "Output only. An estimation of the number of tasks in the queue, that is, the tasks in the queue that haven't been executed, the tasks in the queue which the queue has dispatched but has not yet received a reply for, and the failed tasks that the queue is retrying.", + "format": "int64", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "RateLimits": { "description": "Rate limits. This message determines the maximum rate that tasks can be dispatched by a queue, regardless of whether the dispatch is a first task attempt or a retry. Note: The debugging command, RunTask, will run a task even if the queue has reached its RateLimits.", "id": "RateLimits", @@ -1339,6 +1409,10 @@ "description": "Optionally caller-specified in CreateTask. The task name. The task name must have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [Identifying projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) * `LOCATION_ID` is the canonical ID for the task's location. The list of available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum length is 100 characters. * `TASK_ID` can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The maximum length is 500 characters.", "type": "string" }, + "pullMessage": { + "$ref": "PullMessage", + "description": "Pull Message contained in a task in a PULL queue type. This payload type cannot be explicitly set through Cloud Tasks API. Its purpose, currently is to provide backward compatibility with App Engine Task Queue [pull](https://cloud.google.com/appengine/docs/standard/java/taskqueue/pull/) queues to provide a way to inspect contents of pull tasks through the CloudTasks." + }, "responseCount": { "description": "Output only. The number of attempts which have received a response.", "format": "int32", diff --git a/cloudtasks/v2beta3/cloudtasks-gen.go b/cloudtasks/v2beta3/cloudtasks-gen.go index d36d35207f6..7fd49096482 100644 --- a/cloudtasks/v2beta3/cloudtasks-gen.go +++ b/cloudtasks/v2beta3/cloudtasks-gen.go @@ -1214,6 +1214,47 @@ func (s *Policy) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// PullMessage: Pull Message. This proto can only be used for tasks in a +// queue which has PULL type. It currently exists for backwards +// compatibility with the App Engine Task Queue SDK. This message type +// maybe returned with methods list and get, when the response view is +// FULL. +type PullMessage struct { + // Payload: A data payload consumed by the worker to execute the task. + Payload string `json:"payload,omitempty"` + + // Tag: The tasks's tag. The tag is less than 500 characters. SDK + // compatibility: Although the SDK allows tags to be either string or + // [bytes](https://cloud.google.com/appengine/docs/standard/java/javadoc/ + // com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-), + // only UTF-8 encoded tags can be used in Cloud Tasks. If a tag isn't + // UTF-8 encoded, the tag will be empty when the task is returned by + // Cloud Tasks. + Tag string `json:"tag,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Payload") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Payload") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *PullMessage) MarshalJSON() ([]byte, error) { + type NoMethod PullMessage + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // PurgeQueueRequest: Request message for PurgeQueue. type PurgeQueueRequest struct { } @@ -1310,6 +1351,11 @@ type Queue struct { // delete this queue and all of its tasks, call DeleteQueue. State string `json:"state,omitempty"` + // Stats: Output only. The realtime, informational statistics for a + // queue. In order to receive the statistics the caller should include + // this field in the FieldMask. + Stats *QueueStats `json:"stats,omitempty"` + // Type: Immutable. The type of a queue (push or pull). `Queue.type` is // an immutable property of the queue that is set at the queue creation // time. When left unspecified, the default value of `PUSH` is selected. @@ -1348,6 +1394,75 @@ func (s *Queue) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// QueueStats: Statistics for a queue. +type QueueStats struct { + // ConcurrentDispatchesCount: Output only. The number of requests that + // the queue has dispatched but has not received a reply for yet. + ConcurrentDispatchesCount int64 `json:"concurrentDispatchesCount,omitempty,string"` + + // EffectiveExecutionRate: Output only. The current maximum number of + // tasks per second executed by the queue. The maximum value of this + // variable is controlled by the RateLimits of the Queue. However, this + // value could be less to avoid overloading the endpoints tasks in the + // queue are targeting. + EffectiveExecutionRate float64 `json:"effectiveExecutionRate,omitempty"` + + // ExecutedLastMinuteCount: Output only. The number of tasks that the + // queue has dispatched and received a reply for during the last minute. + // This variable counts both successful and non-successful executions. + ExecutedLastMinuteCount int64 `json:"executedLastMinuteCount,omitempty,string"` + + // OldestEstimatedArrivalTime: Output only. An estimation of the nearest + // time in the future where a task in the queue is scheduled to be + // executed. + OldestEstimatedArrivalTime string `json:"oldestEstimatedArrivalTime,omitempty"` + + // TasksCount: Output only. An estimation of the number of tasks in the + // queue, that is, the tasks in the queue that haven't been executed, + // the tasks in the queue which the queue has dispatched but has not yet + // received a reply for, and the failed tasks that the queue is + // retrying. + TasksCount int64 `json:"tasksCount,omitempty,string"` + + // ForceSendFields is a list of field names (e.g. + // "ConcurrentDispatchesCount") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. + // "ConcurrentDispatchesCount") to include in API requests with the JSON + // null value. By default, fields with empty values are omitted from API + // requests. However, any field with an empty value appearing in + // NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *QueueStats) MarshalJSON() ([]byte, error) { + type NoMethod QueueStats + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *QueueStats) UnmarshalJSON(data []byte) error { + type NoMethod QueueStats + var s1 struct { + EffectiveExecutionRate gensupport.JSONFloat64 `json:"effectiveExecutionRate"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.EffectiveExecutionRate = float64(s1.EffectiveExecutionRate) + return nil +} + // RateLimits: Rate limits. This message determines the maximum rate // that tasks can be dispatched by a queue, regardless of whether the // dispatch is a first task attempt or a retry. Note: The debugging @@ -1761,6 +1876,15 @@ type Task struct { // maximum length is 500 characters. Name string `json:"name,omitempty"` + // PullMessage: Pull Message contained in a task in a PULL queue type. + // This payload type cannot be explicitly set through Cloud Tasks API. + // Its purpose, currently is to provide backward compatibility with App + // Engine Task Queue + // [pull](https://cloud.google.com/appengine/docs/standard/java/taskqueue + // /pull/) queues to provide a way to inspect contents of pull tasks + // through the CloudTasks. + PullMessage *PullMessage `json:"pullMessage,omitempty"` + // ResponseCount: Output only. The number of attempts which have // received a response. ResponseCount int64 `json:"responseCount,omitempty"` @@ -1936,7 +2060,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2102,7 +2226,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2281,7 +2405,7 @@ func (c *ProjectsLocationsQueuesCreateCall) Header() http.Header { func (c *ProjectsLocationsQueuesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2426,7 +2550,7 @@ func (c *ProjectsLocationsQueuesDeleteCall) Header() http.Header { func (c *ProjectsLocationsQueuesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2530,6 +2654,17 @@ func (r *ProjectsLocationsQueuesService) Get(name string) *ProjectsLocationsQueu return c } +// ReadMask sets the optional parameter "readMask": Read mask is used +// for a more granular control over what the API returns. If the mask is +// not present all fields will be returned except [Queue.stats], if the +// mask is set to "*" all fields including [Queue.stats] will be +// returned, otherwise only the fields explicitly specified in the mask +// will be returned. +func (c *ProjectsLocationsQueuesGetCall) ReadMask(readMask string) *ProjectsLocationsQueuesGetCall { + c.urlParams_.Set("readMask", readMask) + return c +} + // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. @@ -2567,7 +2702,7 @@ func (c *ProjectsLocationsQueuesGetCall) Header() http.Header { func (c *ProjectsLocationsQueuesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2643,6 +2778,12 @@ func (c *ProjectsLocationsQueuesGetCall) Do(opts ...googleapi.CallOption) (*Queu // "pattern": "^projects/[^/]+/locations/[^/]+/queues/[^/]+$", // "required": true, // "type": "string" + // }, + // "readMask": { + // "description": "Optional. Read mask is used for a more granular control over what the API returns. If the mask is not present all fields will be returned except [Queue.stats], if the mask is set to \"*\" all fields including [Queue.stats] will be returned, otherwise only the fields explicitly specified in the mask will be returned.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" // } // }, // "path": "v2beta3/{+name}", @@ -2706,7 +2847,7 @@ func (c *ProjectsLocationsQueuesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsQueuesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2852,6 +2993,17 @@ func (c *ProjectsLocationsQueuesListCall) PageToken(pageToken string) *ProjectsL return c } +// ReadMask sets the optional parameter "readMask": Read mask is used +// for a more granular control on the queues that the API returns. If +// the mask is not present all fields will be returned except +// [Queue.stats], if the mask is set to "*" all fields including +// [Queue.stats] will be returned, otherwise only the fields explicitly +// specified in the mask will be returned. +func (c *ProjectsLocationsQueuesListCall) ReadMask(readMask string) *ProjectsLocationsQueuesListCall { + c.urlParams_.Set("readMask", readMask) + return c +} + // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. @@ -2889,7 +3041,7 @@ func (c *ProjectsLocationsQueuesListCall) Header() http.Header { func (c *ProjectsLocationsQueuesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2981,6 +3133,12 @@ func (c *ProjectsLocationsQueuesListCall) Do(opts ...googleapi.CallOption) (*Lis // "pattern": "^projects/[^/]+/locations/[^/]+$", // "required": true, // "type": "string" + // }, + // "readMask": { + // "description": "Optional. Read mask is used for a more granular control on the queues that the API returns. If the mask is not present all fields will be returned except [Queue.stats], if the mask is set to \"*\" all fields including [Queue.stats] will be returned, otherwise only the fields explicitly specified in the mask will be returned.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" // } // }, // "path": "v2beta3/{+parent}/queues", @@ -3078,7 +3236,7 @@ func (c *ProjectsLocationsQueuesPatchCall) Header() http.Header { func (c *ProjectsLocationsQueuesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3227,7 +3385,7 @@ func (c *ProjectsLocationsQueuesPauseCall) Header() http.Header { func (c *ProjectsLocationsQueuesPauseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3370,7 +3528,7 @@ func (c *ProjectsLocationsQueuesPurgeCall) Header() http.Header { func (c *ProjectsLocationsQueuesPurgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3516,7 +3674,7 @@ func (c *ProjectsLocationsQueuesResumeCall) Header() http.Header { func (c *ProjectsLocationsQueuesResumeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3661,7 +3819,7 @@ func (c *ProjectsLocationsQueuesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsQueuesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3806,7 +3964,7 @@ func (c *ProjectsLocationsQueuesTestIamPermissionsCall) Header() http.Header { func (c *ProjectsLocationsQueuesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3948,7 +4106,7 @@ func (c *ProjectsLocationsQueuesTasksCreateCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4088,7 +4246,7 @@ func (c *ProjectsLocationsQueuesTasksDeleteCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4253,7 +4411,7 @@ func (c *ProjectsLocationsQueuesTasksGetCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4460,7 +4618,7 @@ func (c *ProjectsLocationsQueuesTasksListCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4655,7 +4813,7 @@ func (c *ProjectsLocationsQueuesTasksRunCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksRunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudtrace/v1/cloudtrace-gen.go b/cloudtrace/v1/cloudtrace-gen.go index 4044a6d52ce..4c2cba0fb8b 100644 --- a/cloudtrace/v1/cloudtrace-gen.go +++ b/cloudtrace/v1/cloudtrace-gen.go @@ -419,7 +419,7 @@ func (c *ProjectsPatchTracesCall) Header() http.Header { func (c *ProjectsPatchTracesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -570,7 +570,7 @@ func (c *ProjectsTracesGetCall) Header() http.Header { func (c *ProjectsTracesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -813,7 +813,7 @@ func (c *ProjectsTracesListCall) Header() http.Header { func (c *ProjectsTracesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudtrace/v2/cloudtrace-gen.go b/cloudtrace/v2/cloudtrace-gen.go index c2586f15778..7f47e85f5ed 100644 --- a/cloudtrace/v2/cloudtrace-gen.go +++ b/cloudtrace/v2/cloudtrace-gen.go @@ -947,7 +947,7 @@ func (c *ProjectsTracesBatchWriteCall) Header() http.Header { func (c *ProjectsTracesBatchWriteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1088,7 +1088,7 @@ func (c *ProjectsTracesSpansCreateSpanCall) Header() http.Header { func (c *ProjectsTracesSpansCreateSpanCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudtrace/v2beta1/cloudtrace-gen.go b/cloudtrace/v2beta1/cloudtrace-gen.go index ec0edc4c133..47aa07c265d 100644 --- a/cloudtrace/v2beta1/cloudtrace-gen.go +++ b/cloudtrace/v2beta1/cloudtrace-gen.go @@ -353,7 +353,7 @@ func (c *ProjectsTraceSinksCreateCall) Header() http.Header { func (c *ProjectsTraceSinksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -492,7 +492,7 @@ func (c *ProjectsTraceSinksDeleteCall) Header() http.Header { func (c *ProjectsTraceSinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -635,7 +635,7 @@ func (c *ProjectsTraceSinksGetCall) Header() http.Header { func (c *ProjectsTraceSinksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -799,7 +799,7 @@ func (c *ProjectsTraceSinksListCall) Header() http.Header { func (c *ProjectsTraceSinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -982,7 +982,7 @@ func (c *ProjectsTraceSinksPatchCall) Header() http.Header { func (c *ProjectsTraceSinksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/composer/v1/composer-gen.go b/composer/v1/composer-gen.go index 7c49be3adea..4b38f705418 100644 --- a/composer/v1/composer-gen.go +++ b/composer/v1/composer-gen.go @@ -1186,7 +1186,7 @@ func (c *ProjectsLocationsEnvironmentsCreateCall) Header() http.Header { func (c *ProjectsLocationsEnvironmentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1324,7 +1324,7 @@ func (c *ProjectsLocationsEnvironmentsDeleteCall) Header() http.Header { func (c *ProjectsLocationsEnvironmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1465,7 +1465,7 @@ func (c *ProjectsLocationsEnvironmentsGetCall) Header() http.Header { func (c *ProjectsLocationsEnvironmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1623,7 +1623,7 @@ func (c *ProjectsLocationsEnvironmentsListCall) Header() http.Header { func (c *ProjectsLocationsEnvironmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1864,7 +1864,7 @@ func (c *ProjectsLocationsEnvironmentsPatchCall) Header() http.Header { func (c *ProjectsLocationsEnvironmentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2041,7 +2041,7 @@ func (c *ProjectsLocationsImageVersionsListCall) Header() http.Header { func (c *ProjectsLocationsImageVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2214,7 +2214,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2357,7 +2357,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2531,7 +2531,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/composer/v1beta1/composer-gen.go b/composer/v1beta1/composer-gen.go index 2ac6e104c2d..43425c8f9ca 100644 --- a/composer/v1beta1/composer-gen.go +++ b/composer/v1beta1/composer-gen.go @@ -1304,7 +1304,7 @@ func (c *ProjectsLocationsEnvironmentsCreateCall) Header() http.Header { func (c *ProjectsLocationsEnvironmentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1442,7 +1442,7 @@ func (c *ProjectsLocationsEnvironmentsDeleteCall) Header() http.Header { func (c *ProjectsLocationsEnvironmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1583,7 +1583,7 @@ func (c *ProjectsLocationsEnvironmentsGetCall) Header() http.Header { func (c *ProjectsLocationsEnvironmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1741,7 +1741,7 @@ func (c *ProjectsLocationsEnvironmentsListCall) Header() http.Header { func (c *ProjectsLocationsEnvironmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1995,7 +1995,7 @@ func (c *ProjectsLocationsEnvironmentsPatchCall) Header() http.Header { func (c *ProjectsLocationsEnvironmentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2141,7 +2141,7 @@ func (c *ProjectsLocationsEnvironmentsRestartWebServerCall) Header() http.Header func (c *ProjectsLocationsEnvironmentsRestartWebServerCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2312,7 +2312,7 @@ func (c *ProjectsLocationsImageVersionsListCall) Header() http.Header { func (c *ProjectsLocationsImageVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2485,7 +2485,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2628,7 +2628,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2802,7 +2802,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/compute/v0.alpha/compute-api.json b/compute/v0.alpha/compute-api.json index a6b2a041723..19ff3947c26 100644 --- a/compute/v0.alpha/compute-api.json +++ b/compute/v0.alpha/compute-api.json @@ -29,7 +29,7 @@ "description": "Creates and runs virtual machines on Google Cloud Platform.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/compute/docs/reference/latest/", - "etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/9ahXG5LMOkoK4jbn0XWcoDNk8_U\"", + "etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/HXL6HxYDuzk5O6CgmLitl2GkD8s\"", "icons": { "x16": "https://www.google.com/images/icons/product/compute_engine-16.png", "x32": "https://www.google.com/images/icons/product/compute_engine-32.png" @@ -7521,7 +7521,7 @@ ] }, "setAutoHealingPolicies": { - "description": "Modifies the autohealing policies. [Deprecated] This method is deprecated. Please use Patch instead.", + "description": "Motifies the autohealing policy for the instances in this managed instance group. [Deprecated] This method is deprecated. Use instanceGroupManagers.patch instead.", "httpMethod": "POST", "id": "compute.instanceGroupManagers.setAutoHealingPolicies", "parameterOrder": [ @@ -21149,7 +21149,7 @@ ] }, "patchPerInstanceConfigs": { - "description": "Insert or patch (for the ones that already exist) per-instance configs for the managed instance group. perInstanceConfig.instance serves as a key used to distinguish whether to perform insert or patch.", + "description": "Inserts or patches per-instance configs for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch.", "httpMethod": "POST", "id": "compute.regionInstanceGroupManagers.patchPerInstanceConfigs", "parameterOrder": [ @@ -21296,7 +21296,7 @@ ] }, "setAutoHealingPolicies": { - "description": "Modifies the autohealing policy for the instances in this managed instance group. [Deprecated] This method is deprecated. Please use Patch instead.", + "description": "Modifies the autohealing policy for the instances in this managed instance group. [Deprecated] This method is deprecated. Use regionInstanceGroupManagers.patch instead.", "httpMethod": "POST", "id": "compute.regionInstanceGroupManagers.setAutoHealingPolicies", "parameterOrder": [ @@ -21529,7 +21529,7 @@ ] }, "updatePerInstanceConfigs": { - "description": "Insert or update (for the ones that already exist) per-instance configs for the managed instance group. perInstanceConfig.instance serves as a key used to distinguish whether to perform insert or patch.", + "description": "Inserts or updates per-instance configs for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch.", "httpMethod": "POST", "id": "compute.regionInstanceGroupManagers.updatePerInstanceConfigs", "parameterOrder": [ @@ -21977,7 +21977,7 @@ }, "path": "projects/{project}/regions/{region}/instantSnapshots/{instantSnapshot}/export", "request": { - "$ref": "InstantSnapshotExportParams" + "$ref": "RegionInstantSnapshotsExportRequest" }, "response": { "$ref": "Operation" @@ -26218,7 +26218,7 @@ ] }, "patch": { - "description": "Patches the specified policy with the data included in the request.", + "description": "Patches the specified policy with the data included in the request. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead.", "httpMethod": "PATCH", "id": "compute.securityPolicies.patch", "parameterOrder": [ @@ -32847,7 +32847,7 @@ }, "path": "projects/{project}/zones/{zone}/instantSnapshots/{instantSnapshot}/export", "request": { - "$ref": "InstantSnapshotExportParams" + "$ref": "ZoneInstantSnapshotsExportRequest" }, "response": { "$ref": "Operation" @@ -33471,7 +33471,7 @@ } } }, - "revision": "20201102", + "revision": "20201122", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -34993,7 +34993,7 @@ "type": "string" }, "recommendedSize": { - "description": "[Output Only] Target recommended MIG size (number of instances) computed by autoscaler. Autoscaler calculates recommended MIG size even when autoscaling policy mode is different from ON. This field is empty when autoscaler is not connected to the existing managed instance group or autoscaler did not generate its prediction.", + "description": "[Output Only] Target recommended MIG size (number of instances) computed by autoscaler. Autoscaler calculates the recommended MIG size even when the autoscaling policy mode is different from ON. This field is empty when autoscaler is not connected to an existing managed instance group or autoscaler did not generate its prediction.", "format": "int32", "type": "integer" }, @@ -35040,7 +35040,7 @@ "type": "array" }, "target": { - "description": "URL of the managed instance group that this autoscaler will scale.", + "description": "URL of the managed instance group that this autoscaler will scale. This field is required when creating an autoscaler.", "type": "string" }, "zone": { @@ -35297,7 +35297,7 @@ "type": "string" }, "type": { - "description": "The type of error, warning, or notice returned. Current set of possible values: \n- ALL_INSTANCES_UNHEALTHY (WARNING): All instances in the instance group are unhealthy (not in RUNNING state). \n- BACKEND_SERVICE_DOES_NOT_EXIST (ERROR): There is no backend service attached to the instance group. \n- CAPPED_AT_MAX_NUM_REPLICAS (WARNING): Autoscaler recommends a size greater than maxNumReplicas. \n- CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE (WARNING): The custom metric samples are not exported often enough to be a credible base for autoscaling. \n- CUSTOM_METRIC_INVALID (ERROR): The custom metric that was specified does not exist or does not have the necessary labels. \n- MIN_EQUALS_MAX (WARNING): The minNumReplicas is equal to maxNumReplicas. This means the autoscaler cannot add or remove instances from the instance group. \n- MISSING_CUSTOM_METRIC_DATA_POINTS (WARNING): The autoscaler did not receive any data from the custom metric configured for autoscaling. \n- MISSING_LOAD_BALANCING_DATA_POINTS (WARNING): The autoscaler is configured to scale based on a load balancing signal but the instance group has not received any requests from the load balancer. \n- MODE_OFF (WARNING): Autoscaling is turned off. The number of instances in the group won't change automatically. The autoscaling configuration is preserved. \n- MODE_ONLY_UP (WARNING): Autoscaling is in the \"Autoscale only up\" mode. The autoscaler can add instances but not remove any. \n- MORE_THAN_ONE_BACKEND_SERVICE (ERROR): The instance group cannot be autoscaled because it has more than one backend service attached to it. \n- NOT_ENOUGH_QUOTA_AVAILABLE (ERROR): There is insufficient quota for the necessary resources, such as CPU or number of instances. \n- REGION_RESOURCE_STOCKOUT (ERROR): Shown only for regional autoscalers: there is a resource stockout in the chosen region. \n- SCALING_TARGET_DOES_NOT_EXIST (ERROR): The target to be scaled does not exist. \n- UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION (ERROR): Autoscaling does not work with an HTTP/S load balancer that has been configured for maxRate. \n- ZONE_RESOURCE_STOCKOUT (ERROR): For zonal autoscalers: there is a resource stockout in the chosen zone. For regional autoscalers: in at least one of the zones you're using there is a resource stockout. New values might be added in the future. Some of the values might not be available in all API versions.", + "description": "The type of error, warning, or notice returned. Current set of possible values: \n- ALL_INSTANCES_UNHEALTHY (WARNING): All instances in the instance group are unhealthy (not in RUNNING state). \n- BACKEND_SERVICE_DOES_NOT_EXIST (ERROR): There is no backend service attached to the instance group. \n- CAPPED_AT_MAX_NUM_REPLICAS (WARNING): Autoscaler recommends a size greater than maxNumReplicas. \n- CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE (WARNING): The custom metric samples are not exported often enough to be a credible base for autoscaling. \n- CUSTOM_METRIC_INVALID (ERROR): The custom metric that was specified does not exist or does not have the necessary labels. \n- MIN_EQUALS_MAX (WARNING): The minNumReplicas is equal to maxNumReplicas. This means the autoscaler cannot add or remove instances from the instance group. \n- MISSING_CUSTOM_METRIC_DATA_POINTS (WARNING): The autoscaler did not receive any data from the custom metric configured for autoscaling. \n- MISSING_LOAD_BALANCING_DATA_POINTS (WARNING): The autoscaler is configured to scale based on a load balancing signal but the instance group has not received any requests from the load balancer. \n- MODE_OFF (WARNING): Autoscaling is turned off. The number of instances in the group won't change automatically. The autoscaling configuration is preserved. \n- MODE_ONLY_UP (WARNING): Autoscaling is in the \"Autoscale only out\" mode. The autoscaler can add instances but not remove any. \n- MORE_THAN_ONE_BACKEND_SERVICE (ERROR): The instance group cannot be autoscaled because it has more than one backend service attached to it. \n- NOT_ENOUGH_QUOTA_AVAILABLE (ERROR): There is insufficient quota for the necessary resources, such as CPU or number of instances. \n- REGION_RESOURCE_STOCKOUT (ERROR): Shown only for regional autoscalers: there is a resource stockout in the chosen region. \n- SCALING_TARGET_DOES_NOT_EXIST (ERROR): The target to be scaled does not exist. \n- UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION (ERROR): Autoscaling does not work with an HTTP/S load balancer that has been configured for maxRate. \n- ZONE_RESOURCE_STOCKOUT (ERROR): For zonal autoscalers: there is a resource stockout in the chosen zone. For regional autoscalers: in at least one of the zones you're using there is a resource stockout. New values might be added in the future. Some of the values might not be available in all API versions.", "enum": [ "ALL_INSTANCES_UNHEALTHY", "BACKEND_SERVICE_DOES_NOT_EXIST", @@ -35446,7 +35446,7 @@ "id": "AutoscalingPolicy", "properties": { "coolDownPeriodSec": { - "description": "The number of seconds that the autoscaler should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. The default time autoscaler waits is 60 seconds.\n\nVirtual machine initialization times might vary because of numerous factors. We recommend that you test how long an instance may take to initialize. To do this, create an instance and time the startup process.", + "description": "The number of seconds that the autoscaler waits before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. The default time autoscaler waits is 60 seconds.\n\nVirtual machine initialization times might vary because of numerous factors. We recommend that you test how long an instance may take to initialize. To do this, create an instance and time the startup process.", "format": "int32", "type": "integer" }, @@ -35466,12 +35466,12 @@ "description": "Configuration parameters of autoscaling based on load balancer." }, "maxNumReplicas": { - "description": "The maximum number of instances that the autoscaler can scale up to. This is required when creating or updating an autoscaler. The maximum number of replicas should not be lower than minimal number of replicas.", + "description": "The maximum number of instances that the autoscaler can scale out to. This is required when creating or updating an autoscaler. The maximum number of replicas must not be lower than minimal number of replicas.", "format": "int32", "type": "integer" }, "minNumReplicas": { - "description": "The minimum number of replicas that the autoscaler can scale down to. This cannot be less than 0. If not provided, autoscaler will choose a default value depending on maximum number of instances allowed.", + "description": "The minimum number of replicas that the autoscaler can scale in to. This cannot be less than 0. If not provided, autoscaler chooses a default value depending on maximum number of instances allowed.", "format": "int32", "type": "integer" }, @@ -35501,7 +35501,7 @@ "additionalProperties": { "$ref": "AutoscalingPolicyScalingSchedule" }, - "description": "Scaling schedules defined for an autoscaler. Multiple schedules can be set on an autoscaler and they can overlap. During overlapping periods the greatest min_required_replicas of all scaling schedules will be applied. Up to 128 scaling schedules are allowed.", + "description": "Scaling schedules defined for an autoscaler. Multiple schedules can be set on an autoscaler, and they can overlap. During overlapping periods the greatest min_required_replicas of all scaling schedules is applied. Up to 128 scaling schedules are allowed.", "type": "object" } }, @@ -35528,7 +35528,7 @@ "type": "string" }, "utilizationTarget": { - "description": "The target CPU utilization that the autoscaler should maintain. Must be a float value in the range (0, 1]. If not specified, the default is 0.6.\n\nIf the CPU level is below the target utilization, the autoscaler scales down the number of instances until it reaches the minimum number of instances you specified or until the average CPU of your instances reaches the target utilization.\n\nIf the average CPU is above the target utilization, the autoscaler scales up until it reaches the maximum number of instances you specified or until the average utilization reaches the target utilization.", + "description": "The target CPU utilization that the autoscaler maintains. Must be a float value in the range (0, 1]. If not specified, the default is 0.6.\n\nIf the CPU level is below the target utilization, the autoscaler scales in the number of instances until it reaches the minimum number of instances you specified or until the average CPU of your instances reaches the target utilization.\n\nIf the average CPU is above the target utilization, the autoscaler scales out until it reaches the maximum number of instances you specified or until the average utilization reaches the target utilization.", "format": "double", "type": "number" } @@ -35540,7 +35540,7 @@ "id": "AutoscalingPolicyCustomMetricUtilization", "properties": { "filter": { - "description": "A filter string, compatible with a Stackdriver Monitoring filter string for TimeSeries.list API call. This filter is used to select a specific TimeSeries for the purpose of autoscaling and to determine whether the metric is exporting per-instance or per-group data.\n\nFor the filter to be valid for autoscaling purposes, the following rules apply: \n- You can only use the AND operator for joining selectors. \n- You can only use direct equality comparison operator (=) without any functions for each selector. \n- You can specify the metric in both the filter string and in the metric field. However, if specified in both places, the metric must be identical. \n- The monitored resource type determines what kind of values are expected for the metric. If it is a gce_instance, the autoscaler expects the metric to include a separate TimeSeries for each instance in a group. In such a case, you cannot filter on resource labels.\nIf the resource type is any other value, the autoscaler expects this metric to contain values that apply to the entire autoscaled instance group and resource label filtering can be performed to point autoscaler at the correct TimeSeries to scale upon. This is called a per-group metric for the purpose of autoscaling.\n\nIf not specified, the type defaults to gce_instance. \n\nYou should provide a filter that is selective enough to pick just one TimeSeries for the autoscaled group or for each of the instances (if you are using gce_instance resource type). If multiple TimeSeries are returned upon the query execution, the autoscaler will sum their respective values to obtain its scaling value.", + "description": "A filter string, compatible with a Stackdriver Monitoring filter string for TimeSeries.list API call. This filter is used to select a specific TimeSeries for the purpose of autoscaling and to determine whether the metric is exporting per-instance or per-group data.\n\nFor the filter to be valid for autoscaling purposes, the following rules apply: \n- You can only use the AND operator for joining selectors. \n- You can only use direct equality comparison operator (=) without any functions for each selector. \n- You can specify the metric in both the filter string and in the metric field. However, if specified in both places, the metric must be identical. \n- The monitored resource type determines what kind of values are expected for the metric. If it is a gce_instance, the autoscaler expects the metric to include a separate TimeSeries for each instance in a group. In such a case, you cannot filter on resource labels.\nIf the resource type is any other value, the autoscaler expects this metric to contain values that apply to the entire autoscaled instance group and resource label filtering can be performed to point autoscaler at the correct TimeSeries to scale upon. This is called a per-group metric for the purpose of autoscaling.\n\nIf not specified, the type defaults to gce_instance. \n\nTry to provide a filter that is selective enough to pick just one TimeSeries for the autoscaled group or for each of the instances (if you are using gce_instance resource type). If multiple TimeSeries are returned upon the query execution, the autoscaler will sum their respective values to obtain its scaling value.", "type": "string" }, "metric": { @@ -35548,12 +35548,12 @@ "type": "string" }, "singleInstanceAssignment": { - "description": "If scaling is based on a per-group metric value that represents the total amount of work to be done or resource usage, set this value to an amount assigned for a single instance of the scaled group. Autoscaler will keep the number of instances proportional to the value of this metric, the metric itself should not change value due to group resizing.\n\nA good metric to use with the target is for example pubsub.googleapis.com/subscription/num_undelivered_messages or a custom metric exporting the total number of requests coming to your instances.\n\nA bad example would be a metric exporting an average or median latency, since this value can't include a chunk assignable to a single instance, it could be better used with utilization_target instead.", + "description": "If scaling is based on a per-group metric value that represents the total amount of work to be done or resource usage, set this value to an amount assigned for a single instance of the scaled group. Autoscaler keeps the number of instances proportional to the value of this metric. The metric itself does not change value due to group resizing.\n\nA good metric to use with the target is for example pubsub.googleapis.com/subscription/num_undelivered_messages or a custom metric exporting the total number of requests coming to your instances.\n\nA bad example would be a metric exporting an average or median latency, since this value can't include a chunk assignable to a single instance, it could be better used with utilization_target instead.", "format": "double", "type": "number" }, "utilizationTarget": { - "description": "The target value of the metric that autoscaler should maintain. This must be a positive value. A utilization metric scales number of virtual machines handling requests to increase or decrease proportionally to the metric.\n\nFor example, a good metric to use as a utilization_target is https://www.googleapis.com/compute/v1/instance/network/received_bytes_count. The autoscaler will work to keep this value constant for each of the instances.", + "description": "The target value of the metric that autoscaler maintains. This must be a positive value. A utilization metric scales number of virtual machines handling requests to increase or decrease proportionally to the metric.\n\nFor example, a good metric to use as a utilization_target is https://www.googleapis.com/compute/v1/instance/network/received_bytes_count. The autoscaler works to keep this value constant for each of the instances.", "format": "double", "type": "number" }, @@ -35579,7 +35579,7 @@ "id": "AutoscalingPolicyLoadBalancingUtilization", "properties": { "utilizationTarget": { - "description": "Fraction of backend capacity utilization (set in HTTP(S) load balancing configuration) that autoscaler should maintain. Must be a positive float value. If not defined, the default is 0.8.", + "description": "Fraction of backend capacity utilization (set in HTTP(S) load balancing configuration) that the autoscaler maintains. Must be a positive float value. If not defined, the default is 0.8.", "format": "double", "type": "number" } @@ -35587,7 +35587,7 @@ "type": "object" }, "AutoscalingPolicyScaleDownControl": { - "description": "Configuration that allows for slower scale down so that even if Autoscaler recommends an abrupt scale down of a MIG, it will be throttled as specified by the parameters below.", + "description": "Configuration that allows for slower scale in so that even if Autoscaler recommends an abrupt scale in of a MIG, it will be throttled as specified by the parameters below.", "id": "AutoscalingPolicyScaleDownControl", "properties": { "maxScaledDownReplicas": { @@ -35595,7 +35595,7 @@ "description": "Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step." }, "timeWindowSec": { - "description": "How long back autoscaling should look when computing recommendations to include directives regarding slower scale down, as described above.", + "description": "How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.", "format": "int32", "type": "integer" } @@ -35611,7 +35611,7 @@ "description": "Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step." }, "timeWindowSec": { - "description": "How long back autoscaling should look when computing recommendations to include directives regarding slower scale in, as described above.", + "description": "How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.", "format": "int32", "type": "integer" } @@ -35627,25 +35627,25 @@ "type": "string" }, "disabled": { - "description": "A boolean value that specifies if a scaling schedule can influence autoscaler recommendations. If set to true, then a scaling schedule has no effect. This field is optional and its value is false by default.", + "description": "A boolean value that specifies whether a scaling schedule can influence autoscaler recommendations. If set to true, then a scaling schedule has no effect. This field is optional, and its value is false by default.", "type": "boolean" }, "durationSec": { - "description": "The duration of time intervals (in seconds) for which this scaling schedule will be running. The minimum allowed value is 300. This field is required.", + "description": "The duration of time intervals, in seconds, for which this scaling schedule is to run. The minimum allowed value is 300. This field is required.", "format": "int32", "type": "integer" }, "minRequiredReplicas": { - "description": "Minimum number of VM instances that autoscaler will recommend in time intervals starting according to schedule. This field is required.", + "description": "The minimum number of VM instances that the autoscaler will recommend in time intervals starting according to schedule. This field is required.", "format": "int32", "type": "integer" }, "schedule": { - "description": "The start timestamps of time intervals when this scaling schedule should provide a scaling signal. This field uses the extended cron format (with an optional year field). The expression may describe a single timestamp if the optional year is set, in which case a scaling schedule will run once. schedule is interpreted with respect to time_zone. This field is required. NOTE: these timestamps only describe when autoscaler will start providing the scaling signal. The VMs will need additional time to become serving.", + "description": "The start timestamps of time intervals when this scaling schedule is to provide a scaling signal. This field uses the extended cron format (with an optional year field). The expression can describe a single timestamp if the optional year is set, in which case the scaling schedule runs once. The schedule is interpreted with respect to time_zone. This field is required. Note: These timestamps only describe when autoscaler starts providing the scaling signal. The VMs need additional time to become serving.", "type": "string" }, "timeZone": { - "description": "The time zone to be used when interpreting the schedule. The value of this field must be a time zone name from the tz database: http://en.wikipedia.org/wiki/Tz_database. This field will be assigned a default value of ?UTC? if left empty.", + "description": "The time zone to use when interpreting the schedule. The value of this field must be a time zone name from the tz database: http://en.wikipedia.org/wiki/Tz_database. This field is assigned a default value of ?UTC? if left empty.", "type": "string" } }, @@ -35656,7 +35656,7 @@ "id": "Backend", "properties": { "balancingMode": { - "description": "Specifies the balancing mode for the backend.\n\nWhen choosing a balancing mode, you need to consider the loadBalancingScheme, and protocol for the backend service, as well as the type of backend (instance group or NEG).\n\n \n- If the load balancing mode is CONNECTION, then the load is spread based on how many concurrent connections the backend can handle.\nYou can use the CONNECTION balancing mode if the protocol for the backend service is SSL, TCP, or UDP.\n\nIf the loadBalancingScheme for the backend service is EXTERNAL (SSL Proxy and TCP Proxy load balancers), you must also specify exactly one of the following parameters: maxConnections (except for regional managed instance groups), maxConnectionsPerInstance, or maxConnectionsPerEndpoint.\n\nIf the loadBalancingScheme for the backend service is INTERNAL (internal TCP/UDP load balancers), you cannot specify any additional parameters.\n \n- If the load balancing mode is RATE, the load is spread based on the rate of HTTP requests per second (RPS).\nYou can use the RATE balancing mode if the protocol for the backend service is HTTP or HTTPS. You must specify exactly one of the following parameters: maxRate (except for regional managed instance groups), maxRatePerInstance, or maxRatePerEndpoint.\n \n- If the load balancing mode is UTILIZATION, the load is spread based on the backend utilization of instances in an instance group.\nYou can use the UTILIZATION balancing mode if the loadBalancingScheme of the backend service is EXTERNAL, INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED and the backends are instance groups. There are no restrictions on the backend service protocol.", + "description": "Specifies the balancing mode for the backend.\n\nWhen choosing a balancing mode, you need to consider the loadBalancingScheme, and protocol for the backend service, as well as the type of backend (instance group or NEG).\n\n \n- If the load balancing mode is CONNECTION, then the load is spread based on how many concurrent connections the backend can handle.\nYou can use the CONNECTION balancing mode if the protocol for the backend service is SSL, TCP, or UDP.\n\nIf the loadBalancingScheme for the backend service is EXTERNAL (SSL Proxy and TCP Proxy load balancers), you must also specify exactly one of the following parameters: maxConnections (except for regional managed instance groups), maxConnectionsPerInstance, or maxConnectionsPerEndpoint.\n\nIf the loadBalancingScheme for the backend service is INTERNAL (internal TCP/UDP Load Balancers) or EXTERNAL (Network Load Balancing), you cannot specify any additional parameters.\n \n- If the load balancing mode is RATE, the load is spread based on the rate of HTTP requests per second (RPS).\nYou can use the RATE balancing mode if the protocol for the backend service is HTTP, HTTP2, or HTTPS. You must specify exactly one of the following parameters: maxRate (except for regional managed instance groups), maxRatePerInstance, or maxRatePerEndpoint.\n \n- If the load balancing mode is UTILIZATION, the load is spread based on the backend utilization of instances in an instance group.\nYou can use the UTILIZATION balancing mode if the loadBalancingScheme of the backend service is EXTERNAL (except Network Load Balancing), INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED and the backends are instance groups. There are no restrictions on the backend service protocol.", "enum": [ "CONNECTION", "RATE", @@ -35670,7 +35670,7 @@ "type": "string" }, "capacityScaler": { - "description": "A multiplier applied to the group's maximum servicing capacity (based on UTILIZATION, RATE or CONNECTION). Default value is 1, which means the group will serve up to 100% of its configured capacity (depending on balancingMode). A setting of 0 means the group is completely drained, offering 0% of its available capacity. Valid range is 0.0 and [0.1,1.0]. You cannot configure a setting larger than 0 and smaller than 0.1. You cannot configure a setting of 0 when there is only one backend attached to the backend service.\n\nThis cannot be used for internal load balancing.", + "description": "A multiplier applied to the group's maximum servicing capacity (based on UTILIZATION, RATE or CONNECTION). Default value is 1, which means the group will serve up to 100% of its configured capacity (depending on balancingMode). A setting of 0 means the group is completely drained, offering 0% of its available capacity. Valid range is 0.0 and [0.1,1.0]. You cannot configure a setting larger than 0 and smaller than 0.1. You cannot configure a setting of 0 when there is only one backend attached to the backend service.\n\nThis cannot be used for Internal TCP/UDP Load Balancing and Network Load Balancing.", "format": "float", "type": "number" }, @@ -35683,21 +35683,21 @@ "type": "boolean" }, "group": { - "description": "The fully-qualified URL of an instance group or network endpoint group (NEG) resource. The type of backend that a backend service supports depends on the backend service's loadBalancingScheme.\n\n \n- When the loadBalancingScheme for the backend service is EXTERNAL, INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED, the backend can be either an instance group or a NEG. The backends on the backend service must be either all instance groups or all NEGs. You cannot mix instance group and NEG backends on the same backend service. \n\n\n- When the loadBalancingScheme for the backend service is INTERNAL, the backend must be an instance group in the same region as the backend service. NEGs are not supported. \n\nYou must use the fully-qualified URL (starting with https://www.googleapis.com/) to specify the instance group or NEG. Partial URLs are not supported.", + "description": "The fully-qualified URL of an instance group or network endpoint group (NEG) resource. The type of backend that a backend service supports depends on the backend service's loadBalancingScheme.\n\n \n- When the loadBalancingScheme for the backend service is EXTERNAL (except Network Load Balancing), INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED , the backend can be either an instance group or a NEG. The backends on the backend service must be either all instance groups or all NEGs. You cannot mix instance group and NEG backends on the same backend service. \n\n\n- When the loadBalancingScheme for the backend service is EXTERNAL for Network Load Balancing or INTERNAL for Internal TCP/UDP Load Balancing, the backend must be an instance group. NEGs are not supported. \n\nFor regional services, the backend must be in the same region as the backend service.\n\nYou must use the fully-qualified URL (starting with https://www.googleapis.com/) to specify the instance group or NEG. Partial URLs are not supported.", "type": "string" }, "maxConnections": { - "description": "Defines a target maximum number of simultaneous connections that the backend can handle. Valid for network endpoint group and instance group backends (except for regional managed instance groups). If the backend's balancingMode is UTILIZATION, this is an optional parameter. If the backend's balancingMode is CONNECTION, and backend is attached to a backend service whose loadBalancingScheme is EXTERNAL, you must specify either this parameter, maxConnectionsPerInstance, or maxConnectionsPerEndpoint.\n\nNot available if the backend's balancingMode is RATE. If the loadBalancingScheme is INTERNAL, then maxConnections is not supported, even though the backend requires a balancing mode of CONNECTION.", + "description": "Defines a target maximum number of simultaneous connections that the backend can handle. Valid for network endpoint group and instance group backends (except for regional managed instance groups). If the backend's balancingMode is UTILIZATION, this is an optional parameter. If the backend's balancingMode is CONNECTION, and backend is attached to a backend service whose loadBalancingScheme is EXTERNAL (except Network Load Balancing), you must specify either this parameter, maxConnectionsPerInstance, or maxConnectionsPerEndpoint.\n\nNot available if the backend's balancingMode is RATE. Cannot be specified for Network Load Balancing or Internal TCP/UDP Load Balancing, even though those load balancers require a balancing mode of CONNECTION.", "format": "int32", "type": "integer" }, "maxConnectionsPerEndpoint": { - "description": "Defines a target maximum number of simultaneous connections for an endpoint of a NEG. This is multiplied by the number of endpoints in the NEG to implicitly calculate a maximum number of target maximum simultaneous connections for the NEG. If the backend's balancingMode is CONNECTION, and the backend is attached to a backend service whose loadBalancingScheme is EXTERNAL, you must specify either this parameter, maxConnections, or maxConnectionsPerInstance.\n\nNot available if the backend's balancingMode is RATE. Internal TCP/UDP load balancing does not support setting maxConnectionsPerEndpoint even though its backends require a balancing mode of CONNECTION.", + "description": "Defines a target maximum number of simultaneous connections for an endpoint of a NEG. This is multiplied by the number of endpoints in the NEG to implicitly calculate a maximum number of target maximum simultaneous connections for the NEG. If the backend's balancingMode is CONNECTION, and backend is attached to a backend service whose loadBalancingScheme is EXTERNAL (except Network Load Balancing), you must specify either this parameter, maxConnections, or maxConnectionsPerInstance.\n\nNot available if the backend's balancingMode is RATE. Cannot be specified for Network Load Balancing or Internal TCP/UDP Load Balancing, even though those load balancers require a balancing mode of CONNECTION.", "format": "int32", "type": "integer" }, "maxConnectionsPerInstance": { - "description": "Defines a target maximum number of simultaneous connections for a single VM in a backend instance group. This is multiplied by the number of instances in the instance group to implicitly calculate a target maximum number of simultaneous connections for the whole instance group. If the backend's balancingMode is UTILIZATION, this is an optional parameter. If the backend's balancingMode is CONNECTION, and backend is attached to a backend service whose loadBalancingScheme is EXTERNAL, you must specify either this parameter, maxConnections, or maxConnectionsPerEndpoint.\n\nNot available if the backend's balancingMode is RATE. Internal TCP/UDP load balancing does not support setting maxConnectionsPerInstance even though its backends require a balancing mode of CONNECTION.", + "description": "Defines a target maximum number of simultaneous connections for a single VM in a backend instance group. This is multiplied by the number of instances in the instance group to implicitly calculate a target maximum number of simultaneous connections for the whole instance group. If the backend's balancingMode is UTILIZATION, this is an optional parameter. If the backend's balancingMode is CONNECTION, and backend is attached to a backend service whose loadBalancingScheme is EXTERNAL (except Network Load Balancing), you must specify either this parameter, maxConnections, or maxConnectionsPerEndpoint.\n\nNot available if the backend's balancingMode is RATE. Cannot be specified for Network Load Balancing or Internal TCP/UDP Load Balancing, even though those load balancers require a balancing mode of CONNECTION.", "format": "int32", "type": "integer" }, @@ -36024,7 +36024,7 @@ }, "cdnPolicy": { "$ref": "BackendServiceCdnPolicy", - "description": "Cloud CDN configuration for this BackendService." + "description": "Cloud CDN configuration for this BackendService. Not available for Internal TCP/UDP Load Balancing and Network Load Balancing." }, "circuitBreakers": { "$ref": "CircuitBreakers", @@ -36072,7 +36072,7 @@ }, "failoverPolicy": { "$ref": "BackendServiceFailoverPolicy", - "description": "Applicable only to Failover for Internal TCP/UDP Load Balancing. Requires at least one backend instance group to be defined as a backup (failover) backend." + "description": "Applicable only to Failover for Internal TCP/UDP Load Balancing and Network Load Balancing. Requires at least one backend instance group to be defined as a backup (failover) backend." }, "fingerprint": { "description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a BackendService. An up-to-date fingerprint must be provided in order to update the BackendService, otherwise the request will fail with error 412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to retrieve a BackendService.", @@ -36088,7 +36088,7 @@ }, "iap": { "$ref": "BackendServiceIAP", - "description": "The configurations for Identity-Aware Proxy on this resource." + "description": "The configurations for Identity-Aware Proxy on this resource. Not available for Internal TCP/UDP Load Balancing and Network Load Balancing." }, "id": { "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", @@ -36101,7 +36101,7 @@ "type": "string" }, "loadBalancingScheme": { - "description": "Specifies the load balancer type. Choose EXTERNAL for load balancers that receive traffic from external clients. Choose INTERNAL for Internal TCP/UDP Load Balancing. Choose INTERNAL_MANAGED for Internal HTTP(S) Load Balancing. Choose INTERNAL_SELF_MANAGED for Traffic Director. A backend service created for one type of load balancing cannot be used with another. For more information, refer to Choosing a load balancer.", + "description": "Specifies the load balancer type. Choose EXTERNAL for external HTTP(S), SSL Proxy, TCP Proxy and Network Load Balancing. Choose INTERNAL for Internal TCP/UDP Load Balancing. Choose INTERNAL_MANAGED for Internal HTTP(S) Load Balancing. INTERNAL_SELF_MANAGED for Traffic Director. A backend service created for one type of load balancer cannot be used with another. For more information, refer to Choosing a load balancer.", "enum": [ "EXTERNAL", "EXTERNAL_MANAGED", @@ -36152,7 +36152,7 @@ "type": "string" }, "network": { - "description": "The URL of the network to which this backend service belongs. This field can only be spcified when the load balancing scheme is set to INTERNAL.", + "description": "The URL of the network to which this backend service belongs. This field can only be specified when the load balancing scheme is set to INTERNAL.", "type": "string" }, "outlierDetection": { @@ -36165,7 +36165,7 @@ "type": "integer" }, "portName": { - "description": "A named port on a backend instance group representing the port for communication to the backend VMs in that group. Required when the loadBalancingScheme is EXTERNAL, INTERNAL_MANAGED, or INTERNAL_SELF_MANAGED and the backends are instance groups. The named port must be defined on each backend instance group. This parameter has no meaning if the backends are NEGs.\n\n\n\nMust be omitted when the loadBalancingScheme is INTERNAL (Internal TCP/UDP Load Balancing).", + "description": "A named port on a backend instance group representing the port for communication to the backend VMs in that group. Required when the loadBalancingScheme is EXTERNAL (except Network Load Balancing), INTERNAL_MANAGED, or INTERNAL_SELF_MANAGED and the backends are instance groups. The named port must be defined on each backend instance group. This parameter has no meaning if the backends are NEGs.\n\n\n\nBackend services for Internal TCP/UDP Load Balancing and Network Load Balancing require you omit port_name.", "type": "string" }, "protocol": { @@ -36213,7 +36213,7 @@ "type": "string" }, "sessionAffinity": { - "description": "Type of session affinity to use. The default is NONE. Session affinity is not applicable if the --protocol is UDP.\n\nWhen the loadBalancingScheme is EXTERNAL, possible values are NONE, CLIENT_IP, or GENERATED_COOKIE. You can use GENERATED_COOKIE if the protocol is HTTP or HTTPS.\n\nWhen the loadBalancingScheme is INTERNAL, possible values are NONE, CLIENT_IP, CLIENT_IP_PROTO, or CLIENT_IP_PORT_PROTO.\n\nWhen the loadBalancingScheme is INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED, possible values are NONE, CLIENT_IP, GENERATED_COOKIE, HEADER_FIELD, or HTTP_COOKIE.\n\nNot supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.", + "description": "Type of session affinity to use. The default is NONE.\n\nWhen the loadBalancingScheme is EXTERNAL: * For Network Load Balancing, the possible values are NONE, CLIENT_IP, CLIENT_IP_PROTO, or CLIENT_IP_PORT_PROTO. * For all other load balancers that use loadBalancingScheme=EXTERNAL, the possible values are NONE, CLIENT_IP, or GENERATED_COOKIE. * You can use GENERATED_COOKIE if the protocol is HTTP, HTTP2, or HTTPS.\n\nWhen the loadBalancingScheme is INTERNAL, possible values are NONE, CLIENT_IP, CLIENT_IP_PROTO, or CLIENT_IP_PORT_PROTO.\n\nWhen the loadBalancingScheme is INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED, possible values are NONE, CLIENT_IP, GENERATED_COOKIE, HEADER_FIELD, or HTTP_COOKIE.\n\nNot supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.", "enum": [ "CLIENT_IP", "CLIENT_IP_NO_DESTINATION", @@ -36502,7 +36502,7 @@ "type": "object" }, "BackendServiceFailoverPolicy": { - "description": "Applicable only to Failover for Internal TCP/UDP Load Balancing. On failover or failback, this field indicates whether connection draining will be honored. GCP has a fixed connection draining timeout of 10 minutes. A setting of true terminates existing TCP connections to the active pool during failover and failback, immediately draining traffic. A setting of false allows existing TCP connections to persist, even on VMs no longer in the active pool, for up to the duration of the connection draining timeout (10 minutes).", + "description": "Applicable only to Failover for Internal TCP/UDP Load Balancing and Network Load Balancing. On failover or failback, this field indicates whether connection draining will be honored. GCP has a fixed connection draining timeout of 10 minutes. A setting of true terminates existing TCP connections to the active pool during failover and failback, immediately draining traffic. A setting of false allows existing TCP connections to persist, even on VMs no longer in the active pool, for up to the duration of the connection draining timeout (10 minutes).", "id": "BackendServiceFailoverPolicy", "properties": { "disableConnectionDrainOnFailover": { @@ -36510,11 +36510,11 @@ "type": "boolean" }, "dropTrafficIfUnhealthy": { - "description": "Applicable only to Failover for Internal TCP/UDP Load Balancing. If set to true, connections to the load balancer are dropped when all primary and all backup backend VMs are unhealthy. If set to false, connections are distributed among all primary VMs when all primary and all backup backend VMs are unhealthy.\n\nThe default is false.", + "description": "Applicable only to Failover for Internal TCP/UDP Load Balancing and Network Load Balancing, If set to true, connections to the load balancer are dropped when all primary and all backup backend VMs are unhealthy.If set to false, connections are distributed among all primary VMs when all primary and all backup backend VMs are unhealthy. The default is false.", "type": "boolean" }, "failoverRatio": { - "description": "Applicable only to Failover for Internal TCP/UDP Load Balancing. The value of the field must be in the range [0, 1]. If the value is 0, the load balancer performs a failover when the number of healthy primary VMs equals zero. For all other values, the load balancer performs a failover when the total number of healthy primary VMs is less than this ratio.", + "description": "Applicable only to Failover for Internal TCP/UDP Load Balancing and Network Load Balancing. The value of the field must be in the range [0, 1]. If the value is 0, the load balancer performs a failover when the number of healthy primary VMs equals zero. For all other values, the load balancer performs a failover when the total number of healthy primary VMs is less than this ratio.", "format": "float", "type": "number" } @@ -37145,7 +37145,7 @@ "type": "string" }, "namePattern": { - "description": "Instance name pattern. Name pattern includes a parameter to specify the auto-incrementing portion of the name, in a form of consecutive hash (#) chars, each of them corresponding to one digit of an instance name. For example: name_pattern = inst-####-prod will generate names starting with inst-0001-prod, inst-0002-prod, up to required count. If there exist instances matching the name pattern in the same project and zone, the initial instance number will be equal to the maximum existing instance number + 1 (e.g. if there exists an instance with name inst-0030-prod, then the generated names will start with inst-0031-prod). The name pattern placeholder #...# can contain up to 18 characters.", + "description": "The string pattern used for the names of the VMs. Either name_pattern or predefined_names must be set. The pattern should contain one consecutive sequence of placeholder hash characters (#) with each character corresponding to one digit of the generated instance name. Example: name_pattern of inst-#### will generate instance names like inst-0001, inst-0002, ... . If there already exist instance(s) whose names match the name pattern in the same project and zone, then the generated instance numbers will start after the biggest existing number. For example, if there exists an instance with name inst-0050, then instance names generated using the pattern inst-#### will be inst-0051, inst-0052, etc. The name pattern placeholder #...# can contain up to 18 characters.", "type": "string" }, "predefinedNames": { @@ -39181,7 +39181,7 @@ "id": "DistributionPolicy", "properties": { "targetShape": { - "description": "The shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType). The possible values are EVEN and ANY. For EVEN the group attempts to preserve a balanced number of instances across zones. For ANY the group creates new instances where resources are available to fulfill the request; as a result, instances may be distributed unevenly across zones in this mode. The default value is EVEN.", + "description": "The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).", "enum": [ "ANY", "BALANCED", @@ -40299,11 +40299,11 @@ "id": "ForwardingRule", "properties": { "IPAddress": { - "description": "IP address that this forwarding rule serves. When a client sends traffic to this IP address, the forwarding rule directs the traffic to the target that you specify in the forwarding rule.\n\nIf you don't specify a reserved IP address, an ephemeral IP address is assigned. Methods for specifying an IP address:\n\n* IPv4 dotted decimal, as in `100.1.2.3` * Full URL, as in https://www.googleapis.com/compute/v1/projects/project_id/regions/region/addresses/address-name * Partial URL or by name, as in: * projects/project_id/regions/region/addresses/address-name * regions/region/addresses/address-name * global/addresses/address-name * address-name \n\nThe loadBalancingScheme and the forwarding rule's target determine the type of IP address that you can use. For detailed information, refer to [IP address specifications](/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications).\n\nMust be set to `0.0.0.0` when the target is targetGrpcProxy that has validateForProxyless field set to true.\n\nFor Private Service Connect forwarding rules that forward traffic to Google APIs, IP address must be provided.", + "description": "IP address that this forwarding rule serves. When a client sends traffic to this IP address, the forwarding rule directs the traffic to the target that you specify in the forwarding rule.\n\nIf you don't specify a reserved IP address, an ephemeral IP address is assigned. Methods for specifying an IP address:\n\n* IPv4 dotted decimal, as in `100.1.2.3` * Full URL, as in https://www.googleapis.com/compute/v1/projects/project_id/regions/region/addresses/address-name * Partial URL or by name, as in: \n- projects/project_id/regions/region/addresses/address-name \n- regions/region/addresses/address-name \n- global/addresses/address-name \n- address-name \n\nThe loadBalancingScheme and the forwarding rule's target determine the type of IP address that you can use. For detailed information, refer to [IP address specifications](/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications).\n\nMust be set to `0.0.0.0` when the target is targetGrpcProxy that has validateForProxyless field set to true.\n\nFor Private Service Connect forwarding rules that forward traffic to Google APIs, IP address must be provided.", "type": "string" }, "IPProtocol": { - "description": "The IP protocol to which this rule applies. For protocol forwarding, valid options are TCP, UDP, ESP, AH, SCTP or ICMP.\n\nFor Internal TCP/UDP Load Balancing, the load balancing scheme is INTERNAL, and one of TCP or UDP are valid. For Traffic Director, the load balancing scheme is INTERNAL_SELF_MANAGED, and only TCPis valid. For Internal HTTP(S) Load Balancing, the load balancing scheme is INTERNAL_MANAGED, and only TCP is valid. For HTTP(S), SSL Proxy, and TCP Proxy Load Balancing, the load balancing scheme is EXTERNAL and only TCP is valid. For Network TCP/UDP Load Balancing, the load balancing scheme is EXTERNAL, and one of TCP or UDP is valid.", + "description": "The IP protocol to which this rule applies.\n\nFor protocol forwarding, valid options are TCP, UDP, ESP, AH, SCTP and ICMP.\n\nThe valid IP protocols are different for different load balancing products: \n- Internal TCP/UDP Load Balancing: The load balancing scheme is INTERNAL, and one of TCP, UDP or ALL is valid. \n- Traffic Director: The load balancing scheme is INTERNAL_SELF_MANAGED, and only TCP is valid. \n- Internal HTTP(S) Load Balancing: The load balancing scheme is INTERNAL_MANAGED, and only TCP is valid. \n- HTTP(S), SSL Proxy, and TCP Proxy Load Balancing: The load balancing scheme is EXTERNAL and only TCP is valid. \n- Network Load Balancing: The load balancing scheme is EXTERNAL, and one of TCP or UDP is valid.", "enum": [ "AH", "ALL", @@ -40333,7 +40333,7 @@ "type": "boolean" }, "backendService": { - "description": "This field is only used for INTERNAL load balancing.\n\nFor internal load balancing, this field identifies the BackendService resource to receive the matched traffic.", + "description": "Identifies the backend service to which the forwarding rule sends traffic. Required for Internal TCP/UDP Load Balancing and Network Load Balancing; must be omitted for all other load balancer types.", "type": "string" }, "creationTimestamp": { @@ -40390,7 +40390,7 @@ "type": "object" }, "loadBalancingScheme": { - "description": "Specifies the forwarding rule type.\n\n \n- EXTERNAL is used for: \n- Classic Cloud VPN gateways \n- Protocol forwarding to VMs from an external IP address \n- The following load balancers: HTTP(S), SSL Proxy, TCP Proxy, and Network TCP/UDP \n- INTERNAL is used for: \n- Protocol forwarding to VMs from an internal IP address \n- Internal TCP/UDP load balancers \n- INTERNAL_MANAGED is used for: \n- Internal HTTP(S) load balancers \n- INTERNAL_SELF_MANAGED is used for: \n- Traffic Director \n\nFor more information about forwarding rules, refer to Forwarding rule concepts.", + "description": "Specifies the forwarding rule type.\n\n \n- EXTERNAL is used for: \n- Classic Cloud VPN gateways \n- Protocol forwarding to VMs from an external IP address \n- HTTP(S), SSL Proxy, TCP Proxy, and Network Load Balancing \n- INTERNAL is used for: \n- Protocol forwarding to VMs from an internal IP address \n- Internal TCP/UDP Load Balancing \n- INTERNAL_MANAGED is used for: \n- Internal HTTP(S) Load Balancing \n- INTERNAL_SELF_MANAGED is used for: \n- Traffic Director \n\nFor more information about forwarding rules, refer to Forwarding rule concepts.", "enum": [ "EXTERNAL", "EXTERNAL_MANAGED", @@ -40422,7 +40422,7 @@ "type": "string" }, "network": { - "description": "This field is not used for external load balancing.\n\nFor internal load balancing, this field identifies the network that the load balanced IP should belong to for this Forwarding Rule. If this field is not specified, the default network will be used.\n\nFor Private Service Connect forwarding rules that forward traffic to Google APIs, a network must be provided.", + "description": "This field is not used for external load balancing.\n\nFor Internal TCP/UDP Load Balancing, this field identifies the network that the load balanced IP should belong to for this Forwarding Rule. If this field is not specified, the default network will be used.\n\nFor Private Service Connect forwarding rules that forward traffic to Google APIs, a network must be provided.", "type": "string" }, "networkTier": { @@ -40444,11 +40444,11 @@ "type": "string" }, "portRange": { - "description": "When the load balancing scheme is EXTERNAL, INTERNAL_SELF_MANAGED and INTERNAL_MANAGED, you can specify a port_range. Use with a forwarding rule that points to a target proxy or a target pool. Do not use with a forwarding rule that points to a backend service. This field is used along with the target field for TargetHttpProxy, TargetHttpsProxy, TargetSslProxy, TargetTcpProxy, TargetGrpcProxy, TargetVpnGateway, TargetPool, TargetInstance.\n\nApplicable only when IPProtocol is TCP, UDP, or SCTP, only packets addressed to ports in the specified range will be forwarded to target. Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint port ranges.\n\nSome types of forwarding target have constraints on the acceptable ports: \n- TargetHttpProxy: 80, 8080 \n- TargetHttpsProxy: 443 \n- TargetGrpcProxy: Any ports \n- TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688, 1883, 5222 \n- TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688, 1883, 5222 \n- TargetVpnGateway: 500, 4500", + "description": "This field can be used only if: * Load balancing scheme is one of EXTERNAL, INTERNAL_SELF_MANAGED or INTERNAL_MANAGED, and * IPProtocol is one of TCP, UDP, or SCTP.\n\nPackets addressed to ports in the specified range will be forwarded to target or backend_service. You can only use one of ports, port_range, or allPorts. The three are mutually exclusive. Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint port ranges.\n\nSome types of forwarding target have constraints on the acceptable ports: \n- TargetHttpProxy: 80, 8080 \n- TargetHttpsProxy: 443 \n- TargetGrpcProxy: no constraints \n- TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688, 1883, 5222 \n- TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688, 1883, 5222 \n- TargetVpnGateway: 500, 4500", "type": "string" }, "ports": { - "description": "This field is used along with the backend_service field for internal load balancing.\n\nWhen the load balancing scheme is INTERNAL, a list of ports can be configured, for example, ['80'], ['8000','9000']. Only packets addressed to these ports are forwarded to the backends configured with the forwarding rule.\n\nIf the forwarding rule's loadBalancingScheme is INTERNAL, you can specify ports in one of the following ways:\n\n* A list of up to five ports, which can be non-contiguous * Keyword ALL, which causes the forwarding rule to forward traffic on any port of the forwarding rule's protocol.", + "description": "The ports field is only supported when the forwarding rule references a backend_service directly. Supported load balancing products are Internal TCP/UDP Load Balancing and Network Load Balancing. Only packets addressed to the specified list of ports are forwarded to backends.\n\nYou can only use one of ports and port_range, or allPorts. The three are mutually exclusive.\n\nYou can specify a list of up to five ports, which can be non-contiguous.\n\nFor Internal TCP/UDP Load Balancing, if you specify allPorts, you should not specify ports.\n\nFor more information, see [Port specifications](/load-balancing/docs/forwarding-rule-concepts#port_specifications).", "items": { "type": "string" }, @@ -40467,7 +40467,7 @@ "type": "string" }, "serviceDirectoryRegistrations": { - "description": "Service Directory resources to register this forwarding rule with. Currently, only supports a single Service Directory resource.", + "description": "Service Directory resources to register this forwarding rule with. Currently, only supports a single Service Directory resource.\n\nIt is only supported for Internal TCP/UDP Load Balancing and Internal HTTP(S) Load Balancing.", "items": { "$ref": "ForwardingRuleServiceDirectoryRegistration" }, @@ -41958,6 +41958,24 @@ "description": "The named port of the instance group, not necessarily the port that is health-checked.", "format": "int32", "type": "integer" + }, + "weight": { + "type": "string" + }, + "weightError": { + "enum": [ + "INVALID_WEIGHT", + "MISSING_WEIGHT", + "UNAVAILABLE_WEIGHT", + "WEIGHT_NONE" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" } }, "type": "object" @@ -43473,6 +43491,9 @@ }, "type": "array" }, + "networkPerformanceConfig": { + "$ref": "NetworkPerformanceConfig" + }, "postKeyRevocationActionType": { "description": "PostKeyRevocationActionType of the instance.", "enum": [ @@ -44155,10 +44176,6 @@ }, "type": "array" }, - "pendingActions": { - "$ref": "InstanceGroupManagerPendingActionsSummary", - "description": "[Deprecated] This field is deprecated and will be removed. Prefer using the status field instead. Please contact cloud-updater-feedback@google.com to leave feedback if your workload relies on this field. [Output Only] The list of instance actions and the number of instances in this managed instance group that are pending for each of those actions." - }, "region": { "description": "[Output Only] The URL of the region where the managed instance group resides (for regional resources).", "type": "string" @@ -44529,32 +44546,6 @@ }, "type": "object" }, - "InstanceGroupManagerPendingActionsSummary": { - "id": "InstanceGroupManagerPendingActionsSummary", - "properties": { - "creating": { - "description": "[Deprecated] This field is deprecated and will be removed. Prefer using the status field instead. Please contact cloud-updater-feedback@google.com to leave feedback if your workload relies on this field. [Output Only] The number of instances in the managed instance group that are pending to be created.", - "format": "int32", - "type": "integer" - }, - "deleting": { - "description": "[Deprecated] This field is deprecated and will be removed. Prefer using the status field instead. Please contact cloud-updater-feedback@google.com to leave feedback if your workload relies on this field. [Output Only] The number of instances in the managed instance group that are pending to be deleted.", - "format": "int32", - "type": "integer" - }, - "recreating": { - "description": "[Deprecated] This field is deprecated and will be removed. Prefer using the status field instead. Please contact cloud-updater-feedback@google.com to leave feedback if your workload relies on this field. [Output Only] The number of instances in the managed instance group that are pending to be recreated.", - "format": "int32", - "type": "integer" - }, - "restarting": { - "description": "[Deprecated] This field is deprecated and will be removed. Prefer using the status field instead. Please contact cloud-updater-feedback@google.com to leave feedback if your workload relies on this field. [Output Only] The number of instances in the managed instance group that are pending to be restarted.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, "InstanceGroupManagerStatus": { "id": "InstanceGroupManagerStatus", "properties": { @@ -45836,6 +45827,9 @@ }, "type": "array" }, + "networkPerformanceConfig": { + "$ref": "NetworkPerformanceConfig" + }, "postKeyRevocationActionType": { "description": "PostKeyRevocationActionType of the instance.", "enum": [ @@ -49944,7 +49938,7 @@ "type": "object" }, "NetworkEndpointGroup": { - "description": "Represents a collection of network endpoints.\n\nA network endpoint group (NEG) defines how a set of endpoints should be reached, whether they are reachable, and where they are located. For more information about using NEGs, see Setting up internet NEGs, Setting up zonal NEGs, or Setting up serverless NEGs. (== resource_for {$api_version}.networkEndpointGroups ==) (== resource_for {$api_version}.globalNetworkEndpointGroups ==) (== resource_for {$api_version}.regionNetworkEndpointGroups ==)", + "description": "Represents a collection of network endpoints.\n\nA network endpoint group (NEG) defines how a set of endpoints should be reached, whether they are reachable, and where they are located. For more information about using NEGs, see Setting up external HTTP(S) Load Balancing with internet NEGs, Setting up zonal NEGs, or Setting up external HTTP(S) Load Balancing with serverless NEGs. (== resource_for {$api_version}.networkEndpointGroups ==) (== resource_for {$api_version}.globalNetworkEndpointGroups ==) (== resource_for {$api_version}.regionNetworkEndpointGroups ==)", "id": "NetworkEndpointGroup", "properties": { "annotations": { @@ -50697,6 +50691,20 @@ }, "type": "array" }, + "ipv6AccessType": { + "description": "[Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork.\n\nValid only if stackType is IPV4_IPV6.", + "enum": [ + "EXTERNAL", + "INTERNAL", + "UNSPECIFIED_IPV6_ACCESS_TYPE" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, "ipv6Address": { "description": "[Output Only] An IPv6 internal network address for this network interface.", "type": "string" @@ -50938,6 +50946,34 @@ }, "type": "object" }, + "NetworkPerformanceConfig": { + "id": "NetworkPerformanceConfig", + "properties": { + "externalIpEgressBandwidthTier": { + "enum": [ + "DEFAULT", + "TIER_1" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "totalEgressBandwidthTier": { + "enum": [ + "DEFAULT", + "TIER_1" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, "NetworkRoutingConfig": { "description": "A routing configuration attached to a network resource. The message includes the list of routers associated with the network, and a flag indicating the type of routing behavior to enforce network-wide.", "id": "NetworkRoutingConfig", @@ -51467,6 +51503,10 @@ "description": "[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.", "type": "string" }, + "maintenanceDuration": { + "$ref": "Duration", + "description": "[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario." + }, "startTime": { "description": "Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.", "type": "string" @@ -54918,6 +54958,10 @@ "description": "The IPv4 address range, in CIDR format, represented by this public delegated prefix.", "type": "string" }, + "isLiveMigration": { + "description": "If true, the prefix will be live migrated.", + "type": "boolean" + }, "kind": { "default": "compute#publicDelegatedPrefix", "description": "[Output Only] Type of the resource. Always compute#publicDelegatedPrefix for public delegated prefixes.", @@ -54960,9 +55004,11 @@ "description": "[Output Only] The status of the public delegated prefix.", "enum": [ "ANNOUNCED", + "DELETING", "INITIALIZING" ], "enumDescriptions": [ + "", "", "" ], @@ -56393,6 +56439,10 @@ "type": "string" }, "type": "array" + }, + "skipInapplicableInstances": { + "description": "If false and the request contains references to instances that cannot be deleted (that is, instances that are not in the group or are already deleted), the request fails. Otherwise, such instances are ignored.", + "type": "boolean" } }, "type": "object" @@ -56742,6 +56792,16 @@ }, "type": "object" }, + "RegionInstantSnapshotsExportRequest": { + "id": "RegionInstantSnapshotsExportRequest", + "properties": { + "exportParams": { + "$ref": "InstantSnapshotExportParams", + "description": "Parameters to export the changed blocks." + } + }, + "type": "object" + }, "RegionList": { "description": "Contains a list of region resources.", "id": "RegionList", @@ -58210,7 +58270,7 @@ "compute.routes.insert" ] }, - "description": "The destination range of outgoing packets that this route applies to. Only IPv4 is supported.", + "description": "The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported.", "type": "string" }, "id": { @@ -59894,11 +59954,11 @@ "id": "ScalingScheduleStatus", "properties": { "lastStartTime": { - "description": "[Output Only] The last time the scaling schedule became active. Note: this is a timestamp when a schedule actually became active, not when it was planned to do so. The timestamp is an RFC3339 string in RFC3339 text format.", + "description": "[Output Only] The last time the scaling schedule became active. Note: this is a timestamp when a schedule actually became active, not when it was planned to do so. The timestamp is in RFC3339 text format.", "type": "string" }, "nextStartTime": { - "description": "[Output Only] The next time the scaling schedule will become active. Note: this is a timestamp when a schedule is planned to run, but the actual time might be slightly different. The timestamp is an RFC3339 string in RFC3339 text format.", + "description": "[Output Only] The next time the scaling schedule is to become active. Note: this is a timestamp when a schedule is planned to run, but the actual time might be slightly different. The timestamp is in RFC3339 text format.", "type": "string" }, "state": { @@ -60085,7 +60145,7 @@ "type": "string" }, "displayName": { - "description": "User-provided name of the Organization security plicy. The name should be unique in the organization in which the security policy is created. This should only be used when SecurityPolicyType is FIREWALL. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "description": "User-provided name of the Organization security plicy. The name should be unique in the organization in which the security policy is created. This should only be used when SecurityPolicyType is FIREWALL. The name must be 1-63 characters long, and comply with https://www.ietf.org/rfc/rfc1035.txt. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "type": "string" }, @@ -60391,7 +60451,7 @@ "type": "boolean" }, "priority": { - "description": "An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority.", + "description": "An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority.", "format": "int32", "type": "integer" }, @@ -62520,7 +62580,7 @@ "type": "string" }, "state": { - "description": "[Output Only] The state of the subnetwork, which can be one of READY or DRAINING. A subnetwork that is READY is ready to be used. The state of DRAINING is only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY.", + "description": "[Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY CREATING: Subnetwork is provisioning DELETING: Subnetwork is being deleted UPDATING: Subnetwork is being updated", "enum": [ "DRAINING", "READY" @@ -65874,14 +65934,39 @@ "TestFailure": { "id": "TestFailure", "properties": { + "actualOutputUrl": { + "description": "The actual output URL evaluated by load balancer containing the scheme, host, path and query parameters.", + "type": "string" + }, + "actualRedirectResponseCode": { + "description": "Actual HTTP status code for rule with `urlRedirect` calculated by load balancer", + "format": "int32", + "type": "integer" + }, "actualService": { "description": "BackendService or BackendBucket returned by load balancer.", "type": "string" }, + "expectedOutputUrl": { + "description": "The expected output URL evaluated by load balancer containing the scheme, host, path and query parameters.", + "type": "string" + }, + "expectedRedirectResponseCode": { + "description": "Expected HTTP status code for rule with `urlRedirect` calculated by load balancer", + "format": "int32", + "type": "integer" + }, "expectedService": { "description": "Expected BackendService or BackendBucket resource the given URL should be mapped to.", "type": "string" }, + "headers": { + "description": "HTTP headers of the request.", + "items": { + "$ref": "UrlMapTestHeader" + }, + "type": "array" + }, "host": { "description": "Host portion of the URL.", "type": "string" @@ -66277,10 +66362,26 @@ "description": "Description of this test case.", "type": "string" }, + "expectedOutputUrl": { + "description": "The expected output URL evaluated by load balancer containing the scheme, host, path and query parameters.\nFor rules that forward requests to backends, the test passes only when expectedOutputUrl matches the request forwarded by load balancer to backends. For rules with urlRewrite, the test verifies that the forwarded request matches hostRewrite and pathPrefixRewrite in the urlRewrite action. When service is specified, expectedOutputUrl`s scheme is ignored.\nFor rules with urlRedirect, the test passes only if expectedOutputUrl matches the URL in the load balancer's redirect response. If urlRedirect specifies https_redirect, the test passes only if the scheme in expectedOutputUrl is also set to https. If urlRedirect specifies strip_query, the test passes only if expectedOutputUrl does not contain any query parameters.\nexpectedOutputUrl is optional when service is specified.", + "type": "string" + }, + "expectedRedirectResponseCode": { + "description": "For rules with urlRedirect, the test passes only if expectedRedirectResponseCode matches the HTTP status code in load balancer's redirect response.\nexpectedRedirectResponseCode cannot be set when service is set.", + "format": "int32", + "type": "integer" + }, "expectedUrlRedirect": { "description": "The expected URL that should be redirected to for the host and path being tested. [Deprecated] This field is deprecated. Use expected_output_url instead.", "type": "string" }, + "headers": { + "description": "HTTP headers for this request. If headers contains a host header, then host must also match the header value.", + "items": { + "$ref": "UrlMapTestHeader" + }, + "type": "array" + }, "host": { "description": "Host portion of the URL. If headers contains a host header, then host must also match the header value.", "type": "string" @@ -66296,6 +66397,21 @@ }, "type": "object" }, + "UrlMapTestHeader": { + "description": "HTTP headers used in UrlMapTests.", + "id": "UrlMapTestHeader", + "properties": { + "name": { + "description": "Header name.", + "type": "string" + }, + "value": { + "description": "Header value.", + "type": "string" + } + }, + "type": "object" + }, "UrlMapValidationResult": { "description": "Message representing the validation result for a UrlMap.", "id": "UrlMapValidationResult", @@ -68237,6 +68353,16 @@ }, "type": "object" }, + "ZoneInstantSnapshotsExportRequest": { + "id": "ZoneInstantSnapshotsExportRequest", + "properties": { + "exportParams": { + "$ref": "InstantSnapshotExportParams", + "description": "Parameters to export the changed blocks." + } + }, + "type": "object" + }, "ZoneList": { "description": "Contains a list of zone resources.", "id": "ZoneList", diff --git a/compute/v0.alpha/compute-gen.go b/compute/v0.alpha/compute-gen.go index e4a611fda20..5c5ed00b7ac 100644 --- a/compute/v0.alpha/compute-gen.go +++ b/compute/v0.alpha/compute-gen.go @@ -3397,10 +3397,11 @@ type Autoscaler struct { Name string `json:"name,omitempty"` // RecommendedSize: [Output Only] Target recommended MIG size (number of - // instances) computed by autoscaler. Autoscaler calculates recommended - // MIG size even when autoscaling policy mode is different from ON. This - // field is empty when autoscaler is not connected to the existing - // managed instance group or autoscaler did not generate its prediction. + // instances) computed by autoscaler. Autoscaler calculates the + // recommended MIG size even when the autoscaling policy mode is + // different from ON. This field is empty when autoscaler is not + // connected to an existing managed instance group or autoscaler did not + // generate its prediction. RecommendedSize int64 `json:"recommendedSize,omitempty"` // Region: [Output Only] URL of the region where the instance group @@ -3442,7 +3443,7 @@ type Autoscaler struct { StatusDetails []*AutoscalerStatusDetails `json:"statusDetails,omitempty"` // Target: URL of the managed instance group that this autoscaler will - // scale. + // scale. This field is required when creating an autoscaler. Target string `json:"target,omitempty"` // Zone: [Output Only] URL of the zone where the instance group resides @@ -3823,7 +3824,7 @@ type AutoscalerStatusDetails struct { // - MODE_OFF (WARNING): Autoscaling is turned off. The number of // instances in the group won't change automatically. The autoscaling // configuration is preserved. - // - MODE_ONLY_UP (WARNING): Autoscaling is in the "Autoscale only up" + // - MODE_ONLY_UP (WARNING): Autoscaling is in the "Autoscale only out" // mode. The autoscaler can add instances but not remove any. // - MORE_THAN_ONE_BACKEND_SERVICE (ERROR): The instance group cannot be // autoscaled because it has more than one backend service attached to @@ -4025,12 +4026,11 @@ func (s *AutoscalersScopedListWarningData) MarshalJSON() ([]byte, error) { // AutoscalingPolicy: Cloud Autoscaler policy. type AutoscalingPolicy struct { - // CoolDownPeriodSec: The number of seconds that the autoscaler should - // wait before it starts collecting information from a new instance. - // This prevents the autoscaler from collecting information when the - // instance is initializing, during which the collected usage would not - // be reliable. The default time autoscaler waits is 60 - // seconds. + // CoolDownPeriodSec: The number of seconds that the autoscaler waits + // before it starts collecting information from a new instance. This + // prevents the autoscaler from collecting information when the instance + // is initializing, during which the collected usage would not be + // reliable. The default time autoscaler waits is 60 seconds. // // Virtual machine initialization times might vary because of numerous // factors. We recommend that you test how long an instance may take to @@ -4052,14 +4052,14 @@ type AutoscalingPolicy struct { LoadBalancingUtilization *AutoscalingPolicyLoadBalancingUtilization `json:"loadBalancingUtilization,omitempty"` // MaxNumReplicas: The maximum number of instances that the autoscaler - // can scale up to. This is required when creating or updating an - // autoscaler. The maximum number of replicas should not be lower than + // can scale out to. This is required when creating or updating an + // autoscaler. The maximum number of replicas must not be lower than // minimal number of replicas. MaxNumReplicas int64 `json:"maxNumReplicas,omitempty"` // MinNumReplicas: The minimum number of replicas that the autoscaler - // can scale down to. This cannot be less than 0. If not provided, - // autoscaler will choose a default value depending on maximum number of + // can scale in to. This cannot be less than 0. If not provided, + // autoscaler chooses a default value depending on maximum number of // instances allowed. MinNumReplicas int64 `json:"minNumReplicas,omitempty"` @@ -4077,9 +4077,9 @@ type AutoscalingPolicy struct { ScaleInControl *AutoscalingPolicyScaleInControl `json:"scaleInControl,omitempty"` // ScalingSchedules: Scaling schedules defined for an autoscaler. - // Multiple schedules can be set on an autoscaler and they can overlap. + // Multiple schedules can be set on an autoscaler, and they can overlap. // During overlapping periods the greatest min_required_replicas of all - // scaling schedules will be applied. Up to 128 scaling schedules are + // scaling schedules is applied. Up to 128 scaling schedules are // allowed. ScalingSchedules map[string]AutoscalingPolicyScalingSchedule `json:"scalingSchedules,omitempty"` @@ -4126,16 +4126,16 @@ type AutoscalingPolicyCpuUtilization struct { PredictiveMethod string `json:"predictiveMethod,omitempty"` // UtilizationTarget: The target CPU utilization that the autoscaler - // should maintain. Must be a float value in the range (0, 1]. If not + // maintains. Must be a float value in the range (0, 1]. If not // specified, the default is 0.6. // // If the CPU level is below the target utilization, the autoscaler - // scales down the number of instances until it reaches the minimum - // number of instances you specified or until the average CPU of your - // instances reaches the target utilization. + // scales in the number of instances until it reaches the minimum number + // of instances you specified or until the average CPU of your instances + // reaches the target utilization. // // If the average CPU is above the target utilization, the autoscaler - // scales up until it reaches the maximum number of instances you + // scales out until it reaches the maximum number of instances you // specified or until the average utilization reaches the target // utilization. UtilizationTarget float64 `json:"utilizationTarget,omitempty"` @@ -4207,7 +4207,7 @@ type AutoscalingPolicyCustomMetricUtilization struct { // // If not specified, the type defaults to gce_instance. // - // You should provide a filter that is selective enough to pick just one + // Try to provide a filter that is selective enough to pick just one // TimeSeries for the autoscaled group or for each of the instances (if // you are using gce_instance resource type). If multiple TimeSeries are // returned upon the query execution, the autoscaler will sum their @@ -4223,9 +4223,9 @@ type AutoscalingPolicyCustomMetricUtilization struct { // SingleInstanceAssignment: If scaling is based on a per-group metric // value that represents the total amount of work to be done or resource // usage, set this value to an amount assigned for a single instance of - // the scaled group. Autoscaler will keep the number of instances - // proportional to the value of this metric, the metric itself should - // not change value due to group resizing. + // the scaled group. Autoscaler keeps the number of instances + // proportional to the value of this metric. The metric itself does not + // change value due to group resizing. // // A good metric to use with the target is for example // pubsub.googleapis.com/subscription/num_undelivered_messages or a @@ -4239,12 +4239,12 @@ type AutoscalingPolicyCustomMetricUtilization struct { SingleInstanceAssignment float64 `json:"singleInstanceAssignment,omitempty"` // UtilizationTarget: The target value of the metric that autoscaler - // should maintain. This must be a positive value. A utilization metric - // scales number of virtual machines handling requests to increase or - // decrease proportionally to the metric. + // maintains. This must be a positive value. A utilization metric scales + // number of virtual machines handling requests to increase or decrease + // proportionally to the metric. // // For example, a good metric to use as a utilization_target is - // https://www.googleapis.com/compute/v1/instance/network/received_bytes_count. The autoscaler will work to keep this value constant for each of the + // https://www.googleapis.com/compute/v1/instance/network/received_bytes_count. The autoscaler works to keep this value constant for each of the // instances. UtilizationTarget float64 `json:"utilizationTarget,omitempty"` @@ -4301,9 +4301,8 @@ func (s *AutoscalingPolicyCustomMetricUtilization) UnmarshalJSON(data []byte) er // of autoscaling based on load balancing. type AutoscalingPolicyLoadBalancingUtilization struct { // UtilizationTarget: Fraction of backend capacity utilization (set in - // HTTP(S) load balancing configuration) that autoscaler should - // maintain. Must be a positive float value. If not defined, the default - // is 0.8. + // HTTP(S) load balancing configuration) that the autoscaler maintains. + // Must be a positive float value. If not defined, the default is 0.8. UtilizationTarget float64 `json:"utilizationTarget,omitempty"` // ForceSendFields is a list of field names (e.g. "UtilizationTarget") @@ -4345,9 +4344,9 @@ func (s *AutoscalingPolicyLoadBalancingUtilization) UnmarshalJSON(data []byte) e } // AutoscalingPolicyScaleDownControl: Configuration that allows for -// slower scale down so that even if Autoscaler recommends an abrupt -// scale down of a MIG, it will be throttled as specified by the -// parameters below. +// slower scale in so that even if Autoscaler recommends an abrupt scale +// in of a MIG, it will be throttled as specified by the parameters +// below. type AutoscalingPolicyScaleDownControl struct { // MaxScaledDownReplicas: Maximum allowed number (or %) of VMs that can // be deducted from the peak recommendation during the window autoscaler @@ -4356,8 +4355,8 @@ type AutoscalingPolicyScaleDownControl struct { // many VMs in one step. MaxScaledDownReplicas *FixedOrPercent `json:"maxScaledDownReplicas,omitempty"` - // TimeWindowSec: How long back autoscaling should look when computing - // recommendations to include directives regarding slower scale down, as + // TimeWindowSec: How far back autoscaling looks when computing + // recommendations to include directives regarding slower scale in, as // described above. TimeWindowSec int64 `json:"timeWindowSec,omitempty"` @@ -4397,7 +4396,7 @@ type AutoscalingPolicyScaleInControl struct { // many VMs in one step. MaxScaledInReplicas *FixedOrPercent `json:"maxScaledInReplicas,omitempty"` - // TimeWindowSec: How long back autoscaling should look when computing + // TimeWindowSec: How far back autoscaling looks when computing // recommendations to include directives regarding slower scale in, as // described above. TimeWindowSec int64 `json:"timeWindowSec,omitempty"` @@ -4434,36 +4433,36 @@ type AutoscalingPolicyScalingSchedule struct { // Description: A description of a scaling schedule. Description string `json:"description,omitempty"` - // Disabled: A boolean value that specifies if a scaling schedule can - // influence autoscaler recommendations. If set to true, then a scaling - // schedule has no effect. This field is optional and its value is false - // by default. + // Disabled: A boolean value that specifies whether a scaling schedule + // can influence autoscaler recommendations. If set to true, then a + // scaling schedule has no effect. This field is optional, and its value + // is false by default. Disabled bool `json:"disabled,omitempty"` - // DurationSec: The duration of time intervals (in seconds) for which - // this scaling schedule will be running. The minimum allowed value is - // 300. This field is required. + // DurationSec: The duration of time intervals, in seconds, for which + // this scaling schedule is to run. The minimum allowed value is 300. + // This field is required. DurationSec int64 `json:"durationSec,omitempty"` - // MinRequiredReplicas: Minimum number of VM instances that autoscaler - // will recommend in time intervals starting according to schedule. This - // field is required. + // MinRequiredReplicas: The minimum number of VM instances that the + // autoscaler will recommend in time intervals starting according to + // schedule. This field is required. MinRequiredReplicas int64 `json:"minRequiredReplicas,omitempty"` // Schedule: The start timestamps of time intervals when this scaling - // schedule should provide a scaling signal. This field uses the - // extended cron format (with an optional year field). The expression - // may describe a single timestamp if the optional year is set, in which - // case a scaling schedule will run once. schedule is interpreted with - // respect to time_zone. This field is required. NOTE: these timestamps - // only describe when autoscaler will start providing the scaling - // signal. The VMs will need additional time to become serving. + // schedule is to provide a scaling signal. This field uses the extended + // cron format (with an optional year field). The expression can + // describe a single timestamp if the optional year is set, in which + // case the scaling schedule runs once. The schedule is interpreted with + // respect to time_zone. This field is required. Note: These timestamps + // only describe when autoscaler starts providing the scaling signal. + // The VMs need additional time to become serving. Schedule string `json:"schedule,omitempty"` - // TimeZone: The time zone to be used when interpreting the schedule. - // The value of this field must be a time zone name from the tz - // database: http://en.wikipedia.org/wiki/Tz_database. This field will - // be assigned a default value of ?UTC? if left empty. + // TimeZone: The time zone to use when interpreting the schedule. The + // value of this field must be a time zone name from the tz database: + // http://en.wikipedia.org/wiki/Tz_database. This field is assigned a + // default value of ?UTC? if left empty. TimeZone string `json:"timeZone,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") to @@ -4510,22 +4509,23 @@ type Backend struct { // maxConnectionsPerEndpoint. // // If the loadBalancingScheme for the backend service is INTERNAL - // (internal TCP/UDP load balancers), you cannot specify any additional - // parameters. + // (internal TCP/UDP Load Balancers) or EXTERNAL (Network Load + // Balancing), you cannot specify any additional parameters. // // - If the load balancing mode is RATE, the load is spread based on the // rate of HTTP requests per second (RPS). // You can use the RATE balancing mode if the protocol for the backend - // service is HTTP or HTTPS. You must specify exactly one of the + // service is HTTP, HTTP2, or HTTPS. You must specify exactly one of the // following parameters: maxRate (except for regional managed instance // groups), maxRatePerInstance, or maxRatePerEndpoint. // // - If the load balancing mode is UTILIZATION, the load is spread based // on the backend utilization of instances in an instance group. // You can use the UTILIZATION balancing mode if the loadBalancingScheme - // of the backend service is EXTERNAL, INTERNAL_SELF_MANAGED, or - // INTERNAL_MANAGED and the backends are instance groups. There are no - // restrictions on the backend service protocol. + // of the backend service is EXTERNAL (except Network Load Balancing), + // INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED and the backends are + // instance groups. There are no restrictions on the backend service + // protocol. // // Possible values: // "CONNECTION" @@ -4542,7 +4542,8 @@ type Backend struct { // than 0 and smaller than 0.1. You cannot configure a setting of 0 when // there is only one backend attached to the backend service. // - // This cannot be used for internal load balancing. + // This cannot be used for Internal TCP/UDP Load Balancing and Network + // Load Balancing. CapacityScaler float64 `json:"capacityScaler,omitempty"` // Description: An optional description of this resource. Provide this @@ -4560,16 +4561,21 @@ type Backend struct { // loadBalancingScheme. // // - // - When the loadBalancingScheme for the backend service is EXTERNAL, - // INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED, the backend can be either - // an instance group or a NEG. The backends on the backend service must - // be either all instance groups or all NEGs. You cannot mix instance - // group and NEG backends on the same backend service. + // - When the loadBalancingScheme for the backend service is EXTERNAL + // (except Network Load Balancing), INTERNAL_SELF_MANAGED, or + // INTERNAL_MANAGED , the backend can be either an instance group or a + // NEG. The backends on the backend service must be either all instance + // groups or all NEGs. You cannot mix instance group and NEG backends on + // the same backend service. + // // + // - When the loadBalancingScheme for the backend service is EXTERNAL + // for Network Load Balancing or INTERNAL for Internal TCP/UDP Load + // Balancing, the backend must be an instance group. NEGs are not + // supported. // - // - When the loadBalancingScheme for the backend service is INTERNAL, - // the backend must be an instance group in the same region as the - // backend service. NEGs are not supported. + // For regional services, the backend must be in the same region as the + // backend service. // // You must use the fully-qualified URL (starting with // https://www.googleapis.com/) to specify the instance group or NEG. @@ -4582,29 +4588,29 @@ type Backend struct { // instance groups). If the backend's balancingMode is UTILIZATION, this // is an optional parameter. If the backend's balancingMode is // CONNECTION, and backend is attached to a backend service whose - // loadBalancingScheme is EXTERNAL, you must specify either this - // parameter, maxConnectionsPerInstance, or + // loadBalancingScheme is EXTERNAL (except Network Load Balancing), you + // must specify either this parameter, maxConnectionsPerInstance, or // maxConnectionsPerEndpoint. // - // Not available if the backend's balancingMode is RATE. If the - // loadBalancingScheme is INTERNAL, then maxConnections is not - // supported, even though the backend requires a balancing mode of - // CONNECTION. + // Not available if the backend's balancingMode is RATE. Cannot be + // specified for Network Load Balancing or Internal TCP/UDP Load + // Balancing, even though those load balancers require a balancing mode + // of CONNECTION. MaxConnections int64 `json:"maxConnections,omitempty"` // MaxConnectionsPerEndpoint: Defines a target maximum number of // simultaneous connections for an endpoint of a NEG. This is multiplied // by the number of endpoints in the NEG to implicitly calculate a // maximum number of target maximum simultaneous connections for the - // NEG. If the backend's balancingMode is CONNECTION, and the backend is - // attached to a backend service whose loadBalancingScheme is EXTERNAL, - // you must specify either this parameter, maxConnections, or - // maxConnectionsPerInstance. - // - // Not available if the backend's balancingMode is RATE. Internal - // TCP/UDP load balancing does not support setting - // maxConnectionsPerEndpoint even though its backends require a - // balancing mode of CONNECTION. + // NEG. If the backend's balancingMode is CONNECTION, and backend is + // attached to a backend service whose loadBalancingScheme is EXTERNAL + // (except Network Load Balancing), you must specify either this + // parameter, maxConnections, or maxConnectionsPerInstance. + // + // Not available if the backend's balancingMode is RATE. Cannot be + // specified for Network Load Balancing or Internal TCP/UDP Load + // Balancing, even though those load balancers require a balancing mode + // of CONNECTION. MaxConnectionsPerEndpoint int64 `json:"maxConnectionsPerEndpoint,omitempty"` // MaxConnectionsPerInstance: Defines a target maximum number of @@ -4614,14 +4620,14 @@ type Backend struct { // connections for the whole instance group. If the backend's // balancingMode is UTILIZATION, this is an optional parameter. If the // backend's balancingMode is CONNECTION, and backend is attached to a - // backend service whose loadBalancingScheme is EXTERNAL, you must - // specify either this parameter, maxConnections, or - // maxConnectionsPerEndpoint. - // - // Not available if the backend's balancingMode is RATE. Internal - // TCP/UDP load balancing does not support setting - // maxConnectionsPerInstance even though its backends require a - // balancing mode of CONNECTION. + // backend service whose loadBalancingScheme is EXTERNAL (except Network + // Load Balancing), you must specify either this parameter, + // maxConnections, or maxConnectionsPerEndpoint. + // + // Not available if the backend's balancingMode is RATE. Cannot be + // specified for Network Load Balancing or Internal TCP/UDP Load + // Balancing, even though those load balancers require a balancing mode + // of CONNECTION. MaxConnectionsPerInstance int64 `json:"maxConnectionsPerInstance,omitempty"` // MaxRate: Defines a maximum number of HTTP requests per second (RPS) @@ -5208,7 +5214,9 @@ type BackendService struct { // Backends: The list of backends that serve this BackendService. Backends []*Backend `json:"backends,omitempty"` - // CdnPolicy: Cloud CDN configuration for this BackendService. + // CdnPolicy: Cloud CDN configuration for this BackendService. Not + // available for Internal TCP/UDP Load Balancing and Network Load + // Balancing. CdnPolicy *BackendServiceCdnPolicy `json:"cdnPolicy,omitempty"` // CircuitBreakers: Settings controlling the volume of connections to a @@ -5278,8 +5286,8 @@ type BackendService struct { EnableCDN bool `json:"enableCDN,omitempty"` // FailoverPolicy: Applicable only to Failover for Internal TCP/UDP Load - // Balancing. Requires at least one backend instance group to be defined - // as a backup (failover) backend. + // Balancing and Network Load Balancing. Requires at least one backend + // instance group to be defined as a backup (failover) backend. FailoverPolicy *BackendServiceFailoverPolicy `json:"failoverPolicy,omitempty"` // Fingerprint: Fingerprint of this resource. A hash of the contents @@ -5303,6 +5311,8 @@ type BackendService struct { HealthChecks []string `json:"healthChecks,omitempty"` // Iap: The configurations for Identity-Aware Proxy on this resource. + // Not available for Internal TCP/UDP Load Balancing and Network Load + // Balancing. Iap *BackendServiceIAP `json:"iap,omitempty"` // Id: [Output Only] The unique identifier for the resource. This @@ -5314,11 +5324,11 @@ type BackendService struct { Kind string `json:"kind,omitempty"` // LoadBalancingScheme: Specifies the load balancer type. Choose - // EXTERNAL for load balancers that receive traffic from external - // clients. Choose INTERNAL for Internal TCP/UDP Load Balancing. Choose - // INTERNAL_MANAGED for Internal HTTP(S) Load Balancing. Choose + // EXTERNAL for external HTTP(S), SSL Proxy, TCP Proxy and Network Load + // Balancing. Choose INTERNAL for Internal TCP/UDP Load Balancing. + // Choose INTERNAL_MANAGED for Internal HTTP(S) Load Balancing. // INTERNAL_SELF_MANAGED for Traffic Director. A backend service created - // for one type of load balancing cannot be used with another. For more + // for one type of load balancer cannot be used with another. For more // information, refer to Choosing a load balancer. // // Possible values: @@ -5389,7 +5399,7 @@ type BackendService struct { Name string `json:"name,omitempty"` // Network: The URL of the network to which this backend service - // belongs. This field can only be spcified when the load balancing + // belongs. This field can only be specified when the load balancing // scheme is set to INTERNAL. Network string `json:"network,omitempty"` @@ -5418,15 +5428,16 @@ type BackendService struct { // PortName: A named port on a backend instance group representing the // port for communication to the backend VMs in that group. Required - // when the loadBalancingScheme is EXTERNAL, INTERNAL_MANAGED, or - // INTERNAL_SELF_MANAGED and the backends are instance groups. The named - // port must be defined on each backend instance group. This parameter - // has no meaning if the backends are NEGs. + // when the loadBalancingScheme is EXTERNAL (except Network Load + // Balancing), INTERNAL_MANAGED, or INTERNAL_SELF_MANAGED and the + // backends are instance groups. The named port must be defined on each + // backend instance group. This parameter has no meaning if the backends + // are NEGs. // // // - // Must be omitted when the loadBalancingScheme is INTERNAL (Internal - // TCP/UDP Load Balancing). + // Backend services for Internal TCP/UDP Load Balancing and Network Load + // Balancing require you omit port_name. PortName string `json:"portName,omitempty"` // Protocol: The protocol this BackendService uses to communicate with @@ -5479,12 +5490,14 @@ type BackendService struct { SelfLinkWithId string `json:"selfLinkWithId,omitempty"` // SessionAffinity: Type of session affinity to use. The default is - // NONE. Session affinity is not applicable if the --protocol is - // UDP. + // NONE. // - // When the loadBalancingScheme is EXTERNAL, possible values are NONE, - // CLIENT_IP, or GENERATED_COOKIE. You can use GENERATED_COOKIE if the - // protocol is HTTP or HTTPS. + // When the loadBalancingScheme is EXTERNAL: * For Network Load + // Balancing, the possible values are NONE, CLIENT_IP, CLIENT_IP_PROTO, + // or CLIENT_IP_PORT_PROTO. * For all other load balancers that use + // loadBalancingScheme=EXTERNAL, the possible values are NONE, + // CLIENT_IP, or GENERATED_COOKIE. * You can use GENERATED_COOKIE if the + // protocol is HTTP, HTTP2, or HTTPS. // // When the loadBalancingScheme is INTERNAL, possible values are NONE, // CLIENT_IP, CLIENT_IP_PROTO, or CLIENT_IP_PORT_PROTO. @@ -5978,14 +5991,14 @@ func (s *BackendServiceConnectionTrackingPolicy) MarshalJSON() ([]byte, error) { } // BackendServiceFailoverPolicy: Applicable only to Failover for -// Internal TCP/UDP Load Balancing. On failover or failback, this field -// indicates whether connection draining will be honored. GCP has a -// fixed connection draining timeout of 10 minutes. A setting of true -// terminates existing TCP connections to the active pool during -// failover and failback, immediately draining traffic. A setting of -// false allows existing TCP connections to persist, even on VMs no -// longer in the active pool, for up to the duration of the connection -// draining timeout (10 minutes). +// Internal TCP/UDP Load Balancing and Network Load Balancing. On +// failover or failback, this field indicates whether connection +// draining will be honored. GCP has a fixed connection draining timeout +// of 10 minutes. A setting of true terminates existing TCP connections +// to the active pool during failover and failback, immediately draining +// traffic. A setting of false allows existing TCP connections to +// persist, even on VMs no longer in the active pool, for up to the +// duration of the connection draining timeout (10 minutes). type BackendServiceFailoverPolicy struct { // DisableConnectionDrainOnFailover: This can be set to true only if the // protocol is TCP. @@ -5994,21 +6007,19 @@ type BackendServiceFailoverPolicy struct { DisableConnectionDrainOnFailover bool `json:"disableConnectionDrainOnFailover,omitempty"` // DropTrafficIfUnhealthy: Applicable only to Failover for Internal - // TCP/UDP Load Balancing. If set to true, connections to the load - // balancer are dropped when all primary and all backup backend VMs are - // unhealthy. If set to false, connections are distributed among all - // primary VMs when all primary and all backup backend VMs are - // unhealthy. - // - // The default is false. + // TCP/UDP Load Balancing and Network Load Balancing, If set to true, + // connections to the load balancer are dropped when all primary and all + // backup backend VMs are unhealthy.If set to false, connections are + // distributed among all primary VMs when all primary and all backup + // backend VMs are unhealthy. The default is false. DropTrafficIfUnhealthy bool `json:"dropTrafficIfUnhealthy,omitempty"` // FailoverRatio: Applicable only to Failover for Internal TCP/UDP Load - // Balancing. The value of the field must be in the range [0, 1]. If the - // value is 0, the load balancer performs a failover when the number of - // healthy primary VMs equals zero. For all other values, the load - // balancer performs a failover when the total number of healthy primary - // VMs is less than this ratio. + // Balancing and Network Load Balancing. The value of the field must be + // in the range [0, 1]. If the value is 0, the load balancer performs a + // failover when the number of healthy primary VMs equals zero. For all + // other values, the load balancer performs a failover when the total + // number of healthy primary VMs is less than this ratio. FailoverRatio float64 `json:"failoverRatio,omitempty"` // ForceSendFields is a list of field names (e.g. @@ -6919,17 +6930,18 @@ type BulkInsertInstanceResource struct { // instances cannot be created, then no instances will be created. MinCount int64 `json:"minCount,omitempty,string"` - // NamePattern: Instance name pattern. Name pattern includes a parameter - // to specify the auto-incrementing portion of the name, in a form of - // consecutive hash (#) chars, each of them corresponding to one digit - // of an instance name. For example: name_pattern = inst-####-prod will - // generate names starting with inst-0001-prod, inst-0002-prod, up to - // required count. If there exist instances matching the name pattern in - // the same project and zone, the initial instance number will be equal - // to the maximum existing instance number + 1 (e.g. if there exists an - // instance with name inst-0030-prod, then the generated names will - // start with inst-0031-prod). The name pattern placeholder #...# can - // contain up to 18 characters. + // NamePattern: The string pattern used for the names of the VMs. Either + // name_pattern or predefined_names must be set. The pattern should + // contain one consecutive sequence of placeholder hash characters (#) + // with each character corresponding to one digit of the generated + // instance name. Example: name_pattern of inst-#### will generate + // instance names like inst-0001, inst-0002, ... . If there already + // exist instance(s) whose names match the name pattern in the same + // project and zone, then the generated instance numbers will start + // after the biggest existing number. For example, if there exists an + // instance with name inst-0050, then instance names generated using the + // pattern inst-#### will be inst-0051, inst-0052, etc. The name pattern + // placeholder #...# can contain up to 18 characters. NamePattern string `json:"namePattern,omitempty"` // PredefinedNames: List of predefined names. The number of names @@ -9864,14 +9876,9 @@ func (s *DisplayDevice) MarshalJSON() ([]byte, error) { } type DistributionPolicy struct { - // TargetShape: The shape to which the group converges either - // proactively or on resize events (depending on the value set in - // updatePolicy.instanceRedistributionType). The possible values are - // EVEN and ANY. For EVEN the group attempts to preserve a balanced - // number of instances across zones. For ANY the group creates new - // instances where resources are available to fulfill the request; as a - // result, instances may be distributed unevenly across zones in this - // mode. The default value is EVEN. + // TargetShape: The distribution shape to which the group converges + // either proactively or on resize events (depending on the value set in + // updatePolicy.instanceRedistributionType). // // Possible values: // "ANY" @@ -11591,7 +11598,11 @@ type ForwardingRule struct { // is assigned. Methods for specifying an IP address: // // * IPv4 dotted decimal, as in `100.1.2.3` * Full URL, as in - // https://www.googleapis.com/compute/v1/projects/project_id/regions/region/addresses/address-name * Partial URL or by name, as in: * projects/project_id/regions/region/addresses/address-name * regions/region/addresses/address-name * global/addresses/address-name * address-name + // https://www.googleapis.com/compute/v1/projects/project_id/regions/region/addresses/address-name * Partial URL or by name, as in: + // - projects/project_id/regions/region/addresses/address-name + // - regions/region/addresses/address-name + // - global/addresses/address-name + // - address-name // // The loadBalancingScheme and the forwarding rule's target determine // the type of IP address that you can use. For detailed information, @@ -11606,17 +11617,23 @@ type ForwardingRule struct { // Google APIs, IP address must be provided. IPAddress string `json:"IPAddress,omitempty"` - // IPProtocol: The IP protocol to which this rule applies. For protocol - // forwarding, valid options are TCP, UDP, ESP, AH, SCTP or ICMP. + // IPProtocol: The IP protocol to which this rule applies. // - // For Internal TCP/UDP Load Balancing, the load balancing scheme is - // INTERNAL, and one of TCP or UDP are valid. For Traffic Director, the - // load balancing scheme is INTERNAL_SELF_MANAGED, and only TCPis valid. - // For Internal HTTP(S) Load Balancing, the load balancing scheme is - // INTERNAL_MANAGED, and only TCP is valid. For HTTP(S), SSL Proxy, and - // TCP Proxy Load Balancing, the load balancing scheme is EXTERNAL and - // only TCP is valid. For Network TCP/UDP Load Balancing, the load - // balancing scheme is EXTERNAL, and one of TCP or UDP is valid. + // For protocol forwarding, valid options are TCP, UDP, ESP, AH, SCTP + // and ICMP. + // + // The valid IP protocols are different for different load balancing + // products: + // - Internal TCP/UDP Load Balancing: The load balancing scheme is + // INTERNAL, and one of TCP, UDP or ALL is valid. + // - Traffic Director: The load balancing scheme is + // INTERNAL_SELF_MANAGED, and only TCP is valid. + // - Internal HTTP(S) Load Balancing: The load balancing scheme is + // INTERNAL_MANAGED, and only TCP is valid. + // - HTTP(S), SSL Proxy, and TCP Proxy Load Balancing: The load + // balancing scheme is EXTERNAL and only TCP is valid. + // - Network Load Balancing: The load balancing scheme is EXTERNAL, and + // one of TCP or UDP is valid. // // Possible values: // "AH" @@ -11645,11 +11662,10 @@ type ForwardingRule struct { // clients in the same region as the internal load balancer. AllowGlobalAccess bool `json:"allowGlobalAccess,omitempty"` - // BackendService: This field is only used for INTERNAL load - // balancing. - // - // For internal load balancing, this field identifies the BackendService - // resource to receive the matched traffic. + // BackendService: Identifies the backend service to which the + // forwarding rule sends traffic. Required for Internal TCP/UDP Load + // Balancing and Network Load Balancing; must be omitted for all other + // load balancer types. BackendService string `json:"backendService,omitempty"` // CreationTimestamp: [Output Only] Creation timestamp in RFC3339 text @@ -11719,13 +11735,12 @@ type ForwardingRule struct { // - EXTERNAL is used for: // - Classic Cloud VPN gateways // - Protocol forwarding to VMs from an external IP address - // - The following load balancers: HTTP(S), SSL Proxy, TCP Proxy, and - // Network TCP/UDP + // - HTTP(S), SSL Proxy, TCP Proxy, and Network Load Balancing // - INTERNAL is used for: // - Protocol forwarding to VMs from an internal IP address - // - Internal TCP/UDP load balancers + // - Internal TCP/UDP Load Balancing // - INTERNAL_MANAGED is used for: - // - Internal HTTP(S) load balancers + // - Internal HTTP(S) Load Balancing // - INTERNAL_SELF_MANAGED is used for: // - Traffic Director // @@ -11773,9 +11788,10 @@ type ForwardingRule struct { // Network: This field is not used for external load balancing. // - // For internal load balancing, this field identifies the network that - // the load balanced IP should belong to for this Forwarding Rule. If - // this field is not specified, the default network will be used. + // For Internal TCP/UDP Load Balancing, this field identifies the + // network that the load balanced IP should belong to for this + // Forwarding Rule. If this field is not specified, the default network + // will be used. // // For Private Service Connect forwarding rules that forward traffic to // Google APIs, a network must be provided. @@ -11800,25 +11816,21 @@ type ForwardingRule struct { // "STANDARD_OVERRIDES_FIXED_STANDARD" NetworkTier string `json:"networkTier,omitempty"` - // PortRange: When the load balancing scheme is EXTERNAL, - // INTERNAL_SELF_MANAGED and INTERNAL_MANAGED, you can specify a - // port_range. Use with a forwarding rule that points to a target proxy - // or a target pool. Do not use with a forwarding rule that points to a - // backend service. This field is used along with the target field for - // TargetHttpProxy, TargetHttpsProxy, TargetSslProxy, TargetTcpProxy, - // TargetGrpcProxy, TargetVpnGateway, TargetPool, - // TargetInstance. + // PortRange: This field can be used only if: * Load balancing scheme is + // one of EXTERNAL, INTERNAL_SELF_MANAGED or INTERNAL_MANAGED, and * + // IPProtocol is one of TCP, UDP, or SCTP. // - // Applicable only when IPProtocol is TCP, UDP, or SCTP, only packets - // addressed to ports in the specified range will be forwarded to - // target. Forwarding rules with the same [IPAddress, IPProtocol] pair - // must have disjoint port ranges. + // Packets addressed to ports in the specified range will be forwarded + // to target or backend_service. You can only use one of ports, + // port_range, or allPorts. The three are mutually exclusive. Forwarding + // rules with the same [IPAddress, IPProtocol] pair must have disjoint + // port ranges. // // Some types of forwarding target have constraints on the acceptable // ports: // - TargetHttpProxy: 80, 8080 // - TargetHttpsProxy: 443 - // - TargetGrpcProxy: Any ports + // - TargetGrpcProxy: no constraints // - TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, // 995, 1688, 1883, 5222 // - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, @@ -11826,20 +11838,24 @@ type ForwardingRule struct { // - TargetVpnGateway: 500, 4500 PortRange string `json:"portRange,omitempty"` - // Ports: This field is used along with the backend_service field for - // internal load balancing. + // Ports: The ports field is only supported when the forwarding rule + // references a backend_service directly. Supported load balancing + // products are Internal TCP/UDP Load Balancing and Network Load + // Balancing. Only packets addressed to the specified list of ports are + // forwarded to backends. // - // When the load balancing scheme is INTERNAL, a list of ports can be - // configured, for example, ['80'], ['8000','9000']. Only packets - // addressed to these ports are forwarded to the backends configured - // with the forwarding rule. + // You can only use one of ports and port_range, or allPorts. The three + // are mutually exclusive. // - // If the forwarding rule's loadBalancingScheme is INTERNAL, you can - // specify ports in one of the following ways: + // You can specify a list of up to five ports, which can be + // non-contiguous. // - // * A list of up to five ports, which can be non-contiguous * Keyword - // ALL, which causes the forwarding rule to forward traffic on any port - // of the forwarding rule's protocol. + // For Internal TCP/UDP Load Balancing, if you specify allPorts, you + // should not specify ports. + // + // For more information, see [Port + // specifications](/load-balancing/docs/forwarding-rule-concepts#port_spe + // cifications). Ports []string `json:"ports,omitempty"` // Region: [Output Only] URL of the region where the regional forwarding @@ -11858,6 +11874,9 @@ type ForwardingRule struct { // ServiceDirectoryRegistrations: Service Directory resources to // register this forwarding rule with. Currently, only supports a single // Service Directory resource. + // + // It is only supported for Internal TCP/UDP Load Balancing and Internal + // HTTP(S) Load Balancing. ServiceDirectoryRegistrations []*ForwardingRuleServiceDirectoryRegistration `json:"serviceDirectoryRegistrations,omitempty"` // ServiceLabel: An optional prefix to the service name for this @@ -14110,6 +14129,15 @@ type HealthStatus struct { // that is health-checked. Port int64 `json:"port,omitempty"` + Weight string `json:"weight,omitempty"` + + // Possible values: + // "INVALID_WEIGHT" + // "MISSING_WEIGHT" + // "UNAVAILABLE_WEIGHT" + // "WEIGHT_NONE" + WeightError string `json:"weightError,omitempty"` + // ForceSendFields is a list of field names (e.g. "Annotations") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, @@ -16501,6 +16529,8 @@ type Instance struct { // Multiple interfaces are supported per instance. NetworkInterfaces []*NetworkInterface `json:"networkInterfaces,omitempty"` + NetworkPerformanceConfig *NetworkPerformanceConfig `json:"networkPerformanceConfig,omitempty"` + // PostKeyRevocationActionType: PostKeyRevocationActionType of the // instance. // @@ -17334,14 +17364,6 @@ type InstanceGroupManager struct { // complementary to this Instance Group Manager. NamedPorts []*NamedPort `json:"namedPorts,omitempty"` - // PendingActions: [Deprecated] This field is deprecated and will be - // removed. Prefer using the status field instead. Please contact - // cloud-updater-feedback@google.com to leave feedback if your workload - // relies on this field. [Output Only] The list of instance actions and - // the number of instances in this managed instance group that are - // pending for each of those actions. - PendingActions *InstanceGroupManagerPendingActionsSummary `json:"pendingActions,omitempty"` - // Region: [Output Only] The URL of the region where the managed // instance group resides (for regional resources). Region string `json:"region,omitempty"` @@ -17878,58 +17900,6 @@ func (s *InstanceGroupManagerListWarningData) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type InstanceGroupManagerPendingActionsSummary struct { - // Creating: [Deprecated] This field is deprecated and will be removed. - // Prefer using the status field instead. Please contact - // cloud-updater-feedback@google.com to leave feedback if your workload - // relies on this field. [Output Only] The number of instances in the - // managed instance group that are pending to be created. - Creating int64 `json:"creating,omitempty"` - - // Deleting: [Deprecated] This field is deprecated and will be removed. - // Prefer using the status field instead. Please contact - // cloud-updater-feedback@google.com to leave feedback if your workload - // relies on this field. [Output Only] The number of instances in the - // managed instance group that are pending to be deleted. - Deleting int64 `json:"deleting,omitempty"` - - // Recreating: [Deprecated] This field is deprecated and will be - // removed. Prefer using the status field instead. Please contact - // cloud-updater-feedback@google.com to leave feedback if your workload - // relies on this field. [Output Only] The number of instances in the - // managed instance group that are pending to be recreated. - Recreating int64 `json:"recreating,omitempty"` - - // Restarting: [Deprecated] This field is deprecated and will be - // removed. Prefer using the status field instead. Please contact - // cloud-updater-feedback@google.com to leave feedback if your workload - // relies on this field. [Output Only] The number of instances in the - // managed instance group that are pending to be restarted. - Restarting int64 `json:"restarting,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Creating") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Creating") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *InstanceGroupManagerPendingActionsSummary) MarshalJSON() ([]byte, error) { - type NoMethod InstanceGroupManagerPendingActionsSummary - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - type InstanceGroupManagerStatus struct { // Autoscaler: [Output Only] The URL of the Autoscaler that targets this // instance group manager. @@ -20022,6 +19992,8 @@ type InstanceProperties struct { // interface. NetworkInterfaces []*NetworkInterface `json:"networkInterfaces,omitempty"` + NetworkPerformanceConfig *NetworkPerformanceConfig `json:"networkPerformanceConfig,omitempty"` + // PostKeyRevocationActionType: PostKeyRevocationActionType of the // instance. // @@ -26063,8 +26035,9 @@ func (s *NetworkEndpoint) MarshalJSON() ([]byte, error) { // // A network endpoint group (NEG) defines how a set of endpoints should // be reached, whether they are reachable, and where they are located. -// For more information about using NEGs, see Setting up internet NEGs, -// Setting up zonal NEGs, or Setting up serverless NEGs. (== +// For more information about using NEGs, see Setting up external +// HTTP(S) Load Balancing with internet NEGs, Setting up zonal NEGs, or +// Setting up external HTTP(S) Load Balancing with serverless NEGs. (== // resource_for {$api_version}.networkEndpointGroups ==) (== // resource_for {$api_version}.globalNetworkEndpointGroups ==) (== // resource_for {$api_version}.regionNetworkEndpointGroups ==) @@ -27204,6 +27177,18 @@ type NetworkInterface struct { // instance will have no external IPv6 Internet access. Ipv6AccessConfigs []*AccessConfig `json:"ipv6AccessConfigs,omitempty"` + // Ipv6AccessType: [Output Only] One of EXTERNAL, INTERNAL to indicate + // whether the IP can be accessed from the Internet. This field is + // always inherited from its subnetwork. + // + // Valid only if stackType is IPV4_IPV6. + // + // Possible values: + // "EXTERNAL" + // "INTERNAL" + // "UNSPECIFIED_IPV6_ACCESS_TYPE" + Ipv6AccessType string `json:"ipv6AccessType,omitempty"` + // Ipv6Address: [Output Only] An IPv6 internal network address for this // network interface. Ipv6Address string `json:"ipv6Address,omitempty"` @@ -27555,6 +27540,42 @@ func (s *NetworkPeering) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +type NetworkPerformanceConfig struct { + // Possible values: + // "DEFAULT" + // "TIER_1" + ExternalIpEgressBandwidthTier string `json:"externalIpEgressBandwidthTier,omitempty"` + + // Possible values: + // "DEFAULT" + // "TIER_1" + TotalEgressBandwidthTier string `json:"totalEgressBandwidthTier,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "ExternalIpEgressBandwidthTier") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. + // "ExternalIpEgressBandwidthTier") to include in API requests with the + // JSON null value. By default, fields with empty values are omitted + // from API requests. However, any field with an empty value appearing + // in NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *NetworkPerformanceConfig) MarshalJSON() ([]byte, error) { + type NoMethod NetworkPerformanceConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // NetworkRoutingConfig: A routing configuration attached to a network // resource. The message includes the list of routers associated with // the network, and a flag indicating the type of routing behavior to @@ -28301,6 +28322,11 @@ type NodeGroupMaintenanceWindow struct { // scenario. Duration string `json:"duration,omitempty"` + // MaintenanceDuration: [Output only] A predetermined duration for the + // window, automatically chosen to be the smallest possible in the given + // scenario. + MaintenanceDuration *Duration `json:"maintenanceDuration,omitempty"` + // StartTime: Start time of the window. This must be in UTC format that // resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For // example, both 13:00-5 and 08:00 are valid. @@ -33260,6 +33286,9 @@ type PublicDelegatedPrefix struct { // this public delegated prefix. IpCidrRange string `json:"ipCidrRange,omitempty"` + // IsLiveMigration: If true, the prefix will be live migrated. + IsLiveMigration bool `json:"isLiveMigration,omitempty"` + // Kind: [Output Only] Type of the resource. Always // compute#publicDelegatedPrefix for public delegated prefixes. Kind string `json:"kind,omitempty"` @@ -33298,6 +33327,7 @@ type PublicDelegatedPrefix struct { // // Possible values: // "ANNOUNCED" + // "DELETING" // "INITIALIZING" Status string `json:"status,omitempty"` @@ -35151,6 +35181,12 @@ type RegionInstanceGroupManagersDeleteInstancesRequest struct { // zones/[ZONE]/instances/[INSTANCE_NAME]. Instances []string `json:"instances,omitempty"` + // SkipInapplicableInstances: If false and the request contains + // references to instances that cannot be deleted (that is, instances + // that are not in the group or are already deleted), the request fails. + // Otherwise, such instances are ignored. + SkipInapplicableInstances bool `json:"skipInapplicableInstances,omitempty"` + // ForceSendFields is a list of field names (e.g. "Instances") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, @@ -35748,6 +35784,33 @@ func (s *RegionInstanceGroupsSetNamedPortsRequest) MarshalJSON() ([]byte, error) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +type RegionInstantSnapshotsExportRequest struct { + // ExportParams: Parameters to export the changed blocks. + ExportParams *InstantSnapshotExportParams `json:"exportParams,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ExportParams") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "ExportParams") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *RegionInstantSnapshotsExportRequest) MarshalJSON() ([]byte, error) { + type NoMethod RegionInstantSnapshotsExportRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // RegionList: Contains a list of region resources. type RegionList struct { // Id: [Output Only] Unique identifier for the resource; defined by the @@ -37891,7 +37954,7 @@ type Route struct { Description string `json:"description,omitempty"` // DestRange: The destination range of outgoing packets that this route - // applies to. Only IPv4 is supported. + // applies to. Both IPv4 and IPv6 are supported. DestRange string `json:"destRange,omitempty"` // Id: [Output Only] The unique identifier for the resource. This @@ -40043,14 +40106,14 @@ func (s *SavedAttachedDisk) MarshalJSON() ([]byte, error) { type ScalingScheduleStatus struct { // LastStartTime: [Output Only] The last time the scaling schedule // became active. Note: this is a timestamp when a schedule actually - // became active, not when it was planned to do so. The timestamp is an - // RFC3339 string in RFC3339 text format. + // became active, not when it was planned to do so. The timestamp is in + // RFC3339 text format. LastStartTime string `json:"lastStartTime,omitempty"` - // NextStartTime: [Output Only] The next time the scaling schedule will + // NextStartTime: [Output Only] The next time the scaling schedule is to // become active. Note: this is a timestamp when a schedule is planned // to run, but the actual time might be slightly different. The - // timestamp is an RFC3339 string in RFC3339 text format. + // timestamp is in RFC3339 text format. NextStartTime string `json:"nextStartTime,omitempty"` // State: [Output Only] The current state of a scaling schedule. @@ -40366,11 +40429,12 @@ type SecurityPolicy struct { // The name should be unique in the organization in which the security // policy is created. This should only be used when SecurityPolicyType // is FIREWALL. The name must be 1-63 characters long, and comply with - // RFC1035. Specifically, the name must be 1-63 characters long and - // match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means - // the first character must be a lowercase letter, and all following - // characters must be a dash, lowercase letter, or digit, except the - // last character, which cannot be a dash. + // https://www.ietf.org/rfc/rfc1035.txt. Specifically, the name must be + // 1-63 characters long and match the regular expression + // `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be + // a lowercase letter, and all following characters must be a dash, + // lowercase letter, or digit, except the last character, which cannot + // be a dash. DisplayName string `json:"displayName,omitempty"` // Fingerprint: Specifies a fingerprint for this resource, which is @@ -40843,7 +40907,7 @@ type SecurityPolicyRule struct { // Priority: An integer indicating the priority of a rule in the list. // The priority must be a positive value between 0 and 2147483647. Rules // are evaluated from highest to lowest priority where 0 is the highest - // priority and 2147483647 is the lowest prority. + // priority and 2147483647 is the lowest priority. Priority int64 `json:"priority,omitempty"` // RateLimitOptions: Must be specified if the action is @@ -43962,12 +44026,13 @@ type Subnetwork struct { StackType string `json:"stackType,omitempty"` // State: [Output Only] The state of the subnetwork, which can be one of - // READY or DRAINING. A subnetwork that is READY is ready to be used. - // The state of DRAINING is only applicable to subnetworks that have the - // purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that - // connections to the load balancer are being drained. A subnetwork that - // is draining cannot be used or modified until it reaches a status of - // READY. + // the following values: READY: Subnetwork is created and ready to use + // DRAINING: only applicable to subnetworks that have the purpose set to + // INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the + // load balancer are being drained. A subnetwork that is draining cannot + // be used or modified until it reaches a status of READY CREATING: + // Subnetwork is provisioning DELETING: Subnetwork is being deleted + // UPDATING: Subnetwork is being updated // // Possible values: // "DRAINING" @@ -48938,21 +49003,40 @@ func (s *TargetVpnGatewaysScopedListWarningData) MarshalJSON() ([]byte, error) { } type TestFailure struct { + // ActualOutputUrl: The actual output URL evaluated by load balancer + // containing the scheme, host, path and query parameters. + ActualOutputUrl string `json:"actualOutputUrl,omitempty"` + + // ActualRedirectResponseCode: Actual HTTP status code for rule with + // `urlRedirect` calculated by load balancer + ActualRedirectResponseCode int64 `json:"actualRedirectResponseCode,omitempty"` + // ActualService: BackendService or BackendBucket returned by load // balancer. ActualService string `json:"actualService,omitempty"` + // ExpectedOutputUrl: The expected output URL evaluated by load balancer + // containing the scheme, host, path and query parameters. + ExpectedOutputUrl string `json:"expectedOutputUrl,omitempty"` + + // ExpectedRedirectResponseCode: Expected HTTP status code for rule with + // `urlRedirect` calculated by load balancer + ExpectedRedirectResponseCode int64 `json:"expectedRedirectResponseCode,omitempty"` + // ExpectedService: Expected BackendService or BackendBucket resource // the given URL should be mapped to. ExpectedService string `json:"expectedService,omitempty"` + // Headers: HTTP headers of the request. + Headers []*UrlMapTestHeader `json:"headers,omitempty"` + // Host: Host portion of the URL. Host string `json:"host,omitempty"` // Path: Path portion including query parameters in the URL. Path string `json:"path,omitempty"` - // ForceSendFields is a list of field names (e.g. "ActualService") to + // ForceSendFields is a list of field names (e.g. "ActualOutputUrl") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -48960,12 +49044,13 @@ type TestFailure struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ActualService") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "ActualOutputUrl") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } @@ -49639,11 +49724,39 @@ type UrlMapTest struct { // Description: Description of this test case. Description string `json:"description,omitempty"` + // ExpectedOutputUrl: The expected output URL evaluated by load balancer + // containing the scheme, host, path and query parameters. + // For rules that forward requests to backends, the test passes only + // when expectedOutputUrl matches the request forwarded by load balancer + // to backends. For rules with urlRewrite, the test verifies that the + // forwarded request matches hostRewrite and pathPrefixRewrite in the + // urlRewrite action. When service is specified, expectedOutputUrl`s + // scheme is ignored. + // For rules with urlRedirect, the test passes only if expectedOutputUrl + // matches the URL in the load balancer's redirect response. If + // urlRedirect specifies https_redirect, the test passes only if the + // scheme in expectedOutputUrl is also set to https. If urlRedirect + // specifies strip_query, the test passes only if expectedOutputUrl does + // not contain any query parameters. + // expectedOutputUrl is optional when service is specified. + ExpectedOutputUrl string `json:"expectedOutputUrl,omitempty"` + + // ExpectedRedirectResponseCode: For rules with urlRedirect, the test + // passes only if expectedRedirectResponseCode matches the HTTP status + // code in load balancer's redirect + // response. + // expectedRedirectResponseCode cannot be set when service is set. + ExpectedRedirectResponseCode int64 `json:"expectedRedirectResponseCode,omitempty"` + // ExpectedUrlRedirect: The expected URL that should be redirected to // for the host and path being tested. [Deprecated] This field is // deprecated. Use expected_output_url instead. ExpectedUrlRedirect string `json:"expectedUrlRedirect,omitempty"` + // Headers: HTTP headers for this request. If headers contains a host + // header, then host must also match the header value. + Headers []*UrlMapTestHeader `json:"headers,omitempty"` + // Host: Host portion of the URL. If headers contains a host header, // then host must also match the header value. Host string `json:"host,omitempty"` @@ -49681,6 +49794,37 @@ func (s *UrlMapTest) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// UrlMapTestHeader: HTTP headers used in UrlMapTests. +type UrlMapTestHeader struct { + // Name: Header name. + Name string `json:"name,omitempty"` + + // Value: Header value. + Value string `json:"value,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Name") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Name") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *UrlMapTestHeader) MarshalJSON() ([]byte, error) { + type NoMethod UrlMapTestHeader + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // UrlMapValidationResult: Message representing the validation result // for a UrlMap. type UrlMapValidationResult struct { @@ -52509,6 +52653,33 @@ func (s *Zone) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +type ZoneInstantSnapshotsExportRequest struct { + // ExportParams: Parameters to export the changed blocks. + ExportParams *InstantSnapshotExportParams `json:"exportParams,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ExportParams") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "ExportParams") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *ZoneInstantSnapshotsExportRequest) MarshalJSON() ([]byte, error) { + type NoMethod ZoneInstantSnapshotsExportRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // ZoneList: Contains a list of zone resources. type ZoneList struct { // Id: [Output Only] Unique identifier for the resource; defined by the @@ -52881,7 +53052,7 @@ func (c *AcceleratorTypesAggregatedListCall) Header() http.Header { func (c *AcceleratorTypesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -53084,7 +53255,7 @@ func (c *AcceleratorTypesGetCall) Header() http.Header { func (c *AcceleratorTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -53324,7 +53495,7 @@ func (c *AcceleratorTypesListCall) Header() http.Header { func (c *AcceleratorTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -53615,7 +53786,7 @@ func (c *AddressesAggregatedListCall) Header() http.Header { func (c *AddressesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -53827,7 +53998,7 @@ func (c *AddressesDeleteCall) Header() http.Header { func (c *AddressesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -53996,7 +54167,7 @@ func (c *AddressesGetCall) Header() http.Header { func (c *AddressesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -54173,7 +54344,7 @@ func (c *AddressesInsertCall) Header() http.Header { func (c *AddressesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -54414,7 +54585,7 @@ func (c *AddressesListCall) Header() http.Header { func (c *AddressesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -54632,7 +54803,7 @@ func (c *AddressesSetLabelsCall) Header() http.Header { func (c *AddressesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -54800,7 +54971,7 @@ func (c *AddressesTestIamPermissionsCall) Header() http.Header { func (c *AddressesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -55055,7 +55226,7 @@ func (c *AutoscalersAggregatedListCall) Header() http.Header { func (c *AutoscalersAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -55266,7 +55437,7 @@ func (c *AutoscalersDeleteCall) Header() http.Header { func (c *AutoscalersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -55435,7 +55606,7 @@ func (c *AutoscalersGetCall) Header() http.Header { func (c *AutoscalersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -55611,7 +55782,7 @@ func (c *AutoscalersInsertCall) Header() http.Header { func (c *AutoscalersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -55851,7 +56022,7 @@ func (c *AutoscalersListCall) Header() http.Header { func (c *AutoscalersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56075,7 +56246,7 @@ func (c *AutoscalersPatchCall) Header() http.Header { func (c *AutoscalersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56240,7 +56411,7 @@ func (c *AutoscalersTestIamPermissionsCall) Header() http.Header { func (c *AutoscalersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56428,7 +56599,7 @@ func (c *AutoscalersUpdateCall) Header() http.Header { func (c *AutoscalersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56610,7 +56781,7 @@ func (c *BackendBucketsAddSignedUrlKeyCall) Header() http.Header { func (c *BackendBucketsAddSignedUrlKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56782,7 +56953,7 @@ func (c *BackendBucketsDeleteCall) Header() http.Header { func (c *BackendBucketsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56949,7 +57120,7 @@ func (c *BackendBucketsDeleteSignedUrlKeyCall) Header() http.Header { func (c *BackendBucketsDeleteSignedUrlKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -57113,7 +57284,7 @@ func (c *BackendBucketsGetCall) Header() http.Header { func (c *BackendBucketsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -57277,7 +57448,7 @@ func (c *BackendBucketsGetIamPolicyCall) Header() http.Header { func (c *BackendBucketsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -57448,7 +57619,7 @@ func (c *BackendBucketsInsertCall) Header() http.Header { func (c *BackendBucketsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -57677,7 +57848,7 @@ func (c *BackendBucketsListCall) Header() http.Header { func (c *BackendBucketsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -57885,7 +58056,7 @@ func (c *BackendBucketsPatchCall) Header() http.Header { func (c *BackendBucketsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58061,7 +58232,7 @@ func (c *BackendBucketsSetEdgeSecurityPolicyCall) Header() http.Header { func (c *BackendBucketsSetEdgeSecurityPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58217,7 +58388,7 @@ func (c *BackendBucketsSetIamPolicyCall) Header() http.Header { func (c *BackendBucketsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58369,7 +58540,7 @@ func (c *BackendBucketsTestIamPermissionsCall) Header() http.Header { func (c *BackendBucketsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58541,7 +58712,7 @@ func (c *BackendBucketsUpdateCall) Header() http.Header { func (c *BackendBucketsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58717,7 +58888,7 @@ func (c *BackendServicesAddSignedUrlKeyCall) Header() http.Header { func (c *BackendServicesAddSignedUrlKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58967,7 +59138,7 @@ func (c *BackendServicesAggregatedListCall) Header() http.Header { func (c *BackendServicesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59177,7 +59348,7 @@ func (c *BackendServicesDeleteCall) Header() http.Header { func (c *BackendServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59344,7 +59515,7 @@ func (c *BackendServicesDeleteSignedUrlKeyCall) Header() http.Header { func (c *BackendServicesDeleteSignedUrlKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59509,7 +59680,7 @@ func (c *BackendServicesGetCall) Header() http.Header { func (c *BackendServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59662,7 +59833,7 @@ func (c *BackendServicesGetHealthCall) Header() http.Header { func (c *BackendServicesGetHealthCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59833,7 +60004,7 @@ func (c *BackendServicesInsertCall) Header() http.Header { func (c *BackendServicesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -60063,7 +60234,7 @@ func (c *BackendServicesListCall) Header() http.Header { func (c *BackendServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -60273,7 +60444,7 @@ func (c *BackendServicesPatchCall) Header() http.Header { func (c *BackendServicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -60449,7 +60620,7 @@ func (c *BackendServicesSetEdgeSecurityPolicyCall) Header() http.Header { func (c *BackendServicesSetEdgeSecurityPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -60624,7 +60795,7 @@ func (c *BackendServicesSetSecurityPolicyCall) Header() http.Header { func (c *BackendServicesSetSecurityPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -60780,7 +60951,7 @@ func (c *BackendServicesTestIamPermissionsCall) Header() http.Header { func (c *BackendServicesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -60954,7 +61125,7 @@ func (c *BackendServicesUpdateCall) Header() http.Header { func (c *BackendServicesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -61205,7 +61376,7 @@ func (c *DiskTypesAggregatedListCall) Header() http.Header { func (c *DiskTypesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -61410,7 +61581,7 @@ func (c *DiskTypesGetCall) Header() http.Header { func (c *DiskTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -61651,7 +61822,7 @@ func (c *DiskTypesListCall) Header() http.Header { func (c *DiskTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -61870,7 +62041,7 @@ func (c *DisksAddResourcePoliciesCall) Header() http.Header { func (c *DisksAddResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62130,7 +62301,7 @@ func (c *DisksAggregatedListCall) Header() http.Header { func (c *DisksAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62353,7 +62524,7 @@ func (c *DisksCreateSnapshotCall) Header() http.Header { func (c *DisksCreateSnapshotCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62546,7 +62717,7 @@ func (c *DisksDeleteCall) Header() http.Header { func (c *DisksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62715,7 +62886,7 @@ func (c *DisksGetCall) Header() http.Header { func (c *DisksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62890,7 +63061,7 @@ func (c *DisksGetIamPolicyCall) Header() http.Header { func (c *DisksGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -63084,7 +63255,7 @@ func (c *DisksInsertCall) Header() http.Header { func (c *DisksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -63330,7 +63501,7 @@ func (c *DisksListCall) Header() http.Header { func (c *DisksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -63547,7 +63718,7 @@ func (c *DisksRemoveResourcePoliciesCall) Header() http.Header { func (c *DisksRemoveResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -63734,7 +63905,7 @@ func (c *DisksResizeCall) Header() http.Header { func (c *DisksResizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -63902,7 +64073,7 @@ func (c *DisksSetIamPolicyCall) Header() http.Header { func (c *DisksSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64084,7 +64255,7 @@ func (c *DisksSetLabelsCall) Header() http.Header { func (c *DisksSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64252,7 +64423,7 @@ func (c *DisksTestIamPermissionsCall) Header() http.Header { func (c *DisksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64444,7 +64615,7 @@ func (c *DisksUpdateCall) Header() http.Header { func (c *DisksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64632,7 +64803,7 @@ func (c *ExternalVpnGatewaysDeleteCall) Header() http.Header { func (c *ExternalVpnGatewaysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64790,7 +64961,7 @@ func (c *ExternalVpnGatewaysGetCall) Header() http.Header { func (c *ExternalVpnGatewaysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64955,7 +65126,7 @@ func (c *ExternalVpnGatewaysInsertCall) Header() http.Header { func (c *ExternalVpnGatewaysInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -65184,7 +65355,7 @@ func (c *ExternalVpnGatewaysListCall) Header() http.Header { func (c *ExternalVpnGatewaysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -65372,7 +65543,7 @@ func (c *ExternalVpnGatewaysSetLabelsCall) Header() http.Header { func (c *ExternalVpnGatewaysSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -65524,7 +65695,7 @@ func (c *ExternalVpnGatewaysTestIamPermissionsCall) Header() http.Header { func (c *ExternalVpnGatewaysTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -65694,7 +65865,7 @@ func (c *FirewallsDeleteCall) Header() http.Header { func (c *FirewallsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -65852,7 +66023,7 @@ func (c *FirewallsGetCall) Header() http.Header { func (c *FirewallsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66018,7 +66189,7 @@ func (c *FirewallsInsertCall) Header() http.Header { func (c *FirewallsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66248,7 +66419,7 @@ func (c *FirewallsListCall) Header() http.Header { func (c *FirewallsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66457,7 +66628,7 @@ func (c *FirewallsPatchCall) Header() http.Header { func (c *FirewallsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66614,7 +66785,7 @@ func (c *FirewallsTestIamPermissionsCall) Header() http.Header { func (c *FirewallsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66789,7 +66960,7 @@ func (c *FirewallsUpdateCall) Header() http.Header { func (c *FirewallsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -67040,7 +67211,7 @@ func (c *ForwardingRulesAggregatedListCall) Header() http.Header { func (c *ForwardingRulesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -67252,7 +67423,7 @@ func (c *ForwardingRulesDeleteCall) Header() http.Header { func (c *ForwardingRulesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -67421,7 +67592,7 @@ func (c *ForwardingRulesGetCall) Header() http.Header { func (c *ForwardingRulesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -67598,7 +67769,7 @@ func (c *ForwardingRulesInsertCall) Header() http.Header { func (c *ForwardingRulesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -67839,7 +68010,7 @@ func (c *ForwardingRulesListCall) Header() http.Header { func (c *ForwardingRulesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68059,7 +68230,7 @@ func (c *ForwardingRulesPatchCall) Header() http.Header { func (c *ForwardingRulesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68246,7 +68417,7 @@ func (c *ForwardingRulesSetLabelsCall) Header() http.Header { func (c *ForwardingRulesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68434,7 +68605,7 @@ func (c *ForwardingRulesSetTargetCall) Header() http.Header { func (c *ForwardingRulesSetTargetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68602,7 +68773,7 @@ func (c *ForwardingRulesTestIamPermissionsCall) Header() http.Header { func (c *ForwardingRulesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68781,7 +68952,7 @@ func (c *GlobalAddressesDeleteCall) Header() http.Header { func (c *GlobalAddressesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68940,7 +69111,7 @@ func (c *GlobalAddressesGetCall) Header() http.Header { func (c *GlobalAddressesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -69102,7 +69273,7 @@ func (c *GlobalAddressesGetOwnerInstanceCall) Header() http.Header { func (c *GlobalAddressesGetOwnerInstanceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -69263,7 +69434,7 @@ func (c *GlobalAddressesInsertCall) Header() http.Header { func (c *GlobalAddressesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -69492,7 +69663,7 @@ func (c *GlobalAddressesListCall) Header() http.Header { func (c *GlobalAddressesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -69680,7 +69851,7 @@ func (c *GlobalAddressesSetLabelsCall) Header() http.Header { func (c *GlobalAddressesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -69832,7 +70003,7 @@ func (c *GlobalAddressesTestIamPermissionsCall) Header() http.Header { func (c *GlobalAddressesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -70002,7 +70173,7 @@ func (c *GlobalForwardingRulesDeleteCall) Header() http.Header { func (c *GlobalForwardingRulesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -70161,7 +70332,7 @@ func (c *GlobalForwardingRulesGetCall) Header() http.Header { func (c *GlobalForwardingRulesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -70327,7 +70498,7 @@ func (c *GlobalForwardingRulesInsertCall) Header() http.Header { func (c *GlobalForwardingRulesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -70557,7 +70728,7 @@ func (c *GlobalForwardingRulesListCall) Header() http.Header { func (c *GlobalForwardingRulesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -70766,7 +70937,7 @@ func (c *GlobalForwardingRulesPatchCall) Header() http.Header { func (c *GlobalForwardingRulesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -70923,7 +71094,7 @@ func (c *GlobalForwardingRulesSetLabelsCall) Header() http.Header { func (c *GlobalForwardingRulesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71095,7 +71266,7 @@ func (c *GlobalForwardingRulesSetTargetCall) Header() http.Header { func (c *GlobalForwardingRulesSetTargetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71252,7 +71423,7 @@ func (c *GlobalForwardingRulesTestIamPermissionsCall) Header() http.Header { func (c *GlobalForwardingRulesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71424,7 +71595,7 @@ func (c *GlobalNetworkEndpointGroupsAttachNetworkEndpointsCall) Header() http.He func (c *GlobalNetworkEndpointGroupsAttachNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71597,7 +71768,7 @@ func (c *GlobalNetworkEndpointGroupsDeleteCall) Header() http.Header { func (c *GlobalNetworkEndpointGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71764,7 +71935,7 @@ func (c *GlobalNetworkEndpointGroupsDetachNetworkEndpointsCall) Header() http.He func (c *GlobalNetworkEndpointGroupsDetachNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71929,7 +72100,7 @@ func (c *GlobalNetworkEndpointGroupsGetCall) Header() http.Header { func (c *GlobalNetworkEndpointGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -72093,7 +72264,7 @@ func (c *GlobalNetworkEndpointGroupsInsertCall) Header() http.Header { func (c *GlobalNetworkEndpointGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -72322,7 +72493,7 @@ func (c *GlobalNetworkEndpointGroupsListCall) Header() http.Header { func (c *GlobalNetworkEndpointGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -72582,7 +72753,7 @@ func (c *GlobalNetworkEndpointGroupsListNetworkEndpointsCall) Header() http.Head func (c *GlobalNetworkEndpointGroupsListNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -72871,7 +73042,7 @@ func (c *GlobalOperationsAggregatedListCall) Header() http.Header { func (c *GlobalOperationsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -73062,7 +73233,7 @@ func (c *GlobalOperationsDeleteCall) Header() http.Header { func (c *GlobalOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -73188,7 +73359,7 @@ func (c *GlobalOperationsGetCall) Header() http.Header { func (c *GlobalOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -73418,7 +73589,7 @@ func (c *GlobalOperationsListCall) Header() http.Header { func (c *GlobalOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -73616,7 +73787,7 @@ func (c *GlobalOperationsWaitCall) Header() http.Header { func (c *GlobalOperationsWaitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -73763,7 +73934,7 @@ func (c *GlobalOrganizationOperationsDeleteCall) Header() http.Header { func (c *GlobalOrganizationOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -73889,7 +74060,7 @@ func (c *GlobalOrganizationOperationsGetCall) Header() http.Header { func (c *GlobalOrganizationOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74119,7 +74290,7 @@ func (c *GlobalOrganizationOperationsListCall) Header() http.Header { func (c *GlobalOrganizationOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74315,7 +74486,7 @@ func (c *GlobalPublicDelegatedPrefixesDeleteCall) Header() http.Header { func (c *GlobalPublicDelegatedPrefixesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74472,7 +74643,7 @@ func (c *GlobalPublicDelegatedPrefixesGetCall) Header() http.Header { func (c *GlobalPublicDelegatedPrefixesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74637,7 +74808,7 @@ func (c *GlobalPublicDelegatedPrefixesInsertCall) Header() http.Header { func (c *GlobalPublicDelegatedPrefixesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74865,7 +75036,7 @@ func (c *GlobalPublicDelegatedPrefixesListCall) Header() http.Header { func (c *GlobalPublicDelegatedPrefixesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -75073,7 +75244,7 @@ func (c *GlobalPublicDelegatedPrefixesPatchCall) Header() http.Header { func (c *GlobalPublicDelegatedPrefixesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -75324,7 +75495,7 @@ func (c *HealthChecksAggregatedListCall) Header() http.Header { func (c *HealthChecksAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -75533,7 +75704,7 @@ func (c *HealthChecksDeleteCall) Header() http.Header { func (c *HealthChecksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -75691,7 +75862,7 @@ func (c *HealthChecksGetCall) Header() http.Header { func (c *HealthChecksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -75856,7 +76027,7 @@ func (c *HealthChecksInsertCall) Header() http.Header { func (c *HealthChecksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76085,7 +76256,7 @@ func (c *HealthChecksListCall) Header() http.Header { func (c *HealthChecksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76293,7 +76464,7 @@ func (c *HealthChecksPatchCall) Header() http.Header { func (c *HealthChecksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76450,7 +76621,7 @@ func (c *HealthChecksTestIamPermissionsCall) Header() http.Header { func (c *HealthChecksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76622,7 +76793,7 @@ func (c *HealthChecksUpdateCall) Header() http.Header { func (c *HealthChecksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76796,7 +76967,7 @@ func (c *HttpHealthChecksDeleteCall) Header() http.Header { func (c *HttpHealthChecksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76955,7 +77126,7 @@ func (c *HttpHealthChecksGetCall) Header() http.Header { func (c *HttpHealthChecksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77121,7 +77292,7 @@ func (c *HttpHealthChecksInsertCall) Header() http.Header { func (c *HttpHealthChecksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77351,7 +77522,7 @@ func (c *HttpHealthChecksListCall) Header() http.Header { func (c *HttpHealthChecksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77560,7 +77731,7 @@ func (c *HttpHealthChecksPatchCall) Header() http.Header { func (c *HttpHealthChecksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77717,7 +77888,7 @@ func (c *HttpHealthChecksTestIamPermissionsCall) Header() http.Header { func (c *HttpHealthChecksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77890,7 +78061,7 @@ func (c *HttpHealthChecksUpdateCall) Header() http.Header { func (c *HttpHealthChecksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -78063,7 +78234,7 @@ func (c *HttpsHealthChecksDeleteCall) Header() http.Header { func (c *HttpsHealthChecksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -78221,7 +78392,7 @@ func (c *HttpsHealthChecksGetCall) Header() http.Header { func (c *HttpsHealthChecksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -78386,7 +78557,7 @@ func (c *HttpsHealthChecksInsertCall) Header() http.Header { func (c *HttpsHealthChecksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -78615,7 +78786,7 @@ func (c *HttpsHealthChecksListCall) Header() http.Header { func (c *HttpsHealthChecksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -78823,7 +78994,7 @@ func (c *HttpsHealthChecksPatchCall) Header() http.Header { func (c *HttpsHealthChecksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -78980,7 +79151,7 @@ func (c *HttpsHealthChecksTestIamPermissionsCall) Header() http.Header { func (c *HttpsHealthChecksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79152,7 +79323,7 @@ func (c *HttpsHealthChecksUpdateCall) Header() http.Header { func (c *HttpsHealthChecksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79326,7 +79497,7 @@ func (c *ImagesDeleteCall) Header() http.Header { func (c *ImagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79497,7 +79668,7 @@ func (c *ImagesDeprecateCall) Header() http.Header { func (c *ImagesDeprecateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79664,7 +79835,7 @@ func (c *ImagesGetCall) Header() http.Header { func (c *ImagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79821,7 +79992,7 @@ func (c *ImagesGetFromFamilyCall) Header() http.Header { func (c *ImagesGetFromFamilyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79985,7 +80156,7 @@ func (c *ImagesGetIamPolicyCall) Header() http.Header { func (c *ImagesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80164,7 +80335,7 @@ func (c *ImagesInsertCall) Header() http.Header { func (c *ImagesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80407,7 +80578,7 @@ func (c *ImagesListCall) Header() http.Header { func (c *ImagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80615,7 +80786,7 @@ func (c *ImagesPatchCall) Header() http.Header { func (c *ImagesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80772,7 +80943,7 @@ func (c *ImagesSetIamPolicyCall) Header() http.Header { func (c *ImagesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80924,7 +81095,7 @@ func (c *ImagesSetLabelsCall) Header() http.Header { func (c *ImagesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81076,7 +81247,7 @@ func (c *ImagesTestIamPermissionsCall) Header() http.Header { func (c *ImagesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81265,7 +81436,7 @@ func (c *InstanceGroupManagersAbandonInstancesCall) Header() http.Header { func (c *InstanceGroupManagersAbandonInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81523,7 +81694,7 @@ func (c *InstanceGroupManagersAggregatedListCall) Header() http.Header { func (c *InstanceGroupManagersAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81720,7 +81891,7 @@ func (c *InstanceGroupManagersApplyUpdatesToInstancesCall) Header() http.Header func (c *InstanceGroupManagersApplyUpdatesToInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81903,7 +82074,7 @@ func (c *InstanceGroupManagersCreateInstancesCall) Header() http.Header { func (c *InstanceGroupManagersCreateInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -82088,7 +82259,7 @@ func (c *InstanceGroupManagersDeleteCall) Header() http.Header { func (c *InstanceGroupManagersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -82279,7 +82450,7 @@ func (c *InstanceGroupManagersDeleteInstancesCall) Header() http.Header { func (c *InstanceGroupManagersDeleteInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -82445,7 +82616,7 @@ func (c *InstanceGroupManagersDeletePerInstanceConfigsCall) Header() http.Header func (c *InstanceGroupManagersDeletePerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -82616,7 +82787,7 @@ func (c *InstanceGroupManagersGetCall) Header() http.Header { func (c *InstanceGroupManagersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -82798,7 +82969,7 @@ func (c *InstanceGroupManagersInsertCall) Header() http.Header { func (c *InstanceGroupManagersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -83037,7 +83208,7 @@ func (c *InstanceGroupManagersListCall) Header() http.Header { func (c *InstanceGroupManagersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -83319,7 +83490,7 @@ func (c *InstanceGroupManagersListErrorsCall) Header() http.Header { func (c *InstanceGroupManagersListErrorsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -83603,7 +83774,7 @@ func (c *InstanceGroupManagersListManagedInstancesCall) Header() http.Header { func (c *InstanceGroupManagersListManagedInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -83881,7 +84052,7 @@ func (c *InstanceGroupManagersListPerInstanceConfigsCall) Header() http.Header { func (c *InstanceGroupManagersListPerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -84110,7 +84281,7 @@ func (c *InstanceGroupManagersPatchCall) Header() http.Header { func (c *InstanceGroupManagersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -84296,7 +84467,7 @@ func (c *InstanceGroupManagersPatchPerInstanceConfigsCall) Header() http.Header func (c *InstanceGroupManagersPatchPerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -84494,7 +84665,7 @@ func (c *InstanceGroupManagersRecreateInstancesCall) Header() http.Header { func (c *InstanceGroupManagersRecreateInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -84697,7 +84868,7 @@ func (c *InstanceGroupManagersResizeCall) Header() http.Header { func (c *InstanceGroupManagersResizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -84895,7 +85066,7 @@ func (c *InstanceGroupManagersResizeAdvancedCall) Header() http.Header { func (c *InstanceGroupManagersResizeAdvancedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85023,8 +85194,9 @@ type InstanceGroupManagersSetAutoHealingPoliciesCall struct { header_ http.Header } -// SetAutoHealingPolicies: Modifies the autohealing policies. -// [Deprecated] This method is deprecated. Please use Patch instead. +// SetAutoHealingPolicies: Motifies the autohealing policy for the +// instances in this managed instance group. [Deprecated] This method is +// deprecated. Use instanceGroupManagers.patch instead. func (r *InstanceGroupManagersService) SetAutoHealingPolicies(project string, zone string, instanceGroupManager string, instancegroupmanagerssetautohealingrequest *InstanceGroupManagersSetAutoHealingRequest) *InstanceGroupManagersSetAutoHealingPoliciesCall { c := &InstanceGroupManagersSetAutoHealingPoliciesCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.project = project @@ -85080,7 +85252,7 @@ func (c *InstanceGroupManagersSetAutoHealingPoliciesCall) Header() http.Header { func (c *InstanceGroupManagersSetAutoHealingPoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85146,7 +85318,7 @@ func (c *InstanceGroupManagersSetAutoHealingPoliciesCall) Do(opts ...googleapi.C } return ret, nil // { - // "description": "Modifies the autohealing policies. [Deprecated] This method is deprecated. Please use Patch instead.", + // "description": "Motifies the autohealing policy for the instances in this managed instance group. [Deprecated] This method is deprecated. Use instanceGroupManagers.patch instead.", // "httpMethod": "POST", // "id": "compute.instanceGroupManagers.setAutoHealingPolicies", // "parameterOrder": [ @@ -85268,7 +85440,7 @@ func (c *InstanceGroupManagersSetInstanceTemplateCall) Header() http.Header { func (c *InstanceGroupManagersSetInstanceTemplateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85458,7 +85630,7 @@ func (c *InstanceGroupManagersSetTargetPoolsCall) Header() http.Header { func (c *InstanceGroupManagersSetTargetPoolsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85624,7 +85796,7 @@ func (c *InstanceGroupManagersTestIamPermissionsCall) Header() http.Header { func (c *InstanceGroupManagersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85810,7 +85982,7 @@ func (c *InstanceGroupManagersUpdateCall) Header() http.Header { func (c *InstanceGroupManagersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85996,7 +86168,7 @@ func (c *InstanceGroupManagersUpdatePerInstanceConfigsCall) Header() http.Header func (c *InstanceGroupManagersUpdatePerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86182,7 +86354,7 @@ func (c *InstanceGroupsAddInstancesCall) Header() http.Header { func (c *InstanceGroupsAddInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86440,7 +86612,7 @@ func (c *InstanceGroupsAggregatedListCall) Header() http.Header { func (c *InstanceGroupsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86654,7 +86826,7 @@ func (c *InstanceGroupsDeleteCall) Header() http.Header { func (c *InstanceGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86824,7 +86996,7 @@ func (c *InstanceGroupsGetCall) Header() http.Header { func (c *InstanceGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86998,7 +87170,7 @@ func (c *InstanceGroupsInsertCall) Header() http.Header { func (c *InstanceGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -87240,7 +87412,7 @@ func (c *InstanceGroupsListCall) Header() http.Header { func (c *InstanceGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -87512,7 +87684,7 @@ func (c *InstanceGroupsListInstancesCall) Header() http.Header { func (c *InstanceGroupsListInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -87746,7 +87918,7 @@ func (c *InstanceGroupsRemoveInstancesCall) Header() http.Header { func (c *InstanceGroupsRemoveInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -87930,7 +88102,7 @@ func (c *InstanceGroupsSetNamedPortsCall) Header() http.Header { func (c *InstanceGroupsSetNamedPortsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88096,7 +88268,7 @@ func (c *InstanceGroupsTestIamPermissionsCall) Header() http.Header { func (c *InstanceGroupsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88277,7 +88449,7 @@ func (c *InstanceTemplatesDeleteCall) Header() http.Header { func (c *InstanceTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88436,7 +88608,7 @@ func (c *InstanceTemplatesGetCall) Header() http.Header { func (c *InstanceTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88600,7 +88772,7 @@ func (c *InstanceTemplatesGetIamPolicyCall) Header() http.Header { func (c *InstanceTemplatesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88775,7 +88947,7 @@ func (c *InstanceTemplatesInsertCall) Header() http.Header { func (c *InstanceTemplatesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -89005,7 +89177,7 @@ func (c *InstanceTemplatesListCall) Header() http.Header { func (c *InstanceTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -89193,7 +89365,7 @@ func (c *InstanceTemplatesSetIamPolicyCall) Header() http.Header { func (c *InstanceTemplatesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -89345,7 +89517,7 @@ func (c *InstanceTemplatesTestIamPermissionsCall) Header() http.Header { func (c *InstanceTemplatesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -89521,7 +89693,7 @@ func (c *InstancesAddAccessConfigCall) Header() http.Header { func (c *InstancesAddAccessConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -89716,7 +89888,7 @@ func (c *InstancesAddResourcePoliciesCall) Header() http.Header { func (c *InstancesAddResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -89977,7 +90149,7 @@ func (c *InstancesAggregatedListCall) Header() http.Header { func (c *InstancesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -90203,7 +90375,7 @@ func (c *InstancesAttachDiskCall) Header() http.Header { func (c *InstancesAttachDiskCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -90393,7 +90565,7 @@ func (c *InstancesBulkInsertCall) Header() http.Header { func (c *InstancesBulkInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -90570,7 +90742,7 @@ func (c *InstancesDeleteCall) Header() http.Header { func (c *InstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -90750,7 +90922,7 @@ func (c *InstancesDeleteAccessConfigCall) Header() http.Header { func (c *InstancesDeleteAccessConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -90942,7 +91114,7 @@ func (c *InstancesDetachDiskCall) Header() http.Header { func (c *InstancesDetachDiskCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -91119,7 +91291,7 @@ func (c *InstancesGetCall) Header() http.Header { func (c *InstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -91288,7 +91460,7 @@ func (c *InstancesGetEffectiveFirewallsCall) Header() http.Header { func (c *InstancesGetEffectiveFirewallsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -91477,7 +91649,7 @@ func (c *InstancesGetGuestAttributesCall) Header() http.Header { func (c *InstancesGetGuestAttributesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -91662,7 +91834,7 @@ func (c *InstancesGetIamPolicyCall) Header() http.Header { func (c *InstancesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -91835,7 +92007,7 @@ func (c *InstancesGetScreenshotCall) Header() http.Header { func (c *InstancesGetScreenshotCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -92033,7 +92205,7 @@ func (c *InstancesGetSerialPortOutputCall) Header() http.Header { func (c *InstancesGetSerialPortOutputCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -92216,7 +92388,7 @@ func (c *InstancesGetShieldedInstanceIdentityCall) Header() http.Header { func (c *InstancesGetShieldedInstanceIdentityCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -92384,7 +92556,7 @@ func (c *InstancesGetShieldedVmIdentityCall) Header() http.Header { func (c *InstancesGetShieldedVmIdentityCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -92590,7 +92762,7 @@ func (c *InstancesInsertCall) Header() http.Header { func (c *InstancesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -92841,7 +93013,7 @@ func (c *InstancesListCall) Header() http.Header { func (c *InstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -93126,7 +93298,7 @@ func (c *InstancesListReferrersCall) Header() http.Header { func (c *InstancesListReferrersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -93352,7 +93524,7 @@ func (c *InstancesRemoveResourcePoliciesCall) Header() http.Header { func (c *InstancesRemoveResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -93539,7 +93711,7 @@ func (c *InstancesResetCall) Header() http.Header { func (c *InstancesResetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -93718,7 +93890,7 @@ func (c *InstancesResumeCall) Header() http.Header { func (c *InstancesResumeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -93909,7 +94081,7 @@ func (c *InstancesSetDeletionProtectionCall) Header() http.Header { func (c *InstancesSetDeletionProtectionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94095,7 +94267,7 @@ func (c *InstancesSetDiskAutoDeleteCall) Header() http.Header { func (c *InstancesSetDiskAutoDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94270,7 +94442,7 @@ func (c *InstancesSetIamPolicyCall) Header() http.Header { func (c *InstancesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94452,7 +94624,7 @@ func (c *InstancesSetLabelsCall) Header() http.Header { func (c *InstancesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94639,7 +94811,7 @@ func (c *InstancesSetMachineResourcesCall) Header() http.Header { func (c *InstancesSetMachineResourcesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94826,7 +94998,7 @@ func (c *InstancesSetMachineTypeCall) Header() http.Header { func (c *InstancesSetMachineTypeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95014,7 +95186,7 @@ func (c *InstancesSetMetadataCall) Header() http.Header { func (c *InstancesSetMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95203,7 +95375,7 @@ func (c *InstancesSetMinCpuPlatformCall) Header() http.Header { func (c *InstancesSetMinCpuPlatformCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95389,7 +95561,7 @@ func (c *InstancesSetNameCall) Header() http.Header { func (c *InstancesSetNameCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95579,7 +95751,7 @@ func (c *InstancesSetSchedulingCall) Header() http.Header { func (c *InstancesSetSchedulingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95767,7 +95939,7 @@ func (c *InstancesSetServiceAccountCall) Header() http.Header { func (c *InstancesSetServiceAccountCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95956,7 +96128,7 @@ func (c *InstancesSetShieldedInstanceIntegrityPolicyCall) Header() http.Header { func (c *InstancesSetShieldedInstanceIntegrityPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -96145,7 +96317,7 @@ func (c *InstancesSetShieldedVmIntegrityPolicyCall) Header() http.Header { func (c *InstancesSetShieldedVmIntegrityPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -96333,7 +96505,7 @@ func (c *InstancesSetTagsCall) Header() http.Header { func (c *InstancesSetTagsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -96499,7 +96671,7 @@ func (c *InstancesSimulateMaintenanceEventCall) Header() http.Header { func (c *InstancesSimulateMaintenanceEventCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -96672,7 +96844,7 @@ func (c *InstancesStartCall) Header() http.Header { func (c *InstancesStartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -96852,7 +97024,7 @@ func (c *InstancesStartWithEncryptionKeyCall) Header() http.Header { func (c *InstancesStartWithEncryptionKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -97050,7 +97222,7 @@ func (c *InstancesStopCall) Header() http.Header { func (c *InstancesStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -97244,7 +97416,7 @@ func (c *InstancesSuspendCall) Header() http.Header { func (c *InstancesSuspendCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -97409,7 +97581,7 @@ func (c *InstancesTestIamPermissionsCall) Header() http.Header { func (c *InstancesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -97626,7 +97798,7 @@ func (c *InstancesUpdateCall) Header() http.Header { func (c *InstancesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -97850,7 +98022,7 @@ func (c *InstancesUpdateAccessConfigCall) Header() http.Header { func (c *InstancesUpdateAccessConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -98046,7 +98218,7 @@ func (c *InstancesUpdateDisplayDeviceCall) Header() http.Header { func (c *InstancesUpdateDisplayDeviceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -98234,7 +98406,7 @@ func (c *InstancesUpdateNetworkInterfaceCall) Header() http.Header { func (c *InstancesUpdateNetworkInterfaceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -98430,7 +98602,7 @@ func (c *InstancesUpdateShieldedInstanceConfigCall) Header() http.Header { func (c *InstancesUpdateShieldedInstanceConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -98619,7 +98791,7 @@ func (c *InstancesUpdateShieldedVmConfigCall) Header() http.Header { func (c *InstancesUpdateShieldedVmConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -98879,7 +99051,7 @@ func (c *InterconnectAttachmentsAggregatedListCall) Header() http.Header { func (c *InterconnectAttachmentsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -99091,7 +99263,7 @@ func (c *InterconnectAttachmentsDeleteCall) Header() http.Header { func (c *InterconnectAttachmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -99259,7 +99431,7 @@ func (c *InterconnectAttachmentsGetCall) Header() http.Header { func (c *InterconnectAttachmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -99434,7 +99606,7 @@ func (c *InterconnectAttachmentsGetIamPolicyCall) Header() http.Header { func (c *InterconnectAttachmentsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -99623,7 +99795,7 @@ func (c *InterconnectAttachmentsInsertCall) Header() http.Header { func (c *InterconnectAttachmentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -99868,7 +100040,7 @@ func (c *InterconnectAttachmentsListCall) Header() http.Header { func (c *InterconnectAttachmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -100087,7 +100259,7 @@ func (c *InterconnectAttachmentsPatchCall) Header() http.Header { func (c *InterconnectAttachmentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -100255,7 +100427,7 @@ func (c *InterconnectAttachmentsSetIamPolicyCall) Header() http.Header { func (c *InterconnectAttachmentsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -100437,7 +100609,7 @@ func (c *InterconnectAttachmentsSetLabelsCall) Header() http.Header { func (c *InterconnectAttachmentsSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -100605,7 +100777,7 @@ func (c *InterconnectAttachmentsTestIamPermissionsCall) Header() http.Header { func (c *InterconnectAttachmentsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -100777,7 +100949,7 @@ func (c *InterconnectLocationsGetCall) Header() http.Header { func (c *InterconnectLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101006,7 +101178,7 @@ func (c *InterconnectLocationsListCall) Header() http.Header { func (c *InterconnectLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101194,7 +101366,7 @@ func (c *InterconnectLocationsTestIamPermissionsCall) Header() http.Header { func (c *InterconnectLocationsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101363,7 +101535,7 @@ func (c *InterconnectsDeleteCall) Header() http.Header { func (c *InterconnectsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101521,7 +101693,7 @@ func (c *InterconnectsGetCall) Header() http.Header { func (c *InterconnectsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101678,7 +101850,7 @@ func (c *InterconnectsGetDiagnosticsCall) Header() http.Header { func (c *InterconnectsGetDiagnosticsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101843,7 +102015,7 @@ func (c *InterconnectsGetIamPolicyCall) Header() http.Header { func (c *InterconnectsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102014,7 +102186,7 @@ func (c *InterconnectsInsertCall) Header() http.Header { func (c *InterconnectsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102243,7 +102415,7 @@ func (c *InterconnectsListCall) Header() http.Header { func (c *InterconnectsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102451,7 +102623,7 @@ func (c *InterconnectsPatchCall) Header() http.Header { func (c *InterconnectsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102608,7 +102780,7 @@ func (c *InterconnectsSetIamPolicyCall) Header() http.Header { func (c *InterconnectsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102760,7 +102932,7 @@ func (c *InterconnectsSetLabelsCall) Header() http.Header { func (c *InterconnectsSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102912,7 +103084,7 @@ func (c *InterconnectsTestIamPermissionsCall) Header() http.Header { func (c *InterconnectsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -103076,7 +103248,7 @@ func (c *LicenseCodesGetCall) Header() http.Header { func (c *LicenseCodesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -103242,7 +103414,7 @@ func (c *LicenseCodesGetIamPolicyCall) Header() http.Header { func (c *LicenseCodesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -103398,7 +103570,7 @@ func (c *LicenseCodesSetIamPolicyCall) Header() http.Header { func (c *LicenseCodesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -103551,7 +103723,7 @@ func (c *LicenseCodesTestIamPermissionsCall) Header() http.Header { func (c *LicenseCodesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -103722,7 +103894,7 @@ func (c *LicensesDeleteCall) Header() http.Header { func (c *LicensesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -103882,7 +104054,7 @@ func (c *LicensesGetCall) Header() http.Header { func (c *LicensesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104048,7 +104220,7 @@ func (c *LicensesGetIamPolicyCall) Header() http.Header { func (c *LicensesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104220,7 +104392,7 @@ func (c *LicensesInsertCall) Header() http.Header { func (c *LicensesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104458,7 +104630,7 @@ func (c *LicensesListCall) Header() http.Header { func (c *LicensesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104648,7 +104820,7 @@ func (c *LicensesSetIamPolicyCall) Header() http.Header { func (c *LicensesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104801,7 +104973,7 @@ func (c *LicensesTestIamPermissionsCall) Header() http.Header { func (c *LicensesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104971,7 +105143,7 @@ func (c *MachineImagesDeleteCall) Header() http.Header { func (c *MachineImagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -105129,7 +105301,7 @@ func (c *MachineImagesGetCall) Header() http.Header { func (c *MachineImagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -105293,7 +105465,7 @@ func (c *MachineImagesGetIamPolicyCall) Header() http.Header { func (c *MachineImagesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -105475,7 +105647,7 @@ func (c *MachineImagesInsertCall) Header() http.Header { func (c *MachineImagesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -105709,7 +105881,7 @@ func (c *MachineImagesListCall) Header() http.Header { func (c *MachineImagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -105897,7 +106069,7 @@ func (c *MachineImagesSetIamPolicyCall) Header() http.Header { func (c *MachineImagesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -106049,7 +106221,7 @@ func (c *MachineImagesTestIamPermissionsCall) Header() http.Header { func (c *MachineImagesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -106296,7 +106468,7 @@ func (c *MachineTypesAggregatedListCall) Header() http.Header { func (c *MachineTypesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -106501,7 +106673,7 @@ func (c *MachineTypesGetCall) Header() http.Header { func (c *MachineTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -106742,7 +106914,7 @@ func (c *MachineTypesListCall) Header() http.Header { func (c *MachineTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107033,7 +107205,7 @@ func (c *NetworkEndpointGroupsAggregatedListCall) Header() http.Header { func (c *NetworkEndpointGroupsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107248,7 +107420,7 @@ func (c *NetworkEndpointGroupsAttachNetworkEndpointsCall) Header() http.Header { func (c *NetworkEndpointGroupsAttachNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107433,7 +107605,7 @@ func (c *NetworkEndpointGroupsDeleteCall) Header() http.Header { func (c *NetworkEndpointGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107610,7 +107782,7 @@ func (c *NetworkEndpointGroupsDetachNetworkEndpointsCall) Header() http.Header { func (c *NetworkEndpointGroupsDetachNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107785,7 +107957,7 @@ func (c *NetworkEndpointGroupsGetCall) Header() http.Header { func (c *NetworkEndpointGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107959,7 +108131,7 @@ func (c *NetworkEndpointGroupsInsertCall) Header() http.Header { func (c *NetworkEndpointGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -108198,7 +108370,7 @@ func (c *NetworkEndpointGroupsListCall) Header() http.Header { func (c *NetworkEndpointGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -108470,7 +108642,7 @@ func (c *NetworkEndpointGroupsListNetworkEndpointsCall) Header() http.Header { func (c *NetworkEndpointGroupsListNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -108683,7 +108855,7 @@ func (c *NetworkEndpointGroupsTestIamPermissionsCall) Header() http.Header { func (c *NetworkEndpointGroupsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -108874,7 +109046,7 @@ func (c *NetworkFirewallPoliciesAddAssociationCall) Header() http.Header { func (c *NetworkFirewallPoliciesAddAssociationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109035,7 +109207,7 @@ func (c *NetworkFirewallPoliciesAddRuleCall) Header() http.Header { func (c *NetworkFirewallPoliciesAddRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109210,7 +109382,7 @@ func (c *NetworkFirewallPoliciesCloneRulesCall) Header() http.Header { func (c *NetworkFirewallPoliciesCloneRulesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109380,7 +109552,7 @@ func (c *NetworkFirewallPoliciesDeleteCall) Header() http.Header { func (c *NetworkFirewallPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109537,7 +109709,7 @@ func (c *NetworkFirewallPoliciesGetCall) Header() http.Header { func (c *NetworkFirewallPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109700,7 +109872,7 @@ func (c *NetworkFirewallPoliciesGetAssociationCall) Header() http.Header { func (c *NetworkFirewallPoliciesGetAssociationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109869,7 +110041,7 @@ func (c *NetworkFirewallPoliciesGetIamPolicyCall) Header() http.Header { func (c *NetworkFirewallPoliciesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110038,7 +110210,7 @@ func (c *NetworkFirewallPoliciesGetRuleCall) Header() http.Header { func (c *NetworkFirewallPoliciesGetRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110209,7 +110381,7 @@ func (c *NetworkFirewallPoliciesInsertCall) Header() http.Header { func (c *NetworkFirewallPoliciesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110438,7 +110610,7 @@ func (c *NetworkFirewallPoliciesListCall) Header() http.Header { func (c *NetworkFirewallPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110645,7 +110817,7 @@ func (c *NetworkFirewallPoliciesPatchCall) Header() http.Header { func (c *NetworkFirewallPoliciesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110808,7 +110980,7 @@ func (c *NetworkFirewallPoliciesPatchRuleCall) Header() http.Header { func (c *NetworkFirewallPoliciesPatchRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110990,7 +111162,7 @@ func (c *NetworkFirewallPoliciesRemoveAssociationCall) Header() http.Header { func (c *NetworkFirewallPoliciesRemoveAssociationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -111148,7 +111320,7 @@ func (c *NetworkFirewallPoliciesRemoveRuleCall) Header() http.Header { func (c *NetworkFirewallPoliciesRemoveRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -111298,7 +111470,7 @@ func (c *NetworkFirewallPoliciesSetIamPolicyCall) Header() http.Header { func (c *NetworkFirewallPoliciesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -111450,7 +111622,7 @@ func (c *NetworkFirewallPoliciesTestIamPermissionsCall) Header() http.Header { func (c *NetworkFirewallPoliciesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -111621,7 +111793,7 @@ func (c *NetworksAddPeeringCall) Header() http.Header { func (c *NetworksAddPeeringCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -111795,7 +111967,7 @@ func (c *NetworksDeleteCall) Header() http.Header { func (c *NetworksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -111954,7 +112126,7 @@ func (c *NetworksGetCall) Header() http.Header { func (c *NetworksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -112111,7 +112283,7 @@ func (c *NetworksGetEffectiveFirewallsCall) Header() http.Header { func (c *NetworksGetEffectiveFirewallsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -112278,7 +112450,7 @@ func (c *NetworksInsertCall) Header() http.Header { func (c *NetworksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -112508,7 +112680,7 @@ func (c *NetworksListCall) Header() http.Header { func (c *NetworksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -112787,7 +112959,7 @@ func (c *NetworksListIpAddressesCall) Header() http.Header { func (c *NetworksListIpAddressesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -113106,7 +113278,7 @@ func (c *NetworksListIpOwnersCall) Header() http.Header { func (c *NetworksListIpOwnersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -113439,7 +113611,7 @@ func (c *NetworksListPeeringRoutesCall) Header() http.Header { func (c *NetworksListPeeringRoutesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -113679,7 +113851,7 @@ func (c *NetworksPatchCall) Header() http.Header { func (c *NetworksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -113854,7 +114026,7 @@ func (c *NetworksRemovePeeringCall) Header() http.Header { func (c *NetworksRemovePeeringCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114028,7 +114200,7 @@ func (c *NetworksSwitchToCustomModeCall) Header() http.Header { func (c *NetworksSwitchToCustomModeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114177,7 +114349,7 @@ func (c *NetworksTestIamPermissionsCall) Header() http.Header { func (c *NetworksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114351,7 +114523,7 @@ func (c *NetworksUpdatePeeringCall) Header() http.Header { func (c *NetworksUpdatePeeringCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114528,7 +114700,7 @@ func (c *NodeGroupsAddNodesCall) Header() http.Header { func (c *NodeGroupsAddNodesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114788,7 +114960,7 @@ func (c *NodeGroupsAggregatedListCall) Header() http.Header { func (c *NodeGroupsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114999,7 +115171,7 @@ func (c *NodeGroupsDeleteCall) Header() http.Header { func (c *NodeGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -115177,7 +115349,7 @@ func (c *NodeGroupsDeleteNodesCall) Header() http.Header { func (c *NodeGroupsDeleteNodesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -115355,7 +115527,7 @@ func (c *NodeGroupsGetCall) Header() http.Header { func (c *NodeGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -115530,7 +115702,7 @@ func (c *NodeGroupsGetIamPolicyCall) Header() http.Header { func (c *NodeGroupsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -115713,7 +115885,7 @@ func (c *NodeGroupsInsertCall) Header() http.Header { func (c *NodeGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -115962,7 +116134,7 @@ func (c *NodeGroupsListCall) Header() http.Header { func (c *NodeGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -116232,7 +116404,7 @@ func (c *NodeGroupsListNodesCall) Header() http.Header { func (c *NodeGroupsListNodesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -116455,7 +116627,7 @@ func (c *NodeGroupsPatchCall) Header() http.Header { func (c *NodeGroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -116623,7 +116795,7 @@ func (c *NodeGroupsSetIamPolicyCall) Header() http.Header { func (c *NodeGroupsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -116804,7 +116976,7 @@ func (c *NodeGroupsSetNodeTemplateCall) Header() http.Header { func (c *NodeGroupsSetNodeTemplateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -116972,7 +117144,7 @@ func (c *NodeGroupsTestIamPermissionsCall) Header() http.Header { func (c *NodeGroupsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -117227,7 +117399,7 @@ func (c *NodeTemplatesAggregatedListCall) Header() http.Header { func (c *NodeTemplatesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -117438,7 +117610,7 @@ func (c *NodeTemplatesDeleteCall) Header() http.Header { func (c *NodeTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -117607,7 +117779,7 @@ func (c *NodeTemplatesGetCall) Header() http.Header { func (c *NodeTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -117782,7 +117954,7 @@ func (c *NodeTemplatesGetIamPolicyCall) Header() http.Header { func (c *NodeTemplatesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -117964,7 +118136,7 @@ func (c *NodeTemplatesInsertCall) Header() http.Header { func (c *NodeTemplatesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -118204,7 +118376,7 @@ func (c *NodeTemplatesListCall) Header() http.Header { func (c *NodeTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -118403,7 +118575,7 @@ func (c *NodeTemplatesSetIamPolicyCall) Header() http.Header { func (c *NodeTemplatesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -118566,7 +118738,7 @@ func (c *NodeTemplatesTestIamPermissionsCall) Header() http.Header { func (c *NodeTemplatesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -118821,7 +118993,7 @@ func (c *NodeTypesAggregatedListCall) Header() http.Header { func (c *NodeTypesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119025,7 +119197,7 @@ func (c *NodeTypesGetCall) Header() http.Header { func (c *NodeTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119265,7 +119437,7 @@ func (c *NodeTypesListCall) Header() http.Header { func (c *NodeTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119489,7 +119661,7 @@ func (c *OrganizationSecurityPoliciesAddAssociationCall) Header() http.Header { func (c *OrganizationSecurityPoliciesAddAssociationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119658,7 +119830,7 @@ func (c *OrganizationSecurityPoliciesAddRuleCall) Header() http.Header { func (c *OrganizationSecurityPoliciesAddRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119827,7 +119999,7 @@ func (c *OrganizationSecurityPoliciesCopyRulesCall) Header() http.Header { func (c *OrganizationSecurityPoliciesCopyRulesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119986,7 +120158,7 @@ func (c *OrganizationSecurityPoliciesDeleteCall) Header() http.Header { func (c *OrganizationSecurityPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -120133,7 +120305,7 @@ func (c *OrganizationSecurityPoliciesGetCall) Header() http.Header { func (c *OrganizationSecurityPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -120285,7 +120457,7 @@ func (c *OrganizationSecurityPoliciesGetAssociationCall) Header() http.Header { func (c *OrganizationSecurityPoliciesGetAssociationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -120442,7 +120614,7 @@ func (c *OrganizationSecurityPoliciesGetRuleCall) Header() http.Header { func (c *OrganizationSecurityPoliciesGetRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -120611,7 +120783,7 @@ func (c *OrganizationSecurityPoliciesInsertCall) Header() http.Header { func (c *OrganizationSecurityPoliciesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -120837,7 +121009,7 @@ func (c *OrganizationSecurityPoliciesListCall) Header() http.Header { func (c *OrganizationSecurityPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121030,7 +121202,7 @@ func (c *OrganizationSecurityPoliciesListAssociationsCall) Header() http.Header func (c *OrganizationSecurityPoliciesListAssociationsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121183,7 +121355,7 @@ func (c *OrganizationSecurityPoliciesMoveCall) Header() http.Header { func (c *OrganizationSecurityPoliciesMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121345,7 +121517,7 @@ func (c *OrganizationSecurityPoliciesPatchCall) Header() http.Header { func (c *OrganizationSecurityPoliciesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121516,7 +121688,7 @@ func (c *OrganizationSecurityPoliciesPatchRuleCall) Header() http.Header { func (c *OrganizationSecurityPoliciesPatchRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121692,7 +121864,7 @@ func (c *OrganizationSecurityPoliciesRemoveAssociationCall) Header() http.Header func (c *OrganizationSecurityPoliciesRemoveAssociationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121858,7 +122030,7 @@ func (c *OrganizationSecurityPoliciesRemoveRuleCall) Header() http.Header { func (c *OrganizationSecurityPoliciesRemoveRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -122097,7 +122269,7 @@ func (c *PacketMirroringsAggregatedListCall) Header() http.Header { func (c *PacketMirroringsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -122308,7 +122480,7 @@ func (c *PacketMirroringsDeleteCall) Header() http.Header { func (c *PacketMirroringsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -122476,7 +122648,7 @@ func (c *PacketMirroringsGetCall) Header() http.Header { func (c *PacketMirroringsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -122652,7 +122824,7 @@ func (c *PacketMirroringsInsertCall) Header() http.Header { func (c *PacketMirroringsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -122892,7 +123064,7 @@ func (c *PacketMirroringsListCall) Header() http.Header { func (c *PacketMirroringsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -123111,7 +123283,7 @@ func (c *PacketMirroringsPatchCall) Header() http.Header { func (c *PacketMirroringsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -123279,7 +123451,7 @@ func (c *PacketMirroringsTestIamPermissionsCall) Header() http.Header { func (c *PacketMirroringsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -123455,7 +123627,7 @@ func (c *ProjectsDisableXpnHostCall) Header() http.Header { func (c *ProjectsDisableXpnHostCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -123612,7 +123784,7 @@ func (c *ProjectsDisableXpnResourceCall) Header() http.Header { func (c *ProjectsDisableXpnResourceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -123774,7 +123946,7 @@ func (c *ProjectsEnableXpnHostCall) Header() http.Header { func (c *ProjectsEnableXpnHostCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -123932,7 +124104,7 @@ func (c *ProjectsEnableXpnResourceCall) Header() http.Header { func (c *ProjectsEnableXpnResourceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -124087,7 +124259,7 @@ func (c *ProjectsGetCall) Header() http.Header { func (c *ProjectsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -124233,7 +124405,7 @@ func (c *ProjectsGetXpnHostCall) Header() http.Header { func (c *ProjectsGetXpnHostCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -124452,7 +124624,7 @@ func (c *ProjectsGetXpnResourcesCall) Header() http.Header { func (c *ProjectsGetXpnResourcesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -124711,7 +124883,7 @@ func (c *ProjectsListXpnHostsCall) Header() http.Header { func (c *ProjectsListXpnHostsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -124919,7 +125091,7 @@ func (c *ProjectsMoveDiskCall) Header() http.Header { func (c *ProjectsMoveDiskCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125084,7 +125256,7 @@ func (c *ProjectsMoveInstanceCall) Header() http.Header { func (c *ProjectsMoveInstanceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125250,7 +125422,7 @@ func (c *ProjectsSetCommonInstanceMetadataCall) Header() http.Header { func (c *ProjectsSetCommonInstanceMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125417,7 +125589,7 @@ func (c *ProjectsSetDefaultNetworkTierCall) Header() http.Header { func (c *ProjectsSetDefaultNetworkTierCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125583,7 +125755,7 @@ func (c *ProjectsSetDefaultServiceAccountCall) Header() http.Header { func (c *ProjectsSetDefaultServiceAccountCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125751,7 +125923,7 @@ func (c *ProjectsSetUsageExportBucketCall) Header() http.Header { func (c *ProjectsSetUsageExportBucketCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125918,7 +126090,7 @@ func (c *PublicAdvertisedPrefixesDeleteCall) Header() http.Header { func (c *PublicAdvertisedPrefixesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -126075,7 +126247,7 @@ func (c *PublicAdvertisedPrefixesGetCall) Header() http.Header { func (c *PublicAdvertisedPrefixesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -126240,7 +126412,7 @@ func (c *PublicAdvertisedPrefixesInsertCall) Header() http.Header { func (c *PublicAdvertisedPrefixesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -126468,7 +126640,7 @@ func (c *PublicAdvertisedPrefixesListCall) Header() http.Header { func (c *PublicAdvertisedPrefixesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -126676,7 +126848,7 @@ func (c *PublicAdvertisedPrefixesPatchCall) Header() http.Header { func (c *PublicAdvertisedPrefixesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -126927,7 +127099,7 @@ func (c *PublicDelegatedPrefixesAggregatedListCall) Header() http.Header { func (c *PublicDelegatedPrefixesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -127140,7 +127312,7 @@ func (c *PublicDelegatedPrefixesDeleteCall) Header() http.Header { func (c *PublicDelegatedPrefixesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -127309,7 +127481,7 @@ func (c *PublicDelegatedPrefixesGetCall) Header() http.Header { func (c *PublicDelegatedPrefixesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -127486,7 +127658,7 @@ func (c *PublicDelegatedPrefixesInsertCall) Header() http.Header { func (c *PublicDelegatedPrefixesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -127726,7 +127898,7 @@ func (c *PublicDelegatedPrefixesListCall) Header() http.Header { func (c *PublicDelegatedPrefixesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -127945,7 +128117,7 @@ func (c *PublicDelegatedPrefixesPatchCall) Header() http.Header { func (c *PublicDelegatedPrefixesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -128129,7 +128301,7 @@ func (c *RegionAutoscalersDeleteCall) Header() http.Header { func (c *RegionAutoscalersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -128297,7 +128469,7 @@ func (c *RegionAutoscalersGetCall) Header() http.Header { func (c *RegionAutoscalersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -128473,7 +128645,7 @@ func (c *RegionAutoscalersInsertCall) Header() http.Header { func (c *RegionAutoscalersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -128713,7 +128885,7 @@ func (c *RegionAutoscalersListCall) Header() http.Header { func (c *RegionAutoscalersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -128937,7 +129109,7 @@ func (c *RegionAutoscalersPatchCall) Header() http.Header { func (c *RegionAutoscalersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129102,7 +129274,7 @@ func (c *RegionAutoscalersTestIamPermissionsCall) Header() http.Header { func (c *RegionAutoscalersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129290,7 +129462,7 @@ func (c *RegionAutoscalersUpdateCall) Header() http.Header { func (c *RegionAutoscalersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129471,7 +129643,7 @@ func (c *RegionBackendServicesDeleteCall) Header() http.Header { func (c *RegionBackendServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129639,7 +129811,7 @@ func (c *RegionBackendServicesGetCall) Header() http.Header { func (c *RegionBackendServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129798,7 +129970,7 @@ func (c *RegionBackendServicesGetHealthCall) Header() http.Header { func (c *RegionBackendServicesGetHealthCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129979,7 +130151,7 @@ func (c *RegionBackendServicesInsertCall) Header() http.Header { func (c *RegionBackendServicesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -130219,7 +130391,7 @@ func (c *RegionBackendServicesListCall) Header() http.Header { func (c *RegionBackendServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -130439,7 +130611,7 @@ func (c *RegionBackendServicesPatchCall) Header() http.Header { func (c *RegionBackendServicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -130607,7 +130779,7 @@ func (c *RegionBackendServicesTestIamPermissionsCall) Header() http.Header { func (c *RegionBackendServicesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -130791,7 +130963,7 @@ func (c *RegionBackendServicesUpdateCall) Header() http.Header { func (c *RegionBackendServicesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -131050,7 +131222,7 @@ func (c *RegionCommitmentsAggregatedListCall) Header() http.Header { func (c *RegionCommitmentsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -131254,7 +131426,7 @@ func (c *RegionCommitmentsGetCall) Header() http.Header { func (c *RegionCommitmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -131430,7 +131602,7 @@ func (c *RegionCommitmentsInsertCall) Header() http.Header { func (c *RegionCommitmentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -131670,7 +131842,7 @@ func (c *RegionCommitmentsListCall) Header() http.Header { func (c *RegionCommitmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -131869,7 +132041,7 @@ func (c *RegionCommitmentsTestIamPermissionsCall) Header() http.Header { func (c *RegionCommitmentsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -132052,7 +132224,7 @@ func (c *RegionCommitmentsUpdateReservationsCall) Header() http.Header { func (c *RegionCommitmentsUpdateReservationsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -132229,7 +132401,7 @@ func (c *RegionDiskTypesGetCall) Header() http.Header { func (c *RegionDiskTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -132469,7 +132641,7 @@ func (c *RegionDiskTypesListCall) Header() http.Header { func (c *RegionDiskTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -132688,7 +132860,7 @@ func (c *RegionDisksAddResourcePoliciesCall) Header() http.Header { func (c *RegionDisksAddResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -132883,7 +133055,7 @@ func (c *RegionDisksCreateSnapshotCall) Header() http.Header { func (c *RegionDisksCreateSnapshotCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -133075,7 +133247,7 @@ func (c *RegionDisksDeleteCall) Header() http.Header { func (c *RegionDisksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -133242,7 +133414,7 @@ func (c *RegionDisksGetCall) Header() http.Header { func (c *RegionDisksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -133417,7 +133589,7 @@ func (c *RegionDisksGetIamPolicyCall) Header() http.Header { func (c *RegionDisksGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -133606,7 +133778,7 @@ func (c *RegionDisksInsertCall) Header() http.Header { func (c *RegionDisksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -133851,7 +134023,7 @@ func (c *RegionDisksListCall) Header() http.Header { func (c *RegionDisksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -134069,7 +134241,7 @@ func (c *RegionDisksRemoveResourcePoliciesCall) Header() http.Header { func (c *RegionDisksRemoveResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -134255,7 +134427,7 @@ func (c *RegionDisksResizeCall) Header() http.Header { func (c *RegionDisksResizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -134423,7 +134595,7 @@ func (c *RegionDisksSetIamPolicyCall) Header() http.Header { func (c *RegionDisksSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -134604,7 +134776,7 @@ func (c *RegionDisksSetLabelsCall) Header() http.Header { func (c *RegionDisksSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -134772,7 +134944,7 @@ func (c *RegionDisksTestIamPermissionsCall) Header() http.Header { func (c *RegionDisksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -134952,7 +135124,7 @@ func (c *RegionHealthCheckServicesDeleteCall) Header() http.Header { func (c *RegionHealthCheckServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -135119,7 +135291,7 @@ func (c *RegionHealthCheckServicesGetCall) Header() http.Header { func (c *RegionHealthCheckServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -135294,7 +135466,7 @@ func (c *RegionHealthCheckServicesInsertCall) Header() http.Header { func (c *RegionHealthCheckServicesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -135534,7 +135706,7 @@ func (c *RegionHealthCheckServicesListCall) Header() http.Header { func (c *RegionHealthCheckServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -135753,7 +135925,7 @@ func (c *RegionHealthCheckServicesPatchCall) Header() http.Header { func (c *RegionHealthCheckServicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -135920,7 +136092,7 @@ func (c *RegionHealthCheckServicesTestIamPermissionsCall) Header() http.Header { func (c *RegionHealthCheckServicesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -136100,7 +136272,7 @@ func (c *RegionHealthChecksDeleteCall) Header() http.Header { func (c *RegionHealthChecksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -136269,7 +136441,7 @@ func (c *RegionHealthChecksGetCall) Header() http.Header { func (c *RegionHealthChecksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -136445,7 +136617,7 @@ func (c *RegionHealthChecksInsertCall) Header() http.Header { func (c *RegionHealthChecksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -136685,7 +136857,7 @@ func (c *RegionHealthChecksListCall) Header() http.Header { func (c *RegionHealthChecksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -136904,7 +137076,7 @@ func (c *RegionHealthChecksPatchCall) Header() http.Header { func (c *RegionHealthChecksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -137072,7 +137244,7 @@ func (c *RegionHealthChecksTestIamPermissionsCall) Header() http.Header { func (c *RegionHealthChecksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -137255,7 +137427,7 @@ func (c *RegionHealthChecksUpdateCall) Header() http.Header { func (c *RegionHealthChecksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -137446,7 +137618,7 @@ func (c *RegionInPlaceSnapshotsDeleteCall) Header() http.Header { func (c *RegionInPlaceSnapshotsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -137615,7 +137787,7 @@ func (c *RegionInPlaceSnapshotsGetCall) Header() http.Header { func (c *RegionInPlaceSnapshotsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -137790,7 +137962,7 @@ func (c *RegionInPlaceSnapshotsGetIamPolicyCall) Header() http.Header { func (c *RegionInPlaceSnapshotsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -137971,7 +138143,7 @@ func (c *RegionInPlaceSnapshotsInsertCall) Header() http.Header { func (c *RegionInPlaceSnapshotsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -138211,7 +138383,7 @@ func (c *RegionInPlaceSnapshotsListCall) Header() http.Header { func (c *RegionInPlaceSnapshotsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -138410,7 +138582,7 @@ func (c *RegionInPlaceSnapshotsSetIamPolicyCall) Header() http.Header { func (c *RegionInPlaceSnapshotsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -138593,7 +138765,7 @@ func (c *RegionInPlaceSnapshotsSetLabelsCall) Header() http.Header { func (c *RegionInPlaceSnapshotsSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -138761,7 +138933,7 @@ func (c *RegionInPlaceSnapshotsTestIamPermissionsCall) Header() http.Header { func (c *RegionInPlaceSnapshotsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -138959,7 +139131,7 @@ func (c *RegionInstanceGroupManagersAbandonInstancesCall) Header() http.Header { func (c *RegionInstanceGroupManagersAbandonInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -139125,7 +139297,7 @@ func (c *RegionInstanceGroupManagersApplyUpdatesToInstancesCall) Header() http.H func (c *RegionInstanceGroupManagersApplyUpdatesToInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -139308,7 +139480,7 @@ func (c *RegionInstanceGroupManagersCreateInstancesCall) Header() http.Header { func (c *RegionInstanceGroupManagersCreateInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -139491,7 +139663,7 @@ func (c *RegionInstanceGroupManagersDeleteCall) Header() http.Header { func (c *RegionInstanceGroupManagersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -139683,7 +139855,7 @@ func (c *RegionInstanceGroupManagersDeleteInstancesCall) Header() http.Header { func (c *RegionInstanceGroupManagersDeleteInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -139849,7 +140021,7 @@ func (c *RegionInstanceGroupManagersDeletePerInstanceConfigsCall) Header() http. func (c *RegionInstanceGroupManagersDeletePerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -140019,7 +140191,7 @@ func (c *RegionInstanceGroupManagersGetCall) Header() http.Header { func (c *RegionInstanceGroupManagersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -140200,7 +140372,7 @@ func (c *RegionInstanceGroupManagersInsertCall) Header() http.Header { func (c *RegionInstanceGroupManagersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -140439,7 +140611,7 @@ func (c *RegionInstanceGroupManagersListCall) Header() http.Header { func (c *RegionInstanceGroupManagersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -140721,7 +140893,7 @@ func (c *RegionInstanceGroupManagersListErrorsCall) Header() http.Header { func (c *RegionInstanceGroupManagersListErrorsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -141003,7 +141175,7 @@ func (c *RegionInstanceGroupManagersListManagedInstancesCall) Header() http.Head func (c *RegionInstanceGroupManagersListManagedInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -141281,7 +141453,7 @@ func (c *RegionInstanceGroupManagersListPerInstanceConfigsCall) Header() http.He func (c *RegionInstanceGroupManagersListPerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -141510,7 +141682,7 @@ func (c *RegionInstanceGroupManagersPatchCall) Header() http.Header { func (c *RegionInstanceGroupManagersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -141638,10 +141810,9 @@ type RegionInstanceGroupManagersPatchPerInstanceConfigsCall struct { header_ http.Header } -// PatchPerInstanceConfigs: Insert or patch (for the ones that already -// exist) per-instance configs for the managed instance group. -// perInstanceConfig.instance serves as a key used to distinguish -// whether to perform insert or patch. +// PatchPerInstanceConfigs: Inserts or patches per-instance configs for +// the managed instance group. perInstanceConfig.name serves as a key +// used to distinguish whether to perform insert or patch. func (r *RegionInstanceGroupManagersService) PatchPerInstanceConfigs(project string, region string, instanceGroupManager string, regioninstancegroupmanagerpatchinstanceconfigreq *RegionInstanceGroupManagerPatchInstanceConfigReq) *RegionInstanceGroupManagersPatchPerInstanceConfigsCall { c := &RegionInstanceGroupManagersPatchPerInstanceConfigsCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.project = project @@ -141697,7 +141868,7 @@ func (c *RegionInstanceGroupManagersPatchPerInstanceConfigsCall) Header() http.H func (c *RegionInstanceGroupManagersPatchPerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -141763,7 +141934,7 @@ func (c *RegionInstanceGroupManagersPatchPerInstanceConfigsCall) Do(opts ...goog } return ret, nil // { - // "description": "Insert or patch (for the ones that already exist) per-instance configs for the managed instance group. perInstanceConfig.instance serves as a key used to distinguish whether to perform insert or patch.", + // "description": "Inserts or patches per-instance configs for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch.", // "httpMethod": "POST", // "id": "compute.regionInstanceGroupManagers.patchPerInstanceConfigs", // "parameterOrder": [ @@ -141895,7 +142066,7 @@ func (c *RegionInstanceGroupManagersRecreateInstancesCall) Header() http.Header func (c *RegionInstanceGroupManagersRecreateInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142090,7 +142261,7 @@ func (c *RegionInstanceGroupManagersResizeCall) Header() http.Header { func (c *RegionInstanceGroupManagersResizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142221,7 +142392,7 @@ type RegionInstanceGroupManagersSetAutoHealingPoliciesCall struct { // SetAutoHealingPolicies: Modifies the autohealing policy for the // instances in this managed instance group. [Deprecated] This method is -// deprecated. Please use Patch instead. +// deprecated. Use regionInstanceGroupManagers.patch instead. func (r *RegionInstanceGroupManagersService) SetAutoHealingPolicies(project string, region string, instanceGroupManager string, regioninstancegroupmanagerssetautohealingrequest *RegionInstanceGroupManagersSetAutoHealingRequest) *RegionInstanceGroupManagersSetAutoHealingPoliciesCall { c := &RegionInstanceGroupManagersSetAutoHealingPoliciesCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.project = project @@ -142277,7 +142448,7 @@ func (c *RegionInstanceGroupManagersSetAutoHealingPoliciesCall) Header() http.He func (c *RegionInstanceGroupManagersSetAutoHealingPoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142343,7 +142514,7 @@ func (c *RegionInstanceGroupManagersSetAutoHealingPoliciesCall) Do(opts ...googl } return ret, nil // { - // "description": "Modifies the autohealing policy for the instances in this managed instance group. [Deprecated] This method is deprecated. Please use Patch instead.", + // "description": "Modifies the autohealing policy for the instances in this managed instance group. [Deprecated] This method is deprecated. Use regionInstanceGroupManagers.patch instead.", // "httpMethod": "POST", // "id": "compute.regionInstanceGroupManagers.setAutoHealingPolicies", // "parameterOrder": [ @@ -142463,7 +142634,7 @@ func (c *RegionInstanceGroupManagersSetInstanceTemplateCall) Header() http.Heade func (c *RegionInstanceGroupManagersSetInstanceTemplateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142649,7 +142820,7 @@ func (c *RegionInstanceGroupManagersSetTargetPoolsCall) Header() http.Header { func (c *RegionInstanceGroupManagersSetTargetPoolsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142815,7 +142986,7 @@ func (c *RegionInstanceGroupManagersTestIamPermissionsCall) Header() http.Header func (c *RegionInstanceGroupManagersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143001,7 +143172,7 @@ func (c *RegionInstanceGroupManagersUpdateCall) Header() http.Header { func (c *RegionInstanceGroupManagersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143129,10 +143300,9 @@ type RegionInstanceGroupManagersUpdatePerInstanceConfigsCall struct { header_ http.Header } -// UpdatePerInstanceConfigs: Insert or update (for the ones that already -// exist) per-instance configs for the managed instance group. -// perInstanceConfig.instance serves as a key used to distinguish -// whether to perform insert or patch. +// UpdatePerInstanceConfigs: Inserts or updates per-instance configs for +// the managed instance group. perInstanceConfig.name serves as a key +// used to distinguish whether to perform insert or patch. func (r *RegionInstanceGroupManagersService) UpdatePerInstanceConfigs(project string, region string, instanceGroupManager string, regioninstancegroupmanagerupdateinstanceconfigreq *RegionInstanceGroupManagerUpdateInstanceConfigReq) *RegionInstanceGroupManagersUpdatePerInstanceConfigsCall { c := &RegionInstanceGroupManagersUpdatePerInstanceConfigsCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.project = project @@ -143188,7 +143358,7 @@ func (c *RegionInstanceGroupManagersUpdatePerInstanceConfigsCall) Header() http. func (c *RegionInstanceGroupManagersUpdatePerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143254,7 +143424,7 @@ func (c *RegionInstanceGroupManagersUpdatePerInstanceConfigsCall) Do(opts ...goo } return ret, nil // { - // "description": "Insert or update (for the ones that already exist) per-instance configs for the managed instance group. perInstanceConfig.instance serves as a key used to distinguish whether to perform insert or patch.", + // "description": "Inserts or updates per-instance configs for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch.", // "httpMethod": "POST", // "id": "compute.regionInstanceGroupManagers.updatePerInstanceConfigs", // "parameterOrder": [ @@ -143362,7 +143532,7 @@ func (c *RegionInstanceGroupsGetCall) Header() http.Header { func (c *RegionInstanceGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143600,7 +143770,7 @@ func (c *RegionInstanceGroupsListCall) Header() http.Header { func (c *RegionInstanceGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143875,7 +144045,7 @@ func (c *RegionInstanceGroupsListInstancesCall) Header() http.Header { func (c *RegionInstanceGroupsListInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144106,7 +144276,7 @@ func (c *RegionInstanceGroupsSetNamedPortsCall) Header() http.Header { func (c *RegionInstanceGroupsSetNamedPortsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144272,7 +144442,7 @@ func (c *RegionInstanceGroupsTestIamPermissionsCall) Header() http.Header { func (c *RegionInstanceGroupsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144453,7 +144623,7 @@ func (c *RegionInstancesBulkInsertCall) Header() http.Header { func (c *RegionInstancesBulkInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144635,7 +144805,7 @@ func (c *RegionInstantSnapshotsDeleteCall) Header() http.Header { func (c *RegionInstantSnapshotsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144747,24 +144917,24 @@ func (c *RegionInstantSnapshotsDeleteCall) Do(opts ...googleapi.CallOption) (*Op // method id "compute.regionInstantSnapshots.export": type RegionInstantSnapshotsExportCall struct { - s *Service - project string - region string - instantSnapshot string - instantsnapshotexportparams *InstantSnapshotExportParams - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header + s *Service + project string + region string + instantSnapshot string + regioninstantsnapshotsexportrequest *RegionInstantSnapshotsExportRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } // Export: Export the changed blocks between two instant snapshots to a // customer?s bucket in the user specified format. -func (r *RegionInstantSnapshotsService) Export(project string, region string, instantSnapshot string, instantsnapshotexportparams *InstantSnapshotExportParams) *RegionInstantSnapshotsExportCall { +func (r *RegionInstantSnapshotsService) Export(project string, region string, instantSnapshot string, regioninstantsnapshotsexportrequest *RegionInstantSnapshotsExportRequest) *RegionInstantSnapshotsExportCall { c := &RegionInstantSnapshotsExportCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.project = project c.region = region c.instantSnapshot = instantSnapshot - c.instantsnapshotexportparams = instantsnapshotexportparams + c.regioninstantsnapshotsexportrequest = regioninstantsnapshotsexportrequest return c } @@ -144814,13 +144984,13 @@ func (c *RegionInstantSnapshotsExportCall) Header() http.Header { func (c *RegionInstantSnapshotsExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.instantsnapshotexportparams) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.regioninstantsnapshotsexportrequest) if err != nil { return nil, err } @@ -144918,7 +145088,7 @@ func (c *RegionInstantSnapshotsExportCall) Do(opts ...googleapi.CallOption) (*Op // }, // "path": "projects/{project}/regions/{region}/instantSnapshots/{instantSnapshot}/export", // "request": { - // "$ref": "InstantSnapshotExportParams" + // "$ref": "RegionInstantSnapshotsExportRequest" // }, // "response": { // "$ref": "Operation" @@ -144991,7 +145161,7 @@ func (c *RegionInstantSnapshotsGetCall) Header() http.Header { func (c *RegionInstantSnapshotsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -145166,7 +145336,7 @@ func (c *RegionInstantSnapshotsGetIamPolicyCall) Header() http.Header { func (c *RegionInstantSnapshotsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -145347,7 +145517,7 @@ func (c *RegionInstantSnapshotsInsertCall) Header() http.Header { func (c *RegionInstantSnapshotsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -145587,7 +145757,7 @@ func (c *RegionInstantSnapshotsListCall) Header() http.Header { func (c *RegionInstantSnapshotsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -145786,7 +145956,7 @@ func (c *RegionInstantSnapshotsSetIamPolicyCall) Header() http.Header { func (c *RegionInstantSnapshotsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -145969,7 +146139,7 @@ func (c *RegionInstantSnapshotsSetLabelsCall) Header() http.Header { func (c *RegionInstantSnapshotsSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -146137,7 +146307,7 @@ func (c *RegionInstantSnapshotsTestIamPermissionsCall) Header() http.Header { func (c *RegionInstantSnapshotsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -146319,7 +146489,7 @@ func (c *RegionNetworkEndpointGroupsDeleteCall) Header() http.Header { func (c *RegionNetworkEndpointGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -146486,7 +146656,7 @@ func (c *RegionNetworkEndpointGroupsGetCall) Header() http.Header { func (c *RegionNetworkEndpointGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -146660,7 +146830,7 @@ func (c *RegionNetworkEndpointGroupsInsertCall) Header() http.Header { func (c *RegionNetworkEndpointGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -146899,7 +147069,7 @@ func (c *RegionNetworkEndpointGroupsListCall) Header() http.Header { func (c *RegionNetworkEndpointGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -147114,7 +147284,7 @@ func (c *RegionNotificationEndpointsDeleteCall) Header() http.Header { func (c *RegionNotificationEndpointsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -147283,7 +147453,7 @@ func (c *RegionNotificationEndpointsGetCall) Header() http.Header { func (c *RegionNotificationEndpointsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -147459,7 +147629,7 @@ func (c *RegionNotificationEndpointsInsertCall) Header() http.Header { func (c *RegionNotificationEndpointsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -147699,7 +147869,7 @@ func (c *RegionNotificationEndpointsListCall) Header() http.Header { func (c *RegionNotificationEndpointsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -147898,7 +148068,7 @@ func (c *RegionNotificationEndpointsTestIamPermissionsCall) Header() http.Header func (c *RegionNotificationEndpointsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -148060,7 +148230,7 @@ func (c *RegionOperationsDeleteCall) Header() http.Header { func (c *RegionOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -148196,7 +148366,7 @@ func (c *RegionOperationsGetCall) Header() http.Header { func (c *RegionOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -148437,7 +148607,7 @@ func (c *RegionOperationsListCall) Header() http.Header { func (c *RegionOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -148646,7 +148816,7 @@ func (c *RegionOperationsWaitCall) Header() http.Header { func (c *RegionOperationsWaitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -148818,7 +148988,7 @@ func (c *RegionSslCertificatesDeleteCall) Header() http.Header { func (c *RegionSslCertificatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -148988,7 +149158,7 @@ func (c *RegionSslCertificatesGetCall) Header() http.Header { func (c *RegionSslCertificatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149164,7 +149334,7 @@ func (c *RegionSslCertificatesInsertCall) Header() http.Header { func (c *RegionSslCertificatesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149404,7 +149574,7 @@ func (c *RegionSslCertificatesListCall) Header() http.Header { func (c *RegionSslCertificatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149603,7 +149773,7 @@ func (c *RegionSslCertificatesTestIamPermissionsCall) Header() http.Header { func (c *RegionSslCertificatesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149783,7 +149953,7 @@ func (c *RegionTargetHttpProxiesDeleteCall) Header() http.Header { func (c *RegionTargetHttpProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149953,7 +150123,7 @@ func (c *RegionTargetHttpProxiesGetCall) Header() http.Header { func (c *RegionTargetHttpProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -150129,7 +150299,7 @@ func (c *RegionTargetHttpProxiesInsertCall) Header() http.Header { func (c *RegionTargetHttpProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -150369,7 +150539,7 @@ func (c *RegionTargetHttpProxiesListCall) Header() http.Header { func (c *RegionTargetHttpProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -150586,7 +150756,7 @@ func (c *RegionTargetHttpProxiesSetUrlMapCall) Header() http.Header { func (c *RegionTargetHttpProxiesSetUrlMapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -150754,7 +150924,7 @@ func (c *RegionTargetHttpProxiesTestIamPermissionsCall) Header() http.Header { func (c *RegionTargetHttpProxiesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -150934,7 +151104,7 @@ func (c *RegionTargetHttpsProxiesDeleteCall) Header() http.Header { func (c *RegionTargetHttpsProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -151104,7 +151274,7 @@ func (c *RegionTargetHttpsProxiesGetCall) Header() http.Header { func (c *RegionTargetHttpsProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -151280,7 +151450,7 @@ func (c *RegionTargetHttpsProxiesInsertCall) Header() http.Header { func (c *RegionTargetHttpsProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -151520,7 +151690,7 @@ func (c *RegionTargetHttpsProxiesListCall) Header() http.Header { func (c *RegionTargetHttpsProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -151737,7 +151907,7 @@ func (c *RegionTargetHttpsProxiesSetSslCertificatesCall) Header() http.Header { func (c *RegionTargetHttpsProxiesSetSslCertificatesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -151923,7 +152093,7 @@ func (c *RegionTargetHttpsProxiesSetUrlMapCall) Header() http.Header { func (c *RegionTargetHttpsProxiesSetUrlMapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -152091,7 +152261,7 @@ func (c *RegionTargetHttpsProxiesTestIamPermissionsCall) Header() http.Header { func (c *RegionTargetHttpsProxiesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -152259,7 +152429,7 @@ func (c *RegionUrlMapsDeleteCall) Header() http.Header { func (c *RegionUrlMapsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -152428,7 +152598,7 @@ func (c *RegionUrlMapsGetCall) Header() http.Header { func (c *RegionUrlMapsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -152592,7 +152762,7 @@ func (c *RegionUrlMapsInsertCall) Header() http.Header { func (c *RegionUrlMapsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -152761,7 +152931,7 @@ func (c *RegionUrlMapsInvalidateCacheCall) Header() http.Header { func (c *RegionUrlMapsInvalidateCacheCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -153010,7 +153180,7 @@ func (c *RegionUrlMapsListCall) Header() http.Header { func (c *RegionUrlMapsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -153217,7 +153387,7 @@ func (c *RegionUrlMapsPatchCall) Header() http.Header { func (c *RegionUrlMapsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -153385,7 +153555,7 @@ func (c *RegionUrlMapsTestIamPermissionsCall) Header() http.Header { func (c *RegionUrlMapsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -153556,7 +153726,7 @@ func (c *RegionUrlMapsUpdateCall) Header() http.Header { func (c *RegionUrlMapsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -153725,7 +153895,7 @@ func (c *RegionUrlMapsValidateCall) Header() http.Header { func (c *RegionUrlMapsValidateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -153896,7 +154066,7 @@ func (c *RegionsGetCall) Header() http.Header { func (c *RegionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -154126,7 +154296,7 @@ func (c *RegionsListCall) Header() http.Header { func (c *RegionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -154407,7 +154577,7 @@ func (c *ReservationsAggregatedListCall) Header() http.Header { func (c *ReservationsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -154618,7 +154788,7 @@ func (c *ReservationsDeleteCall) Header() http.Header { func (c *ReservationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -154786,7 +154956,7 @@ func (c *ReservationsGetCall) Header() http.Header { func (c *ReservationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -154961,7 +155131,7 @@ func (c *ReservationsGetIamPolicyCall) Header() http.Header { func (c *ReservationsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -155143,7 +155313,7 @@ func (c *ReservationsInsertCall) Header() http.Header { func (c *ReservationsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -155383,7 +155553,7 @@ func (c *ReservationsListCall) Header() http.Header { func (c *ReservationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -155602,7 +155772,7 @@ func (c *ReservationsResizeCall) Header() http.Header { func (c *ReservationsResizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -155770,7 +155940,7 @@ func (c *ReservationsSetIamPolicyCall) Header() http.Header { func (c *ReservationsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -155933,7 +156103,7 @@ func (c *ReservationsTestIamPermissionsCall) Header() http.Header { func (c *ReservationsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -156188,7 +156358,7 @@ func (c *ResourcePoliciesAggregatedListCall) Header() http.Header { func (c *ResourcePoliciesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -156399,7 +156569,7 @@ func (c *ResourcePoliciesDeleteCall) Header() http.Header { func (c *ResourcePoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -156567,7 +156737,7 @@ func (c *ResourcePoliciesGetCall) Header() http.Header { func (c *ResourcePoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -156742,7 +156912,7 @@ func (c *ResourcePoliciesGetIamPolicyCall) Header() http.Header { func (c *ResourcePoliciesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -156923,7 +157093,7 @@ func (c *ResourcePoliciesInsertCall) Header() http.Header { func (c *ResourcePoliciesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -157163,7 +157333,7 @@ func (c *ResourcePoliciesListCall) Header() http.Header { func (c *ResourcePoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -157362,7 +157532,7 @@ func (c *ResourcePoliciesSetIamPolicyCall) Header() http.Header { func (c *ResourcePoliciesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -157525,7 +157695,7 @@ func (c *ResourcePoliciesTestIamPermissionsCall) Header() http.Header { func (c *ResourcePoliciesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -157780,7 +157950,7 @@ func (c *RoutersAggregatedListCall) Header() http.Header { func (c *RoutersAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -157991,7 +158161,7 @@ func (c *RoutersDeleteCall) Header() http.Header { func (c *RoutersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -158160,7 +158330,7 @@ func (c *RoutersGetCall) Header() http.Header { func (c *RoutersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -158411,7 +158581,7 @@ func (c *RoutersGetNatMappingInfoCall) Header() http.Header { func (c *RoutersGetNatMappingInfoCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -158633,7 +158803,7 @@ func (c *RoutersGetRouterStatusCall) Header() http.Header { func (c *RoutersGetRouterStatusCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -158809,7 +158979,7 @@ func (c *RoutersInsertCall) Header() http.Header { func (c *RoutersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -159049,7 +159219,7 @@ func (c *RoutersListCall) Header() http.Header { func (c *RoutersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -159268,7 +159438,7 @@ func (c *RoutersPatchCall) Header() http.Header { func (c *RoutersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -159437,7 +159607,7 @@ func (c *RoutersPreviewCall) Header() http.Header { func (c *RoutersPreviewCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -159601,7 +159771,7 @@ func (c *RoutersTestIamPermissionsCall) Header() http.Header { func (c *RoutersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -159787,7 +159957,7 @@ func (c *RoutersUpdateCall) Header() http.Header { func (c *RoutersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -159970,7 +160140,7 @@ func (c *RoutesDeleteCall) Header() http.Header { func (c *RoutesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -160129,7 +160299,7 @@ func (c *RoutesGetCall) Header() http.Header { func (c *RoutesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -160295,7 +160465,7 @@ func (c *RoutesInsertCall) Header() http.Header { func (c *RoutesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -160525,7 +160695,7 @@ func (c *RoutesListCall) Header() http.Header { func (c *RoutesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -160713,7 +160883,7 @@ func (c *RoutesTestIamPermissionsCall) Header() http.Header { func (c *RoutesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -160872,7 +161042,7 @@ func (c *SecurityPoliciesAddRuleCall) Header() http.Header { func (c *SecurityPoliciesAddRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -161045,7 +161215,7 @@ func (c *SecurityPoliciesDeleteCall) Header() http.Header { func (c *SecurityPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -161203,7 +161373,7 @@ func (c *SecurityPoliciesGetCall) Header() http.Header { func (c *SecurityPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -161366,7 +161536,7 @@ func (c *SecurityPoliciesGetRuleCall) Header() http.Header { func (c *SecurityPoliciesGetRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -161544,7 +161714,7 @@ func (c *SecurityPoliciesInsertCall) Header() http.Header { func (c *SecurityPoliciesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -161778,7 +161948,7 @@ func (c *SecurityPoliciesListCall) Header() http.Header { func (c *SecurityPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -162047,7 +162217,7 @@ func (c *SecurityPoliciesListPreconfiguredExpressionSetsCall) Header() http.Head func (c *SecurityPoliciesListPreconfiguredExpressionSetsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -162180,7 +162350,9 @@ type SecurityPoliciesPatchCall struct { } // Patch: Patches the specified policy with the data included in the -// request. +// request. This cannot be used to be update the rules in the policy. +// Please use the per rule methods like addRule, patchRule, and +// removeRule instead. func (r *SecurityPoliciesService) Patch(project string, securityPolicy string, securitypolicy *SecurityPolicy) *SecurityPoliciesPatchCall { c := &SecurityPoliciesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.project = project @@ -162235,7 +162407,7 @@ func (c *SecurityPoliciesPatchCall) Header() http.Header { func (c *SecurityPoliciesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -162300,7 +162472,7 @@ func (c *SecurityPoliciesPatchCall) Do(opts ...googleapi.CallOption) (*Operation } return ret, nil // { - // "description": "Patches the specified policy with the data included in the request.", + // "description": "Patches the specified policy with the data included in the request. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead.", // "httpMethod": "PATCH", // "id": "compute.securityPolicies.patch", // "parameterOrder": [ @@ -162405,7 +162577,7 @@ func (c *SecurityPoliciesPatchRuleCall) Header() http.Header { func (c *SecurityPoliciesPatchRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -162572,7 +162744,7 @@ func (c *SecurityPoliciesRemoveRuleCall) Header() http.Header { func (c *SecurityPoliciesRemoveRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -162722,7 +162894,7 @@ func (c *SecurityPoliciesSetLabelsCall) Header() http.Header { func (c *SecurityPoliciesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -162874,7 +163046,7 @@ func (c *SecurityPoliciesTestIamPermissionsCall) Header() http.Header { func (c *SecurityPoliciesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -163045,7 +163217,7 @@ func (c *ServiceAttachmentsDeleteCall) Header() http.Header { func (c *ServiceAttachmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -163214,7 +163386,7 @@ func (c *ServiceAttachmentsGetCall) Header() http.Header { func (c *ServiceAttachmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -163389,7 +163561,7 @@ func (c *ServiceAttachmentsGetIamPolicyCall) Header() http.Header { func (c *ServiceAttachmentsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -163571,7 +163743,7 @@ func (c *ServiceAttachmentsInsertCall) Header() http.Header { func (c *ServiceAttachmentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -163810,7 +163982,7 @@ func (c *ServiceAttachmentsListCall) Header() http.Header { func (c *ServiceAttachmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -164009,7 +164181,7 @@ func (c *ServiceAttachmentsSetIamPolicyCall) Header() http.Header { func (c *ServiceAttachmentsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -164172,7 +164344,7 @@ func (c *ServiceAttachmentsTestIamPermissionsCall) Header() http.Header { func (c *ServiceAttachmentsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -164357,7 +164529,7 @@ func (c *SnapshotsDeleteCall) Header() http.Header { func (c *SnapshotsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -164516,7 +164688,7 @@ func (c *SnapshotsGetCall) Header() http.Header { func (c *SnapshotsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -164680,7 +164852,7 @@ func (c *SnapshotsGetIamPolicyCall) Header() http.Header { func (c *SnapshotsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -164851,7 +165023,7 @@ func (c *SnapshotsInsertCall) Header() http.Header { func (c *SnapshotsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -165081,7 +165253,7 @@ func (c *SnapshotsListCall) Header() http.Header { func (c *SnapshotsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -165269,7 +165441,7 @@ func (c *SnapshotsSetIamPolicyCall) Header() http.Header { func (c *SnapshotsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -165421,7 +165593,7 @@ func (c *SnapshotsSetLabelsCall) Header() http.Header { func (c *SnapshotsSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -165573,7 +165745,7 @@ func (c *SnapshotsTestIamPermissionsCall) Header() http.Header { func (c *SnapshotsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -165820,7 +165992,7 @@ func (c *SslCertificatesAggregatedListCall) Header() http.Header { func (c *SslCertificatesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -166029,7 +166201,7 @@ func (c *SslCertificatesDeleteCall) Header() http.Header { func (c *SslCertificatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -166187,7 +166359,7 @@ func (c *SslCertificatesGetCall) Header() http.Header { func (c *SslCertificatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -166352,7 +166524,7 @@ func (c *SslCertificatesInsertCall) Header() http.Header { func (c *SslCertificatesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -166581,7 +166753,7 @@ func (c *SslCertificatesListCall) Header() http.Header { func (c *SslCertificatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -166769,7 +166941,7 @@ func (c *SslCertificatesTestIamPermissionsCall) Header() http.Header { func (c *SslCertificatesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -166940,7 +167112,7 @@ func (c *SslPoliciesDeleteCall) Header() http.Header { func (c *SslPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -167097,7 +167269,7 @@ func (c *SslPoliciesGetCall) Header() http.Header { func (c *SslPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -167261,7 +167433,7 @@ func (c *SslPoliciesInsertCall) Header() http.Header { func (c *SslPoliciesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -167490,7 +167662,7 @@ func (c *SslPoliciesListCall) Header() http.Header { func (c *SslPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -167759,7 +167931,7 @@ func (c *SslPoliciesListAvailableFeaturesCall) Header() http.Header { func (c *SslPoliciesListAvailableFeaturesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -167947,7 +168119,7 @@ func (c *SslPoliciesPatchCall) Header() http.Header { func (c *SslPoliciesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -168103,7 +168275,7 @@ func (c *SslPoliciesTestIamPermissionsCall) Header() http.Header { func (c *SslPoliciesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -168349,7 +168521,7 @@ func (c *SubnetworksAggregatedListCall) Header() http.Header { func (c *SubnetworksAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -168560,7 +168732,7 @@ func (c *SubnetworksDeleteCall) Header() http.Header { func (c *SubnetworksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -168739,7 +168911,7 @@ func (c *SubnetworksExpandIpCidrRangeCall) Header() http.Header { func (c *SubnetworksExpandIpCidrRangeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -168916,7 +169088,7 @@ func (c *SubnetworksGetCall) Header() http.Header { func (c *SubnetworksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -169091,7 +169263,7 @@ func (c *SubnetworksGetIamPolicyCall) Header() http.Header { func (c *SubnetworksGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -169273,7 +169445,7 @@ func (c *SubnetworksInsertCall) Header() http.Header { func (c *SubnetworksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -169513,7 +169685,7 @@ func (c *SubnetworksListCall) Header() http.Header { func (c *SubnetworksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -169791,7 +169963,7 @@ func (c *SubnetworksListUsableCall) Header() http.Header { func (c *SubnetworksListUsableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -170017,7 +170189,7 @@ func (c *SubnetworksPatchCall) Header() http.Header { func (c *SubnetworksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -170191,7 +170363,7 @@ func (c *SubnetworksSetIamPolicyCall) Header() http.Header { func (c *SubnetworksSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -170374,7 +170546,7 @@ func (c *SubnetworksSetPrivateIpGoogleAccessCall) Header() http.Header { func (c *SubnetworksSetPrivateIpGoogleAccessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -170542,7 +170714,7 @@ func (c *SubnetworksTestIamPermissionsCall) Header() http.Header { func (c *SubnetworksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -170720,7 +170892,7 @@ func (c *TargetGrpcProxiesDeleteCall) Header() http.Header { func (c *TargetGrpcProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -170878,7 +171050,7 @@ func (c *TargetGrpcProxiesGetCall) Header() http.Header { func (c *TargetGrpcProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -171043,7 +171215,7 @@ func (c *TargetGrpcProxiesInsertCall) Header() http.Header { func (c *TargetGrpcProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -171271,7 +171443,7 @@ func (c *TargetGrpcProxiesListCall) Header() http.Header { func (c *TargetGrpcProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -171479,7 +171651,7 @@ func (c *TargetGrpcProxiesPatchCall) Header() http.Header { func (c *TargetGrpcProxiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -171636,7 +171808,7 @@ func (c *TargetGrpcProxiesTestIamPermissionsCall) Header() http.Header { func (c *TargetGrpcProxiesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -171883,7 +172055,7 @@ func (c *TargetHttpProxiesAggregatedListCall) Header() http.Header { func (c *TargetHttpProxiesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -172093,7 +172265,7 @@ func (c *TargetHttpProxiesDeleteCall) Header() http.Header { func (c *TargetHttpProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -172252,7 +172424,7 @@ func (c *TargetHttpProxiesGetCall) Header() http.Header { func (c *TargetHttpProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -172418,7 +172590,7 @@ func (c *TargetHttpProxiesInsertCall) Header() http.Header { func (c *TargetHttpProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -172648,7 +172820,7 @@ func (c *TargetHttpProxiesListCall) Header() http.Header { func (c *TargetHttpProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -172857,7 +173029,7 @@ func (c *TargetHttpProxiesPatchCall) Header() http.Header { func (c *TargetHttpProxiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -173033,7 +173205,7 @@ func (c *TargetHttpProxiesSetUrlMapCall) Header() http.Header { func (c *TargetHttpProxiesSetUrlMapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -173190,7 +173362,7 @@ func (c *TargetHttpProxiesTestIamPermissionsCall) Header() http.Header { func (c *TargetHttpProxiesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -173437,7 +173609,7 @@ func (c *TargetHttpsProxiesAggregatedListCall) Header() http.Header { func (c *TargetHttpsProxiesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -173646,7 +173818,7 @@ func (c *TargetHttpsProxiesDeleteCall) Header() http.Header { func (c *TargetHttpsProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -173804,7 +173976,7 @@ func (c *TargetHttpsProxiesGetCall) Header() http.Header { func (c *TargetHttpsProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -173969,7 +174141,7 @@ func (c *TargetHttpsProxiesInsertCall) Header() http.Header { func (c *TargetHttpsProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -174198,7 +174370,7 @@ func (c *TargetHttpsProxiesListCall) Header() http.Header { func (c *TargetHttpsProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -174407,7 +174579,7 @@ func (c *TargetHttpsProxiesPatchCall) Header() http.Header { func (c *TargetHttpsProxiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -174582,7 +174754,7 @@ func (c *TargetHttpsProxiesSetCertificateMapCall) Header() http.Header { func (c *TargetHttpsProxiesSetCertificateMapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -174756,7 +174928,7 @@ func (c *TargetHttpsProxiesSetQuicOverrideCall) Header() http.Header { func (c *TargetHttpsProxiesSetQuicOverrideCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -174930,7 +175102,7 @@ func (c *TargetHttpsProxiesSetSslCertificatesCall) Header() http.Header { func (c *TargetHttpsProxiesSetSslCertificatesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -175109,7 +175281,7 @@ func (c *TargetHttpsProxiesSetSslPolicyCall) Header() http.Header { func (c *TargetHttpsProxiesSetSslPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -175283,7 +175455,7 @@ func (c *TargetHttpsProxiesSetUrlMapCall) Header() http.Header { func (c *TargetHttpsProxiesSetUrlMapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -175440,7 +175612,7 @@ func (c *TargetHttpsProxiesTestIamPermissionsCall) Header() http.Header { func (c *TargetHttpsProxiesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -175687,7 +175859,7 @@ func (c *TargetInstancesAggregatedListCall) Header() http.Header { func (c *TargetInstancesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -175899,7 +176071,7 @@ func (c *TargetInstancesDeleteCall) Header() http.Header { func (c *TargetInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -176069,7 +176241,7 @@ func (c *TargetInstancesGetCall) Header() http.Header { func (c *TargetInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -176246,7 +176418,7 @@ func (c *TargetInstancesInsertCall) Header() http.Header { func (c *TargetInstancesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -176487,7 +176659,7 @@ func (c *TargetInstancesListCall) Header() http.Header { func (c *TargetInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -176686,7 +176858,7 @@ func (c *TargetInstancesTestIamPermissionsCall) Header() http.Header { func (c *TargetInstancesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -176869,7 +177041,7 @@ func (c *TargetPoolsAddHealthCheckCall) Header() http.Header { func (c *TargetPoolsAddHealthCheckCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -177056,7 +177228,7 @@ func (c *TargetPoolsAddInstanceCall) Header() http.Header { func (c *TargetPoolsAddInstanceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -177316,7 +177488,7 @@ func (c *TargetPoolsAggregatedListCall) Header() http.Header { func (c *TargetPoolsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -177528,7 +177700,7 @@ func (c *TargetPoolsDeleteCall) Header() http.Header { func (c *TargetPoolsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -177698,7 +177870,7 @@ func (c *TargetPoolsGetCall) Header() http.Header { func (c *TargetPoolsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -177858,7 +178030,7 @@ func (c *TargetPoolsGetHealthCall) Header() http.Header { func (c *TargetPoolsGetHealthCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -178040,7 +178212,7 @@ func (c *TargetPoolsInsertCall) Header() http.Header { func (c *TargetPoolsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -178281,7 +178453,7 @@ func (c *TargetPoolsListCall) Header() http.Header { func (c *TargetPoolsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -178499,7 +178671,7 @@ func (c *TargetPoolsRemoveHealthCheckCall) Header() http.Header { func (c *TargetPoolsRemoveHealthCheckCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -178686,7 +178858,7 @@ func (c *TargetPoolsRemoveInstanceCall) Header() http.Header { func (c *TargetPoolsRemoveInstanceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -178880,7 +179052,7 @@ func (c *TargetPoolsSetBackupCall) Header() http.Header { func (c *TargetPoolsSetBackupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -179054,7 +179226,7 @@ func (c *TargetPoolsTestIamPermissionsCall) Header() http.Header { func (c *TargetPoolsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -179232,7 +179404,7 @@ func (c *TargetSslProxiesDeleteCall) Header() http.Header { func (c *TargetSslProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -179390,7 +179562,7 @@ func (c *TargetSslProxiesGetCall) Header() http.Header { func (c *TargetSslProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -179555,7 +179727,7 @@ func (c *TargetSslProxiesInsertCall) Header() http.Header { func (c *TargetSslProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -179784,7 +179956,7 @@ func (c *TargetSslProxiesListCall) Header() http.Header { func (c *TargetSslProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -179990,7 +180162,7 @@ func (c *TargetSslProxiesSetBackendServiceCall) Header() http.Header { func (c *TargetSslProxiesSetBackendServiceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -180165,7 +180337,7 @@ func (c *TargetSslProxiesSetCertificateMapCall) Header() http.Header { func (c *TargetSslProxiesSetCertificateMapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -180339,7 +180511,7 @@ func (c *TargetSslProxiesSetProxyHeaderCall) Header() http.Header { func (c *TargetSslProxiesSetProxyHeaderCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -180514,7 +180686,7 @@ func (c *TargetSslProxiesSetSslCertificatesCall) Header() http.Header { func (c *TargetSslProxiesSetSslCertificatesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -180692,7 +180864,7 @@ func (c *TargetSslProxiesSetSslPolicyCall) Header() http.Header { func (c *TargetSslProxiesSetSslPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -180848,7 +181020,7 @@ func (c *TargetSslProxiesTestIamPermissionsCall) Header() http.Header { func (c *TargetSslProxiesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -181017,7 +181189,7 @@ func (c *TargetTcpProxiesDeleteCall) Header() http.Header { func (c *TargetTcpProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -181175,7 +181347,7 @@ func (c *TargetTcpProxiesGetCall) Header() http.Header { func (c *TargetTcpProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -181340,7 +181512,7 @@ func (c *TargetTcpProxiesInsertCall) Header() http.Header { func (c *TargetTcpProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -181569,7 +181741,7 @@ func (c *TargetTcpProxiesListCall) Header() http.Header { func (c *TargetTcpProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -181775,7 +181947,7 @@ func (c *TargetTcpProxiesSetBackendServiceCall) Header() http.Header { func (c *TargetTcpProxiesSetBackendServiceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -181950,7 +182122,7 @@ func (c *TargetTcpProxiesSetProxyHeaderCall) Header() http.Header { func (c *TargetTcpProxiesSetProxyHeaderCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -182107,7 +182279,7 @@ func (c *TargetTcpProxiesTestIamPermissionsCall) Header() http.Header { func (c *TargetTcpProxiesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -182353,7 +182525,7 @@ func (c *TargetVpnGatewaysAggregatedListCall) Header() http.Header { func (c *TargetVpnGatewaysAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -182564,7 +182736,7 @@ func (c *TargetVpnGatewaysDeleteCall) Header() http.Header { func (c *TargetVpnGatewaysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -182733,7 +182905,7 @@ func (c *TargetVpnGatewaysGetCall) Header() http.Header { func (c *TargetVpnGatewaysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -182909,7 +183081,7 @@ func (c *TargetVpnGatewaysInsertCall) Header() http.Header { func (c *TargetVpnGatewaysInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -183149,7 +183321,7 @@ func (c *TargetVpnGatewaysListCall) Header() http.Header { func (c *TargetVpnGatewaysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -183367,7 +183539,7 @@ func (c *TargetVpnGatewaysSetLabelsCall) Header() http.Header { func (c *TargetVpnGatewaysSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -183535,7 +183707,7 @@ func (c *TargetVpnGatewaysTestIamPermissionsCall) Header() http.Header { func (c *TargetVpnGatewaysTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -183791,7 +183963,7 @@ func (c *UrlMapsAggregatedListCall) Header() http.Header { func (c *UrlMapsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -184001,7 +184173,7 @@ func (c *UrlMapsDeleteCall) Header() http.Header { func (c *UrlMapsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -184160,7 +184332,7 @@ func (c *UrlMapsGetCall) Header() http.Header { func (c *UrlMapsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -184326,7 +184498,7 @@ func (c *UrlMapsInsertCall) Header() http.Header { func (c *UrlMapsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -184496,7 +184668,7 @@ func (c *UrlMapsInvalidateCacheCall) Header() http.Header { func (c *UrlMapsInvalidateCacheCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -184735,7 +184907,7 @@ func (c *UrlMapsListCall) Header() http.Header { func (c *UrlMapsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -184944,7 +185116,7 @@ func (c *UrlMapsPatchCall) Header() http.Header { func (c *UrlMapsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -185101,7 +185273,7 @@ func (c *UrlMapsTestIamPermissionsCall) Header() http.Header { func (c *UrlMapsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -185274,7 +185446,7 @@ func (c *UrlMapsUpdateCall) Header() http.Header { func (c *UrlMapsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -185433,7 +185605,7 @@ func (c *UrlMapsValidateCall) Header() http.Header { func (c *UrlMapsValidateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -185678,7 +185850,7 @@ func (c *VpnGatewaysAggregatedListCall) Header() http.Header { func (c *VpnGatewaysAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -185889,7 +186061,7 @@ func (c *VpnGatewaysDeleteCall) Header() http.Header { func (c *VpnGatewaysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -186058,7 +186230,7 @@ func (c *VpnGatewaysGetCall) Header() http.Header { func (c *VpnGatewaysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -186225,7 +186397,7 @@ func (c *VpnGatewaysGetStatusCall) Header() http.Header { func (c *VpnGatewaysGetStatusCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -186401,7 +186573,7 @@ func (c *VpnGatewaysInsertCall) Header() http.Header { func (c *VpnGatewaysInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -186641,7 +186813,7 @@ func (c *VpnGatewaysListCall) Header() http.Header { func (c *VpnGatewaysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -186859,7 +187031,7 @@ func (c *VpnGatewaysSetLabelsCall) Header() http.Header { func (c *VpnGatewaysSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -187027,7 +187199,7 @@ func (c *VpnGatewaysTestIamPermissionsCall) Header() http.Header { func (c *VpnGatewaysTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -187282,7 +187454,7 @@ func (c *VpnTunnelsAggregatedListCall) Header() http.Header { func (c *VpnTunnelsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -187493,7 +187665,7 @@ func (c *VpnTunnelsDeleteCall) Header() http.Header { func (c *VpnTunnelsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -187662,7 +187834,7 @@ func (c *VpnTunnelsGetCall) Header() http.Header { func (c *VpnTunnelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -187838,7 +188010,7 @@ func (c *VpnTunnelsInsertCall) Header() http.Header { func (c *VpnTunnelsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -188078,7 +188250,7 @@ func (c *VpnTunnelsListCall) Header() http.Header { func (c *VpnTunnelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -188296,7 +188468,7 @@ func (c *VpnTunnelsSetLabelsCall) Header() http.Header { func (c *VpnTunnelsSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -188464,7 +188636,7 @@ func (c *VpnTunnelsTestIamPermissionsCall) Header() http.Header { func (c *VpnTunnelsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -188651,7 +188823,7 @@ func (c *ZoneInPlaceSnapshotsDeleteCall) Header() http.Header { func (c *ZoneInPlaceSnapshotsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -188820,7 +188992,7 @@ func (c *ZoneInPlaceSnapshotsGetCall) Header() http.Header { func (c *ZoneInPlaceSnapshotsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -188995,7 +189167,7 @@ func (c *ZoneInPlaceSnapshotsGetIamPolicyCall) Header() http.Header { func (c *ZoneInPlaceSnapshotsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -189176,7 +189348,7 @@ func (c *ZoneInPlaceSnapshotsInsertCall) Header() http.Header { func (c *ZoneInPlaceSnapshotsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -189416,7 +189588,7 @@ func (c *ZoneInPlaceSnapshotsListCall) Header() http.Header { func (c *ZoneInPlaceSnapshotsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -189615,7 +189787,7 @@ func (c *ZoneInPlaceSnapshotsSetIamPolicyCall) Header() http.Header { func (c *ZoneInPlaceSnapshotsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -189797,7 +189969,7 @@ func (c *ZoneInPlaceSnapshotsSetLabelsCall) Header() http.Header { func (c *ZoneInPlaceSnapshotsSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -189965,7 +190137,7 @@ func (c *ZoneInPlaceSnapshotsTestIamPermissionsCall) Header() http.Header { func (c *ZoneInPlaceSnapshotsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -190152,7 +190324,7 @@ func (c *ZoneInstantSnapshotsDeleteCall) Header() http.Header { func (c *ZoneInstantSnapshotsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -190264,24 +190436,24 @@ func (c *ZoneInstantSnapshotsDeleteCall) Do(opts ...googleapi.CallOption) (*Oper // method id "compute.zoneInstantSnapshots.export": type ZoneInstantSnapshotsExportCall struct { - s *Service - project string - zone string - instantSnapshot string - instantsnapshotexportparams *InstantSnapshotExportParams - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header + s *Service + project string + zone string + instantSnapshot string + zoneinstantsnapshotsexportrequest *ZoneInstantSnapshotsExportRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } // Export: Export the changed blocks between two instant snapshots to a // customer?s bucket in the user specified format. -func (r *ZoneInstantSnapshotsService) Export(project string, zone string, instantSnapshot string, instantsnapshotexportparams *InstantSnapshotExportParams) *ZoneInstantSnapshotsExportCall { +func (r *ZoneInstantSnapshotsService) Export(project string, zone string, instantSnapshot string, zoneinstantsnapshotsexportrequest *ZoneInstantSnapshotsExportRequest) *ZoneInstantSnapshotsExportCall { c := &ZoneInstantSnapshotsExportCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.project = project c.zone = zone c.instantSnapshot = instantSnapshot - c.instantsnapshotexportparams = instantsnapshotexportparams + c.zoneinstantsnapshotsexportrequest = zoneinstantsnapshotsexportrequest return c } @@ -190331,13 +190503,13 @@ func (c *ZoneInstantSnapshotsExportCall) Header() http.Header { func (c *ZoneInstantSnapshotsExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.instantsnapshotexportparams) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.zoneinstantsnapshotsexportrequest) if err != nil { return nil, err } @@ -190435,7 +190607,7 @@ func (c *ZoneInstantSnapshotsExportCall) Do(opts ...googleapi.CallOption) (*Oper // }, // "path": "projects/{project}/zones/{zone}/instantSnapshots/{instantSnapshot}/export", // "request": { - // "$ref": "InstantSnapshotExportParams" + // "$ref": "ZoneInstantSnapshotsExportRequest" // }, // "response": { // "$ref": "Operation" @@ -190508,7 +190680,7 @@ func (c *ZoneInstantSnapshotsGetCall) Header() http.Header { func (c *ZoneInstantSnapshotsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -190683,7 +190855,7 @@ func (c *ZoneInstantSnapshotsGetIamPolicyCall) Header() http.Header { func (c *ZoneInstantSnapshotsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -190864,7 +191036,7 @@ func (c *ZoneInstantSnapshotsInsertCall) Header() http.Header { func (c *ZoneInstantSnapshotsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -191104,7 +191276,7 @@ func (c *ZoneInstantSnapshotsListCall) Header() http.Header { func (c *ZoneInstantSnapshotsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -191303,7 +191475,7 @@ func (c *ZoneInstantSnapshotsSetIamPolicyCall) Header() http.Header { func (c *ZoneInstantSnapshotsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -191485,7 +191657,7 @@ func (c *ZoneInstantSnapshotsSetLabelsCall) Header() http.Header { func (c *ZoneInstantSnapshotsSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -191653,7 +191825,7 @@ func (c *ZoneInstantSnapshotsTestIamPermissionsCall) Header() http.Header { func (c *ZoneInstantSnapshotsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -191815,7 +191987,7 @@ func (c *ZoneOperationsDeleteCall) Header() http.Header { func (c *ZoneOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -191951,7 +192123,7 @@ func (c *ZoneOperationsGetCall) Header() http.Header { func (c *ZoneOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -192192,7 +192364,7 @@ func (c *ZoneOperationsListCall) Header() http.Header { func (c *ZoneOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -192401,7 +192573,7 @@ func (c *ZoneOperationsWaitCall) Header() http.Header { func (c *ZoneOperationsWaitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -192565,7 +192737,7 @@ func (c *ZonesGetCall) Header() http.Header { func (c *ZonesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -192795,7 +192967,7 @@ func (c *ZonesListCall) Header() http.Header { func (c *ZonesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/compute/v0.beta/compute-gen.go b/compute/v0.beta/compute-gen.go index bc85473e8d0..6d041fdda6a 100644 --- a/compute/v0.beta/compute-gen.go +++ b/compute/v0.beta/compute-gen.go @@ -47276,7 +47276,7 @@ func (c *AcceleratorTypesAggregatedListCall) Header() http.Header { func (c *AcceleratorTypesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47479,7 +47479,7 @@ func (c *AcceleratorTypesGetCall) Header() http.Header { func (c *AcceleratorTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47719,7 +47719,7 @@ func (c *AcceleratorTypesListCall) Header() http.Header { func (c *AcceleratorTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48010,7 +48010,7 @@ func (c *AddressesAggregatedListCall) Header() http.Header { func (c *AddressesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48222,7 +48222,7 @@ func (c *AddressesDeleteCall) Header() http.Header { func (c *AddressesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48391,7 +48391,7 @@ func (c *AddressesGetCall) Header() http.Header { func (c *AddressesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48568,7 +48568,7 @@ func (c *AddressesInsertCall) Header() http.Header { func (c *AddressesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48809,7 +48809,7 @@ func (c *AddressesListCall) Header() http.Header { func (c *AddressesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49027,7 +49027,7 @@ func (c *AddressesSetLabelsCall) Header() http.Header { func (c *AddressesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49195,7 +49195,7 @@ func (c *AddressesTestIamPermissionsCall) Header() http.Header { func (c *AddressesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49450,7 +49450,7 @@ func (c *AutoscalersAggregatedListCall) Header() http.Header { func (c *AutoscalersAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49661,7 +49661,7 @@ func (c *AutoscalersDeleteCall) Header() http.Header { func (c *AutoscalersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49830,7 +49830,7 @@ func (c *AutoscalersGetCall) Header() http.Header { func (c *AutoscalersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50006,7 +50006,7 @@ func (c *AutoscalersInsertCall) Header() http.Header { func (c *AutoscalersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50246,7 +50246,7 @@ func (c *AutoscalersListCall) Header() http.Header { func (c *AutoscalersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50470,7 +50470,7 @@ func (c *AutoscalersPatchCall) Header() http.Header { func (c *AutoscalersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50635,7 +50635,7 @@ func (c *AutoscalersTestIamPermissionsCall) Header() http.Header { func (c *AutoscalersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50823,7 +50823,7 @@ func (c *AutoscalersUpdateCall) Header() http.Header { func (c *AutoscalersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51005,7 +51005,7 @@ func (c *BackendBucketsAddSignedUrlKeyCall) Header() http.Header { func (c *BackendBucketsAddSignedUrlKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51177,7 +51177,7 @@ func (c *BackendBucketsDeleteCall) Header() http.Header { func (c *BackendBucketsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51344,7 +51344,7 @@ func (c *BackendBucketsDeleteSignedUrlKeyCall) Header() http.Header { func (c *BackendBucketsDeleteSignedUrlKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51508,7 +51508,7 @@ func (c *BackendBucketsGetCall) Header() http.Header { func (c *BackendBucketsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51673,7 +51673,7 @@ func (c *BackendBucketsInsertCall) Header() http.Header { func (c *BackendBucketsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51902,7 +51902,7 @@ func (c *BackendBucketsListCall) Header() http.Header { func (c *BackendBucketsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -52110,7 +52110,7 @@ func (c *BackendBucketsPatchCall) Header() http.Header { func (c *BackendBucketsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -52286,7 +52286,7 @@ func (c *BackendBucketsUpdateCall) Header() http.Header { func (c *BackendBucketsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -52462,7 +52462,7 @@ func (c *BackendServicesAddSignedUrlKeyCall) Header() http.Header { func (c *BackendServicesAddSignedUrlKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -52712,7 +52712,7 @@ func (c *BackendServicesAggregatedListCall) Header() http.Header { func (c *BackendServicesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -52922,7 +52922,7 @@ func (c *BackendServicesDeleteCall) Header() http.Header { func (c *BackendServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -53089,7 +53089,7 @@ func (c *BackendServicesDeleteSignedUrlKeyCall) Header() http.Header { func (c *BackendServicesDeleteSignedUrlKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -53254,7 +53254,7 @@ func (c *BackendServicesGetCall) Header() http.Header { func (c *BackendServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -53407,7 +53407,7 @@ func (c *BackendServicesGetHealthCall) Header() http.Header { func (c *BackendServicesGetHealthCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -53578,7 +53578,7 @@ func (c *BackendServicesInsertCall) Header() http.Header { func (c *BackendServicesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -53808,7 +53808,7 @@ func (c *BackendServicesListCall) Header() http.Header { func (c *BackendServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -54018,7 +54018,7 @@ func (c *BackendServicesPatchCall) Header() http.Header { func (c *BackendServicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -54194,7 +54194,7 @@ func (c *BackendServicesSetSecurityPolicyCall) Header() http.Header { func (c *BackendServicesSetSecurityPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -54350,7 +54350,7 @@ func (c *BackendServicesTestIamPermissionsCall) Header() http.Header { func (c *BackendServicesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -54524,7 +54524,7 @@ func (c *BackendServicesUpdateCall) Header() http.Header { func (c *BackendServicesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -54775,7 +54775,7 @@ func (c *DiskTypesAggregatedListCall) Header() http.Header { func (c *DiskTypesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -54980,7 +54980,7 @@ func (c *DiskTypesGetCall) Header() http.Header { func (c *DiskTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -55221,7 +55221,7 @@ func (c *DiskTypesListCall) Header() http.Header { func (c *DiskTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -55440,7 +55440,7 @@ func (c *DisksAddResourcePoliciesCall) Header() http.Header { func (c *DisksAddResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -55700,7 +55700,7 @@ func (c *DisksAggregatedListCall) Header() http.Header { func (c *DisksAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -55923,7 +55923,7 @@ func (c *DisksCreateSnapshotCall) Header() http.Header { func (c *DisksCreateSnapshotCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56116,7 +56116,7 @@ func (c *DisksDeleteCall) Header() http.Header { func (c *DisksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56285,7 +56285,7 @@ func (c *DisksGetCall) Header() http.Header { func (c *DisksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56460,7 +56460,7 @@ func (c *DisksGetIamPolicyCall) Header() http.Header { func (c *DisksGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56654,7 +56654,7 @@ func (c *DisksInsertCall) Header() http.Header { func (c *DisksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56900,7 +56900,7 @@ func (c *DisksListCall) Header() http.Header { func (c *DisksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -57117,7 +57117,7 @@ func (c *DisksRemoveResourcePoliciesCall) Header() http.Header { func (c *DisksRemoveResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -57304,7 +57304,7 @@ func (c *DisksResizeCall) Header() http.Header { func (c *DisksResizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -57472,7 +57472,7 @@ func (c *DisksSetIamPolicyCall) Header() http.Header { func (c *DisksSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -57654,7 +57654,7 @@ func (c *DisksSetLabelsCall) Header() http.Header { func (c *DisksSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -57822,7 +57822,7 @@ func (c *DisksTestIamPermissionsCall) Header() http.Header { func (c *DisksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58000,7 +58000,7 @@ func (c *ExternalVpnGatewaysDeleteCall) Header() http.Header { func (c *ExternalVpnGatewaysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58158,7 +58158,7 @@ func (c *ExternalVpnGatewaysGetCall) Header() http.Header { func (c *ExternalVpnGatewaysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58323,7 +58323,7 @@ func (c *ExternalVpnGatewaysInsertCall) Header() http.Header { func (c *ExternalVpnGatewaysInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58552,7 +58552,7 @@ func (c *ExternalVpnGatewaysListCall) Header() http.Header { func (c *ExternalVpnGatewaysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58740,7 +58740,7 @@ func (c *ExternalVpnGatewaysSetLabelsCall) Header() http.Header { func (c *ExternalVpnGatewaysSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58892,7 +58892,7 @@ func (c *ExternalVpnGatewaysTestIamPermissionsCall) Header() http.Header { func (c *ExternalVpnGatewaysTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59062,7 +59062,7 @@ func (c *FirewallsDeleteCall) Header() http.Header { func (c *FirewallsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59220,7 +59220,7 @@ func (c *FirewallsGetCall) Header() http.Header { func (c *FirewallsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59386,7 +59386,7 @@ func (c *FirewallsInsertCall) Header() http.Header { func (c *FirewallsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59616,7 +59616,7 @@ func (c *FirewallsListCall) Header() http.Header { func (c *FirewallsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59825,7 +59825,7 @@ func (c *FirewallsPatchCall) Header() http.Header { func (c *FirewallsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59982,7 +59982,7 @@ func (c *FirewallsTestIamPermissionsCall) Header() http.Header { func (c *FirewallsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -60157,7 +60157,7 @@ func (c *FirewallsUpdateCall) Header() http.Header { func (c *FirewallsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -60408,7 +60408,7 @@ func (c *ForwardingRulesAggregatedListCall) Header() http.Header { func (c *ForwardingRulesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -60620,7 +60620,7 @@ func (c *ForwardingRulesDeleteCall) Header() http.Header { func (c *ForwardingRulesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -60789,7 +60789,7 @@ func (c *ForwardingRulesGetCall) Header() http.Header { func (c *ForwardingRulesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -60966,7 +60966,7 @@ func (c *ForwardingRulesInsertCall) Header() http.Header { func (c *ForwardingRulesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -61207,7 +61207,7 @@ func (c *ForwardingRulesListCall) Header() http.Header { func (c *ForwardingRulesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -61427,7 +61427,7 @@ func (c *ForwardingRulesPatchCall) Header() http.Header { func (c *ForwardingRulesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -61614,7 +61614,7 @@ func (c *ForwardingRulesSetLabelsCall) Header() http.Header { func (c *ForwardingRulesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -61802,7 +61802,7 @@ func (c *ForwardingRulesSetTargetCall) Header() http.Header { func (c *ForwardingRulesSetTargetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -61970,7 +61970,7 @@ func (c *ForwardingRulesTestIamPermissionsCall) Header() http.Header { func (c *ForwardingRulesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62149,7 +62149,7 @@ func (c *GlobalAddressesDeleteCall) Header() http.Header { func (c *GlobalAddressesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62308,7 +62308,7 @@ func (c *GlobalAddressesGetCall) Header() http.Header { func (c *GlobalAddressesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62474,7 +62474,7 @@ func (c *GlobalAddressesInsertCall) Header() http.Header { func (c *GlobalAddressesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62703,7 +62703,7 @@ func (c *GlobalAddressesListCall) Header() http.Header { func (c *GlobalAddressesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62891,7 +62891,7 @@ func (c *GlobalAddressesSetLabelsCall) Header() http.Header { func (c *GlobalAddressesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -63043,7 +63043,7 @@ func (c *GlobalAddressesTestIamPermissionsCall) Header() http.Header { func (c *GlobalAddressesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -63213,7 +63213,7 @@ func (c *GlobalForwardingRulesDeleteCall) Header() http.Header { func (c *GlobalForwardingRulesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -63372,7 +63372,7 @@ func (c *GlobalForwardingRulesGetCall) Header() http.Header { func (c *GlobalForwardingRulesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -63538,7 +63538,7 @@ func (c *GlobalForwardingRulesInsertCall) Header() http.Header { func (c *GlobalForwardingRulesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -63768,7 +63768,7 @@ func (c *GlobalForwardingRulesListCall) Header() http.Header { func (c *GlobalForwardingRulesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -63977,7 +63977,7 @@ func (c *GlobalForwardingRulesPatchCall) Header() http.Header { func (c *GlobalForwardingRulesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64134,7 +64134,7 @@ func (c *GlobalForwardingRulesSetLabelsCall) Header() http.Header { func (c *GlobalForwardingRulesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64306,7 +64306,7 @@ func (c *GlobalForwardingRulesSetTargetCall) Header() http.Header { func (c *GlobalForwardingRulesSetTargetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64463,7 +64463,7 @@ func (c *GlobalForwardingRulesTestIamPermissionsCall) Header() http.Header { func (c *GlobalForwardingRulesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64635,7 +64635,7 @@ func (c *GlobalNetworkEndpointGroupsAttachNetworkEndpointsCall) Header() http.He func (c *GlobalNetworkEndpointGroupsAttachNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64808,7 +64808,7 @@ func (c *GlobalNetworkEndpointGroupsDeleteCall) Header() http.Header { func (c *GlobalNetworkEndpointGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64975,7 +64975,7 @@ func (c *GlobalNetworkEndpointGroupsDetachNetworkEndpointsCall) Header() http.He func (c *GlobalNetworkEndpointGroupsDetachNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -65140,7 +65140,7 @@ func (c *GlobalNetworkEndpointGroupsGetCall) Header() http.Header { func (c *GlobalNetworkEndpointGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -65304,7 +65304,7 @@ func (c *GlobalNetworkEndpointGroupsInsertCall) Header() http.Header { func (c *GlobalNetworkEndpointGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -65533,7 +65533,7 @@ func (c *GlobalNetworkEndpointGroupsListCall) Header() http.Header { func (c *GlobalNetworkEndpointGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -65793,7 +65793,7 @@ func (c *GlobalNetworkEndpointGroupsListNetworkEndpointsCall) Header() http.Head func (c *GlobalNetworkEndpointGroupsListNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66082,7 +66082,7 @@ func (c *GlobalOperationsAggregatedListCall) Header() http.Header { func (c *GlobalOperationsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66273,7 +66273,7 @@ func (c *GlobalOperationsDeleteCall) Header() http.Header { func (c *GlobalOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66399,7 +66399,7 @@ func (c *GlobalOperationsGetCall) Header() http.Header { func (c *GlobalOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66629,7 +66629,7 @@ func (c *GlobalOperationsListCall) Header() http.Header { func (c *GlobalOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66827,7 +66827,7 @@ func (c *GlobalOperationsWaitCall) Header() http.Header { func (c *GlobalOperationsWaitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66974,7 +66974,7 @@ func (c *GlobalOrganizationOperationsDeleteCall) Header() http.Header { func (c *GlobalOrganizationOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -67100,7 +67100,7 @@ func (c *GlobalOrganizationOperationsGetCall) Header() http.Header { func (c *GlobalOrganizationOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -67330,7 +67330,7 @@ func (c *GlobalOrganizationOperationsListCall) Header() http.Header { func (c *GlobalOrganizationOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -67604,7 +67604,7 @@ func (c *HealthChecksAggregatedListCall) Header() http.Header { func (c *HealthChecksAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -67813,7 +67813,7 @@ func (c *HealthChecksDeleteCall) Header() http.Header { func (c *HealthChecksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -67971,7 +67971,7 @@ func (c *HealthChecksGetCall) Header() http.Header { func (c *HealthChecksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68136,7 +68136,7 @@ func (c *HealthChecksInsertCall) Header() http.Header { func (c *HealthChecksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68365,7 +68365,7 @@ func (c *HealthChecksListCall) Header() http.Header { func (c *HealthChecksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68573,7 +68573,7 @@ func (c *HealthChecksPatchCall) Header() http.Header { func (c *HealthChecksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68730,7 +68730,7 @@ func (c *HealthChecksTestIamPermissionsCall) Header() http.Header { func (c *HealthChecksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68902,7 +68902,7 @@ func (c *HealthChecksUpdateCall) Header() http.Header { func (c *HealthChecksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -69076,7 +69076,7 @@ func (c *HttpHealthChecksDeleteCall) Header() http.Header { func (c *HttpHealthChecksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -69235,7 +69235,7 @@ func (c *HttpHealthChecksGetCall) Header() http.Header { func (c *HttpHealthChecksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -69401,7 +69401,7 @@ func (c *HttpHealthChecksInsertCall) Header() http.Header { func (c *HttpHealthChecksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -69631,7 +69631,7 @@ func (c *HttpHealthChecksListCall) Header() http.Header { func (c *HttpHealthChecksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -69840,7 +69840,7 @@ func (c *HttpHealthChecksPatchCall) Header() http.Header { func (c *HttpHealthChecksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -69997,7 +69997,7 @@ func (c *HttpHealthChecksTestIamPermissionsCall) Header() http.Header { func (c *HttpHealthChecksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -70170,7 +70170,7 @@ func (c *HttpHealthChecksUpdateCall) Header() http.Header { func (c *HttpHealthChecksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -70343,7 +70343,7 @@ func (c *HttpsHealthChecksDeleteCall) Header() http.Header { func (c *HttpsHealthChecksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -70501,7 +70501,7 @@ func (c *HttpsHealthChecksGetCall) Header() http.Header { func (c *HttpsHealthChecksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -70666,7 +70666,7 @@ func (c *HttpsHealthChecksInsertCall) Header() http.Header { func (c *HttpsHealthChecksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -70895,7 +70895,7 @@ func (c *HttpsHealthChecksListCall) Header() http.Header { func (c *HttpsHealthChecksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71103,7 +71103,7 @@ func (c *HttpsHealthChecksPatchCall) Header() http.Header { func (c *HttpsHealthChecksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71260,7 +71260,7 @@ func (c *HttpsHealthChecksTestIamPermissionsCall) Header() http.Header { func (c *HttpsHealthChecksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71432,7 +71432,7 @@ func (c *HttpsHealthChecksUpdateCall) Header() http.Header { func (c *HttpsHealthChecksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71606,7 +71606,7 @@ func (c *ImagesDeleteCall) Header() http.Header { func (c *ImagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71777,7 +71777,7 @@ func (c *ImagesDeprecateCall) Header() http.Header { func (c *ImagesDeprecateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71944,7 +71944,7 @@ func (c *ImagesGetCall) Header() http.Header { func (c *ImagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -72101,7 +72101,7 @@ func (c *ImagesGetFromFamilyCall) Header() http.Header { func (c *ImagesGetFromFamilyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -72265,7 +72265,7 @@ func (c *ImagesGetIamPolicyCall) Header() http.Header { func (c *ImagesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -72444,7 +72444,7 @@ func (c *ImagesInsertCall) Header() http.Header { func (c *ImagesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -72687,7 +72687,7 @@ func (c *ImagesListCall) Header() http.Header { func (c *ImagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -72895,7 +72895,7 @@ func (c *ImagesPatchCall) Header() http.Header { func (c *ImagesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -73052,7 +73052,7 @@ func (c *ImagesSetIamPolicyCall) Header() http.Header { func (c *ImagesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -73204,7 +73204,7 @@ func (c *ImagesSetLabelsCall) Header() http.Header { func (c *ImagesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -73356,7 +73356,7 @@ func (c *ImagesTestIamPermissionsCall) Header() http.Header { func (c *ImagesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -73545,7 +73545,7 @@ func (c *InstanceGroupManagersAbandonInstancesCall) Header() http.Header { func (c *InstanceGroupManagersAbandonInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -73803,7 +73803,7 @@ func (c *InstanceGroupManagersAggregatedListCall) Header() http.Header { func (c *InstanceGroupManagersAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74000,7 +74000,7 @@ func (c *InstanceGroupManagersApplyUpdatesToInstancesCall) Header() http.Header func (c *InstanceGroupManagersApplyUpdatesToInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74183,7 +74183,7 @@ func (c *InstanceGroupManagersCreateInstancesCall) Header() http.Header { func (c *InstanceGroupManagersCreateInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74368,7 +74368,7 @@ func (c *InstanceGroupManagersDeleteCall) Header() http.Header { func (c *InstanceGroupManagersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74559,7 +74559,7 @@ func (c *InstanceGroupManagersDeleteInstancesCall) Header() http.Header { func (c *InstanceGroupManagersDeleteInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74725,7 +74725,7 @@ func (c *InstanceGroupManagersDeletePerInstanceConfigsCall) Header() http.Header func (c *InstanceGroupManagersDeletePerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74896,7 +74896,7 @@ func (c *InstanceGroupManagersGetCall) Header() http.Header { func (c *InstanceGroupManagersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -75078,7 +75078,7 @@ func (c *InstanceGroupManagersInsertCall) Header() http.Header { func (c *InstanceGroupManagersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -75317,7 +75317,7 @@ func (c *InstanceGroupManagersListCall) Header() http.Header { func (c *InstanceGroupManagersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -75599,7 +75599,7 @@ func (c *InstanceGroupManagersListErrorsCall) Header() http.Header { func (c *InstanceGroupManagersListErrorsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -75883,7 +75883,7 @@ func (c *InstanceGroupManagersListManagedInstancesCall) Header() http.Header { func (c *InstanceGroupManagersListManagedInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76161,7 +76161,7 @@ func (c *InstanceGroupManagersListPerInstanceConfigsCall) Header() http.Header { func (c *InstanceGroupManagersListPerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76390,7 +76390,7 @@ func (c *InstanceGroupManagersPatchCall) Header() http.Header { func (c *InstanceGroupManagersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76576,7 +76576,7 @@ func (c *InstanceGroupManagersPatchPerInstanceConfigsCall) Header() http.Header func (c *InstanceGroupManagersPatchPerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76774,7 +76774,7 @@ func (c *InstanceGroupManagersRecreateInstancesCall) Header() http.Header { func (c *InstanceGroupManagersRecreateInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76977,7 +76977,7 @@ func (c *InstanceGroupManagersResizeCall) Header() http.Header { func (c *InstanceGroupManagersResizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77175,7 +77175,7 @@ func (c *InstanceGroupManagersResizeAdvancedCall) Header() http.Header { func (c *InstanceGroupManagersResizeAdvancedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77360,7 +77360,7 @@ func (c *InstanceGroupManagersSetAutoHealingPoliciesCall) Header() http.Header { func (c *InstanceGroupManagersSetAutoHealingPoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77548,7 +77548,7 @@ func (c *InstanceGroupManagersSetInstanceTemplateCall) Header() http.Header { func (c *InstanceGroupManagersSetInstanceTemplateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77738,7 +77738,7 @@ func (c *InstanceGroupManagersSetTargetPoolsCall) Header() http.Header { func (c *InstanceGroupManagersSetTargetPoolsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77904,7 +77904,7 @@ func (c *InstanceGroupManagersTestIamPermissionsCall) Header() http.Header { func (c *InstanceGroupManagersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -78090,7 +78090,7 @@ func (c *InstanceGroupManagersUpdateCall) Header() http.Header { func (c *InstanceGroupManagersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -78276,7 +78276,7 @@ func (c *InstanceGroupManagersUpdatePerInstanceConfigsCall) Header() http.Header func (c *InstanceGroupManagersUpdatePerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -78462,7 +78462,7 @@ func (c *InstanceGroupsAddInstancesCall) Header() http.Header { func (c *InstanceGroupsAddInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -78720,7 +78720,7 @@ func (c *InstanceGroupsAggregatedListCall) Header() http.Header { func (c *InstanceGroupsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -78934,7 +78934,7 @@ func (c *InstanceGroupsDeleteCall) Header() http.Header { func (c *InstanceGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79104,7 +79104,7 @@ func (c *InstanceGroupsGetCall) Header() http.Header { func (c *InstanceGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79278,7 +79278,7 @@ func (c *InstanceGroupsInsertCall) Header() http.Header { func (c *InstanceGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79520,7 +79520,7 @@ func (c *InstanceGroupsListCall) Header() http.Header { func (c *InstanceGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79792,7 +79792,7 @@ func (c *InstanceGroupsListInstancesCall) Header() http.Header { func (c *InstanceGroupsListInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80026,7 +80026,7 @@ func (c *InstanceGroupsRemoveInstancesCall) Header() http.Header { func (c *InstanceGroupsRemoveInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80210,7 +80210,7 @@ func (c *InstanceGroupsSetNamedPortsCall) Header() http.Header { func (c *InstanceGroupsSetNamedPortsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80376,7 +80376,7 @@ func (c *InstanceGroupsTestIamPermissionsCall) Header() http.Header { func (c *InstanceGroupsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80557,7 +80557,7 @@ func (c *InstanceTemplatesDeleteCall) Header() http.Header { func (c *InstanceTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80716,7 +80716,7 @@ func (c *InstanceTemplatesGetCall) Header() http.Header { func (c *InstanceTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80880,7 +80880,7 @@ func (c *InstanceTemplatesGetIamPolicyCall) Header() http.Header { func (c *InstanceTemplatesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81055,7 +81055,7 @@ func (c *InstanceTemplatesInsertCall) Header() http.Header { func (c *InstanceTemplatesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81285,7 +81285,7 @@ func (c *InstanceTemplatesListCall) Header() http.Header { func (c *InstanceTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81473,7 +81473,7 @@ func (c *InstanceTemplatesSetIamPolicyCall) Header() http.Header { func (c *InstanceTemplatesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81625,7 +81625,7 @@ func (c *InstanceTemplatesTestIamPermissionsCall) Header() http.Header { func (c *InstanceTemplatesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81801,7 +81801,7 @@ func (c *InstancesAddAccessConfigCall) Header() http.Header { func (c *InstancesAddAccessConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81996,7 +81996,7 @@ func (c *InstancesAddResourcePoliciesCall) Header() http.Header { func (c *InstancesAddResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -82257,7 +82257,7 @@ func (c *InstancesAggregatedListCall) Header() http.Header { func (c *InstancesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -82483,7 +82483,7 @@ func (c *InstancesAttachDiskCall) Header() http.Header { func (c *InstancesAttachDiskCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -82674,7 +82674,7 @@ func (c *InstancesDeleteCall) Header() http.Header { func (c *InstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -82854,7 +82854,7 @@ func (c *InstancesDeleteAccessConfigCall) Header() http.Header { func (c *InstancesDeleteAccessConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -83046,7 +83046,7 @@ func (c *InstancesDetachDiskCall) Header() http.Header { func (c *InstancesDetachDiskCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -83223,7 +83223,7 @@ func (c *InstancesGetCall) Header() http.Header { func (c *InstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -83392,7 +83392,7 @@ func (c *InstancesGetEffectiveFirewallsCall) Header() http.Header { func (c *InstancesGetEffectiveFirewallsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -83581,7 +83581,7 @@ func (c *InstancesGetGuestAttributesCall) Header() http.Header { func (c *InstancesGetGuestAttributesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -83766,7 +83766,7 @@ func (c *InstancesGetIamPolicyCall) Header() http.Header { func (c *InstancesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -83939,7 +83939,7 @@ func (c *InstancesGetScreenshotCall) Header() http.Header { func (c *InstancesGetScreenshotCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -84137,7 +84137,7 @@ func (c *InstancesGetSerialPortOutputCall) Header() http.Header { func (c *InstancesGetSerialPortOutputCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -84320,7 +84320,7 @@ func (c *InstancesGetShieldedInstanceIdentityCall) Header() http.Header { func (c *InstancesGetShieldedInstanceIdentityCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -84488,7 +84488,7 @@ func (c *InstancesGetShieldedVmIdentityCall) Header() http.Header { func (c *InstancesGetShieldedVmIdentityCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -84694,7 +84694,7 @@ func (c *InstancesInsertCall) Header() http.Header { func (c *InstancesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -84945,7 +84945,7 @@ func (c *InstancesListCall) Header() http.Header { func (c *InstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85230,7 +85230,7 @@ func (c *InstancesListReferrersCall) Header() http.Header { func (c *InstancesListReferrersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85456,7 +85456,7 @@ func (c *InstancesRemoveResourcePoliciesCall) Header() http.Header { func (c *InstancesRemoveResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85643,7 +85643,7 @@ func (c *InstancesResetCall) Header() http.Header { func (c *InstancesResetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85822,7 +85822,7 @@ func (c *InstancesResumeCall) Header() http.Header { func (c *InstancesResumeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86013,7 +86013,7 @@ func (c *InstancesSetDeletionProtectionCall) Header() http.Header { func (c *InstancesSetDeletionProtectionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86199,7 +86199,7 @@ func (c *InstancesSetDiskAutoDeleteCall) Header() http.Header { func (c *InstancesSetDiskAutoDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86374,7 +86374,7 @@ func (c *InstancesSetIamPolicyCall) Header() http.Header { func (c *InstancesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86556,7 +86556,7 @@ func (c *InstancesSetLabelsCall) Header() http.Header { func (c *InstancesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86743,7 +86743,7 @@ func (c *InstancesSetMachineResourcesCall) Header() http.Header { func (c *InstancesSetMachineResourcesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86930,7 +86930,7 @@ func (c *InstancesSetMachineTypeCall) Header() http.Header { func (c *InstancesSetMachineTypeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -87118,7 +87118,7 @@ func (c *InstancesSetMetadataCall) Header() http.Header { func (c *InstancesSetMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -87307,7 +87307,7 @@ func (c *InstancesSetMinCpuPlatformCall) Header() http.Header { func (c *InstancesSetMinCpuPlatformCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -87493,7 +87493,7 @@ func (c *InstancesSetNameCall) Header() http.Header { func (c *InstancesSetNameCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -87683,7 +87683,7 @@ func (c *InstancesSetSchedulingCall) Header() http.Header { func (c *InstancesSetSchedulingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -87871,7 +87871,7 @@ func (c *InstancesSetServiceAccountCall) Header() http.Header { func (c *InstancesSetServiceAccountCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88060,7 +88060,7 @@ func (c *InstancesSetShieldedInstanceIntegrityPolicyCall) Header() http.Header { func (c *InstancesSetShieldedInstanceIntegrityPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88249,7 +88249,7 @@ func (c *InstancesSetShieldedVmIntegrityPolicyCall) Header() http.Header { func (c *InstancesSetShieldedVmIntegrityPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88437,7 +88437,7 @@ func (c *InstancesSetTagsCall) Header() http.Header { func (c *InstancesSetTagsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88603,7 +88603,7 @@ func (c *InstancesSimulateMaintenanceEventCall) Header() http.Header { func (c *InstancesSimulateMaintenanceEventCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88776,7 +88776,7 @@ func (c *InstancesStartCall) Header() http.Header { func (c *InstancesStartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88956,7 +88956,7 @@ func (c *InstancesStartWithEncryptionKeyCall) Header() http.Header { func (c *InstancesStartWithEncryptionKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -89146,7 +89146,7 @@ func (c *InstancesStopCall) Header() http.Header { func (c *InstancesStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -89335,7 +89335,7 @@ func (c *InstancesSuspendCall) Header() http.Header { func (c *InstancesSuspendCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -89500,7 +89500,7 @@ func (c *InstancesTestIamPermissionsCall) Header() http.Header { func (c *InstancesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -89717,7 +89717,7 @@ func (c *InstancesUpdateCall) Header() http.Header { func (c *InstancesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -89941,7 +89941,7 @@ func (c *InstancesUpdateAccessConfigCall) Header() http.Header { func (c *InstancesUpdateAccessConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -90137,7 +90137,7 @@ func (c *InstancesUpdateDisplayDeviceCall) Header() http.Header { func (c *InstancesUpdateDisplayDeviceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -90325,7 +90325,7 @@ func (c *InstancesUpdateNetworkInterfaceCall) Header() http.Header { func (c *InstancesUpdateNetworkInterfaceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -90521,7 +90521,7 @@ func (c *InstancesUpdateShieldedInstanceConfigCall) Header() http.Header { func (c *InstancesUpdateShieldedInstanceConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -90710,7 +90710,7 @@ func (c *InstancesUpdateShieldedVmConfigCall) Header() http.Header { func (c *InstancesUpdateShieldedVmConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -90970,7 +90970,7 @@ func (c *InterconnectAttachmentsAggregatedListCall) Header() http.Header { func (c *InterconnectAttachmentsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -91182,7 +91182,7 @@ func (c *InterconnectAttachmentsDeleteCall) Header() http.Header { func (c *InterconnectAttachmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -91350,7 +91350,7 @@ func (c *InterconnectAttachmentsGetCall) Header() http.Header { func (c *InterconnectAttachmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -91533,7 +91533,7 @@ func (c *InterconnectAttachmentsInsertCall) Header() http.Header { func (c *InterconnectAttachmentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -91778,7 +91778,7 @@ func (c *InterconnectAttachmentsListCall) Header() http.Header { func (c *InterconnectAttachmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -91997,7 +91997,7 @@ func (c *InterconnectAttachmentsPatchCall) Header() http.Header { func (c *InterconnectAttachmentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -92184,7 +92184,7 @@ func (c *InterconnectAttachmentsSetLabelsCall) Header() http.Header { func (c *InterconnectAttachmentsSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -92352,7 +92352,7 @@ func (c *InterconnectAttachmentsTestIamPermissionsCall) Header() http.Header { func (c *InterconnectAttachmentsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -92524,7 +92524,7 @@ func (c *InterconnectLocationsGetCall) Header() http.Header { func (c *InterconnectLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -92753,7 +92753,7 @@ func (c *InterconnectLocationsListCall) Header() http.Header { func (c *InterconnectLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -92957,7 +92957,7 @@ func (c *InterconnectsDeleteCall) Header() http.Header { func (c *InterconnectsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -93115,7 +93115,7 @@ func (c *InterconnectsGetCall) Header() http.Header { func (c *InterconnectsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -93272,7 +93272,7 @@ func (c *InterconnectsGetDiagnosticsCall) Header() http.Header { func (c *InterconnectsGetDiagnosticsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -93438,7 +93438,7 @@ func (c *InterconnectsInsertCall) Header() http.Header { func (c *InterconnectsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -93667,7 +93667,7 @@ func (c *InterconnectsListCall) Header() http.Header { func (c *InterconnectsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -93875,7 +93875,7 @@ func (c *InterconnectsPatchCall) Header() http.Header { func (c *InterconnectsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94032,7 +94032,7 @@ func (c *InterconnectsSetLabelsCall) Header() http.Header { func (c *InterconnectsSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94184,7 +94184,7 @@ func (c *InterconnectsTestIamPermissionsCall) Header() http.Header { func (c *InterconnectsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94348,7 +94348,7 @@ func (c *LicenseCodesGetCall) Header() http.Header { func (c *LicenseCodesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94514,7 +94514,7 @@ func (c *LicensesDeleteCall) Header() http.Header { func (c *LicensesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94674,7 +94674,7 @@ func (c *LicensesGetCall) Header() http.Header { func (c *LicensesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94840,7 +94840,7 @@ func (c *LicensesGetIamPolicyCall) Header() http.Header { func (c *LicensesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95012,7 +95012,7 @@ func (c *LicensesInsertCall) Header() http.Header { func (c *LicensesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95250,7 +95250,7 @@ func (c *LicensesListCall) Header() http.Header { func (c *LicensesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95440,7 +95440,7 @@ func (c *LicensesSetIamPolicyCall) Header() http.Header { func (c *LicensesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95609,7 +95609,7 @@ func (c *MachineImagesDeleteCall) Header() http.Header { func (c *MachineImagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95767,7 +95767,7 @@ func (c *MachineImagesGetCall) Header() http.Header { func (c *MachineImagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95931,7 +95931,7 @@ func (c *MachineImagesGetIamPolicyCall) Header() http.Header { func (c *MachineImagesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -96113,7 +96113,7 @@ func (c *MachineImagesInsertCall) Header() http.Header { func (c *MachineImagesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -96347,7 +96347,7 @@ func (c *MachineImagesListCall) Header() http.Header { func (c *MachineImagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -96535,7 +96535,7 @@ func (c *MachineImagesSetIamPolicyCall) Header() http.Header { func (c *MachineImagesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -96687,7 +96687,7 @@ func (c *MachineImagesTestIamPermissionsCall) Header() http.Header { func (c *MachineImagesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -96934,7 +96934,7 @@ func (c *MachineTypesAggregatedListCall) Header() http.Header { func (c *MachineTypesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -97139,7 +97139,7 @@ func (c *MachineTypesGetCall) Header() http.Header { func (c *MachineTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -97380,7 +97380,7 @@ func (c *MachineTypesListCall) Header() http.Header { func (c *MachineTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -97671,7 +97671,7 @@ func (c *NetworkEndpointGroupsAggregatedListCall) Header() http.Header { func (c *NetworkEndpointGroupsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -97886,7 +97886,7 @@ func (c *NetworkEndpointGroupsAttachNetworkEndpointsCall) Header() http.Header { func (c *NetworkEndpointGroupsAttachNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -98071,7 +98071,7 @@ func (c *NetworkEndpointGroupsDeleteCall) Header() http.Header { func (c *NetworkEndpointGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -98248,7 +98248,7 @@ func (c *NetworkEndpointGroupsDetachNetworkEndpointsCall) Header() http.Header { func (c *NetworkEndpointGroupsDetachNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -98423,7 +98423,7 @@ func (c *NetworkEndpointGroupsGetCall) Header() http.Header { func (c *NetworkEndpointGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -98597,7 +98597,7 @@ func (c *NetworkEndpointGroupsInsertCall) Header() http.Header { func (c *NetworkEndpointGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -98836,7 +98836,7 @@ func (c *NetworkEndpointGroupsListCall) Header() http.Header { func (c *NetworkEndpointGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -99108,7 +99108,7 @@ func (c *NetworkEndpointGroupsListNetworkEndpointsCall) Header() http.Header { func (c *NetworkEndpointGroupsListNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -99321,7 +99321,7 @@ func (c *NetworkEndpointGroupsTestIamPermissionsCall) Header() http.Header { func (c *NetworkEndpointGroupsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -99501,7 +99501,7 @@ func (c *NetworksAddPeeringCall) Header() http.Header { func (c *NetworksAddPeeringCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -99675,7 +99675,7 @@ func (c *NetworksDeleteCall) Header() http.Header { func (c *NetworksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -99834,7 +99834,7 @@ func (c *NetworksGetCall) Header() http.Header { func (c *NetworksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -99991,7 +99991,7 @@ func (c *NetworksGetEffectiveFirewallsCall) Header() http.Header { func (c *NetworksGetEffectiveFirewallsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -100158,7 +100158,7 @@ func (c *NetworksInsertCall) Header() http.Header { func (c *NetworksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -100388,7 +100388,7 @@ func (c *NetworksListCall) Header() http.Header { func (c *NetworksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -100685,7 +100685,7 @@ func (c *NetworksListPeeringRoutesCall) Header() http.Header { func (c *NetworksListPeeringRoutesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -100925,7 +100925,7 @@ func (c *NetworksPatchCall) Header() http.Header { func (c *NetworksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101100,7 +101100,7 @@ func (c *NetworksRemovePeeringCall) Header() http.Header { func (c *NetworksRemovePeeringCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101274,7 +101274,7 @@ func (c *NetworksSwitchToCustomModeCall) Header() http.Header { func (c *NetworksSwitchToCustomModeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101423,7 +101423,7 @@ func (c *NetworksTestIamPermissionsCall) Header() http.Header { func (c *NetworksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101597,7 +101597,7 @@ func (c *NetworksUpdatePeeringCall) Header() http.Header { func (c *NetworksUpdatePeeringCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101774,7 +101774,7 @@ func (c *NodeGroupsAddNodesCall) Header() http.Header { func (c *NodeGroupsAddNodesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102034,7 +102034,7 @@ func (c *NodeGroupsAggregatedListCall) Header() http.Header { func (c *NodeGroupsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102245,7 +102245,7 @@ func (c *NodeGroupsDeleteCall) Header() http.Header { func (c *NodeGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102423,7 +102423,7 @@ func (c *NodeGroupsDeleteNodesCall) Header() http.Header { func (c *NodeGroupsDeleteNodesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102601,7 +102601,7 @@ func (c *NodeGroupsGetCall) Header() http.Header { func (c *NodeGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102776,7 +102776,7 @@ func (c *NodeGroupsGetIamPolicyCall) Header() http.Header { func (c *NodeGroupsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102959,7 +102959,7 @@ func (c *NodeGroupsInsertCall) Header() http.Header { func (c *NodeGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -103208,7 +103208,7 @@ func (c *NodeGroupsListCall) Header() http.Header { func (c *NodeGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -103478,7 +103478,7 @@ func (c *NodeGroupsListNodesCall) Header() http.Header { func (c *NodeGroupsListNodesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -103701,7 +103701,7 @@ func (c *NodeGroupsPatchCall) Header() http.Header { func (c *NodeGroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -103869,7 +103869,7 @@ func (c *NodeGroupsSetIamPolicyCall) Header() http.Header { func (c *NodeGroupsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104050,7 +104050,7 @@ func (c *NodeGroupsSetNodeTemplateCall) Header() http.Header { func (c *NodeGroupsSetNodeTemplateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104218,7 +104218,7 @@ func (c *NodeGroupsTestIamPermissionsCall) Header() http.Header { func (c *NodeGroupsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104473,7 +104473,7 @@ func (c *NodeTemplatesAggregatedListCall) Header() http.Header { func (c *NodeTemplatesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104684,7 +104684,7 @@ func (c *NodeTemplatesDeleteCall) Header() http.Header { func (c *NodeTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104853,7 +104853,7 @@ func (c *NodeTemplatesGetCall) Header() http.Header { func (c *NodeTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -105028,7 +105028,7 @@ func (c *NodeTemplatesGetIamPolicyCall) Header() http.Header { func (c *NodeTemplatesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -105210,7 +105210,7 @@ func (c *NodeTemplatesInsertCall) Header() http.Header { func (c *NodeTemplatesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -105450,7 +105450,7 @@ func (c *NodeTemplatesListCall) Header() http.Header { func (c *NodeTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -105649,7 +105649,7 @@ func (c *NodeTemplatesSetIamPolicyCall) Header() http.Header { func (c *NodeTemplatesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -105812,7 +105812,7 @@ func (c *NodeTemplatesTestIamPermissionsCall) Header() http.Header { func (c *NodeTemplatesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -106067,7 +106067,7 @@ func (c *NodeTypesAggregatedListCall) Header() http.Header { func (c *NodeTypesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -106271,7 +106271,7 @@ func (c *NodeTypesGetCall) Header() http.Header { func (c *NodeTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -106511,7 +106511,7 @@ func (c *NodeTypesListCall) Header() http.Header { func (c *NodeTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -106735,7 +106735,7 @@ func (c *OrganizationSecurityPoliciesAddAssociationCall) Header() http.Header { func (c *OrganizationSecurityPoliciesAddAssociationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -106904,7 +106904,7 @@ func (c *OrganizationSecurityPoliciesAddRuleCall) Header() http.Header { func (c *OrganizationSecurityPoliciesAddRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107073,7 +107073,7 @@ func (c *OrganizationSecurityPoliciesCopyRulesCall) Header() http.Header { func (c *OrganizationSecurityPoliciesCopyRulesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107232,7 +107232,7 @@ func (c *OrganizationSecurityPoliciesDeleteCall) Header() http.Header { func (c *OrganizationSecurityPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107379,7 +107379,7 @@ func (c *OrganizationSecurityPoliciesGetCall) Header() http.Header { func (c *OrganizationSecurityPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107531,7 +107531,7 @@ func (c *OrganizationSecurityPoliciesGetAssociationCall) Header() http.Header { func (c *OrganizationSecurityPoliciesGetAssociationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107688,7 +107688,7 @@ func (c *OrganizationSecurityPoliciesGetRuleCall) Header() http.Header { func (c *OrganizationSecurityPoliciesGetRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107857,7 +107857,7 @@ func (c *OrganizationSecurityPoliciesInsertCall) Header() http.Header { func (c *OrganizationSecurityPoliciesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -108083,7 +108083,7 @@ func (c *OrganizationSecurityPoliciesListCall) Header() http.Header { func (c *OrganizationSecurityPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -108276,7 +108276,7 @@ func (c *OrganizationSecurityPoliciesListAssociationsCall) Header() http.Header func (c *OrganizationSecurityPoliciesListAssociationsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -108429,7 +108429,7 @@ func (c *OrganizationSecurityPoliciesMoveCall) Header() http.Header { func (c *OrganizationSecurityPoliciesMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -108591,7 +108591,7 @@ func (c *OrganizationSecurityPoliciesPatchCall) Header() http.Header { func (c *OrganizationSecurityPoliciesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -108762,7 +108762,7 @@ func (c *OrganizationSecurityPoliciesPatchRuleCall) Header() http.Header { func (c *OrganizationSecurityPoliciesPatchRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -108938,7 +108938,7 @@ func (c *OrganizationSecurityPoliciesRemoveAssociationCall) Header() http.Header func (c *OrganizationSecurityPoliciesRemoveAssociationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109104,7 +109104,7 @@ func (c *OrganizationSecurityPoliciesRemoveRuleCall) Header() http.Header { func (c *OrganizationSecurityPoliciesRemoveRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109343,7 +109343,7 @@ func (c *PacketMirroringsAggregatedListCall) Header() http.Header { func (c *PacketMirroringsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109554,7 +109554,7 @@ func (c *PacketMirroringsDeleteCall) Header() http.Header { func (c *PacketMirroringsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109722,7 +109722,7 @@ func (c *PacketMirroringsGetCall) Header() http.Header { func (c *PacketMirroringsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109898,7 +109898,7 @@ func (c *PacketMirroringsInsertCall) Header() http.Header { func (c *PacketMirroringsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110138,7 +110138,7 @@ func (c *PacketMirroringsListCall) Header() http.Header { func (c *PacketMirroringsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110357,7 +110357,7 @@ func (c *PacketMirroringsPatchCall) Header() http.Header { func (c *PacketMirroringsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110525,7 +110525,7 @@ func (c *PacketMirroringsTestIamPermissionsCall) Header() http.Header { func (c *PacketMirroringsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110701,7 +110701,7 @@ func (c *ProjectsDisableXpnHostCall) Header() http.Header { func (c *ProjectsDisableXpnHostCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110858,7 +110858,7 @@ func (c *ProjectsDisableXpnResourceCall) Header() http.Header { func (c *ProjectsDisableXpnResourceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -111020,7 +111020,7 @@ func (c *ProjectsEnableXpnHostCall) Header() http.Header { func (c *ProjectsEnableXpnHostCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -111178,7 +111178,7 @@ func (c *ProjectsEnableXpnResourceCall) Header() http.Header { func (c *ProjectsEnableXpnResourceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -111333,7 +111333,7 @@ func (c *ProjectsGetCall) Header() http.Header { func (c *ProjectsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -111479,7 +111479,7 @@ func (c *ProjectsGetXpnHostCall) Header() http.Header { func (c *ProjectsGetXpnHostCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -111698,7 +111698,7 @@ func (c *ProjectsGetXpnResourcesCall) Header() http.Header { func (c *ProjectsGetXpnResourcesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -111957,7 +111957,7 @@ func (c *ProjectsListXpnHostsCall) Header() http.Header { func (c *ProjectsListXpnHostsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -112165,7 +112165,7 @@ func (c *ProjectsMoveDiskCall) Header() http.Header { func (c *ProjectsMoveDiskCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -112330,7 +112330,7 @@ func (c *ProjectsMoveInstanceCall) Header() http.Header { func (c *ProjectsMoveInstanceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -112496,7 +112496,7 @@ func (c *ProjectsSetCommonInstanceMetadataCall) Header() http.Header { func (c *ProjectsSetCommonInstanceMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -112663,7 +112663,7 @@ func (c *ProjectsSetDefaultNetworkTierCall) Header() http.Header { func (c *ProjectsSetDefaultNetworkTierCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -112831,7 +112831,7 @@ func (c *ProjectsSetUsageExportBucketCall) Header() http.Header { func (c *ProjectsSetUsageExportBucketCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -113000,7 +113000,7 @@ func (c *RegionAutoscalersDeleteCall) Header() http.Header { func (c *RegionAutoscalersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -113168,7 +113168,7 @@ func (c *RegionAutoscalersGetCall) Header() http.Header { func (c *RegionAutoscalersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -113344,7 +113344,7 @@ func (c *RegionAutoscalersInsertCall) Header() http.Header { func (c *RegionAutoscalersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -113584,7 +113584,7 @@ func (c *RegionAutoscalersListCall) Header() http.Header { func (c *RegionAutoscalersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -113808,7 +113808,7 @@ func (c *RegionAutoscalersPatchCall) Header() http.Header { func (c *RegionAutoscalersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -113973,7 +113973,7 @@ func (c *RegionAutoscalersTestIamPermissionsCall) Header() http.Header { func (c *RegionAutoscalersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114161,7 +114161,7 @@ func (c *RegionAutoscalersUpdateCall) Header() http.Header { func (c *RegionAutoscalersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114342,7 +114342,7 @@ func (c *RegionBackendServicesDeleteCall) Header() http.Header { func (c *RegionBackendServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114510,7 +114510,7 @@ func (c *RegionBackendServicesGetCall) Header() http.Header { func (c *RegionBackendServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114669,7 +114669,7 @@ func (c *RegionBackendServicesGetHealthCall) Header() http.Header { func (c *RegionBackendServicesGetHealthCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114850,7 +114850,7 @@ func (c *RegionBackendServicesInsertCall) Header() http.Header { func (c *RegionBackendServicesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -115090,7 +115090,7 @@ func (c *RegionBackendServicesListCall) Header() http.Header { func (c *RegionBackendServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -115310,7 +115310,7 @@ func (c *RegionBackendServicesPatchCall) Header() http.Header { func (c *RegionBackendServicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -115478,7 +115478,7 @@ func (c *RegionBackendServicesTestIamPermissionsCall) Header() http.Header { func (c *RegionBackendServicesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -115662,7 +115662,7 @@ func (c *RegionBackendServicesUpdateCall) Header() http.Header { func (c *RegionBackendServicesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -115921,7 +115921,7 @@ func (c *RegionCommitmentsAggregatedListCall) Header() http.Header { func (c *RegionCommitmentsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -116125,7 +116125,7 @@ func (c *RegionCommitmentsGetCall) Header() http.Header { func (c *RegionCommitmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -116301,7 +116301,7 @@ func (c *RegionCommitmentsInsertCall) Header() http.Header { func (c *RegionCommitmentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -116541,7 +116541,7 @@ func (c *RegionCommitmentsListCall) Header() http.Header { func (c *RegionCommitmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -116759,7 +116759,7 @@ func (c *RegionCommitmentsUpdateReservationsCall) Header() http.Header { func (c *RegionCommitmentsUpdateReservationsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -116936,7 +116936,7 @@ func (c *RegionDiskTypesGetCall) Header() http.Header { func (c *RegionDiskTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -117176,7 +117176,7 @@ func (c *RegionDiskTypesListCall) Header() http.Header { func (c *RegionDiskTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -117395,7 +117395,7 @@ func (c *RegionDisksAddResourcePoliciesCall) Header() http.Header { func (c *RegionDisksAddResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -117581,7 +117581,7 @@ func (c *RegionDisksCreateSnapshotCall) Header() http.Header { func (c *RegionDisksCreateSnapshotCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -117768,7 +117768,7 @@ func (c *RegionDisksDeleteCall) Header() http.Header { func (c *RegionDisksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -117935,7 +117935,7 @@ func (c *RegionDisksGetCall) Header() http.Header { func (c *RegionDisksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -118110,7 +118110,7 @@ func (c *RegionDisksGetIamPolicyCall) Header() http.Header { func (c *RegionDisksGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -118299,7 +118299,7 @@ func (c *RegionDisksInsertCall) Header() http.Header { func (c *RegionDisksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -118544,7 +118544,7 @@ func (c *RegionDisksListCall) Header() http.Header { func (c *RegionDisksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -118762,7 +118762,7 @@ func (c *RegionDisksRemoveResourcePoliciesCall) Header() http.Header { func (c *RegionDisksRemoveResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -118948,7 +118948,7 @@ func (c *RegionDisksResizeCall) Header() http.Header { func (c *RegionDisksResizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119116,7 +119116,7 @@ func (c *RegionDisksSetIamPolicyCall) Header() http.Header { func (c *RegionDisksSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119297,7 +119297,7 @@ func (c *RegionDisksSetLabelsCall) Header() http.Header { func (c *RegionDisksSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119465,7 +119465,7 @@ func (c *RegionDisksTestIamPermissionsCall) Header() http.Header { func (c *RegionDisksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119645,7 +119645,7 @@ func (c *RegionHealthCheckServicesDeleteCall) Header() http.Header { func (c *RegionHealthCheckServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119812,7 +119812,7 @@ func (c *RegionHealthCheckServicesGetCall) Header() http.Header { func (c *RegionHealthCheckServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119987,7 +119987,7 @@ func (c *RegionHealthCheckServicesInsertCall) Header() http.Header { func (c *RegionHealthCheckServicesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -120227,7 +120227,7 @@ func (c *RegionHealthCheckServicesListCall) Header() http.Header { func (c *RegionHealthCheckServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -120446,7 +120446,7 @@ func (c *RegionHealthCheckServicesPatchCall) Header() http.Header { func (c *RegionHealthCheckServicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -120629,7 +120629,7 @@ func (c *RegionHealthChecksDeleteCall) Header() http.Header { func (c *RegionHealthChecksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -120798,7 +120798,7 @@ func (c *RegionHealthChecksGetCall) Header() http.Header { func (c *RegionHealthChecksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -120974,7 +120974,7 @@ func (c *RegionHealthChecksInsertCall) Header() http.Header { func (c *RegionHealthChecksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121214,7 +121214,7 @@ func (c *RegionHealthChecksListCall) Header() http.Header { func (c *RegionHealthChecksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121433,7 +121433,7 @@ func (c *RegionHealthChecksPatchCall) Header() http.Header { func (c *RegionHealthChecksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121620,7 +121620,7 @@ func (c *RegionHealthChecksUpdateCall) Header() http.Header { func (c *RegionHealthChecksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121822,7 +121822,7 @@ func (c *RegionInstanceGroupManagersAbandonInstancesCall) Header() http.Header { func (c *RegionInstanceGroupManagersAbandonInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121988,7 +121988,7 @@ func (c *RegionInstanceGroupManagersApplyUpdatesToInstancesCall) Header() http.H func (c *RegionInstanceGroupManagersApplyUpdatesToInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -122171,7 +122171,7 @@ func (c *RegionInstanceGroupManagersCreateInstancesCall) Header() http.Header { func (c *RegionInstanceGroupManagersCreateInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -122354,7 +122354,7 @@ func (c *RegionInstanceGroupManagersDeleteCall) Header() http.Header { func (c *RegionInstanceGroupManagersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -122546,7 +122546,7 @@ func (c *RegionInstanceGroupManagersDeleteInstancesCall) Header() http.Header { func (c *RegionInstanceGroupManagersDeleteInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -122712,7 +122712,7 @@ func (c *RegionInstanceGroupManagersDeletePerInstanceConfigsCall) Header() http. func (c *RegionInstanceGroupManagersDeletePerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -122882,7 +122882,7 @@ func (c *RegionInstanceGroupManagersGetCall) Header() http.Header { func (c *RegionInstanceGroupManagersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -123063,7 +123063,7 @@ func (c *RegionInstanceGroupManagersInsertCall) Header() http.Header { func (c *RegionInstanceGroupManagersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -123302,7 +123302,7 @@ func (c *RegionInstanceGroupManagersListCall) Header() http.Header { func (c *RegionInstanceGroupManagersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -123584,7 +123584,7 @@ func (c *RegionInstanceGroupManagersListErrorsCall) Header() http.Header { func (c *RegionInstanceGroupManagersListErrorsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -123866,7 +123866,7 @@ func (c *RegionInstanceGroupManagersListManagedInstancesCall) Header() http.Head func (c *RegionInstanceGroupManagersListManagedInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -124144,7 +124144,7 @@ func (c *RegionInstanceGroupManagersListPerInstanceConfigsCall) Header() http.He func (c *RegionInstanceGroupManagersListPerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -124373,7 +124373,7 @@ func (c *RegionInstanceGroupManagersPatchCall) Header() http.Header { func (c *RegionInstanceGroupManagersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -124560,7 +124560,7 @@ func (c *RegionInstanceGroupManagersPatchPerInstanceConfigsCall) Header() http.H func (c *RegionInstanceGroupManagersPatchPerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -124758,7 +124758,7 @@ func (c *RegionInstanceGroupManagersRecreateInstancesCall) Header() http.Header func (c *RegionInstanceGroupManagersRecreateInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -124953,7 +124953,7 @@ func (c *RegionInstanceGroupManagersResizeCall) Header() http.Header { func (c *RegionInstanceGroupManagersResizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125140,7 +125140,7 @@ func (c *RegionInstanceGroupManagersSetAutoHealingPoliciesCall) Header() http.He func (c *RegionInstanceGroupManagersSetAutoHealingPoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125326,7 +125326,7 @@ func (c *RegionInstanceGroupManagersSetInstanceTemplateCall) Header() http.Heade func (c *RegionInstanceGroupManagersSetInstanceTemplateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125512,7 +125512,7 @@ func (c *RegionInstanceGroupManagersSetTargetPoolsCall) Header() http.Header { func (c *RegionInstanceGroupManagersSetTargetPoolsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125678,7 +125678,7 @@ func (c *RegionInstanceGroupManagersTestIamPermissionsCall) Header() http.Header func (c *RegionInstanceGroupManagersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125864,7 +125864,7 @@ func (c *RegionInstanceGroupManagersUpdateCall) Header() http.Header { func (c *RegionInstanceGroupManagersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -126051,7 +126051,7 @@ func (c *RegionInstanceGroupManagersUpdatePerInstanceConfigsCall) Header() http. func (c *RegionInstanceGroupManagersUpdatePerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -126225,7 +126225,7 @@ func (c *RegionInstanceGroupsGetCall) Header() http.Header { func (c *RegionInstanceGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -126463,7 +126463,7 @@ func (c *RegionInstanceGroupsListCall) Header() http.Header { func (c *RegionInstanceGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -126738,7 +126738,7 @@ func (c *RegionInstanceGroupsListInstancesCall) Header() http.Header { func (c *RegionInstanceGroupsListInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -126969,7 +126969,7 @@ func (c *RegionInstanceGroupsSetNamedPortsCall) Header() http.Header { func (c *RegionInstanceGroupsSetNamedPortsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -127135,7 +127135,7 @@ func (c *RegionInstanceGroupsTestIamPermissionsCall) Header() http.Header { func (c *RegionInstanceGroupsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -127317,7 +127317,7 @@ func (c *RegionNetworkEndpointGroupsDeleteCall) Header() http.Header { func (c *RegionNetworkEndpointGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -127484,7 +127484,7 @@ func (c *RegionNetworkEndpointGroupsGetCall) Header() http.Header { func (c *RegionNetworkEndpointGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -127658,7 +127658,7 @@ func (c *RegionNetworkEndpointGroupsInsertCall) Header() http.Header { func (c *RegionNetworkEndpointGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -127897,7 +127897,7 @@ func (c *RegionNetworkEndpointGroupsListCall) Header() http.Header { func (c *RegionNetworkEndpointGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -128112,7 +128112,7 @@ func (c *RegionNotificationEndpointsDeleteCall) Header() http.Header { func (c *RegionNotificationEndpointsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -128281,7 +128281,7 @@ func (c *RegionNotificationEndpointsGetCall) Header() http.Header { func (c *RegionNotificationEndpointsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -128457,7 +128457,7 @@ func (c *RegionNotificationEndpointsInsertCall) Header() http.Header { func (c *RegionNotificationEndpointsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -128697,7 +128697,7 @@ func (c *RegionNotificationEndpointsListCall) Header() http.Header { func (c *RegionNotificationEndpointsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -128894,7 +128894,7 @@ func (c *RegionOperationsDeleteCall) Header() http.Header { func (c *RegionOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129030,7 +129030,7 @@ func (c *RegionOperationsGetCall) Header() http.Header { func (c *RegionOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129271,7 +129271,7 @@ func (c *RegionOperationsListCall) Header() http.Header { func (c *RegionOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129480,7 +129480,7 @@ func (c *RegionOperationsWaitCall) Header() http.Header { func (c *RegionOperationsWaitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129652,7 +129652,7 @@ func (c *RegionSslCertificatesDeleteCall) Header() http.Header { func (c *RegionSslCertificatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129822,7 +129822,7 @@ func (c *RegionSslCertificatesGetCall) Header() http.Header { func (c *RegionSslCertificatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129998,7 +129998,7 @@ func (c *RegionSslCertificatesInsertCall) Header() http.Header { func (c *RegionSslCertificatesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -130238,7 +130238,7 @@ func (c *RegionSslCertificatesListCall) Header() http.Header { func (c *RegionSslCertificatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -130453,7 +130453,7 @@ func (c *RegionTargetHttpProxiesDeleteCall) Header() http.Header { func (c *RegionTargetHttpProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -130623,7 +130623,7 @@ func (c *RegionTargetHttpProxiesGetCall) Header() http.Header { func (c *RegionTargetHttpProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -130799,7 +130799,7 @@ func (c *RegionTargetHttpProxiesInsertCall) Header() http.Header { func (c *RegionTargetHttpProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -131039,7 +131039,7 @@ func (c *RegionTargetHttpProxiesListCall) Header() http.Header { func (c *RegionTargetHttpProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -131256,7 +131256,7 @@ func (c *RegionTargetHttpProxiesSetUrlMapCall) Header() http.Header { func (c *RegionTargetHttpProxiesSetUrlMapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -131440,7 +131440,7 @@ func (c *RegionTargetHttpsProxiesDeleteCall) Header() http.Header { func (c *RegionTargetHttpsProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -131610,7 +131610,7 @@ func (c *RegionTargetHttpsProxiesGetCall) Header() http.Header { func (c *RegionTargetHttpsProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -131786,7 +131786,7 @@ func (c *RegionTargetHttpsProxiesInsertCall) Header() http.Header { func (c *RegionTargetHttpsProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -132026,7 +132026,7 @@ func (c *RegionTargetHttpsProxiesListCall) Header() http.Header { func (c *RegionTargetHttpsProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -132243,7 +132243,7 @@ func (c *RegionTargetHttpsProxiesSetSslCertificatesCall) Header() http.Header { func (c *RegionTargetHttpsProxiesSetSslCertificatesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -132429,7 +132429,7 @@ func (c *RegionTargetHttpsProxiesSetUrlMapCall) Header() http.Header { func (c *RegionTargetHttpsProxiesSetUrlMapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -132601,7 +132601,7 @@ func (c *RegionUrlMapsDeleteCall) Header() http.Header { func (c *RegionUrlMapsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -132770,7 +132770,7 @@ func (c *RegionUrlMapsGetCall) Header() http.Header { func (c *RegionUrlMapsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -132934,7 +132934,7 @@ func (c *RegionUrlMapsInsertCall) Header() http.Header { func (c *RegionUrlMapsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -133103,7 +133103,7 @@ func (c *RegionUrlMapsInvalidateCacheCall) Header() http.Header { func (c *RegionUrlMapsInvalidateCacheCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -133352,7 +133352,7 @@ func (c *RegionUrlMapsListCall) Header() http.Header { func (c *RegionUrlMapsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -133559,7 +133559,7 @@ func (c *RegionUrlMapsPatchCall) Header() http.Header { func (c *RegionUrlMapsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -133734,7 +133734,7 @@ func (c *RegionUrlMapsUpdateCall) Header() http.Header { func (c *RegionUrlMapsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -133903,7 +133903,7 @@ func (c *RegionUrlMapsValidateCall) Header() http.Header { func (c *RegionUrlMapsValidateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -134074,7 +134074,7 @@ func (c *RegionsGetCall) Header() http.Header { func (c *RegionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -134304,7 +134304,7 @@ func (c *RegionsListCall) Header() http.Header { func (c *RegionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -134585,7 +134585,7 @@ func (c *ReservationsAggregatedListCall) Header() http.Header { func (c *ReservationsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -134796,7 +134796,7 @@ func (c *ReservationsDeleteCall) Header() http.Header { func (c *ReservationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -134964,7 +134964,7 @@ func (c *ReservationsGetCall) Header() http.Header { func (c *ReservationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -135139,7 +135139,7 @@ func (c *ReservationsGetIamPolicyCall) Header() http.Header { func (c *ReservationsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -135321,7 +135321,7 @@ func (c *ReservationsInsertCall) Header() http.Header { func (c *ReservationsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -135561,7 +135561,7 @@ func (c *ReservationsListCall) Header() http.Header { func (c *ReservationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -135780,7 +135780,7 @@ func (c *ReservationsResizeCall) Header() http.Header { func (c *ReservationsResizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -135948,7 +135948,7 @@ func (c *ReservationsSetIamPolicyCall) Header() http.Header { func (c *ReservationsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -136111,7 +136111,7 @@ func (c *ReservationsTestIamPermissionsCall) Header() http.Header { func (c *ReservationsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -136366,7 +136366,7 @@ func (c *ResourcePoliciesAggregatedListCall) Header() http.Header { func (c *ResourcePoliciesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -136577,7 +136577,7 @@ func (c *ResourcePoliciesDeleteCall) Header() http.Header { func (c *ResourcePoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -136745,7 +136745,7 @@ func (c *ResourcePoliciesGetCall) Header() http.Header { func (c *ResourcePoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -136920,7 +136920,7 @@ func (c *ResourcePoliciesGetIamPolicyCall) Header() http.Header { func (c *ResourcePoliciesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -137101,7 +137101,7 @@ func (c *ResourcePoliciesInsertCall) Header() http.Header { func (c *ResourcePoliciesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -137341,7 +137341,7 @@ func (c *ResourcePoliciesListCall) Header() http.Header { func (c *ResourcePoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -137540,7 +137540,7 @@ func (c *ResourcePoliciesSetIamPolicyCall) Header() http.Header { func (c *ResourcePoliciesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -137703,7 +137703,7 @@ func (c *ResourcePoliciesTestIamPermissionsCall) Header() http.Header { func (c *ResourcePoliciesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -137958,7 +137958,7 @@ func (c *RoutersAggregatedListCall) Header() http.Header { func (c *RoutersAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -138169,7 +138169,7 @@ func (c *RoutersDeleteCall) Header() http.Header { func (c *RoutersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -138338,7 +138338,7 @@ func (c *RoutersGetCall) Header() http.Header { func (c *RoutersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -138589,7 +138589,7 @@ func (c *RoutersGetNatMappingInfoCall) Header() http.Header { func (c *RoutersGetNatMappingInfoCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -138811,7 +138811,7 @@ func (c *RoutersGetRouterStatusCall) Header() http.Header { func (c *RoutersGetRouterStatusCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -138987,7 +138987,7 @@ func (c *RoutersInsertCall) Header() http.Header { func (c *RoutersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -139227,7 +139227,7 @@ func (c *RoutersListCall) Header() http.Header { func (c *RoutersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -139446,7 +139446,7 @@ func (c *RoutersPatchCall) Header() http.Header { func (c *RoutersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -139615,7 +139615,7 @@ func (c *RoutersPreviewCall) Header() http.Header { func (c *RoutersPreviewCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -139779,7 +139779,7 @@ func (c *RoutersTestIamPermissionsCall) Header() http.Header { func (c *RoutersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -139965,7 +139965,7 @@ func (c *RoutersUpdateCall) Header() http.Header { func (c *RoutersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -140148,7 +140148,7 @@ func (c *RoutesDeleteCall) Header() http.Header { func (c *RoutesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -140307,7 +140307,7 @@ func (c *RoutesGetCall) Header() http.Header { func (c *RoutesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -140473,7 +140473,7 @@ func (c *RoutesInsertCall) Header() http.Header { func (c *RoutesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -140703,7 +140703,7 @@ func (c *RoutesListCall) Header() http.Header { func (c *RoutesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -140891,7 +140891,7 @@ func (c *RoutesTestIamPermissionsCall) Header() http.Header { func (c *RoutesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -141050,7 +141050,7 @@ func (c *SecurityPoliciesAddRuleCall) Header() http.Header { func (c *SecurityPoliciesAddRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -141223,7 +141223,7 @@ func (c *SecurityPoliciesDeleteCall) Header() http.Header { func (c *SecurityPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -141381,7 +141381,7 @@ func (c *SecurityPoliciesGetCall) Header() http.Header { func (c *SecurityPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -141544,7 +141544,7 @@ func (c *SecurityPoliciesGetRuleCall) Header() http.Header { func (c *SecurityPoliciesGetRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -141722,7 +141722,7 @@ func (c *SecurityPoliciesInsertCall) Header() http.Header { func (c *SecurityPoliciesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -141956,7 +141956,7 @@ func (c *SecurityPoliciesListCall) Header() http.Header { func (c *SecurityPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142225,7 +142225,7 @@ func (c *SecurityPoliciesListPreconfiguredExpressionSetsCall) Header() http.Head func (c *SecurityPoliciesListPreconfiguredExpressionSetsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142413,7 +142413,7 @@ func (c *SecurityPoliciesPatchCall) Header() http.Header { func (c *SecurityPoliciesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142583,7 +142583,7 @@ func (c *SecurityPoliciesPatchRuleCall) Header() http.Header { func (c *SecurityPoliciesPatchRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142750,7 +142750,7 @@ func (c *SecurityPoliciesRemoveRuleCall) Header() http.Header { func (c *SecurityPoliciesRemoveRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142900,7 +142900,7 @@ func (c *SecurityPoliciesSetLabelsCall) Header() http.Header { func (c *SecurityPoliciesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143052,7 +143052,7 @@ func (c *SecurityPoliciesTestIamPermissionsCall) Header() http.Header { func (c *SecurityPoliciesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143228,7 +143228,7 @@ func (c *SnapshotsDeleteCall) Header() http.Header { func (c *SnapshotsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143387,7 +143387,7 @@ func (c *SnapshotsGetCall) Header() http.Header { func (c *SnapshotsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143551,7 +143551,7 @@ func (c *SnapshotsGetIamPolicyCall) Header() http.Header { func (c *SnapshotsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143722,7 +143722,7 @@ func (c *SnapshotsInsertCall) Header() http.Header { func (c *SnapshotsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143952,7 +143952,7 @@ func (c *SnapshotsListCall) Header() http.Header { func (c *SnapshotsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144140,7 +144140,7 @@ func (c *SnapshotsSetIamPolicyCall) Header() http.Header { func (c *SnapshotsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144292,7 +144292,7 @@ func (c *SnapshotsSetLabelsCall) Header() http.Header { func (c *SnapshotsSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144444,7 +144444,7 @@ func (c *SnapshotsTestIamPermissionsCall) Header() http.Header { func (c *SnapshotsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144691,7 +144691,7 @@ func (c *SslCertificatesAggregatedListCall) Header() http.Header { func (c *SslCertificatesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144900,7 +144900,7 @@ func (c *SslCertificatesDeleteCall) Header() http.Header { func (c *SslCertificatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -145058,7 +145058,7 @@ func (c *SslCertificatesGetCall) Header() http.Header { func (c *SslCertificatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -145223,7 +145223,7 @@ func (c *SslCertificatesInsertCall) Header() http.Header { func (c *SslCertificatesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -145452,7 +145452,7 @@ func (c *SslCertificatesListCall) Header() http.Header { func (c *SslCertificatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -145640,7 +145640,7 @@ func (c *SslCertificatesTestIamPermissionsCall) Header() http.Header { func (c *SslCertificatesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -145811,7 +145811,7 @@ func (c *SslPoliciesDeleteCall) Header() http.Header { func (c *SslPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -145968,7 +145968,7 @@ func (c *SslPoliciesGetCall) Header() http.Header { func (c *SslPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -146132,7 +146132,7 @@ func (c *SslPoliciesInsertCall) Header() http.Header { func (c *SslPoliciesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -146361,7 +146361,7 @@ func (c *SslPoliciesListCall) Header() http.Header { func (c *SslPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -146630,7 +146630,7 @@ func (c *SslPoliciesListAvailableFeaturesCall) Header() http.Header { func (c *SslPoliciesListAvailableFeaturesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -146818,7 +146818,7 @@ func (c *SslPoliciesPatchCall) Header() http.Header { func (c *SslPoliciesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -146974,7 +146974,7 @@ func (c *SslPoliciesTestIamPermissionsCall) Header() http.Header { func (c *SslPoliciesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -147220,7 +147220,7 @@ func (c *SubnetworksAggregatedListCall) Header() http.Header { func (c *SubnetworksAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -147431,7 +147431,7 @@ func (c *SubnetworksDeleteCall) Header() http.Header { func (c *SubnetworksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -147610,7 +147610,7 @@ func (c *SubnetworksExpandIpCidrRangeCall) Header() http.Header { func (c *SubnetworksExpandIpCidrRangeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -147787,7 +147787,7 @@ func (c *SubnetworksGetCall) Header() http.Header { func (c *SubnetworksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -147962,7 +147962,7 @@ func (c *SubnetworksGetIamPolicyCall) Header() http.Header { func (c *SubnetworksGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -148144,7 +148144,7 @@ func (c *SubnetworksInsertCall) Header() http.Header { func (c *SubnetworksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -148384,7 +148384,7 @@ func (c *SubnetworksListCall) Header() http.Header { func (c *SubnetworksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -148662,7 +148662,7 @@ func (c *SubnetworksListUsableCall) Header() http.Header { func (c *SubnetworksListUsableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -148888,7 +148888,7 @@ func (c *SubnetworksPatchCall) Header() http.Header { func (c *SubnetworksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149062,7 +149062,7 @@ func (c *SubnetworksSetIamPolicyCall) Header() http.Header { func (c *SubnetworksSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149245,7 +149245,7 @@ func (c *SubnetworksSetPrivateIpGoogleAccessCall) Header() http.Header { func (c *SubnetworksSetPrivateIpGoogleAccessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149413,7 +149413,7 @@ func (c *SubnetworksTestIamPermissionsCall) Header() http.Header { func (c *SubnetworksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149591,7 +149591,7 @@ func (c *TargetGrpcProxiesDeleteCall) Header() http.Header { func (c *TargetGrpcProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149749,7 +149749,7 @@ func (c *TargetGrpcProxiesGetCall) Header() http.Header { func (c *TargetGrpcProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149914,7 +149914,7 @@ func (c *TargetGrpcProxiesInsertCall) Header() http.Header { func (c *TargetGrpcProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -150142,7 +150142,7 @@ func (c *TargetGrpcProxiesListCall) Header() http.Header { func (c *TargetGrpcProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -150350,7 +150350,7 @@ func (c *TargetGrpcProxiesPatchCall) Header() http.Header { func (c *TargetGrpcProxiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -150601,7 +150601,7 @@ func (c *TargetHttpProxiesAggregatedListCall) Header() http.Header { func (c *TargetHttpProxiesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -150811,7 +150811,7 @@ func (c *TargetHttpProxiesDeleteCall) Header() http.Header { func (c *TargetHttpProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -150970,7 +150970,7 @@ func (c *TargetHttpProxiesGetCall) Header() http.Header { func (c *TargetHttpProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -151136,7 +151136,7 @@ func (c *TargetHttpProxiesInsertCall) Header() http.Header { func (c *TargetHttpProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -151366,7 +151366,7 @@ func (c *TargetHttpProxiesListCall) Header() http.Header { func (c *TargetHttpProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -151575,7 +151575,7 @@ func (c *TargetHttpProxiesPatchCall) Header() http.Header { func (c *TargetHttpProxiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -151751,7 +151751,7 @@ func (c *TargetHttpProxiesSetUrlMapCall) Header() http.Header { func (c *TargetHttpProxiesSetUrlMapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -151908,7 +151908,7 @@ func (c *TargetHttpProxiesTestIamPermissionsCall) Header() http.Header { func (c *TargetHttpProxiesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -152155,7 +152155,7 @@ func (c *TargetHttpsProxiesAggregatedListCall) Header() http.Header { func (c *TargetHttpsProxiesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -152364,7 +152364,7 @@ func (c *TargetHttpsProxiesDeleteCall) Header() http.Header { func (c *TargetHttpsProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -152522,7 +152522,7 @@ func (c *TargetHttpsProxiesGetCall) Header() http.Header { func (c *TargetHttpsProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -152687,7 +152687,7 @@ func (c *TargetHttpsProxiesInsertCall) Header() http.Header { func (c *TargetHttpsProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -152916,7 +152916,7 @@ func (c *TargetHttpsProxiesListCall) Header() http.Header { func (c *TargetHttpsProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -153122,7 +153122,7 @@ func (c *TargetHttpsProxiesSetQuicOverrideCall) Header() http.Header { func (c *TargetHttpsProxiesSetQuicOverrideCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -153296,7 +153296,7 @@ func (c *TargetHttpsProxiesSetSslCertificatesCall) Header() http.Header { func (c *TargetHttpsProxiesSetSslCertificatesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -153475,7 +153475,7 @@ func (c *TargetHttpsProxiesSetSslPolicyCall) Header() http.Header { func (c *TargetHttpsProxiesSetSslPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -153649,7 +153649,7 @@ func (c *TargetHttpsProxiesSetUrlMapCall) Header() http.Header { func (c *TargetHttpsProxiesSetUrlMapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -153806,7 +153806,7 @@ func (c *TargetHttpsProxiesTestIamPermissionsCall) Header() http.Header { func (c *TargetHttpsProxiesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -154053,7 +154053,7 @@ func (c *TargetInstancesAggregatedListCall) Header() http.Header { func (c *TargetInstancesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -154265,7 +154265,7 @@ func (c *TargetInstancesDeleteCall) Header() http.Header { func (c *TargetInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -154435,7 +154435,7 @@ func (c *TargetInstancesGetCall) Header() http.Header { func (c *TargetInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -154612,7 +154612,7 @@ func (c *TargetInstancesInsertCall) Header() http.Header { func (c *TargetInstancesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -154853,7 +154853,7 @@ func (c *TargetInstancesListCall) Header() http.Header { func (c *TargetInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -155052,7 +155052,7 @@ func (c *TargetInstancesTestIamPermissionsCall) Header() http.Header { func (c *TargetInstancesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -155235,7 +155235,7 @@ func (c *TargetPoolsAddHealthCheckCall) Header() http.Header { func (c *TargetPoolsAddHealthCheckCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -155422,7 +155422,7 @@ func (c *TargetPoolsAddInstanceCall) Header() http.Header { func (c *TargetPoolsAddInstanceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -155682,7 +155682,7 @@ func (c *TargetPoolsAggregatedListCall) Header() http.Header { func (c *TargetPoolsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -155894,7 +155894,7 @@ func (c *TargetPoolsDeleteCall) Header() http.Header { func (c *TargetPoolsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -156064,7 +156064,7 @@ func (c *TargetPoolsGetCall) Header() http.Header { func (c *TargetPoolsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -156224,7 +156224,7 @@ func (c *TargetPoolsGetHealthCall) Header() http.Header { func (c *TargetPoolsGetHealthCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -156406,7 +156406,7 @@ func (c *TargetPoolsInsertCall) Header() http.Header { func (c *TargetPoolsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -156647,7 +156647,7 @@ func (c *TargetPoolsListCall) Header() http.Header { func (c *TargetPoolsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -156865,7 +156865,7 @@ func (c *TargetPoolsRemoveHealthCheckCall) Header() http.Header { func (c *TargetPoolsRemoveHealthCheckCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -157052,7 +157052,7 @@ func (c *TargetPoolsRemoveInstanceCall) Header() http.Header { func (c *TargetPoolsRemoveInstanceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -157246,7 +157246,7 @@ func (c *TargetPoolsSetBackupCall) Header() http.Header { func (c *TargetPoolsSetBackupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -157420,7 +157420,7 @@ func (c *TargetPoolsTestIamPermissionsCall) Header() http.Header { func (c *TargetPoolsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -157598,7 +157598,7 @@ func (c *TargetSslProxiesDeleteCall) Header() http.Header { func (c *TargetSslProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -157756,7 +157756,7 @@ func (c *TargetSslProxiesGetCall) Header() http.Header { func (c *TargetSslProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -157921,7 +157921,7 @@ func (c *TargetSslProxiesInsertCall) Header() http.Header { func (c *TargetSslProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -158150,7 +158150,7 @@ func (c *TargetSslProxiesListCall) Header() http.Header { func (c *TargetSslProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -158356,7 +158356,7 @@ func (c *TargetSslProxiesSetBackendServiceCall) Header() http.Header { func (c *TargetSslProxiesSetBackendServiceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -158531,7 +158531,7 @@ func (c *TargetSslProxiesSetProxyHeaderCall) Header() http.Header { func (c *TargetSslProxiesSetProxyHeaderCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -158706,7 +158706,7 @@ func (c *TargetSslProxiesSetSslCertificatesCall) Header() http.Header { func (c *TargetSslProxiesSetSslCertificatesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -158884,7 +158884,7 @@ func (c *TargetSslProxiesSetSslPolicyCall) Header() http.Header { func (c *TargetSslProxiesSetSslPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -159040,7 +159040,7 @@ func (c *TargetSslProxiesTestIamPermissionsCall) Header() http.Header { func (c *TargetSslProxiesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -159209,7 +159209,7 @@ func (c *TargetTcpProxiesDeleteCall) Header() http.Header { func (c *TargetTcpProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -159367,7 +159367,7 @@ func (c *TargetTcpProxiesGetCall) Header() http.Header { func (c *TargetTcpProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -159532,7 +159532,7 @@ func (c *TargetTcpProxiesInsertCall) Header() http.Header { func (c *TargetTcpProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -159761,7 +159761,7 @@ func (c *TargetTcpProxiesListCall) Header() http.Header { func (c *TargetTcpProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -159967,7 +159967,7 @@ func (c *TargetTcpProxiesSetBackendServiceCall) Header() http.Header { func (c *TargetTcpProxiesSetBackendServiceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -160142,7 +160142,7 @@ func (c *TargetTcpProxiesSetProxyHeaderCall) Header() http.Header { func (c *TargetTcpProxiesSetProxyHeaderCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -160392,7 +160392,7 @@ func (c *TargetVpnGatewaysAggregatedListCall) Header() http.Header { func (c *TargetVpnGatewaysAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -160603,7 +160603,7 @@ func (c *TargetVpnGatewaysDeleteCall) Header() http.Header { func (c *TargetVpnGatewaysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -160772,7 +160772,7 @@ func (c *TargetVpnGatewaysGetCall) Header() http.Header { func (c *TargetVpnGatewaysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -160948,7 +160948,7 @@ func (c *TargetVpnGatewaysInsertCall) Header() http.Header { func (c *TargetVpnGatewaysInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -161188,7 +161188,7 @@ func (c *TargetVpnGatewaysListCall) Header() http.Header { func (c *TargetVpnGatewaysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -161406,7 +161406,7 @@ func (c *TargetVpnGatewaysSetLabelsCall) Header() http.Header { func (c *TargetVpnGatewaysSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -161574,7 +161574,7 @@ func (c *TargetVpnGatewaysTestIamPermissionsCall) Header() http.Header { func (c *TargetVpnGatewaysTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -161830,7 +161830,7 @@ func (c *UrlMapsAggregatedListCall) Header() http.Header { func (c *UrlMapsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -162040,7 +162040,7 @@ func (c *UrlMapsDeleteCall) Header() http.Header { func (c *UrlMapsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -162199,7 +162199,7 @@ func (c *UrlMapsGetCall) Header() http.Header { func (c *UrlMapsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -162365,7 +162365,7 @@ func (c *UrlMapsInsertCall) Header() http.Header { func (c *UrlMapsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -162535,7 +162535,7 @@ func (c *UrlMapsInvalidateCacheCall) Header() http.Header { func (c *UrlMapsInvalidateCacheCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -162774,7 +162774,7 @@ func (c *UrlMapsListCall) Header() http.Header { func (c *UrlMapsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -162983,7 +162983,7 @@ func (c *UrlMapsPatchCall) Header() http.Header { func (c *UrlMapsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -163140,7 +163140,7 @@ func (c *UrlMapsTestIamPermissionsCall) Header() http.Header { func (c *UrlMapsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -163313,7 +163313,7 @@ func (c *UrlMapsUpdateCall) Header() http.Header { func (c *UrlMapsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -163472,7 +163472,7 @@ func (c *UrlMapsValidateCall) Header() http.Header { func (c *UrlMapsValidateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -163717,7 +163717,7 @@ func (c *VpnGatewaysAggregatedListCall) Header() http.Header { func (c *VpnGatewaysAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -163928,7 +163928,7 @@ func (c *VpnGatewaysDeleteCall) Header() http.Header { func (c *VpnGatewaysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -164097,7 +164097,7 @@ func (c *VpnGatewaysGetCall) Header() http.Header { func (c *VpnGatewaysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -164264,7 +164264,7 @@ func (c *VpnGatewaysGetStatusCall) Header() http.Header { func (c *VpnGatewaysGetStatusCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -164440,7 +164440,7 @@ func (c *VpnGatewaysInsertCall) Header() http.Header { func (c *VpnGatewaysInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -164680,7 +164680,7 @@ func (c *VpnGatewaysListCall) Header() http.Header { func (c *VpnGatewaysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -164898,7 +164898,7 @@ func (c *VpnGatewaysSetLabelsCall) Header() http.Header { func (c *VpnGatewaysSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -165157,7 +165157,7 @@ func (c *VpnTunnelsAggregatedListCall) Header() http.Header { func (c *VpnTunnelsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -165368,7 +165368,7 @@ func (c *VpnTunnelsDeleteCall) Header() http.Header { func (c *VpnTunnelsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -165537,7 +165537,7 @@ func (c *VpnTunnelsGetCall) Header() http.Header { func (c *VpnTunnelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -165713,7 +165713,7 @@ func (c *VpnTunnelsInsertCall) Header() http.Header { func (c *VpnTunnelsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -165953,7 +165953,7 @@ func (c *VpnTunnelsListCall) Header() http.Header { func (c *VpnTunnelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -166171,7 +166171,7 @@ func (c *VpnTunnelsSetLabelsCall) Header() http.Header { func (c *VpnTunnelsSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -166339,7 +166339,7 @@ func (c *VpnTunnelsTestIamPermissionsCall) Header() http.Header { func (c *VpnTunnelsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -166501,7 +166501,7 @@ func (c *ZoneOperationsDeleteCall) Header() http.Header { func (c *ZoneOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -166637,7 +166637,7 @@ func (c *ZoneOperationsGetCall) Header() http.Header { func (c *ZoneOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -166878,7 +166878,7 @@ func (c *ZoneOperationsListCall) Header() http.Header { func (c *ZoneOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -167087,7 +167087,7 @@ func (c *ZoneOperationsWaitCall) Header() http.Header { func (c *ZoneOperationsWaitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -167251,7 +167251,7 @@ func (c *ZonesGetCall) Header() http.Header { func (c *ZonesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -167481,7 +167481,7 @@ func (c *ZonesListCall) Header() http.Header { func (c *ZonesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/compute/v1/compute-gen.go b/compute/v1/compute-gen.go index dc3cbec6f5d..1b14a5e9765 100644 --- a/compute/v1/compute-gen.go +++ b/compute/v1/compute-gen.go @@ -43992,7 +43992,7 @@ func (c *AcceleratorTypesAggregatedListCall) Header() http.Header { func (c *AcceleratorTypesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -44195,7 +44195,7 @@ func (c *AcceleratorTypesGetCall) Header() http.Header { func (c *AcceleratorTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -44435,7 +44435,7 @@ func (c *AcceleratorTypesListCall) Header() http.Header { func (c *AcceleratorTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -44726,7 +44726,7 @@ func (c *AddressesAggregatedListCall) Header() http.Header { func (c *AddressesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -44938,7 +44938,7 @@ func (c *AddressesDeleteCall) Header() http.Header { func (c *AddressesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -45107,7 +45107,7 @@ func (c *AddressesGetCall) Header() http.Header { func (c *AddressesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -45284,7 +45284,7 @@ func (c *AddressesInsertCall) Header() http.Header { func (c *AddressesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -45525,7 +45525,7 @@ func (c *AddressesListCall) Header() http.Header { func (c *AddressesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -45815,7 +45815,7 @@ func (c *AutoscalersAggregatedListCall) Header() http.Header { func (c *AutoscalersAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46026,7 +46026,7 @@ func (c *AutoscalersDeleteCall) Header() http.Header { func (c *AutoscalersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46195,7 +46195,7 @@ func (c *AutoscalersGetCall) Header() http.Header { func (c *AutoscalersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46371,7 +46371,7 @@ func (c *AutoscalersInsertCall) Header() http.Header { func (c *AutoscalersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46611,7 +46611,7 @@ func (c *AutoscalersListCall) Header() http.Header { func (c *AutoscalersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46835,7 +46835,7 @@ func (c *AutoscalersPatchCall) Header() http.Header { func (c *AutoscalersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47024,7 +47024,7 @@ func (c *AutoscalersUpdateCall) Header() http.Header { func (c *AutoscalersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47206,7 +47206,7 @@ func (c *BackendBucketsAddSignedUrlKeyCall) Header() http.Header { func (c *BackendBucketsAddSignedUrlKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47378,7 +47378,7 @@ func (c *BackendBucketsDeleteCall) Header() http.Header { func (c *BackendBucketsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47545,7 +47545,7 @@ func (c *BackendBucketsDeleteSignedUrlKeyCall) Header() http.Header { func (c *BackendBucketsDeleteSignedUrlKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47709,7 +47709,7 @@ func (c *BackendBucketsGetCall) Header() http.Header { func (c *BackendBucketsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47874,7 +47874,7 @@ func (c *BackendBucketsInsertCall) Header() http.Header { func (c *BackendBucketsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48103,7 +48103,7 @@ func (c *BackendBucketsListCall) Header() http.Header { func (c *BackendBucketsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48311,7 +48311,7 @@ func (c *BackendBucketsPatchCall) Header() http.Header { func (c *BackendBucketsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48487,7 +48487,7 @@ func (c *BackendBucketsUpdateCall) Header() http.Header { func (c *BackendBucketsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48663,7 +48663,7 @@ func (c *BackendServicesAddSignedUrlKeyCall) Header() http.Header { func (c *BackendServicesAddSignedUrlKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48913,7 +48913,7 @@ func (c *BackendServicesAggregatedListCall) Header() http.Header { func (c *BackendServicesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49123,7 +49123,7 @@ func (c *BackendServicesDeleteCall) Header() http.Header { func (c *BackendServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49290,7 +49290,7 @@ func (c *BackendServicesDeleteSignedUrlKeyCall) Header() http.Header { func (c *BackendServicesDeleteSignedUrlKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49455,7 +49455,7 @@ func (c *BackendServicesGetCall) Header() http.Header { func (c *BackendServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49608,7 +49608,7 @@ func (c *BackendServicesGetHealthCall) Header() http.Header { func (c *BackendServicesGetHealthCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49779,7 +49779,7 @@ func (c *BackendServicesInsertCall) Header() http.Header { func (c *BackendServicesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50009,7 +50009,7 @@ func (c *BackendServicesListCall) Header() http.Header { func (c *BackendServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50219,7 +50219,7 @@ func (c *BackendServicesPatchCall) Header() http.Header { func (c *BackendServicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50395,7 +50395,7 @@ func (c *BackendServicesSetSecurityPolicyCall) Header() http.Header { func (c *BackendServicesSetSecurityPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50572,7 +50572,7 @@ func (c *BackendServicesUpdateCall) Header() http.Header { func (c *BackendServicesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50823,7 +50823,7 @@ func (c *DiskTypesAggregatedListCall) Header() http.Header { func (c *DiskTypesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51028,7 +51028,7 @@ func (c *DiskTypesGetCall) Header() http.Header { func (c *DiskTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51269,7 +51269,7 @@ func (c *DiskTypesListCall) Header() http.Header { func (c *DiskTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51488,7 +51488,7 @@ func (c *DisksAddResourcePoliciesCall) Header() http.Header { func (c *DisksAddResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51748,7 +51748,7 @@ func (c *DisksAggregatedListCall) Header() http.Header { func (c *DisksAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51971,7 +51971,7 @@ func (c *DisksCreateSnapshotCall) Header() http.Header { func (c *DisksCreateSnapshotCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -52164,7 +52164,7 @@ func (c *DisksDeleteCall) Header() http.Header { func (c *DisksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -52333,7 +52333,7 @@ func (c *DisksGetCall) Header() http.Header { func (c *DisksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -52508,7 +52508,7 @@ func (c *DisksGetIamPolicyCall) Header() http.Header { func (c *DisksGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -52702,7 +52702,7 @@ func (c *DisksInsertCall) Header() http.Header { func (c *DisksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -52948,7 +52948,7 @@ func (c *DisksListCall) Header() http.Header { func (c *DisksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -53165,7 +53165,7 @@ func (c *DisksRemoveResourcePoliciesCall) Header() http.Header { func (c *DisksRemoveResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -53352,7 +53352,7 @@ func (c *DisksResizeCall) Header() http.Header { func (c *DisksResizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -53520,7 +53520,7 @@ func (c *DisksSetIamPolicyCall) Header() http.Header { func (c *DisksSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -53702,7 +53702,7 @@ func (c *DisksSetLabelsCall) Header() http.Header { func (c *DisksSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -53870,7 +53870,7 @@ func (c *DisksTestIamPermissionsCall) Header() http.Header { func (c *DisksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -54048,7 +54048,7 @@ func (c *ExternalVpnGatewaysDeleteCall) Header() http.Header { func (c *ExternalVpnGatewaysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -54206,7 +54206,7 @@ func (c *ExternalVpnGatewaysGetCall) Header() http.Header { func (c *ExternalVpnGatewaysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -54371,7 +54371,7 @@ func (c *ExternalVpnGatewaysInsertCall) Header() http.Header { func (c *ExternalVpnGatewaysInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -54600,7 +54600,7 @@ func (c *ExternalVpnGatewaysListCall) Header() http.Header { func (c *ExternalVpnGatewaysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -54788,7 +54788,7 @@ func (c *ExternalVpnGatewaysSetLabelsCall) Header() http.Header { func (c *ExternalVpnGatewaysSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -54940,7 +54940,7 @@ func (c *ExternalVpnGatewaysTestIamPermissionsCall) Header() http.Header { func (c *ExternalVpnGatewaysTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -55110,7 +55110,7 @@ func (c *FirewallsDeleteCall) Header() http.Header { func (c *FirewallsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -55268,7 +55268,7 @@ func (c *FirewallsGetCall) Header() http.Header { func (c *FirewallsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -55434,7 +55434,7 @@ func (c *FirewallsInsertCall) Header() http.Header { func (c *FirewallsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -55664,7 +55664,7 @@ func (c *FirewallsListCall) Header() http.Header { func (c *FirewallsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -55873,7 +55873,7 @@ func (c *FirewallsPatchCall) Header() http.Header { func (c *FirewallsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56052,7 +56052,7 @@ func (c *FirewallsUpdateCall) Header() http.Header { func (c *FirewallsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56303,7 +56303,7 @@ func (c *ForwardingRulesAggregatedListCall) Header() http.Header { func (c *ForwardingRulesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56515,7 +56515,7 @@ func (c *ForwardingRulesDeleteCall) Header() http.Header { func (c *ForwardingRulesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56684,7 +56684,7 @@ func (c *ForwardingRulesGetCall) Header() http.Header { func (c *ForwardingRulesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56861,7 +56861,7 @@ func (c *ForwardingRulesInsertCall) Header() http.Header { func (c *ForwardingRulesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -57102,7 +57102,7 @@ func (c *ForwardingRulesListCall) Header() http.Header { func (c *ForwardingRulesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -57322,7 +57322,7 @@ func (c *ForwardingRulesPatchCall) Header() http.Header { func (c *ForwardingRulesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -57510,7 +57510,7 @@ func (c *ForwardingRulesSetTargetCall) Header() http.Header { func (c *ForwardingRulesSetTargetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -57693,7 +57693,7 @@ func (c *GlobalAddressesDeleteCall) Header() http.Header { func (c *GlobalAddressesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -57852,7 +57852,7 @@ func (c *GlobalAddressesGetCall) Header() http.Header { func (c *GlobalAddressesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58018,7 +58018,7 @@ func (c *GlobalAddressesInsertCall) Header() http.Header { func (c *GlobalAddressesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58247,7 +58247,7 @@ func (c *GlobalAddressesListCall) Header() http.Header { func (c *GlobalAddressesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58452,7 +58452,7 @@ func (c *GlobalForwardingRulesDeleteCall) Header() http.Header { func (c *GlobalForwardingRulesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58611,7 +58611,7 @@ func (c *GlobalForwardingRulesGetCall) Header() http.Header { func (c *GlobalForwardingRulesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58777,7 +58777,7 @@ func (c *GlobalForwardingRulesInsertCall) Header() http.Header { func (c *GlobalForwardingRulesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59007,7 +59007,7 @@ func (c *GlobalForwardingRulesListCall) Header() http.Header { func (c *GlobalForwardingRulesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59216,7 +59216,7 @@ func (c *GlobalForwardingRulesPatchCall) Header() http.Header { func (c *GlobalForwardingRulesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59393,7 +59393,7 @@ func (c *GlobalForwardingRulesSetTargetCall) Header() http.Header { func (c *GlobalForwardingRulesSetTargetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59569,7 +59569,7 @@ func (c *GlobalNetworkEndpointGroupsAttachNetworkEndpointsCall) Header() http.He func (c *GlobalNetworkEndpointGroupsAttachNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59742,7 +59742,7 @@ func (c *GlobalNetworkEndpointGroupsDeleteCall) Header() http.Header { func (c *GlobalNetworkEndpointGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59909,7 +59909,7 @@ func (c *GlobalNetworkEndpointGroupsDetachNetworkEndpointsCall) Header() http.He func (c *GlobalNetworkEndpointGroupsDetachNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -60074,7 +60074,7 @@ func (c *GlobalNetworkEndpointGroupsGetCall) Header() http.Header { func (c *GlobalNetworkEndpointGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -60238,7 +60238,7 @@ func (c *GlobalNetworkEndpointGroupsInsertCall) Header() http.Header { func (c *GlobalNetworkEndpointGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -60467,7 +60467,7 @@ func (c *GlobalNetworkEndpointGroupsListCall) Header() http.Header { func (c *GlobalNetworkEndpointGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -60727,7 +60727,7 @@ func (c *GlobalNetworkEndpointGroupsListNetworkEndpointsCall) Header() http.Head func (c *GlobalNetworkEndpointGroupsListNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -61016,7 +61016,7 @@ func (c *GlobalOperationsAggregatedListCall) Header() http.Header { func (c *GlobalOperationsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -61207,7 +61207,7 @@ func (c *GlobalOperationsDeleteCall) Header() http.Header { func (c *GlobalOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -61333,7 +61333,7 @@ func (c *GlobalOperationsGetCall) Header() http.Header { func (c *GlobalOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -61563,7 +61563,7 @@ func (c *GlobalOperationsListCall) Header() http.Header { func (c *GlobalOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -61761,7 +61761,7 @@ func (c *GlobalOperationsWaitCall) Header() http.Header { func (c *GlobalOperationsWaitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -61908,7 +61908,7 @@ func (c *GlobalOrganizationOperationsDeleteCall) Header() http.Header { func (c *GlobalOrganizationOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62034,7 +62034,7 @@ func (c *GlobalOrganizationOperationsGetCall) Header() http.Header { func (c *GlobalOrganizationOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62264,7 +62264,7 @@ func (c *GlobalOrganizationOperationsListCall) Header() http.Header { func (c *GlobalOrganizationOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62538,7 +62538,7 @@ func (c *HealthChecksAggregatedListCall) Header() http.Header { func (c *HealthChecksAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62747,7 +62747,7 @@ func (c *HealthChecksDeleteCall) Header() http.Header { func (c *HealthChecksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62905,7 +62905,7 @@ func (c *HealthChecksGetCall) Header() http.Header { func (c *HealthChecksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -63070,7 +63070,7 @@ func (c *HealthChecksInsertCall) Header() http.Header { func (c *HealthChecksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -63299,7 +63299,7 @@ func (c *HealthChecksListCall) Header() http.Header { func (c *HealthChecksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -63507,7 +63507,7 @@ func (c *HealthChecksPatchCall) Header() http.Header { func (c *HealthChecksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -63683,7 +63683,7 @@ func (c *HealthChecksUpdateCall) Header() http.Header { func (c *HealthChecksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -63857,7 +63857,7 @@ func (c *HttpHealthChecksDeleteCall) Header() http.Header { func (c *HttpHealthChecksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64016,7 +64016,7 @@ func (c *HttpHealthChecksGetCall) Header() http.Header { func (c *HttpHealthChecksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64182,7 +64182,7 @@ func (c *HttpHealthChecksInsertCall) Header() http.Header { func (c *HttpHealthChecksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64412,7 +64412,7 @@ func (c *HttpHealthChecksListCall) Header() http.Header { func (c *HttpHealthChecksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64621,7 +64621,7 @@ func (c *HttpHealthChecksPatchCall) Header() http.Header { func (c *HttpHealthChecksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64798,7 +64798,7 @@ func (c *HttpHealthChecksUpdateCall) Header() http.Header { func (c *HttpHealthChecksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64971,7 +64971,7 @@ func (c *HttpsHealthChecksDeleteCall) Header() http.Header { func (c *HttpsHealthChecksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -65129,7 +65129,7 @@ func (c *HttpsHealthChecksGetCall) Header() http.Header { func (c *HttpsHealthChecksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -65294,7 +65294,7 @@ func (c *HttpsHealthChecksInsertCall) Header() http.Header { func (c *HttpsHealthChecksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -65523,7 +65523,7 @@ func (c *HttpsHealthChecksListCall) Header() http.Header { func (c *HttpsHealthChecksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -65731,7 +65731,7 @@ func (c *HttpsHealthChecksPatchCall) Header() http.Header { func (c *HttpsHealthChecksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -65907,7 +65907,7 @@ func (c *HttpsHealthChecksUpdateCall) Header() http.Header { func (c *HttpsHealthChecksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66081,7 +66081,7 @@ func (c *ImagesDeleteCall) Header() http.Header { func (c *ImagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66252,7 +66252,7 @@ func (c *ImagesDeprecateCall) Header() http.Header { func (c *ImagesDeprecateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66419,7 +66419,7 @@ func (c *ImagesGetCall) Header() http.Header { func (c *ImagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66576,7 +66576,7 @@ func (c *ImagesGetFromFamilyCall) Header() http.Header { func (c *ImagesGetFromFamilyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66740,7 +66740,7 @@ func (c *ImagesGetIamPolicyCall) Header() http.Header { func (c *ImagesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66919,7 +66919,7 @@ func (c *ImagesInsertCall) Header() http.Header { func (c *ImagesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -67162,7 +67162,7 @@ func (c *ImagesListCall) Header() http.Header { func (c *ImagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -67370,7 +67370,7 @@ func (c *ImagesPatchCall) Header() http.Header { func (c *ImagesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -67527,7 +67527,7 @@ func (c *ImagesSetIamPolicyCall) Header() http.Header { func (c *ImagesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -67679,7 +67679,7 @@ func (c *ImagesSetLabelsCall) Header() http.Header { func (c *ImagesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -67831,7 +67831,7 @@ func (c *ImagesTestIamPermissionsCall) Header() http.Header { func (c *ImagesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68020,7 +68020,7 @@ func (c *InstanceGroupManagersAbandonInstancesCall) Header() http.Header { func (c *InstanceGroupManagersAbandonInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68278,7 +68278,7 @@ func (c *InstanceGroupManagersAggregatedListCall) Header() http.Header { func (c *InstanceGroupManagersAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68475,7 +68475,7 @@ func (c *InstanceGroupManagersApplyUpdatesToInstancesCall) Header() http.Header func (c *InstanceGroupManagersApplyUpdatesToInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68658,7 +68658,7 @@ func (c *InstanceGroupManagersCreateInstancesCall) Header() http.Header { func (c *InstanceGroupManagersCreateInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68843,7 +68843,7 @@ func (c *InstanceGroupManagersDeleteCall) Header() http.Header { func (c *InstanceGroupManagersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -69034,7 +69034,7 @@ func (c *InstanceGroupManagersDeleteInstancesCall) Header() http.Header { func (c *InstanceGroupManagersDeleteInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -69200,7 +69200,7 @@ func (c *InstanceGroupManagersDeletePerInstanceConfigsCall) Header() http.Header func (c *InstanceGroupManagersDeletePerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -69371,7 +69371,7 @@ func (c *InstanceGroupManagersGetCall) Header() http.Header { func (c *InstanceGroupManagersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -69553,7 +69553,7 @@ func (c *InstanceGroupManagersInsertCall) Header() http.Header { func (c *InstanceGroupManagersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -69792,7 +69792,7 @@ func (c *InstanceGroupManagersListCall) Header() http.Header { func (c *InstanceGroupManagersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -70074,7 +70074,7 @@ func (c *InstanceGroupManagersListErrorsCall) Header() http.Header { func (c *InstanceGroupManagersListErrorsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -70358,7 +70358,7 @@ func (c *InstanceGroupManagersListManagedInstancesCall) Header() http.Header { func (c *InstanceGroupManagersListManagedInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -70636,7 +70636,7 @@ func (c *InstanceGroupManagersListPerInstanceConfigsCall) Header() http.Header { func (c *InstanceGroupManagersListPerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -70865,7 +70865,7 @@ func (c *InstanceGroupManagersPatchCall) Header() http.Header { func (c *InstanceGroupManagersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71051,7 +71051,7 @@ func (c *InstanceGroupManagersPatchPerInstanceConfigsCall) Header() http.Header func (c *InstanceGroupManagersPatchPerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71249,7 +71249,7 @@ func (c *InstanceGroupManagersRecreateInstancesCall) Header() http.Header { func (c *InstanceGroupManagersRecreateInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71452,7 +71452,7 @@ func (c *InstanceGroupManagersResizeCall) Header() http.Header { func (c *InstanceGroupManagersResizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71640,7 +71640,7 @@ func (c *InstanceGroupManagersSetInstanceTemplateCall) Header() http.Header { func (c *InstanceGroupManagersSetInstanceTemplateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71830,7 +71830,7 @@ func (c *InstanceGroupManagersSetTargetPoolsCall) Header() http.Header { func (c *InstanceGroupManagersSetTargetPoolsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -72016,7 +72016,7 @@ func (c *InstanceGroupManagersUpdatePerInstanceConfigsCall) Header() http.Header func (c *InstanceGroupManagersUpdatePerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -72202,7 +72202,7 @@ func (c *InstanceGroupsAddInstancesCall) Header() http.Header { func (c *InstanceGroupsAddInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -72460,7 +72460,7 @@ func (c *InstanceGroupsAggregatedListCall) Header() http.Header { func (c *InstanceGroupsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -72674,7 +72674,7 @@ func (c *InstanceGroupsDeleteCall) Header() http.Header { func (c *InstanceGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -72844,7 +72844,7 @@ func (c *InstanceGroupsGetCall) Header() http.Header { func (c *InstanceGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -73018,7 +73018,7 @@ func (c *InstanceGroupsInsertCall) Header() http.Header { func (c *InstanceGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -73260,7 +73260,7 @@ func (c *InstanceGroupsListCall) Header() http.Header { func (c *InstanceGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -73532,7 +73532,7 @@ func (c *InstanceGroupsListInstancesCall) Header() http.Header { func (c *InstanceGroupsListInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -73766,7 +73766,7 @@ func (c *InstanceGroupsRemoveInstancesCall) Header() http.Header { func (c *InstanceGroupsRemoveInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -73950,7 +73950,7 @@ func (c *InstanceGroupsSetNamedPortsCall) Header() http.Header { func (c *InstanceGroupsSetNamedPortsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74133,7 +74133,7 @@ func (c *InstanceTemplatesDeleteCall) Header() http.Header { func (c *InstanceTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74292,7 +74292,7 @@ func (c *InstanceTemplatesGetCall) Header() http.Header { func (c *InstanceTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74456,7 +74456,7 @@ func (c *InstanceTemplatesGetIamPolicyCall) Header() http.Header { func (c *InstanceTemplatesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74631,7 +74631,7 @@ func (c *InstanceTemplatesInsertCall) Header() http.Header { func (c *InstanceTemplatesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74861,7 +74861,7 @@ func (c *InstanceTemplatesListCall) Header() http.Header { func (c *InstanceTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -75049,7 +75049,7 @@ func (c *InstanceTemplatesSetIamPolicyCall) Header() http.Header { func (c *InstanceTemplatesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -75201,7 +75201,7 @@ func (c *InstanceTemplatesTestIamPermissionsCall) Header() http.Header { func (c *InstanceTemplatesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -75377,7 +75377,7 @@ func (c *InstancesAddAccessConfigCall) Header() http.Header { func (c *InstancesAddAccessConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -75572,7 +75572,7 @@ func (c *InstancesAddResourcePoliciesCall) Header() http.Header { func (c *InstancesAddResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -75833,7 +75833,7 @@ func (c *InstancesAggregatedListCall) Header() http.Header { func (c *InstancesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76059,7 +76059,7 @@ func (c *InstancesAttachDiskCall) Header() http.Header { func (c *InstancesAttachDiskCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76250,7 +76250,7 @@ func (c *InstancesDeleteCall) Header() http.Header { func (c *InstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76430,7 +76430,7 @@ func (c *InstancesDeleteAccessConfigCall) Header() http.Header { func (c *InstancesDeleteAccessConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76622,7 +76622,7 @@ func (c *InstancesDetachDiskCall) Header() http.Header { func (c *InstancesDetachDiskCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76799,7 +76799,7 @@ func (c *InstancesGetCall) Header() http.Header { func (c *InstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76980,7 +76980,7 @@ func (c *InstancesGetGuestAttributesCall) Header() http.Header { func (c *InstancesGetGuestAttributesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77165,7 +77165,7 @@ func (c *InstancesGetIamPolicyCall) Header() http.Header { func (c *InstancesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77338,7 +77338,7 @@ func (c *InstancesGetScreenshotCall) Header() http.Header { func (c *InstancesGetScreenshotCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77536,7 +77536,7 @@ func (c *InstancesGetSerialPortOutputCall) Header() http.Header { func (c *InstancesGetSerialPortOutputCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77719,7 +77719,7 @@ func (c *InstancesGetShieldedInstanceIdentityCall) Header() http.Header { func (c *InstancesGetShieldedInstanceIdentityCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77911,7 +77911,7 @@ func (c *InstancesInsertCall) Header() http.Header { func (c *InstancesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -78157,7 +78157,7 @@ func (c *InstancesListCall) Header() http.Header { func (c *InstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -78442,7 +78442,7 @@ func (c *InstancesListReferrersCall) Header() http.Header { func (c *InstancesListReferrersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -78668,7 +78668,7 @@ func (c *InstancesRemoveResourcePoliciesCall) Header() http.Header { func (c *InstancesRemoveResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -78855,7 +78855,7 @@ func (c *InstancesResetCall) Header() http.Header { func (c *InstancesResetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79038,7 +79038,7 @@ func (c *InstancesSetDeletionProtectionCall) Header() http.Header { func (c *InstancesSetDeletionProtectionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79224,7 +79224,7 @@ func (c *InstancesSetDiskAutoDeleteCall) Header() http.Header { func (c *InstancesSetDiskAutoDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79399,7 +79399,7 @@ func (c *InstancesSetIamPolicyCall) Header() http.Header { func (c *InstancesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79581,7 +79581,7 @@ func (c *InstancesSetLabelsCall) Header() http.Header { func (c *InstancesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79768,7 +79768,7 @@ func (c *InstancesSetMachineResourcesCall) Header() http.Header { func (c *InstancesSetMachineResourcesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79955,7 +79955,7 @@ func (c *InstancesSetMachineTypeCall) Header() http.Header { func (c *InstancesSetMachineTypeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80143,7 +80143,7 @@ func (c *InstancesSetMetadataCall) Header() http.Header { func (c *InstancesSetMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80332,7 +80332,7 @@ func (c *InstancesSetMinCpuPlatformCall) Header() http.Header { func (c *InstancesSetMinCpuPlatformCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80522,7 +80522,7 @@ func (c *InstancesSetSchedulingCall) Header() http.Header { func (c *InstancesSetSchedulingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80710,7 +80710,7 @@ func (c *InstancesSetServiceAccountCall) Header() http.Header { func (c *InstancesSetServiceAccountCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80899,7 +80899,7 @@ func (c *InstancesSetShieldedInstanceIntegrityPolicyCall) Header() http.Header { func (c *InstancesSetShieldedInstanceIntegrityPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81087,7 +81087,7 @@ func (c *InstancesSetTagsCall) Header() http.Header { func (c *InstancesSetTagsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81253,7 +81253,7 @@ func (c *InstancesSimulateMaintenanceEventCall) Header() http.Header { func (c *InstancesSimulateMaintenanceEventCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81426,7 +81426,7 @@ func (c *InstancesStartCall) Header() http.Header { func (c *InstancesStartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81606,7 +81606,7 @@ func (c *InstancesStartWithEncryptionKeyCall) Header() http.Header { func (c *InstancesStartWithEncryptionKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81796,7 +81796,7 @@ func (c *InstancesStopCall) Header() http.Header { func (c *InstancesStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81956,7 +81956,7 @@ func (c *InstancesTestIamPermissionsCall) Header() http.Header { func (c *InstancesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -82173,7 +82173,7 @@ func (c *InstancesUpdateCall) Header() http.Header { func (c *InstancesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -82397,7 +82397,7 @@ func (c *InstancesUpdateAccessConfigCall) Header() http.Header { func (c *InstancesUpdateAccessConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -82593,7 +82593,7 @@ func (c *InstancesUpdateDisplayDeviceCall) Header() http.Header { func (c *InstancesUpdateDisplayDeviceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -82781,7 +82781,7 @@ func (c *InstancesUpdateNetworkInterfaceCall) Header() http.Header { func (c *InstancesUpdateNetworkInterfaceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -82977,7 +82977,7 @@ func (c *InstancesUpdateShieldedInstanceConfigCall) Header() http.Header { func (c *InstancesUpdateShieldedInstanceConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -83237,7 +83237,7 @@ func (c *InterconnectAttachmentsAggregatedListCall) Header() http.Header { func (c *InterconnectAttachmentsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -83449,7 +83449,7 @@ func (c *InterconnectAttachmentsDeleteCall) Header() http.Header { func (c *InterconnectAttachmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -83617,7 +83617,7 @@ func (c *InterconnectAttachmentsGetCall) Header() http.Header { func (c *InterconnectAttachmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -83800,7 +83800,7 @@ func (c *InterconnectAttachmentsInsertCall) Header() http.Header { func (c *InterconnectAttachmentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -84045,7 +84045,7 @@ func (c *InterconnectAttachmentsListCall) Header() http.Header { func (c *InterconnectAttachmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -84264,7 +84264,7 @@ func (c *InterconnectAttachmentsPatchCall) Header() http.Header { func (c *InterconnectAttachmentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -84440,7 +84440,7 @@ func (c *InterconnectLocationsGetCall) Header() http.Header { func (c *InterconnectLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -84669,7 +84669,7 @@ func (c *InterconnectLocationsListCall) Header() http.Header { func (c *InterconnectLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -84873,7 +84873,7 @@ func (c *InterconnectsDeleteCall) Header() http.Header { func (c *InterconnectsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85031,7 +85031,7 @@ func (c *InterconnectsGetCall) Header() http.Header { func (c *InterconnectsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85188,7 +85188,7 @@ func (c *InterconnectsGetDiagnosticsCall) Header() http.Header { func (c *InterconnectsGetDiagnosticsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85354,7 +85354,7 @@ func (c *InterconnectsInsertCall) Header() http.Header { func (c *InterconnectsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85583,7 +85583,7 @@ func (c *InterconnectsListCall) Header() http.Header { func (c *InterconnectsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85791,7 +85791,7 @@ func (c *InterconnectsPatchCall) Header() http.Header { func (c *InterconnectsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85959,7 +85959,7 @@ func (c *LicenseCodesGetCall) Header() http.Header { func (c *LicenseCodesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86108,7 +86108,7 @@ func (c *LicenseCodesTestIamPermissionsCall) Header() http.Header { func (c *LicenseCodesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86279,7 +86279,7 @@ func (c *LicensesDeleteCall) Header() http.Header { func (c *LicensesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86439,7 +86439,7 @@ func (c *LicensesGetCall) Header() http.Header { func (c *LicensesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86605,7 +86605,7 @@ func (c *LicensesGetIamPolicyCall) Header() http.Header { func (c *LicensesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86777,7 +86777,7 @@ func (c *LicensesInsertCall) Header() http.Header { func (c *LicensesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -87015,7 +87015,7 @@ func (c *LicensesListCall) Header() http.Header { func (c *LicensesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -87205,7 +87205,7 @@ func (c *LicensesSetIamPolicyCall) Header() http.Header { func (c *LicensesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -87358,7 +87358,7 @@ func (c *LicensesTestIamPermissionsCall) Header() http.Header { func (c *LicensesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -87605,7 +87605,7 @@ func (c *MachineTypesAggregatedListCall) Header() http.Header { func (c *MachineTypesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -87810,7 +87810,7 @@ func (c *MachineTypesGetCall) Header() http.Header { func (c *MachineTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88051,7 +88051,7 @@ func (c *MachineTypesListCall) Header() http.Header { func (c *MachineTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88342,7 +88342,7 @@ func (c *NetworkEndpointGroupsAggregatedListCall) Header() http.Header { func (c *NetworkEndpointGroupsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88557,7 +88557,7 @@ func (c *NetworkEndpointGroupsAttachNetworkEndpointsCall) Header() http.Header { func (c *NetworkEndpointGroupsAttachNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88742,7 +88742,7 @@ func (c *NetworkEndpointGroupsDeleteCall) Header() http.Header { func (c *NetworkEndpointGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88919,7 +88919,7 @@ func (c *NetworkEndpointGroupsDetachNetworkEndpointsCall) Header() http.Header { func (c *NetworkEndpointGroupsDetachNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -89094,7 +89094,7 @@ func (c *NetworkEndpointGroupsGetCall) Header() http.Header { func (c *NetworkEndpointGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -89268,7 +89268,7 @@ func (c *NetworkEndpointGroupsInsertCall) Header() http.Header { func (c *NetworkEndpointGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -89507,7 +89507,7 @@ func (c *NetworkEndpointGroupsListCall) Header() http.Header { func (c *NetworkEndpointGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -89779,7 +89779,7 @@ func (c *NetworkEndpointGroupsListNetworkEndpointsCall) Header() http.Header { func (c *NetworkEndpointGroupsListNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -89992,7 +89992,7 @@ func (c *NetworkEndpointGroupsTestIamPermissionsCall) Header() http.Header { func (c *NetworkEndpointGroupsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -90172,7 +90172,7 @@ func (c *NetworksAddPeeringCall) Header() http.Header { func (c *NetworksAddPeeringCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -90346,7 +90346,7 @@ func (c *NetworksDeleteCall) Header() http.Header { func (c *NetworksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -90505,7 +90505,7 @@ func (c *NetworksGetCall) Header() http.Header { func (c *NetworksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -90671,7 +90671,7 @@ func (c *NetworksInsertCall) Header() http.Header { func (c *NetworksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -90901,7 +90901,7 @@ func (c *NetworksListCall) Header() http.Header { func (c *NetworksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -91198,7 +91198,7 @@ func (c *NetworksListPeeringRoutesCall) Header() http.Header { func (c *NetworksListPeeringRoutesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -91438,7 +91438,7 @@ func (c *NetworksPatchCall) Header() http.Header { func (c *NetworksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -91613,7 +91613,7 @@ func (c *NetworksRemovePeeringCall) Header() http.Header { func (c *NetworksRemovePeeringCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -91787,7 +91787,7 @@ func (c *NetworksSwitchToCustomModeCall) Header() http.Header { func (c *NetworksSwitchToCustomModeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -91957,7 +91957,7 @@ func (c *NetworksUpdatePeeringCall) Header() http.Header { func (c *NetworksUpdatePeeringCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -92134,7 +92134,7 @@ func (c *NodeGroupsAddNodesCall) Header() http.Header { func (c *NodeGroupsAddNodesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -92394,7 +92394,7 @@ func (c *NodeGroupsAggregatedListCall) Header() http.Header { func (c *NodeGroupsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -92605,7 +92605,7 @@ func (c *NodeGroupsDeleteCall) Header() http.Header { func (c *NodeGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -92783,7 +92783,7 @@ func (c *NodeGroupsDeleteNodesCall) Header() http.Header { func (c *NodeGroupsDeleteNodesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -92961,7 +92961,7 @@ func (c *NodeGroupsGetCall) Header() http.Header { func (c *NodeGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -93136,7 +93136,7 @@ func (c *NodeGroupsGetIamPolicyCall) Header() http.Header { func (c *NodeGroupsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -93319,7 +93319,7 @@ func (c *NodeGroupsInsertCall) Header() http.Header { func (c *NodeGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -93568,7 +93568,7 @@ func (c *NodeGroupsListCall) Header() http.Header { func (c *NodeGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -93838,7 +93838,7 @@ func (c *NodeGroupsListNodesCall) Header() http.Header { func (c *NodeGroupsListNodesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94061,7 +94061,7 @@ func (c *NodeGroupsPatchCall) Header() http.Header { func (c *NodeGroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94229,7 +94229,7 @@ func (c *NodeGroupsSetIamPolicyCall) Header() http.Header { func (c *NodeGroupsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94410,7 +94410,7 @@ func (c *NodeGroupsSetNodeTemplateCall) Header() http.Header { func (c *NodeGroupsSetNodeTemplateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94578,7 +94578,7 @@ func (c *NodeGroupsTestIamPermissionsCall) Header() http.Header { func (c *NodeGroupsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94833,7 +94833,7 @@ func (c *NodeTemplatesAggregatedListCall) Header() http.Header { func (c *NodeTemplatesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95044,7 +95044,7 @@ func (c *NodeTemplatesDeleteCall) Header() http.Header { func (c *NodeTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95213,7 +95213,7 @@ func (c *NodeTemplatesGetCall) Header() http.Header { func (c *NodeTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95388,7 +95388,7 @@ func (c *NodeTemplatesGetIamPolicyCall) Header() http.Header { func (c *NodeTemplatesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95570,7 +95570,7 @@ func (c *NodeTemplatesInsertCall) Header() http.Header { func (c *NodeTemplatesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95810,7 +95810,7 @@ func (c *NodeTemplatesListCall) Header() http.Header { func (c *NodeTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -96009,7 +96009,7 @@ func (c *NodeTemplatesSetIamPolicyCall) Header() http.Header { func (c *NodeTemplatesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -96172,7 +96172,7 @@ func (c *NodeTemplatesTestIamPermissionsCall) Header() http.Header { func (c *NodeTemplatesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -96427,7 +96427,7 @@ func (c *NodeTypesAggregatedListCall) Header() http.Header { func (c *NodeTypesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -96631,7 +96631,7 @@ func (c *NodeTypesGetCall) Header() http.Header { func (c *NodeTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -96871,7 +96871,7 @@ func (c *NodeTypesListCall) Header() http.Header { func (c *NodeTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -97161,7 +97161,7 @@ func (c *PacketMirroringsAggregatedListCall) Header() http.Header { func (c *PacketMirroringsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -97372,7 +97372,7 @@ func (c *PacketMirroringsDeleteCall) Header() http.Header { func (c *PacketMirroringsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -97540,7 +97540,7 @@ func (c *PacketMirroringsGetCall) Header() http.Header { func (c *PacketMirroringsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -97716,7 +97716,7 @@ func (c *PacketMirroringsInsertCall) Header() http.Header { func (c *PacketMirroringsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -97956,7 +97956,7 @@ func (c *PacketMirroringsListCall) Header() http.Header { func (c *PacketMirroringsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -98175,7 +98175,7 @@ func (c *PacketMirroringsPatchCall) Header() http.Header { func (c *PacketMirroringsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -98343,7 +98343,7 @@ func (c *PacketMirroringsTestIamPermissionsCall) Header() http.Header { func (c *PacketMirroringsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -98519,7 +98519,7 @@ func (c *ProjectsDisableXpnHostCall) Header() http.Header { func (c *ProjectsDisableXpnHostCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -98676,7 +98676,7 @@ func (c *ProjectsDisableXpnResourceCall) Header() http.Header { func (c *ProjectsDisableXpnResourceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -98838,7 +98838,7 @@ func (c *ProjectsEnableXpnHostCall) Header() http.Header { func (c *ProjectsEnableXpnHostCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -98996,7 +98996,7 @@ func (c *ProjectsEnableXpnResourceCall) Header() http.Header { func (c *ProjectsEnableXpnResourceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -99151,7 +99151,7 @@ func (c *ProjectsGetCall) Header() http.Header { func (c *ProjectsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -99297,7 +99297,7 @@ func (c *ProjectsGetXpnHostCall) Header() http.Header { func (c *ProjectsGetXpnHostCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -99516,7 +99516,7 @@ func (c *ProjectsGetXpnResourcesCall) Header() http.Header { func (c *ProjectsGetXpnResourcesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -99775,7 +99775,7 @@ func (c *ProjectsListXpnHostsCall) Header() http.Header { func (c *ProjectsListXpnHostsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -99983,7 +99983,7 @@ func (c *ProjectsMoveDiskCall) Header() http.Header { func (c *ProjectsMoveDiskCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -100148,7 +100148,7 @@ func (c *ProjectsMoveInstanceCall) Header() http.Header { func (c *ProjectsMoveInstanceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -100314,7 +100314,7 @@ func (c *ProjectsSetCommonInstanceMetadataCall) Header() http.Header { func (c *ProjectsSetCommonInstanceMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -100481,7 +100481,7 @@ func (c *ProjectsSetDefaultNetworkTierCall) Header() http.Header { func (c *ProjectsSetDefaultNetworkTierCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -100649,7 +100649,7 @@ func (c *ProjectsSetUsageExportBucketCall) Header() http.Header { func (c *ProjectsSetUsageExportBucketCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -100818,7 +100818,7 @@ func (c *RegionAutoscalersDeleteCall) Header() http.Header { func (c *RegionAutoscalersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -100986,7 +100986,7 @@ func (c *RegionAutoscalersGetCall) Header() http.Header { func (c *RegionAutoscalersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101162,7 +101162,7 @@ func (c *RegionAutoscalersInsertCall) Header() http.Header { func (c *RegionAutoscalersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101402,7 +101402,7 @@ func (c *RegionAutoscalersListCall) Header() http.Header { func (c *RegionAutoscalersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101626,7 +101626,7 @@ func (c *RegionAutoscalersPatchCall) Header() http.Header { func (c *RegionAutoscalersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101815,7 +101815,7 @@ func (c *RegionAutoscalersUpdateCall) Header() http.Header { func (c *RegionAutoscalersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101996,7 +101996,7 @@ func (c *RegionBackendServicesDeleteCall) Header() http.Header { func (c *RegionBackendServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102164,7 +102164,7 @@ func (c *RegionBackendServicesGetCall) Header() http.Header { func (c *RegionBackendServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102323,7 +102323,7 @@ func (c *RegionBackendServicesGetHealthCall) Header() http.Header { func (c *RegionBackendServicesGetHealthCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102504,7 +102504,7 @@ func (c *RegionBackendServicesInsertCall) Header() http.Header { func (c *RegionBackendServicesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102744,7 +102744,7 @@ func (c *RegionBackendServicesListCall) Header() http.Header { func (c *RegionBackendServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102964,7 +102964,7 @@ func (c *RegionBackendServicesPatchCall) Header() http.Header { func (c *RegionBackendServicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -103152,7 +103152,7 @@ func (c *RegionBackendServicesUpdateCall) Header() http.Header { func (c *RegionBackendServicesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -103411,7 +103411,7 @@ func (c *RegionCommitmentsAggregatedListCall) Header() http.Header { func (c *RegionCommitmentsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -103615,7 +103615,7 @@ func (c *RegionCommitmentsGetCall) Header() http.Header { func (c *RegionCommitmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -103791,7 +103791,7 @@ func (c *RegionCommitmentsInsertCall) Header() http.Header { func (c *RegionCommitmentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104031,7 +104031,7 @@ func (c *RegionCommitmentsListCall) Header() http.Header { func (c *RegionCommitmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104239,7 +104239,7 @@ func (c *RegionDiskTypesGetCall) Header() http.Header { func (c *RegionDiskTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104479,7 +104479,7 @@ func (c *RegionDiskTypesListCall) Header() http.Header { func (c *RegionDiskTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104698,7 +104698,7 @@ func (c *RegionDisksAddResourcePoliciesCall) Header() http.Header { func (c *RegionDisksAddResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104884,7 +104884,7 @@ func (c *RegionDisksCreateSnapshotCall) Header() http.Header { func (c *RegionDisksCreateSnapshotCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -105071,7 +105071,7 @@ func (c *RegionDisksDeleteCall) Header() http.Header { func (c *RegionDisksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -105238,7 +105238,7 @@ func (c *RegionDisksGetCall) Header() http.Header { func (c *RegionDisksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -105413,7 +105413,7 @@ func (c *RegionDisksGetIamPolicyCall) Header() http.Header { func (c *RegionDisksGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -105602,7 +105602,7 @@ func (c *RegionDisksInsertCall) Header() http.Header { func (c *RegionDisksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -105847,7 +105847,7 @@ func (c *RegionDisksListCall) Header() http.Header { func (c *RegionDisksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -106065,7 +106065,7 @@ func (c *RegionDisksRemoveResourcePoliciesCall) Header() http.Header { func (c *RegionDisksRemoveResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -106251,7 +106251,7 @@ func (c *RegionDisksResizeCall) Header() http.Header { func (c *RegionDisksResizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -106419,7 +106419,7 @@ func (c *RegionDisksSetIamPolicyCall) Header() http.Header { func (c *RegionDisksSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -106600,7 +106600,7 @@ func (c *RegionDisksSetLabelsCall) Header() http.Header { func (c *RegionDisksSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -106768,7 +106768,7 @@ func (c *RegionDisksTestIamPermissionsCall) Header() http.Header { func (c *RegionDisksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -106948,7 +106948,7 @@ func (c *RegionHealthCheckServicesDeleteCall) Header() http.Header { func (c *RegionHealthCheckServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107115,7 +107115,7 @@ func (c *RegionHealthCheckServicesGetCall) Header() http.Header { func (c *RegionHealthCheckServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107290,7 +107290,7 @@ func (c *RegionHealthCheckServicesInsertCall) Header() http.Header { func (c *RegionHealthCheckServicesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107530,7 +107530,7 @@ func (c *RegionHealthCheckServicesListCall) Header() http.Header { func (c *RegionHealthCheckServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107749,7 +107749,7 @@ func (c *RegionHealthCheckServicesPatchCall) Header() http.Header { func (c *RegionHealthCheckServicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107932,7 +107932,7 @@ func (c *RegionHealthChecksDeleteCall) Header() http.Header { func (c *RegionHealthChecksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -108101,7 +108101,7 @@ func (c *RegionHealthChecksGetCall) Header() http.Header { func (c *RegionHealthChecksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -108277,7 +108277,7 @@ func (c *RegionHealthChecksInsertCall) Header() http.Header { func (c *RegionHealthChecksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -108517,7 +108517,7 @@ func (c *RegionHealthChecksListCall) Header() http.Header { func (c *RegionHealthChecksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -108736,7 +108736,7 @@ func (c *RegionHealthChecksPatchCall) Header() http.Header { func (c *RegionHealthChecksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -108923,7 +108923,7 @@ func (c *RegionHealthChecksUpdateCall) Header() http.Header { func (c *RegionHealthChecksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109125,7 +109125,7 @@ func (c *RegionInstanceGroupManagersAbandonInstancesCall) Header() http.Header { func (c *RegionInstanceGroupManagersAbandonInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109291,7 +109291,7 @@ func (c *RegionInstanceGroupManagersApplyUpdatesToInstancesCall) Header() http.H func (c *RegionInstanceGroupManagersApplyUpdatesToInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109474,7 +109474,7 @@ func (c *RegionInstanceGroupManagersCreateInstancesCall) Header() http.Header { func (c *RegionInstanceGroupManagersCreateInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109657,7 +109657,7 @@ func (c *RegionInstanceGroupManagersDeleteCall) Header() http.Header { func (c *RegionInstanceGroupManagersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109849,7 +109849,7 @@ func (c *RegionInstanceGroupManagersDeleteInstancesCall) Header() http.Header { func (c *RegionInstanceGroupManagersDeleteInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110015,7 +110015,7 @@ func (c *RegionInstanceGroupManagersDeletePerInstanceConfigsCall) Header() http. func (c *RegionInstanceGroupManagersDeletePerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110185,7 +110185,7 @@ func (c *RegionInstanceGroupManagersGetCall) Header() http.Header { func (c *RegionInstanceGroupManagersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110366,7 +110366,7 @@ func (c *RegionInstanceGroupManagersInsertCall) Header() http.Header { func (c *RegionInstanceGroupManagersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110605,7 +110605,7 @@ func (c *RegionInstanceGroupManagersListCall) Header() http.Header { func (c *RegionInstanceGroupManagersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110887,7 +110887,7 @@ func (c *RegionInstanceGroupManagersListErrorsCall) Header() http.Header { func (c *RegionInstanceGroupManagersListErrorsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -111169,7 +111169,7 @@ func (c *RegionInstanceGroupManagersListManagedInstancesCall) Header() http.Head func (c *RegionInstanceGroupManagersListManagedInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -111447,7 +111447,7 @@ func (c *RegionInstanceGroupManagersListPerInstanceConfigsCall) Header() http.He func (c *RegionInstanceGroupManagersListPerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -111676,7 +111676,7 @@ func (c *RegionInstanceGroupManagersPatchCall) Header() http.Header { func (c *RegionInstanceGroupManagersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -111863,7 +111863,7 @@ func (c *RegionInstanceGroupManagersPatchPerInstanceConfigsCall) Header() http.H func (c *RegionInstanceGroupManagersPatchPerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -112061,7 +112061,7 @@ func (c *RegionInstanceGroupManagersRecreateInstancesCall) Header() http.Header func (c *RegionInstanceGroupManagersRecreateInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -112256,7 +112256,7 @@ func (c *RegionInstanceGroupManagersResizeCall) Header() http.Header { func (c *RegionInstanceGroupManagersResizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -112443,7 +112443,7 @@ func (c *RegionInstanceGroupManagersSetInstanceTemplateCall) Header() http.Heade func (c *RegionInstanceGroupManagersSetInstanceTemplateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -112629,7 +112629,7 @@ func (c *RegionInstanceGroupManagersSetTargetPoolsCall) Header() http.Header { func (c *RegionInstanceGroupManagersSetTargetPoolsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -112816,7 +112816,7 @@ func (c *RegionInstanceGroupManagersUpdatePerInstanceConfigsCall) Header() http. func (c *RegionInstanceGroupManagersUpdatePerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -112990,7 +112990,7 @@ func (c *RegionInstanceGroupsGetCall) Header() http.Header { func (c *RegionInstanceGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -113228,7 +113228,7 @@ func (c *RegionInstanceGroupsListCall) Header() http.Header { func (c *RegionInstanceGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -113503,7 +113503,7 @@ func (c *RegionInstanceGroupsListInstancesCall) Header() http.Header { func (c *RegionInstanceGroupsListInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -113734,7 +113734,7 @@ func (c *RegionInstanceGroupsSetNamedPortsCall) Header() http.Header { func (c *RegionInstanceGroupsSetNamedPortsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -113918,7 +113918,7 @@ func (c *RegionNetworkEndpointGroupsDeleteCall) Header() http.Header { func (c *RegionNetworkEndpointGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114085,7 +114085,7 @@ func (c *RegionNetworkEndpointGroupsGetCall) Header() http.Header { func (c *RegionNetworkEndpointGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114259,7 +114259,7 @@ func (c *RegionNetworkEndpointGroupsInsertCall) Header() http.Header { func (c *RegionNetworkEndpointGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114498,7 +114498,7 @@ func (c *RegionNetworkEndpointGroupsListCall) Header() http.Header { func (c *RegionNetworkEndpointGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114713,7 +114713,7 @@ func (c *RegionNotificationEndpointsDeleteCall) Header() http.Header { func (c *RegionNotificationEndpointsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114882,7 +114882,7 @@ func (c *RegionNotificationEndpointsGetCall) Header() http.Header { func (c *RegionNotificationEndpointsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -115058,7 +115058,7 @@ func (c *RegionNotificationEndpointsInsertCall) Header() http.Header { func (c *RegionNotificationEndpointsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -115298,7 +115298,7 @@ func (c *RegionNotificationEndpointsListCall) Header() http.Header { func (c *RegionNotificationEndpointsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -115495,7 +115495,7 @@ func (c *RegionOperationsDeleteCall) Header() http.Header { func (c *RegionOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -115631,7 +115631,7 @@ func (c *RegionOperationsGetCall) Header() http.Header { func (c *RegionOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -115872,7 +115872,7 @@ func (c *RegionOperationsListCall) Header() http.Header { func (c *RegionOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -116081,7 +116081,7 @@ func (c *RegionOperationsWaitCall) Header() http.Header { func (c *RegionOperationsWaitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -116253,7 +116253,7 @@ func (c *RegionSslCertificatesDeleteCall) Header() http.Header { func (c *RegionSslCertificatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -116423,7 +116423,7 @@ func (c *RegionSslCertificatesGetCall) Header() http.Header { func (c *RegionSslCertificatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -116599,7 +116599,7 @@ func (c *RegionSslCertificatesInsertCall) Header() http.Header { func (c *RegionSslCertificatesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -116839,7 +116839,7 @@ func (c *RegionSslCertificatesListCall) Header() http.Header { func (c *RegionSslCertificatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -117054,7 +117054,7 @@ func (c *RegionTargetHttpProxiesDeleteCall) Header() http.Header { func (c *RegionTargetHttpProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -117224,7 +117224,7 @@ func (c *RegionTargetHttpProxiesGetCall) Header() http.Header { func (c *RegionTargetHttpProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -117400,7 +117400,7 @@ func (c *RegionTargetHttpProxiesInsertCall) Header() http.Header { func (c *RegionTargetHttpProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -117640,7 +117640,7 @@ func (c *RegionTargetHttpProxiesListCall) Header() http.Header { func (c *RegionTargetHttpProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -117857,7 +117857,7 @@ func (c *RegionTargetHttpProxiesSetUrlMapCall) Header() http.Header { func (c *RegionTargetHttpProxiesSetUrlMapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -118041,7 +118041,7 @@ func (c *RegionTargetHttpsProxiesDeleteCall) Header() http.Header { func (c *RegionTargetHttpsProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -118211,7 +118211,7 @@ func (c *RegionTargetHttpsProxiesGetCall) Header() http.Header { func (c *RegionTargetHttpsProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -118387,7 +118387,7 @@ func (c *RegionTargetHttpsProxiesInsertCall) Header() http.Header { func (c *RegionTargetHttpsProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -118627,7 +118627,7 @@ func (c *RegionTargetHttpsProxiesListCall) Header() http.Header { func (c *RegionTargetHttpsProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -118844,7 +118844,7 @@ func (c *RegionTargetHttpsProxiesSetSslCertificatesCall) Header() http.Header { func (c *RegionTargetHttpsProxiesSetSslCertificatesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119030,7 +119030,7 @@ func (c *RegionTargetHttpsProxiesSetUrlMapCall) Header() http.Header { func (c *RegionTargetHttpsProxiesSetUrlMapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119202,7 +119202,7 @@ func (c *RegionUrlMapsDeleteCall) Header() http.Header { func (c *RegionUrlMapsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119371,7 +119371,7 @@ func (c *RegionUrlMapsGetCall) Header() http.Header { func (c *RegionUrlMapsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119535,7 +119535,7 @@ func (c *RegionUrlMapsInsertCall) Header() http.Header { func (c *RegionUrlMapsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119775,7 +119775,7 @@ func (c *RegionUrlMapsListCall) Header() http.Header { func (c *RegionUrlMapsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119982,7 +119982,7 @@ func (c *RegionUrlMapsPatchCall) Header() http.Header { func (c *RegionUrlMapsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -120157,7 +120157,7 @@ func (c *RegionUrlMapsUpdateCall) Header() http.Header { func (c *RegionUrlMapsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -120326,7 +120326,7 @@ func (c *RegionUrlMapsValidateCall) Header() http.Header { func (c *RegionUrlMapsValidateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -120497,7 +120497,7 @@ func (c *RegionsGetCall) Header() http.Header { func (c *RegionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -120727,7 +120727,7 @@ func (c *RegionsListCall) Header() http.Header { func (c *RegionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121008,7 +121008,7 @@ func (c *ReservationsAggregatedListCall) Header() http.Header { func (c *ReservationsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121219,7 +121219,7 @@ func (c *ReservationsDeleteCall) Header() http.Header { func (c *ReservationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121387,7 +121387,7 @@ func (c *ReservationsGetCall) Header() http.Header { func (c *ReservationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121562,7 +121562,7 @@ func (c *ReservationsGetIamPolicyCall) Header() http.Header { func (c *ReservationsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121744,7 +121744,7 @@ func (c *ReservationsInsertCall) Header() http.Header { func (c *ReservationsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121984,7 +121984,7 @@ func (c *ReservationsListCall) Header() http.Header { func (c *ReservationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -122203,7 +122203,7 @@ func (c *ReservationsResizeCall) Header() http.Header { func (c *ReservationsResizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -122371,7 +122371,7 @@ func (c *ReservationsSetIamPolicyCall) Header() http.Header { func (c *ReservationsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -122534,7 +122534,7 @@ func (c *ReservationsTestIamPermissionsCall) Header() http.Header { func (c *ReservationsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -122789,7 +122789,7 @@ func (c *ResourcePoliciesAggregatedListCall) Header() http.Header { func (c *ResourcePoliciesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -123000,7 +123000,7 @@ func (c *ResourcePoliciesDeleteCall) Header() http.Header { func (c *ResourcePoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -123168,7 +123168,7 @@ func (c *ResourcePoliciesGetCall) Header() http.Header { func (c *ResourcePoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -123343,7 +123343,7 @@ func (c *ResourcePoliciesGetIamPolicyCall) Header() http.Header { func (c *ResourcePoliciesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -123524,7 +123524,7 @@ func (c *ResourcePoliciesInsertCall) Header() http.Header { func (c *ResourcePoliciesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -123764,7 +123764,7 @@ func (c *ResourcePoliciesListCall) Header() http.Header { func (c *ResourcePoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -123963,7 +123963,7 @@ func (c *ResourcePoliciesSetIamPolicyCall) Header() http.Header { func (c *ResourcePoliciesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -124126,7 +124126,7 @@ func (c *ResourcePoliciesTestIamPermissionsCall) Header() http.Header { func (c *ResourcePoliciesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -124381,7 +124381,7 @@ func (c *RoutersAggregatedListCall) Header() http.Header { func (c *RoutersAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -124592,7 +124592,7 @@ func (c *RoutersDeleteCall) Header() http.Header { func (c *RoutersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -124761,7 +124761,7 @@ func (c *RoutersGetCall) Header() http.Header { func (c *RoutersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125003,7 +125003,7 @@ func (c *RoutersGetNatMappingInfoCall) Header() http.Header { func (c *RoutersGetNatMappingInfoCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125220,7 +125220,7 @@ func (c *RoutersGetRouterStatusCall) Header() http.Header { func (c *RoutersGetRouterStatusCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125396,7 +125396,7 @@ func (c *RoutersInsertCall) Header() http.Header { func (c *RoutersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125636,7 +125636,7 @@ func (c *RoutersListCall) Header() http.Header { func (c *RoutersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125855,7 +125855,7 @@ func (c *RoutersPatchCall) Header() http.Header { func (c *RoutersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -126024,7 +126024,7 @@ func (c *RoutersPreviewCall) Header() http.Header { func (c *RoutersPreviewCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -126210,7 +126210,7 @@ func (c *RoutersUpdateCall) Header() http.Header { func (c *RoutersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -126393,7 +126393,7 @@ func (c *RoutesDeleteCall) Header() http.Header { func (c *RoutesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -126552,7 +126552,7 @@ func (c *RoutesGetCall) Header() http.Header { func (c *RoutesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -126718,7 +126718,7 @@ func (c *RoutesInsertCall) Header() http.Header { func (c *RoutesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -126948,7 +126948,7 @@ func (c *RoutesListCall) Header() http.Header { func (c *RoutesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -127135,7 +127135,7 @@ func (c *SecurityPoliciesAddRuleCall) Header() http.Header { func (c *SecurityPoliciesAddRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -127303,7 +127303,7 @@ func (c *SecurityPoliciesDeleteCall) Header() http.Header { func (c *SecurityPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -127461,7 +127461,7 @@ func (c *SecurityPoliciesGetCall) Header() http.Header { func (c *SecurityPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -127624,7 +127624,7 @@ func (c *SecurityPoliciesGetRuleCall) Header() http.Header { func (c *SecurityPoliciesGetRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -127795,7 +127795,7 @@ func (c *SecurityPoliciesInsertCall) Header() http.Header { func (c *SecurityPoliciesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -128024,7 +128024,7 @@ func (c *SecurityPoliciesListCall) Header() http.Header { func (c *SecurityPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -128293,7 +128293,7 @@ func (c *SecurityPoliciesListPreconfiguredExpressionSetsCall) Header() http.Head func (c *SecurityPoliciesListPreconfiguredExpressionSetsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -128481,7 +128481,7 @@ func (c *SecurityPoliciesPatchCall) Header() http.Header { func (c *SecurityPoliciesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -128644,7 +128644,7 @@ func (c *SecurityPoliciesPatchRuleCall) Header() http.Header { func (c *SecurityPoliciesPatchRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -128806,7 +128806,7 @@ func (c *SecurityPoliciesRemoveRuleCall) Header() http.Header { func (c *SecurityPoliciesRemoveRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -128979,7 +128979,7 @@ func (c *SnapshotsDeleteCall) Header() http.Header { func (c *SnapshotsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129138,7 +129138,7 @@ func (c *SnapshotsGetCall) Header() http.Header { func (c *SnapshotsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129302,7 +129302,7 @@ func (c *SnapshotsGetIamPolicyCall) Header() http.Header { func (c *SnapshotsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129538,7 +129538,7 @@ func (c *SnapshotsListCall) Header() http.Header { func (c *SnapshotsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129726,7 +129726,7 @@ func (c *SnapshotsSetIamPolicyCall) Header() http.Header { func (c *SnapshotsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129878,7 +129878,7 @@ func (c *SnapshotsSetLabelsCall) Header() http.Header { func (c *SnapshotsSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -130030,7 +130030,7 @@ func (c *SnapshotsTestIamPermissionsCall) Header() http.Header { func (c *SnapshotsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -130277,7 +130277,7 @@ func (c *SslCertificatesAggregatedListCall) Header() http.Header { func (c *SslCertificatesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -130486,7 +130486,7 @@ func (c *SslCertificatesDeleteCall) Header() http.Header { func (c *SslCertificatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -130644,7 +130644,7 @@ func (c *SslCertificatesGetCall) Header() http.Header { func (c *SslCertificatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -130809,7 +130809,7 @@ func (c *SslCertificatesInsertCall) Header() http.Header { func (c *SslCertificatesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -131038,7 +131038,7 @@ func (c *SslCertificatesListCall) Header() http.Header { func (c *SslCertificatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -131244,7 +131244,7 @@ func (c *SslPoliciesDeleteCall) Header() http.Header { func (c *SslPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -131401,7 +131401,7 @@ func (c *SslPoliciesGetCall) Header() http.Header { func (c *SslPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -131565,7 +131565,7 @@ func (c *SslPoliciesInsertCall) Header() http.Header { func (c *SslPoliciesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -131794,7 +131794,7 @@ func (c *SslPoliciesListCall) Header() http.Header { func (c *SslPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -132063,7 +132063,7 @@ func (c *SslPoliciesListAvailableFeaturesCall) Header() http.Header { func (c *SslPoliciesListAvailableFeaturesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -132251,7 +132251,7 @@ func (c *SslPoliciesPatchCall) Header() http.Header { func (c *SslPoliciesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -132500,7 +132500,7 @@ func (c *SubnetworksAggregatedListCall) Header() http.Header { func (c *SubnetworksAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -132711,7 +132711,7 @@ func (c *SubnetworksDeleteCall) Header() http.Header { func (c *SubnetworksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -132890,7 +132890,7 @@ func (c *SubnetworksExpandIpCidrRangeCall) Header() http.Header { func (c *SubnetworksExpandIpCidrRangeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -133067,7 +133067,7 @@ func (c *SubnetworksGetCall) Header() http.Header { func (c *SubnetworksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -133242,7 +133242,7 @@ func (c *SubnetworksGetIamPolicyCall) Header() http.Header { func (c *SubnetworksGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -133424,7 +133424,7 @@ func (c *SubnetworksInsertCall) Header() http.Header { func (c *SubnetworksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -133664,7 +133664,7 @@ func (c *SubnetworksListCall) Header() http.Header { func (c *SubnetworksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -133942,7 +133942,7 @@ func (c *SubnetworksListUsableCall) Header() http.Header { func (c *SubnetworksListUsableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -134168,7 +134168,7 @@ func (c *SubnetworksPatchCall) Header() http.Header { func (c *SubnetworksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -134342,7 +134342,7 @@ func (c *SubnetworksSetIamPolicyCall) Header() http.Header { func (c *SubnetworksSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -134525,7 +134525,7 @@ func (c *SubnetworksSetPrivateIpGoogleAccessCall) Header() http.Header { func (c *SubnetworksSetPrivateIpGoogleAccessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -134693,7 +134693,7 @@ func (c *SubnetworksTestIamPermissionsCall) Header() http.Header { func (c *SubnetworksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -134871,7 +134871,7 @@ func (c *TargetGrpcProxiesDeleteCall) Header() http.Header { func (c *TargetGrpcProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -135029,7 +135029,7 @@ func (c *TargetGrpcProxiesGetCall) Header() http.Header { func (c *TargetGrpcProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -135194,7 +135194,7 @@ func (c *TargetGrpcProxiesInsertCall) Header() http.Header { func (c *TargetGrpcProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -135422,7 +135422,7 @@ func (c *TargetGrpcProxiesListCall) Header() http.Header { func (c *TargetGrpcProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -135630,7 +135630,7 @@ func (c *TargetGrpcProxiesPatchCall) Header() http.Header { func (c *TargetGrpcProxiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -135881,7 +135881,7 @@ func (c *TargetHttpProxiesAggregatedListCall) Header() http.Header { func (c *TargetHttpProxiesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -136091,7 +136091,7 @@ func (c *TargetHttpProxiesDeleteCall) Header() http.Header { func (c *TargetHttpProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -136250,7 +136250,7 @@ func (c *TargetHttpProxiesGetCall) Header() http.Header { func (c *TargetHttpProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -136416,7 +136416,7 @@ func (c *TargetHttpProxiesInsertCall) Header() http.Header { func (c *TargetHttpProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -136646,7 +136646,7 @@ func (c *TargetHttpProxiesListCall) Header() http.Header { func (c *TargetHttpProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -136855,7 +136855,7 @@ func (c *TargetHttpProxiesPatchCall) Header() http.Header { func (c *TargetHttpProxiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -137031,7 +137031,7 @@ func (c *TargetHttpProxiesSetUrlMapCall) Header() http.Header { func (c *TargetHttpProxiesSetUrlMapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -137282,7 +137282,7 @@ func (c *TargetHttpsProxiesAggregatedListCall) Header() http.Header { func (c *TargetHttpsProxiesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -137491,7 +137491,7 @@ func (c *TargetHttpsProxiesDeleteCall) Header() http.Header { func (c *TargetHttpsProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -137649,7 +137649,7 @@ func (c *TargetHttpsProxiesGetCall) Header() http.Header { func (c *TargetHttpsProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -137814,7 +137814,7 @@ func (c *TargetHttpsProxiesInsertCall) Header() http.Header { func (c *TargetHttpsProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -138043,7 +138043,7 @@ func (c *TargetHttpsProxiesListCall) Header() http.Header { func (c *TargetHttpsProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -138249,7 +138249,7 @@ func (c *TargetHttpsProxiesSetQuicOverrideCall) Header() http.Header { func (c *TargetHttpsProxiesSetQuicOverrideCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -138423,7 +138423,7 @@ func (c *TargetHttpsProxiesSetSslCertificatesCall) Header() http.Header { func (c *TargetHttpsProxiesSetSslCertificatesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -138602,7 +138602,7 @@ func (c *TargetHttpsProxiesSetSslPolicyCall) Header() http.Header { func (c *TargetHttpsProxiesSetSslPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -138776,7 +138776,7 @@ func (c *TargetHttpsProxiesSetUrlMapCall) Header() http.Header { func (c *TargetHttpsProxiesSetUrlMapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -139027,7 +139027,7 @@ func (c *TargetInstancesAggregatedListCall) Header() http.Header { func (c *TargetInstancesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -139239,7 +139239,7 @@ func (c *TargetInstancesDeleteCall) Header() http.Header { func (c *TargetInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -139409,7 +139409,7 @@ func (c *TargetInstancesGetCall) Header() http.Header { func (c *TargetInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -139586,7 +139586,7 @@ func (c *TargetInstancesInsertCall) Header() http.Header { func (c *TargetInstancesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -139827,7 +139827,7 @@ func (c *TargetInstancesListCall) Header() http.Header { func (c *TargetInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -140045,7 +140045,7 @@ func (c *TargetPoolsAddHealthCheckCall) Header() http.Header { func (c *TargetPoolsAddHealthCheckCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -140232,7 +140232,7 @@ func (c *TargetPoolsAddInstanceCall) Header() http.Header { func (c *TargetPoolsAddInstanceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -140492,7 +140492,7 @@ func (c *TargetPoolsAggregatedListCall) Header() http.Header { func (c *TargetPoolsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -140704,7 +140704,7 @@ func (c *TargetPoolsDeleteCall) Header() http.Header { func (c *TargetPoolsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -140874,7 +140874,7 @@ func (c *TargetPoolsGetCall) Header() http.Header { func (c *TargetPoolsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -141034,7 +141034,7 @@ func (c *TargetPoolsGetHealthCall) Header() http.Header { func (c *TargetPoolsGetHealthCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -141216,7 +141216,7 @@ func (c *TargetPoolsInsertCall) Header() http.Header { func (c *TargetPoolsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -141457,7 +141457,7 @@ func (c *TargetPoolsListCall) Header() http.Header { func (c *TargetPoolsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -141675,7 +141675,7 @@ func (c *TargetPoolsRemoveHealthCheckCall) Header() http.Header { func (c *TargetPoolsRemoveHealthCheckCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -141862,7 +141862,7 @@ func (c *TargetPoolsRemoveInstanceCall) Header() http.Header { func (c *TargetPoolsRemoveInstanceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142056,7 +142056,7 @@ func (c *TargetPoolsSetBackupCall) Header() http.Header { func (c *TargetPoolsSetBackupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142244,7 +142244,7 @@ func (c *TargetSslProxiesDeleteCall) Header() http.Header { func (c *TargetSslProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142402,7 +142402,7 @@ func (c *TargetSslProxiesGetCall) Header() http.Header { func (c *TargetSslProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142567,7 +142567,7 @@ func (c *TargetSslProxiesInsertCall) Header() http.Header { func (c *TargetSslProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142796,7 +142796,7 @@ func (c *TargetSslProxiesListCall) Header() http.Header { func (c *TargetSslProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143002,7 +143002,7 @@ func (c *TargetSslProxiesSetBackendServiceCall) Header() http.Header { func (c *TargetSslProxiesSetBackendServiceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143177,7 +143177,7 @@ func (c *TargetSslProxiesSetProxyHeaderCall) Header() http.Header { func (c *TargetSslProxiesSetProxyHeaderCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143352,7 +143352,7 @@ func (c *TargetSslProxiesSetSslCertificatesCall) Header() http.Header { func (c *TargetSslProxiesSetSslCertificatesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143530,7 +143530,7 @@ func (c *TargetSslProxiesSetSslPolicyCall) Header() http.Header { func (c *TargetSslProxiesSetSslPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143702,7 +143702,7 @@ func (c *TargetTcpProxiesDeleteCall) Header() http.Header { func (c *TargetTcpProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143860,7 +143860,7 @@ func (c *TargetTcpProxiesGetCall) Header() http.Header { func (c *TargetTcpProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144025,7 +144025,7 @@ func (c *TargetTcpProxiesInsertCall) Header() http.Header { func (c *TargetTcpProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144254,7 +144254,7 @@ func (c *TargetTcpProxiesListCall) Header() http.Header { func (c *TargetTcpProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144460,7 +144460,7 @@ func (c *TargetTcpProxiesSetBackendServiceCall) Header() http.Header { func (c *TargetTcpProxiesSetBackendServiceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144635,7 +144635,7 @@ func (c *TargetTcpProxiesSetProxyHeaderCall) Header() http.Header { func (c *TargetTcpProxiesSetProxyHeaderCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144885,7 +144885,7 @@ func (c *TargetVpnGatewaysAggregatedListCall) Header() http.Header { func (c *TargetVpnGatewaysAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -145096,7 +145096,7 @@ func (c *TargetVpnGatewaysDeleteCall) Header() http.Header { func (c *TargetVpnGatewaysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -145265,7 +145265,7 @@ func (c *TargetVpnGatewaysGetCall) Header() http.Header { func (c *TargetVpnGatewaysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -145441,7 +145441,7 @@ func (c *TargetVpnGatewaysInsertCall) Header() http.Header { func (c *TargetVpnGatewaysInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -145681,7 +145681,7 @@ func (c *TargetVpnGatewaysListCall) Header() http.Header { func (c *TargetVpnGatewaysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -145972,7 +145972,7 @@ func (c *UrlMapsAggregatedListCall) Header() http.Header { func (c *UrlMapsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -146182,7 +146182,7 @@ func (c *UrlMapsDeleteCall) Header() http.Header { func (c *UrlMapsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -146341,7 +146341,7 @@ func (c *UrlMapsGetCall) Header() http.Header { func (c *UrlMapsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -146507,7 +146507,7 @@ func (c *UrlMapsInsertCall) Header() http.Header { func (c *UrlMapsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -146677,7 +146677,7 @@ func (c *UrlMapsInvalidateCacheCall) Header() http.Header { func (c *UrlMapsInvalidateCacheCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -146916,7 +146916,7 @@ func (c *UrlMapsListCall) Header() http.Header { func (c *UrlMapsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -147125,7 +147125,7 @@ func (c *UrlMapsPatchCall) Header() http.Header { func (c *UrlMapsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -147302,7 +147302,7 @@ func (c *UrlMapsUpdateCall) Header() http.Header { func (c *UrlMapsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -147461,7 +147461,7 @@ func (c *UrlMapsValidateCall) Header() http.Header { func (c *UrlMapsValidateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -147706,7 +147706,7 @@ func (c *VpnGatewaysAggregatedListCall) Header() http.Header { func (c *VpnGatewaysAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -147917,7 +147917,7 @@ func (c *VpnGatewaysDeleteCall) Header() http.Header { func (c *VpnGatewaysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -148086,7 +148086,7 @@ func (c *VpnGatewaysGetCall) Header() http.Header { func (c *VpnGatewaysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -148253,7 +148253,7 @@ func (c *VpnGatewaysGetStatusCall) Header() http.Header { func (c *VpnGatewaysGetStatusCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -148429,7 +148429,7 @@ func (c *VpnGatewaysInsertCall) Header() http.Header { func (c *VpnGatewaysInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -148669,7 +148669,7 @@ func (c *VpnGatewaysListCall) Header() http.Header { func (c *VpnGatewaysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -148887,7 +148887,7 @@ func (c *VpnGatewaysSetLabelsCall) Header() http.Header { func (c *VpnGatewaysSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149055,7 +149055,7 @@ func (c *VpnGatewaysTestIamPermissionsCall) Header() http.Header { func (c *VpnGatewaysTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149310,7 +149310,7 @@ func (c *VpnTunnelsAggregatedListCall) Header() http.Header { func (c *VpnTunnelsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149521,7 +149521,7 @@ func (c *VpnTunnelsDeleteCall) Header() http.Header { func (c *VpnTunnelsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149690,7 +149690,7 @@ func (c *VpnTunnelsGetCall) Header() http.Header { func (c *VpnTunnelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149866,7 +149866,7 @@ func (c *VpnTunnelsInsertCall) Header() http.Header { func (c *VpnTunnelsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -150106,7 +150106,7 @@ func (c *VpnTunnelsListCall) Header() http.Header { func (c *VpnTunnelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -150303,7 +150303,7 @@ func (c *ZoneOperationsDeleteCall) Header() http.Header { func (c *ZoneOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -150439,7 +150439,7 @@ func (c *ZoneOperationsGetCall) Header() http.Header { func (c *ZoneOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -150680,7 +150680,7 @@ func (c *ZoneOperationsListCall) Header() http.Header { func (c *ZoneOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -150889,7 +150889,7 @@ func (c *ZoneOperationsWaitCall) Header() http.Header { func (c *ZoneOperationsWaitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -151053,7 +151053,7 @@ func (c *ZonesGetCall) Header() http.Header { func (c *ZonesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -151283,7 +151283,7 @@ func (c *ZonesListCall) Header() http.Header { func (c *ZonesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/container/v1/container-gen.go b/container/v1/container-gen.go index 4ab328cff55..a414bc1efa5 100644 --- a/container/v1/container-gen.go +++ b/container/v1/container-gen.go @@ -5034,7 +5034,7 @@ func (c *ProjectsAggregatedUsableSubnetworksListCall) Header() http.Header { func (c *ProjectsAggregatedUsableSubnetworksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5235,7 +5235,7 @@ func (c *ProjectsLocationsGetServerConfigCall) Header() http.Header { func (c *ProjectsLocationsGetServerConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5380,7 +5380,7 @@ func (c *ProjectsLocationsClustersCompleteIpRotationCall) Header() http.Header { func (c *ProjectsLocationsClustersCompleteIpRotationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5528,7 +5528,7 @@ func (c *ProjectsLocationsClustersCreateCall) Header() http.Header { func (c *ProjectsLocationsClustersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5698,7 +5698,7 @@ func (c *ProjectsLocationsClustersDeleteCall) Header() http.Header { func (c *ProjectsLocationsClustersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5881,7 +5881,7 @@ func (c *ProjectsLocationsClustersGetCall) Header() http.Header { func (c *ProjectsLocationsClustersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6042,7 +6042,7 @@ func (c *ProjectsLocationsClustersGetJwksCall) Header() http.Header { func (c *ProjectsLocationsClustersGetJwksCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6203,7 +6203,7 @@ func (c *ProjectsLocationsClustersListCall) Header() http.Header { func (c *ProjectsLocationsClustersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6348,7 +6348,7 @@ func (c *ProjectsLocationsClustersSetAddonsCall) Header() http.Header { func (c *ProjectsLocationsClustersSetAddonsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6489,7 +6489,7 @@ func (c *ProjectsLocationsClustersSetLegacyAbacCall) Header() http.Header { func (c *ProjectsLocationsClustersSetLegacyAbacCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6633,7 +6633,7 @@ func (c *ProjectsLocationsClustersSetLocationsCall) Header() http.Header { func (c *ProjectsLocationsClustersSetLocationsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6773,7 +6773,7 @@ func (c *ProjectsLocationsClustersSetLoggingCall) Header() http.Header { func (c *ProjectsLocationsClustersSetLoggingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6913,7 +6913,7 @@ func (c *ProjectsLocationsClustersSetMaintenancePolicyCall) Header() http.Header func (c *ProjectsLocationsClustersSetMaintenancePolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7055,7 +7055,7 @@ func (c *ProjectsLocationsClustersSetMasterAuthCall) Header() http.Header { func (c *ProjectsLocationsClustersSetMasterAuthCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7195,7 +7195,7 @@ func (c *ProjectsLocationsClustersSetMonitoringCall) Header() http.Header { func (c *ProjectsLocationsClustersSetMonitoringCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7335,7 +7335,7 @@ func (c *ProjectsLocationsClustersSetNetworkPolicyCall) Header() http.Header { func (c *ProjectsLocationsClustersSetNetworkPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7475,7 +7475,7 @@ func (c *ProjectsLocationsClustersSetResourceLabelsCall) Header() http.Header { func (c *ProjectsLocationsClustersSetResourceLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7615,7 +7615,7 @@ func (c *ProjectsLocationsClustersStartIpRotationCall) Header() http.Header { func (c *ProjectsLocationsClustersStartIpRotationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7755,7 +7755,7 @@ func (c *ProjectsLocationsClustersUpdateCall) Header() http.Header { func (c *ProjectsLocationsClustersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7895,7 +7895,7 @@ func (c *ProjectsLocationsClustersUpdateMasterCall) Header() http.Header { func (c *ProjectsLocationsClustersUpdateMasterCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8035,7 +8035,7 @@ func (c *ProjectsLocationsClustersNodePoolsCreateCall) Header() http.Header { func (c *ProjectsLocationsClustersNodePoolsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8208,7 +8208,7 @@ func (c *ProjectsLocationsClustersNodePoolsDeleteCall) Header() http.Header { func (c *ProjectsLocationsClustersNodePoolsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8404,7 +8404,7 @@ func (c *ProjectsLocationsClustersNodePoolsGetCall) Header() http.Header { func (c *ProjectsLocationsClustersNodePoolsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8595,7 +8595,7 @@ func (c *ProjectsLocationsClustersNodePoolsListCall) Header() http.Header { func (c *ProjectsLocationsClustersNodePoolsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8746,7 +8746,7 @@ func (c *ProjectsLocationsClustersNodePoolsRollbackCall) Header() http.Header { func (c *ProjectsLocationsClustersNodePoolsRollbackCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8887,7 +8887,7 @@ func (c *ProjectsLocationsClustersNodePoolsSetAutoscalingCall) Header() http.Hea func (c *ProjectsLocationsClustersNodePoolsSetAutoscalingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9027,7 +9027,7 @@ func (c *ProjectsLocationsClustersNodePoolsSetManagementCall) Header() http.Head func (c *ProjectsLocationsClustersNodePoolsSetManagementCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9167,7 +9167,7 @@ func (c *ProjectsLocationsClustersNodePoolsSetSizeCall) Header() http.Header { func (c *ProjectsLocationsClustersNodePoolsSetSizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9308,7 +9308,7 @@ func (c *ProjectsLocationsClustersNodePoolsUpdateCall) Header() http.Header { func (c *ProjectsLocationsClustersNodePoolsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9461,7 +9461,7 @@ func (c *ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall) Header() func (c *ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9593,7 +9593,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9769,7 +9769,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9948,7 +9948,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10113,7 +10113,7 @@ func (c *ProjectsZonesGetServerconfigCall) Header() http.Header { func (c *ProjectsZonesGetServerconfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10264,7 +10264,7 @@ func (c *ProjectsZonesClustersAddonsCall) Header() http.Header { func (c *ProjectsZonesClustersAddonsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10423,7 +10423,7 @@ func (c *ProjectsZonesClustersCompleteIpRotationCall) Header() http.Header { func (c *ProjectsZonesClustersCompleteIpRotationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10588,7 +10588,7 @@ func (c *ProjectsZonesClustersCreateCall) Header() http.Header { func (c *ProjectsZonesClustersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10750,7 +10750,7 @@ func (c *ProjectsZonesClustersDeleteCall) Header() http.Header { func (c *ProjectsZonesClustersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10923,7 +10923,7 @@ func (c *ProjectsZonesClustersGetCall) Header() http.Header { func (c *ProjectsZonesClustersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11083,7 +11083,7 @@ func (c *ProjectsZonesClustersLegacyAbacCall) Header() http.Header { func (c *ProjectsZonesClustersLegacyAbacCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11259,7 +11259,7 @@ func (c *ProjectsZonesClustersListCall) Header() http.Header { func (c *ProjectsZonesClustersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11413,7 +11413,7 @@ func (c *ProjectsZonesClustersLocationsCall) Header() http.Header { func (c *ProjectsZonesClustersLocationsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11572,7 +11572,7 @@ func (c *ProjectsZonesClustersLoggingCall) Header() http.Header { func (c *ProjectsZonesClustersLoggingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11731,7 +11731,7 @@ func (c *ProjectsZonesClustersMasterCall) Header() http.Header { func (c *ProjectsZonesClustersMasterCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11890,7 +11890,7 @@ func (c *ProjectsZonesClustersMonitoringCall) Header() http.Header { func (c *ProjectsZonesClustersMonitoringCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12049,7 +12049,7 @@ func (c *ProjectsZonesClustersResourceLabelsCall) Header() http.Header { func (c *ProjectsZonesClustersResourceLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12208,7 +12208,7 @@ func (c *ProjectsZonesClustersSetMaintenancePolicyCall) Header() http.Header { func (c *ProjectsZonesClustersSetMaintenancePolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12369,7 +12369,7 @@ func (c *ProjectsZonesClustersSetMasterAuthCall) Header() http.Header { func (c *ProjectsZonesClustersSetMasterAuthCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12528,7 +12528,7 @@ func (c *ProjectsZonesClustersSetNetworkPolicyCall) Header() http.Header { func (c *ProjectsZonesClustersSetNetworkPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12687,7 +12687,7 @@ func (c *ProjectsZonesClustersStartIpRotationCall) Header() http.Header { func (c *ProjectsZonesClustersStartIpRotationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12846,7 +12846,7 @@ func (c *ProjectsZonesClustersUpdateCall) Header() http.Header { func (c *ProjectsZonesClustersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13008,7 +13008,7 @@ func (c *ProjectsZonesClustersNodePoolsAutoscalingCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsAutoscalingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13175,7 +13175,7 @@ func (c *ProjectsZonesClustersNodePoolsCreateCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13342,7 +13342,7 @@ func (c *ProjectsZonesClustersNodePoolsDeleteCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13525,7 +13525,7 @@ func (c *ProjectsZonesClustersNodePoolsGetCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13709,7 +13709,7 @@ func (c *ProjectsZonesClustersNodePoolsListCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13871,7 +13871,7 @@ func (c *ProjectsZonesClustersNodePoolsRollbackCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsRollbackCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14040,7 +14040,7 @@ func (c *ProjectsZonesClustersNodePoolsSetManagementCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsSetManagementCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14209,7 +14209,7 @@ func (c *ProjectsZonesClustersNodePoolsSetSizeCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsSetSizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14379,7 +14379,7 @@ func (c *ProjectsZonesClustersNodePoolsUpdateCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14546,7 +14546,7 @@ func (c *ProjectsZonesOperationsCancelCall) Header() http.Header { func (c *ProjectsZonesOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14722,7 +14722,7 @@ func (c *ProjectsZonesOperationsGetCall) Header() http.Header { func (c *ProjectsZonesOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14898,7 +14898,7 @@ func (c *ProjectsZonesOperationsListCall) Header() http.Header { func (c *ProjectsZonesOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/container/v1beta1/container-gen.go b/container/v1beta1/container-gen.go index b265c15617b..e21ab3a6234 100644 --- a/container/v1beta1/container-gen.go +++ b/container/v1beta1/container-gen.go @@ -5882,7 +5882,7 @@ func (c *ProjectsAggregatedUsableSubnetworksListCall) Header() http.Header { func (c *ProjectsAggregatedUsableSubnetworksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6083,7 +6083,7 @@ func (c *ProjectsLocationsGetServerConfigCall) Header() http.Header { func (c *ProjectsLocationsGetServerConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6237,7 +6237,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6372,7 +6372,7 @@ func (c *ProjectsLocationsClustersCompleteIpRotationCall) Header() http.Header { func (c *ProjectsLocationsClustersCompleteIpRotationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6520,7 +6520,7 @@ func (c *ProjectsLocationsClustersCreateCall) Header() http.Header { func (c *ProjectsLocationsClustersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6690,7 +6690,7 @@ func (c *ProjectsLocationsClustersDeleteCall) Header() http.Header { func (c *ProjectsLocationsClustersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6873,7 +6873,7 @@ func (c *ProjectsLocationsClustersGetCall) Header() http.Header { func (c *ProjectsLocationsClustersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7034,7 +7034,7 @@ func (c *ProjectsLocationsClustersGetJwksCall) Header() http.Header { func (c *ProjectsLocationsClustersGetJwksCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7195,7 +7195,7 @@ func (c *ProjectsLocationsClustersListCall) Header() http.Header { func (c *ProjectsLocationsClustersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7340,7 +7340,7 @@ func (c *ProjectsLocationsClustersSetAddonsCall) Header() http.Header { func (c *ProjectsLocationsClustersSetAddonsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7481,7 +7481,7 @@ func (c *ProjectsLocationsClustersSetLegacyAbacCall) Header() http.Header { func (c *ProjectsLocationsClustersSetLegacyAbacCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7625,7 +7625,7 @@ func (c *ProjectsLocationsClustersSetLocationsCall) Header() http.Header { func (c *ProjectsLocationsClustersSetLocationsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7765,7 +7765,7 @@ func (c *ProjectsLocationsClustersSetLoggingCall) Header() http.Header { func (c *ProjectsLocationsClustersSetLoggingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7905,7 +7905,7 @@ func (c *ProjectsLocationsClustersSetMaintenancePolicyCall) Header() http.Header func (c *ProjectsLocationsClustersSetMaintenancePolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8047,7 +8047,7 @@ func (c *ProjectsLocationsClustersSetMasterAuthCall) Header() http.Header { func (c *ProjectsLocationsClustersSetMasterAuthCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8187,7 +8187,7 @@ func (c *ProjectsLocationsClustersSetMonitoringCall) Header() http.Header { func (c *ProjectsLocationsClustersSetMonitoringCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8327,7 +8327,7 @@ func (c *ProjectsLocationsClustersSetNetworkPolicyCall) Header() http.Header { func (c *ProjectsLocationsClustersSetNetworkPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8467,7 +8467,7 @@ func (c *ProjectsLocationsClustersSetResourceLabelsCall) Header() http.Header { func (c *ProjectsLocationsClustersSetResourceLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8607,7 +8607,7 @@ func (c *ProjectsLocationsClustersStartIpRotationCall) Header() http.Header { func (c *ProjectsLocationsClustersStartIpRotationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8747,7 +8747,7 @@ func (c *ProjectsLocationsClustersUpdateCall) Header() http.Header { func (c *ProjectsLocationsClustersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8887,7 +8887,7 @@ func (c *ProjectsLocationsClustersUpdateMasterCall) Header() http.Header { func (c *ProjectsLocationsClustersUpdateMasterCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9027,7 +9027,7 @@ func (c *ProjectsLocationsClustersNodePoolsCreateCall) Header() http.Header { func (c *ProjectsLocationsClustersNodePoolsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9200,7 +9200,7 @@ func (c *ProjectsLocationsClustersNodePoolsDeleteCall) Header() http.Header { func (c *ProjectsLocationsClustersNodePoolsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9396,7 +9396,7 @@ func (c *ProjectsLocationsClustersNodePoolsGetCall) Header() http.Header { func (c *ProjectsLocationsClustersNodePoolsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9587,7 +9587,7 @@ func (c *ProjectsLocationsClustersNodePoolsListCall) Header() http.Header { func (c *ProjectsLocationsClustersNodePoolsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9738,7 +9738,7 @@ func (c *ProjectsLocationsClustersNodePoolsRollbackCall) Header() http.Header { func (c *ProjectsLocationsClustersNodePoolsRollbackCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9879,7 +9879,7 @@ func (c *ProjectsLocationsClustersNodePoolsSetAutoscalingCall) Header() http.Hea func (c *ProjectsLocationsClustersNodePoolsSetAutoscalingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10019,7 +10019,7 @@ func (c *ProjectsLocationsClustersNodePoolsSetManagementCall) Header() http.Head func (c *ProjectsLocationsClustersNodePoolsSetManagementCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10159,7 +10159,7 @@ func (c *ProjectsLocationsClustersNodePoolsSetSizeCall) Header() http.Header { func (c *ProjectsLocationsClustersNodePoolsSetSizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10300,7 +10300,7 @@ func (c *ProjectsLocationsClustersNodePoolsUpdateCall) Header() http.Header { func (c *ProjectsLocationsClustersNodePoolsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10453,7 +10453,7 @@ func (c *ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall) Header() func (c *ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10585,7 +10585,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10761,7 +10761,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10940,7 +10940,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11105,7 +11105,7 @@ func (c *ProjectsZonesGetServerconfigCall) Header() http.Header { func (c *ProjectsZonesGetServerconfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11256,7 +11256,7 @@ func (c *ProjectsZonesClustersAddonsCall) Header() http.Header { func (c *ProjectsZonesClustersAddonsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11415,7 +11415,7 @@ func (c *ProjectsZonesClustersCompleteIpRotationCall) Header() http.Header { func (c *ProjectsZonesClustersCompleteIpRotationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11580,7 +11580,7 @@ func (c *ProjectsZonesClustersCreateCall) Header() http.Header { func (c *ProjectsZonesClustersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11742,7 +11742,7 @@ func (c *ProjectsZonesClustersDeleteCall) Header() http.Header { func (c *ProjectsZonesClustersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11915,7 +11915,7 @@ func (c *ProjectsZonesClustersGetCall) Header() http.Header { func (c *ProjectsZonesClustersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12075,7 +12075,7 @@ func (c *ProjectsZonesClustersLegacyAbacCall) Header() http.Header { func (c *ProjectsZonesClustersLegacyAbacCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12251,7 +12251,7 @@ func (c *ProjectsZonesClustersListCall) Header() http.Header { func (c *ProjectsZonesClustersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12405,7 +12405,7 @@ func (c *ProjectsZonesClustersLocationsCall) Header() http.Header { func (c *ProjectsZonesClustersLocationsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12564,7 +12564,7 @@ func (c *ProjectsZonesClustersLoggingCall) Header() http.Header { func (c *ProjectsZonesClustersLoggingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12723,7 +12723,7 @@ func (c *ProjectsZonesClustersMasterCall) Header() http.Header { func (c *ProjectsZonesClustersMasterCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12882,7 +12882,7 @@ func (c *ProjectsZonesClustersMonitoringCall) Header() http.Header { func (c *ProjectsZonesClustersMonitoringCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13041,7 +13041,7 @@ func (c *ProjectsZonesClustersResourceLabelsCall) Header() http.Header { func (c *ProjectsZonesClustersResourceLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13200,7 +13200,7 @@ func (c *ProjectsZonesClustersSetMaintenancePolicyCall) Header() http.Header { func (c *ProjectsZonesClustersSetMaintenancePolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13361,7 +13361,7 @@ func (c *ProjectsZonesClustersSetMasterAuthCall) Header() http.Header { func (c *ProjectsZonesClustersSetMasterAuthCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13520,7 +13520,7 @@ func (c *ProjectsZonesClustersSetNetworkPolicyCall) Header() http.Header { func (c *ProjectsZonesClustersSetNetworkPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13679,7 +13679,7 @@ func (c *ProjectsZonesClustersStartIpRotationCall) Header() http.Header { func (c *ProjectsZonesClustersStartIpRotationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13838,7 +13838,7 @@ func (c *ProjectsZonesClustersUpdateCall) Header() http.Header { func (c *ProjectsZonesClustersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13999,7 +13999,7 @@ func (c *ProjectsZonesClustersNodePoolsAutoscalingCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsAutoscalingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14166,7 +14166,7 @@ func (c *ProjectsZonesClustersNodePoolsCreateCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14333,7 +14333,7 @@ func (c *ProjectsZonesClustersNodePoolsDeleteCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14516,7 +14516,7 @@ func (c *ProjectsZonesClustersNodePoolsGetCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14700,7 +14700,7 @@ func (c *ProjectsZonesClustersNodePoolsListCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14862,7 +14862,7 @@ func (c *ProjectsZonesClustersNodePoolsRollbackCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsRollbackCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15031,7 +15031,7 @@ func (c *ProjectsZonesClustersNodePoolsSetManagementCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsSetManagementCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15200,7 +15200,7 @@ func (c *ProjectsZonesClustersNodePoolsSetSizeCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsSetSizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15370,7 +15370,7 @@ func (c *ProjectsZonesClustersNodePoolsUpdateCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15537,7 +15537,7 @@ func (c *ProjectsZonesOperationsCancelCall) Header() http.Header { func (c *ProjectsZonesOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15713,7 +15713,7 @@ func (c *ProjectsZonesOperationsGetCall) Header() http.Header { func (c *ProjectsZonesOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15889,7 +15889,7 @@ func (c *ProjectsZonesOperationsListCall) Header() http.Header { func (c *ProjectsZonesOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/containeranalysis/v1alpha1/containeranalysis-gen.go b/containeranalysis/v1alpha1/containeranalysis-gen.go index 3aa4b918387..4f4dee450e5 100644 --- a/containeranalysis/v1alpha1/containeranalysis-gen.go +++ b/containeranalysis/v1alpha1/containeranalysis-gen.go @@ -3347,7 +3347,7 @@ func (c *ProjectsNotesCreateCall) Header() http.Header { func (c *ProjectsNotesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3495,7 +3495,7 @@ func (c *ProjectsNotesDeleteCall) Header() http.Header { func (c *ProjectsNotesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3636,7 +3636,7 @@ func (c *ProjectsNotesGetCall) Header() http.Header { func (c *ProjectsNotesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3782,7 +3782,7 @@ func (c *ProjectsNotesGetIamPolicyCall) Header() http.Header { func (c *ProjectsNotesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3958,7 +3958,7 @@ func (c *ProjectsNotesListCall) Header() http.Header { func (c *ProjectsNotesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4142,7 +4142,7 @@ func (c *ProjectsNotesPatchCall) Header() http.Header { func (c *ProjectsNotesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4299,7 +4299,7 @@ func (c *ProjectsNotesSetIamPolicyCall) Header() http.Header { func (c *ProjectsNotesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4447,7 +4447,7 @@ func (c *ProjectsNotesTestIamPermissionsCall) Header() http.Header { func (c *ProjectsNotesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4618,7 +4618,7 @@ func (c *ProjectsNotesOccurrencesListCall) Header() http.Header { func (c *ProjectsNotesOccurrencesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4798,7 +4798,7 @@ func (c *ProjectsOccurrencesCreateCall) Header() http.Header { func (c *ProjectsOccurrencesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4942,7 +4942,7 @@ func (c *ProjectsOccurrencesDeleteCall) Header() http.Header { func (c *ProjectsOccurrencesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5083,7 +5083,7 @@ func (c *ProjectsOccurrencesGetCall) Header() http.Header { func (c *ProjectsOccurrencesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5229,7 +5229,7 @@ func (c *ProjectsOccurrencesGetIamPolicyCall) Header() http.Header { func (c *ProjectsOccurrencesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5378,7 +5378,7 @@ func (c *ProjectsOccurrencesGetNotesCall) Header() http.Header { func (c *ProjectsOccurrencesGetNotesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5529,7 +5529,7 @@ func (c *ProjectsOccurrencesGetVulnerabilitySummaryCall) Header() http.Header { func (c *ProjectsOccurrencesGetVulnerabilitySummaryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5729,7 +5729,7 @@ func (c *ProjectsOccurrencesListCall) Header() http.Header { func (c *ProjectsOccurrencesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5940,7 +5940,7 @@ func (c *ProjectsOccurrencesPatchCall) Header() http.Header { func (c *ProjectsOccurrencesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6097,7 +6097,7 @@ func (c *ProjectsOccurrencesSetIamPolicyCall) Header() http.Header { func (c *ProjectsOccurrencesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6245,7 +6245,7 @@ func (c *ProjectsOccurrencesTestIamPermissionsCall) Header() http.Header { func (c *ProjectsOccurrencesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6385,7 +6385,7 @@ func (c *ProjectsOperationsCreateCall) Header() http.Header { func (c *ProjectsOperationsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6527,7 +6527,7 @@ func (c *ProjectsOperationsPatchCall) Header() http.Header { func (c *ProjectsOperationsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6676,7 +6676,7 @@ func (c *ProjectsScanConfigsGetCall) Header() http.Header { func (c *ProjectsScanConfigsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6840,7 +6840,7 @@ func (c *ProjectsScanConfigsListCall) Header() http.Header { func (c *ProjectsScanConfigsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7019,7 +7019,7 @@ func (c *ProjectsScanConfigsPatchCall) Header() http.Header { func (c *ProjectsScanConfigsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7179,7 +7179,7 @@ func (c *ProvidersNotesCreateCall) Header() http.Header { func (c *ProvidersNotesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7327,7 +7327,7 @@ func (c *ProvidersNotesDeleteCall) Header() http.Header { func (c *ProvidersNotesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7468,7 +7468,7 @@ func (c *ProvidersNotesGetCall) Header() http.Header { func (c *ProvidersNotesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7614,7 +7614,7 @@ func (c *ProvidersNotesGetIamPolicyCall) Header() http.Header { func (c *ProvidersNotesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7790,7 +7790,7 @@ func (c *ProvidersNotesListCall) Header() http.Header { func (c *ProvidersNotesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7974,7 +7974,7 @@ func (c *ProvidersNotesPatchCall) Header() http.Header { func (c *ProvidersNotesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8131,7 +8131,7 @@ func (c *ProvidersNotesSetIamPolicyCall) Header() http.Header { func (c *ProvidersNotesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8279,7 +8279,7 @@ func (c *ProvidersNotesTestIamPermissionsCall) Header() http.Header { func (c *ProvidersNotesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8450,7 +8450,7 @@ func (c *ProvidersNotesOccurrencesListCall) Header() http.Header { func (c *ProvidersNotesOccurrencesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/containeranalysis/v1beta1/containeranalysis-gen.go b/containeranalysis/v1beta1/containeranalysis-gen.go index 5e5b11f16a2..c38bad22672 100644 --- a/containeranalysis/v1beta1/containeranalysis-gen.go +++ b/containeranalysis/v1beta1/containeranalysis-gen.go @@ -3903,7 +3903,7 @@ func (c *ProjectsNotesBatchCreateCall) Header() http.Header { func (c *ProjectsNotesBatchCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4050,7 +4050,7 @@ func (c *ProjectsNotesCreateCall) Header() http.Header { func (c *ProjectsNotesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4193,7 +4193,7 @@ func (c *ProjectsNotesDeleteCall) Header() http.Header { func (c *ProjectsNotesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4334,7 +4334,7 @@ func (c *ProjectsNotesGetCall) Header() http.Header { func (c *ProjectsNotesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4474,7 +4474,7 @@ func (c *ProjectsNotesGetIamPolicyCall) Header() http.Header { func (c *ProjectsNotesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4644,7 +4644,7 @@ func (c *ProjectsNotesListCall) Header() http.Header { func (c *ProjectsNotesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4823,7 +4823,7 @@ func (c *ProjectsNotesPatchCall) Header() http.Header { func (c *ProjectsNotesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4974,7 +4974,7 @@ func (c *ProjectsNotesSetIamPolicyCall) Header() http.Header { func (c *ProjectsNotesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5118,7 +5118,7 @@ func (c *ProjectsNotesTestIamPermissionsCall) Header() http.Header { func (c *ProjectsNotesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5289,7 +5289,7 @@ func (c *ProjectsNotesOccurrencesListCall) Header() http.Header { func (c *ProjectsNotesOccurrencesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5461,7 +5461,7 @@ func (c *ProjectsOccurrencesBatchCreateCall) Header() http.Header { func (c *ProjectsOccurrencesBatchCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5601,7 +5601,7 @@ func (c *ProjectsOccurrencesCreateCall) Header() http.Header { func (c *ProjectsOccurrencesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5741,7 +5741,7 @@ func (c *ProjectsOccurrencesDeleteCall) Header() http.Header { func (c *ProjectsOccurrencesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5882,7 +5882,7 @@ func (c *ProjectsOccurrencesGetCall) Header() http.Header { func (c *ProjectsOccurrencesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6022,7 +6022,7 @@ func (c *ProjectsOccurrencesGetIamPolicyCall) Header() http.Header { func (c *ProjectsOccurrencesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6173,7 +6173,7 @@ func (c *ProjectsOccurrencesGetNotesCall) Header() http.Header { func (c *ProjectsOccurrencesGetNotesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6324,7 +6324,7 @@ func (c *ProjectsOccurrencesGetVulnerabilitySummaryCall) Header() http.Header { func (c *ProjectsOccurrencesGetVulnerabilitySummaryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6494,7 +6494,7 @@ func (c *ProjectsOccurrencesListCall) Header() http.Header { func (c *ProjectsOccurrencesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6673,7 +6673,7 @@ func (c *ProjectsOccurrencesPatchCall) Header() http.Header { func (c *ProjectsOccurrencesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6824,7 +6824,7 @@ func (c *ProjectsOccurrencesSetIamPolicyCall) Header() http.Header { func (c *ProjectsOccurrencesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6968,7 +6968,7 @@ func (c *ProjectsOccurrencesTestIamPermissionsCall) Header() http.Header { func (c *ProjectsOccurrencesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7117,7 +7117,7 @@ func (c *ProjectsScanConfigsGetCall) Header() http.Header { func (c *ProjectsScanConfigsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7282,7 +7282,7 @@ func (c *ProjectsScanConfigsListCall) Header() http.Header { func (c *ProjectsScanConfigsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7454,7 +7454,7 @@ func (c *ProjectsScanConfigsUpdateCall) Header() http.Header { func (c *ProjectsScanConfigsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/content/v2.1/content-gen.go b/content/v2.1/content-gen.go index 26281ee74f2..f15e01976a8 100644 --- a/content/v2.1/content-gen.go +++ b/content/v2.1/content-gen.go @@ -14271,7 +14271,7 @@ func (c *AccountsAuthinfoCall) Header() http.Header { func (c *AccountsAuthinfoCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14402,7 +14402,7 @@ func (c *AccountsClaimwebsiteCall) Header() http.Header { func (c *AccountsClaimwebsiteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14547,7 +14547,7 @@ func (c *AccountsCustombatchCall) Header() http.Header { func (c *AccountsCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14681,7 +14681,7 @@ func (c *AccountsDeleteCall) Header() http.Header { func (c *AccountsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14823,7 +14823,7 @@ func (c *AccountsGetCall) Header() http.Header { func (c *AccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14980,7 +14980,7 @@ func (c *AccountsInsertCall) Header() http.Header { func (c *AccountsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15123,7 +15123,7 @@ func (c *AccountsLinkCall) Header() http.Header { func (c *AccountsLinkCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15314,7 +15314,7 @@ func (c *AccountsListCall) Header() http.Header { func (c *AccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15526,7 +15526,7 @@ func (c *AccountsListlinksCall) Header() http.Header { func (c *AccountsListlinksCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15705,7 +15705,7 @@ func (c *AccountsUpdateCall) Header() http.Header { func (c *AccountsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15857,7 +15857,7 @@ func (c *AccountsUpdatelabelsCall) Header() http.Header { func (c *AccountsUpdatelabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16006,7 +16006,7 @@ func (c *AccountsLabelsCreateCall) Header() http.Header { func (c *AccountsLabelsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16147,7 +16147,7 @@ func (c *AccountsLabelsDeleteCall) Header() http.Header { func (c *AccountsLabelsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16288,7 +16288,7 @@ func (c *AccountsLabelsListCall) Header() http.Header { func (c *AccountsLabelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16457,7 +16457,7 @@ func (c *AccountsLabelsPatchCall) Header() http.Header { func (c *AccountsLabelsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16605,7 +16605,7 @@ func (c *AccountstatusesCustombatchCall) Header() http.Header { func (c *AccountstatusesCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16753,7 +16753,7 @@ func (c *AccountstatusesGetCall) Header() http.Header { func (c *AccountstatusesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16936,7 +16936,7 @@ func (c *AccountstatusesListCall) Header() http.Header { func (c *AccountstatusesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17108,7 +17108,7 @@ func (c *AccounttaxCustombatchCall) Header() http.Header { func (c *AccounttaxCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17246,7 +17246,7 @@ func (c *AccounttaxGetCall) Header() http.Header { func (c *AccounttaxGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17414,7 +17414,7 @@ func (c *AccounttaxListCall) Header() http.Header { func (c *AccounttaxListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17584,7 +17584,7 @@ func (c *AccounttaxUpdateCall) Header() http.Header { func (c *AccounttaxUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17744,7 +17744,7 @@ func (c *CssesGetCall) Header() http.Header { func (c *CssesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17915,7 +17915,7 @@ func (c *CssesListCall) Header() http.Header { func (c *CssesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18085,7 +18085,7 @@ func (c *CssesUpdatelabelsCall) Header() http.Header { func (c *CssesUpdatelabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18233,7 +18233,7 @@ func (c *DatafeedsCustombatchCall) Header() http.Header { func (c *DatafeedsCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18361,7 +18361,7 @@ func (c *DatafeedsDeleteCall) Header() http.Header { func (c *DatafeedsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18476,7 +18476,7 @@ func (c *DatafeedsFetchnowCall) Header() http.Header { func (c *DatafeedsFetchnowCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18629,7 +18629,7 @@ func (c *DatafeedsGetCall) Header() http.Header { func (c *DatafeedsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18774,7 +18774,7 @@ func (c *DatafeedsInsertCall) Header() http.Header { func (c *DatafeedsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18938,7 +18938,7 @@ func (c *DatafeedsListCall) Header() http.Header { func (c *DatafeedsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19109,7 +19109,7 @@ func (c *DatafeedsUpdateCall) Header() http.Header { func (c *DatafeedsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19257,7 +19257,7 @@ func (c *DatafeedstatusesCustombatchCall) Header() http.Header { func (c *DatafeedstatusesCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19417,7 +19417,7 @@ func (c *DatafeedstatusesGetCall) Header() http.Header { func (c *DatafeedstatusesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19595,7 +19595,7 @@ func (c *DatafeedstatusesListCall) Header() http.Header { func (c *DatafeedstatusesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19761,7 +19761,7 @@ func (c *LiasettingsCustombatchCall) Header() http.Header { func (c *LiasettingsCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19899,7 +19899,7 @@ func (c *LiasettingsGetCall) Header() http.Header { func (c *LiasettingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20055,7 +20055,7 @@ func (c *LiasettingsGetaccessiblegmbaccountsCall) Header() http.Header { func (c *LiasettingsGetaccessiblegmbaccountsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20225,7 +20225,7 @@ func (c *LiasettingsListCall) Header() http.Header { func (c *LiasettingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20400,7 +20400,7 @@ func (c *LiasettingsListposdataprovidersCall) Header() http.Header { func (c *LiasettingsListposdataprovidersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20525,7 +20525,7 @@ func (c *LiasettingsRequestgmbaccessCall) Header() http.Header { func (c *LiasettingsRequestgmbaccessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20677,7 +20677,7 @@ func (c *LiasettingsRequestinventoryverificationCall) Header() http.Header { func (c *LiasettingsRequestinventoryverificationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20833,7 +20833,7 @@ func (c *LiasettingsSetinventoryverificationcontactCall) Header() http.Header { func (c *LiasettingsSetinventoryverificationcontactCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21021,7 +21021,7 @@ func (c *LiasettingsSetposdataproviderCall) Header() http.Header { func (c *LiasettingsSetposdataproviderCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21184,7 +21184,7 @@ func (c *LiasettingsUpdateCall) Header() http.Header { func (c *LiasettingsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21332,7 +21332,7 @@ func (c *LocalinventoryCustombatchCall) Header() http.Header { func (c *LocalinventoryCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21463,7 +21463,7 @@ func (c *LocalinventoryInsertCall) Header() http.Header { func (c *LocalinventoryInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21614,7 +21614,7 @@ func (c *OrderinvoicesCreatechargeinvoiceCall) Header() http.Header { func (c *OrderinvoicesCreatechargeinvoiceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21770,7 +21770,7 @@ func (c *OrderinvoicesCreaterefundinvoiceCall) Header() http.Header { func (c *OrderinvoicesCreaterefundinvoiceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21960,7 +21960,7 @@ func (c *OrderreportsListdisbursementsCall) Header() http.Header { func (c *OrderreportsListdisbursementsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22180,7 +22180,7 @@ func (c *OrderreportsListtransactionsCall) Header() http.Header { func (c *OrderreportsListtransactionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22368,7 +22368,7 @@ func (c *OrderreturnsAcknowledgeCall) Header() http.Header { func (c *OrderreturnsAcknowledgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22516,7 +22516,7 @@ func (c *OrderreturnsCreateorderreturnCall) Header() http.Header { func (c *OrderreturnsCreateorderreturnCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22668,7 +22668,7 @@ func (c *OrderreturnsGetCall) Header() http.Header { func (c *OrderreturnsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22945,7 +22945,7 @@ func (c *OrderreturnsListCall) Header() http.Header { func (c *OrderreturnsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23206,7 +23206,7 @@ func (c *OrderreturnsProcessCall) Header() http.Header { func (c *OrderreturnsProcessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23356,7 +23356,7 @@ func (c *OrdersAcknowledgeCall) Header() http.Header { func (c *OrdersAcknowledgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23505,7 +23505,7 @@ func (c *OrdersAdvancetestorderCall) Header() http.Header { func (c *OrdersAdvancetestorderCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23647,7 +23647,7 @@ func (c *OrdersCancelCall) Header() http.Header { func (c *OrdersCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23797,7 +23797,7 @@ func (c *OrdersCancellineitemCall) Header() http.Header { func (c *OrdersCancellineitemCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23948,7 +23948,7 @@ func (c *OrdersCanceltestorderbycustomerCall) Header() http.Header { func (c *OrdersCanceltestorderbycustomerCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24097,7 +24097,7 @@ func (c *OrdersCreatetestorderCall) Header() http.Header { func (c *OrdersCreatetestorderCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24239,7 +24239,7 @@ func (c *OrdersCreatetestreturnCall) Header() http.Header { func (c *OrdersCreatetestreturnCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24398,7 +24398,7 @@ func (c *OrdersGetCall) Header() http.Header { func (c *OrdersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24552,7 +24552,7 @@ func (c *OrdersGetbymerchantorderidCall) Header() http.Header { func (c *OrdersGetbymerchantorderidCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24715,7 +24715,7 @@ func (c *OrdersGettestordertemplateCall) Header() http.Header { func (c *OrdersGettestordertemplateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24891,7 +24891,7 @@ func (c *OrdersInstorerefundlineitemCall) Header() http.Header { func (c *OrdersInstorerefundlineitemCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25122,7 +25122,7 @@ func (c *OrdersListCall) Header() http.Header { func (c *OrdersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25343,7 +25343,7 @@ func (c *OrdersRefunditemCall) Header() http.Header { func (c *OrdersRefunditemCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25493,7 +25493,7 @@ func (c *OrdersRefundorderCall) Header() http.Header { func (c *OrdersRefundorderCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25643,7 +25643,7 @@ func (c *OrdersRejectreturnlineitemCall) Header() http.Header { func (c *OrdersRejectreturnlineitemCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25801,7 +25801,7 @@ func (c *OrdersReturnrefundlineitemCall) Header() http.Header { func (c *OrdersReturnrefundlineitemCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25957,7 +25957,7 @@ func (c *OrdersSetlineitemmetadataCall) Header() http.Header { func (c *OrdersSetlineitemmetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26108,7 +26108,7 @@ func (c *OrdersShiplineitemsCall) Header() http.Header { func (c *OrdersShiplineitemsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26259,7 +26259,7 @@ func (c *OrdersUpdatelineitemshippingdetailsCall) Header() http.Header { func (c *OrdersUpdatelineitemshippingdetailsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26412,7 +26412,7 @@ func (c *OrdersUpdatemerchantorderidCall) Header() http.Header { func (c *OrdersUpdatemerchantorderidCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26564,7 +26564,7 @@ func (c *OrdersUpdateshipmentCall) Header() http.Header { func (c *OrdersUpdateshipmentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26712,7 +26712,7 @@ func (c *OrdertrackingsignalsCreateCall) Header() http.Header { func (c *OrdertrackingsignalsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26850,7 +26850,7 @@ func (c *PosCustombatchCall) Header() http.Header { func (c *PosCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26979,7 +26979,7 @@ func (c *PosDeleteCall) Header() http.Header { func (c *PosDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27113,7 +27113,7 @@ func (c *PosGetCall) Header() http.Header { func (c *PosGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27267,7 +27267,7 @@ func (c *PosInsertCall) Header() http.Header { func (c *PosInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27418,7 +27418,7 @@ func (c *PosInventoryCall) Header() http.Header { func (c *PosInventoryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27578,7 +27578,7 @@ func (c *PosListCall) Header() http.Header { func (c *PosListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27724,7 +27724,7 @@ func (c *PosSaleCall) Header() http.Header { func (c *PosSaleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27872,7 +27872,7 @@ func (c *ProductsCustombatchCall) Header() http.Header { func (c *ProductsCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28006,7 +28006,7 @@ func (c *ProductsDeleteCall) Header() http.Header { func (c *ProductsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28135,7 +28135,7 @@ func (c *ProductsGetCall) Header() http.Header { func (c *ProductsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28287,7 +28287,7 @@ func (c *ProductsInsertCall) Header() http.Header { func (c *ProductsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28459,7 +28459,7 @@ func (c *ProductsListCall) Header() http.Header { func (c *ProductsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28625,7 +28625,7 @@ func (c *ProductstatusesCustombatchCall) Header() http.Header { func (c *ProductstatusesCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28772,7 +28772,7 @@ func (c *ProductstatusesGetCall) Header() http.Header { func (c *ProductstatusesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28954,7 +28954,7 @@ func (c *ProductstatusesListCall) Header() http.Header { func (c *ProductstatusesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29137,7 +29137,7 @@ func (c *PubsubnotificationsettingsGetCall) Header() http.Header { func (c *PubsubnotificationsettingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29274,7 +29274,7 @@ func (c *PubsubnotificationsettingsUpdateCall) Header() http.Header { func (c *PubsubnotificationsettingsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29413,7 +29413,7 @@ func (c *RegionalinventoryCustombatchCall) Header() http.Header { func (c *RegionalinventoryCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29545,7 +29545,7 @@ func (c *RegionalinventoryInsertCall) Header() http.Header { func (c *RegionalinventoryInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29700,7 +29700,7 @@ func (c *RegionsCreateCall) Header() http.Header { func (c *RegionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29846,7 +29846,7 @@ func (c *RegionsDeleteCall) Header() http.Header { func (c *RegionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29969,7 +29969,7 @@ func (c *RegionsGetCall) Header() http.Header { func (c *RegionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30139,7 +30139,7 @@ func (c *RegionsListCall) Header() http.Header { func (c *RegionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30315,7 +30315,7 @@ func (c *RegionsPatchCall) Header() http.Header { func (c *RegionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30476,7 +30476,7 @@ func (c *RepricingrulesCreateCall) Header() http.Header { func (c *RepricingrulesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30621,7 +30621,7 @@ func (c *RepricingrulesDeleteCall) Header() http.Header { func (c *RepricingrulesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30744,7 +30744,7 @@ func (c *RepricingrulesGetCall) Header() http.Header { func (c *RepricingrulesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30930,7 +30930,7 @@ func (c *RepricingrulesListCall) Header() http.Header { func (c *RepricingrulesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31114,7 +31114,7 @@ func (c *RepricingrulesPatchCall) Header() http.Header { func (c *RepricingrulesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31261,7 +31261,7 @@ func (c *ReturnaddressCustombatchCall) Header() http.Header { func (c *ReturnaddressCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31389,7 +31389,7 @@ func (c *ReturnaddressDeleteCall) Header() http.Header { func (c *ReturnaddressDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31512,7 +31512,7 @@ func (c *ReturnaddressGetCall) Header() http.Header { func (c *ReturnaddressGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31655,7 +31655,7 @@ func (c *ReturnaddressInsertCall) Header() http.Header { func (c *ReturnaddressInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31826,7 +31826,7 @@ func (c *ReturnaddressListCall) Header() http.Header { func (c *ReturnaddressListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31997,7 +31997,7 @@ func (c *ReturnpolicyCustombatchCall) Header() http.Header { func (c *ReturnpolicyCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32125,7 +32125,7 @@ func (c *ReturnpolicyDeleteCall) Header() http.Header { func (c *ReturnpolicyDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32248,7 +32248,7 @@ func (c *ReturnpolicyGetCall) Header() http.Header { func (c *ReturnpolicyGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32391,7 +32391,7 @@ func (c *ReturnpolicyInsertCall) Header() http.Header { func (c *ReturnpolicyInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32540,7 +32540,7 @@ func (c *ReturnpolicyListCall) Header() http.Header { func (c *ReturnpolicyListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32686,7 +32686,7 @@ func (c *SettlementreportsGetCall) Header() http.Header { func (c *SettlementreportsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32871,7 +32871,7 @@ func (c *SettlementreportsListCall) Header() http.Header { func (c *SettlementreportsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33083,7 +33083,7 @@ func (c *SettlementtransactionsListCall) Header() http.Header { func (c *SettlementtransactionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33264,7 +33264,7 @@ func (c *ShippingsettingsCustombatchCall) Header() http.Header { func (c *ShippingsettingsCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33403,7 +33403,7 @@ func (c *ShippingsettingsGetCall) Header() http.Header { func (c *ShippingsettingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33557,7 +33557,7 @@ func (c *ShippingsettingsGetsupportedcarriersCall) Header() http.Header { func (c *ShippingsettingsGetsupportedcarriersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33703,7 +33703,7 @@ func (c *ShippingsettingsGetsupportedholidaysCall) Header() http.Header { func (c *ShippingsettingsGetsupportedholidaysCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33850,7 +33850,7 @@ func (c *ShippingsettingsGetsupportedpickupservicesCall) Header() http.Header { func (c *ShippingsettingsGetsupportedpickupservicesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34012,7 +34012,7 @@ func (c *ShippingsettingsListCall) Header() http.Header { func (c *ShippingsettingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34182,7 +34182,7 @@ func (c *ShippingsettingsUpdateCall) Header() http.Header { func (c *ShippingsettingsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/content/v2/content-gen.go b/content/v2/content-gen.go index f2b9ce0f8f5..3c25b2f9895 100644 --- a/content/v2/content-gen.go +++ b/content/v2/content-gen.go @@ -12036,7 +12036,7 @@ func (c *AccountsAuthinfoCall) Header() http.Header { func (c *AccountsAuthinfoCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12167,7 +12167,7 @@ func (c *AccountsClaimwebsiteCall) Header() http.Header { func (c *AccountsClaimwebsiteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12320,7 +12320,7 @@ func (c *AccountsCustombatchCall) Header() http.Header { func (c *AccountsCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12468,7 +12468,7 @@ func (c *AccountsDeleteCall) Header() http.Header { func (c *AccountsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12603,7 +12603,7 @@ func (c *AccountsGetCall) Header() http.Header { func (c *AccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12755,7 +12755,7 @@ func (c *AccountsInsertCall) Header() http.Header { func (c *AccountsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12903,7 +12903,7 @@ func (c *AccountsLinkCall) Header() http.Header { func (c *AccountsLinkCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13075,7 +13075,7 @@ func (c *AccountsListCall) Header() http.Header { func (c *AccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13253,7 +13253,7 @@ func (c *AccountsUpdateCall) Header() http.Header { func (c *AccountsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13406,7 +13406,7 @@ func (c *AccountstatusesCustombatchCall) Header() http.Header { func (c *AccountstatusesCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13554,7 +13554,7 @@ func (c *AccountstatusesGetCall) Header() http.Header { func (c *AccountstatusesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13737,7 +13737,7 @@ func (c *AccountstatusesListCall) Header() http.Header { func (c *AccountstatusesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13917,7 +13917,7 @@ func (c *AccounttaxCustombatchCall) Header() http.Header { func (c *AccounttaxCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14061,7 +14061,7 @@ func (c *AccounttaxGetCall) Header() http.Header { func (c *AccounttaxGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14229,7 +14229,7 @@ func (c *AccounttaxListCall) Header() http.Header { func (c *AccounttaxListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14407,7 +14407,7 @@ func (c *AccounttaxUpdateCall) Header() http.Header { func (c *AccounttaxUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14568,7 +14568,7 @@ func (c *DatafeedsCustombatchCall) Header() http.Header { func (c *DatafeedsCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14710,7 +14710,7 @@ func (c *DatafeedsDeleteCall) Header() http.Header { func (c *DatafeedsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14838,7 +14838,7 @@ func (c *DatafeedsFetchnowCall) Header() http.Header { func (c *DatafeedsFetchnowCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14996,7 +14996,7 @@ func (c *DatafeedsGetCall) Header() http.Header { func (c *DatafeedsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15149,7 +15149,7 @@ func (c *DatafeedsInsertCall) Header() http.Header { func (c *DatafeedsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15318,7 +15318,7 @@ func (c *DatafeedsListCall) Header() http.Header { func (c *DatafeedsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15497,7 +15497,7 @@ func (c *DatafeedsUpdateCall) Header() http.Header { func (c *DatafeedsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15650,7 +15650,7 @@ func (c *DatafeedstatusesCustombatchCall) Header() http.Header { func (c *DatafeedstatusesCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15810,7 +15810,7 @@ func (c *DatafeedstatusesGetCall) Header() http.Header { func (c *DatafeedstatusesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15988,7 +15988,7 @@ func (c *DatafeedstatusesListCall) Header() http.Header { func (c *DatafeedstatusesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16163,7 +16163,7 @@ func (c *InventoryCustombatchCall) Header() http.Header { func (c *InventoryCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16309,7 +16309,7 @@ func (c *InventorySetCall) Header() http.Header { func (c *InventorySetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16477,7 +16477,7 @@ func (c *LiasettingsCustombatchCall) Header() http.Header { func (c *LiasettingsCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16621,7 +16621,7 @@ func (c *LiasettingsGetCall) Header() http.Header { func (c *LiasettingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16777,7 +16777,7 @@ func (c *LiasettingsGetaccessiblegmbaccountsCall) Header() http.Header { func (c *LiasettingsGetaccessiblegmbaccountsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16947,7 +16947,7 @@ func (c *LiasettingsListCall) Header() http.Header { func (c *LiasettingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17122,7 +17122,7 @@ func (c *LiasettingsListposdataprovidersCall) Header() http.Header { func (c *LiasettingsListposdataprovidersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17247,7 +17247,7 @@ func (c *LiasettingsRequestgmbaccessCall) Header() http.Header { func (c *LiasettingsRequestgmbaccessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17399,7 +17399,7 @@ func (c *LiasettingsRequestinventoryverificationCall) Header() http.Header { func (c *LiasettingsRequestinventoryverificationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17555,7 +17555,7 @@ func (c *LiasettingsSetinventoryverificationcontactCall) Header() http.Header { func (c *LiasettingsSetinventoryverificationcontactCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17743,7 +17743,7 @@ func (c *LiasettingsSetposdataproviderCall) Header() http.Header { func (c *LiasettingsSetposdataproviderCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17914,7 +17914,7 @@ func (c *LiasettingsUpdateCall) Header() http.Header { func (c *LiasettingsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18071,7 +18071,7 @@ func (c *OrderinvoicesCreatechargeinvoiceCall) Header() http.Header { func (c *OrderinvoicesCreatechargeinvoiceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18227,7 +18227,7 @@ func (c *OrderinvoicesCreaterefundinvoiceCall) Header() http.Header { func (c *OrderinvoicesCreaterefundinvoiceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18417,7 +18417,7 @@ func (c *OrderreportsListdisbursementsCall) Header() http.Header { func (c *OrderreportsListdisbursementsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18637,7 +18637,7 @@ func (c *OrderreportsListtransactionsCall) Header() http.Header { func (c *OrderreportsListtransactionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18834,7 +18834,7 @@ func (c *OrderreturnsGetCall) Header() http.Header { func (c *OrderreturnsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19029,7 +19029,7 @@ func (c *OrderreturnsListCall) Header() http.Header { func (c *OrderreturnsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19221,7 +19221,7 @@ func (c *OrdersAcknowledgeCall) Header() http.Header { func (c *OrdersAcknowledgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19370,7 +19370,7 @@ func (c *OrdersAdvancetestorderCall) Header() http.Header { func (c *OrdersAdvancetestorderCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19512,7 +19512,7 @@ func (c *OrdersCancelCall) Header() http.Header { func (c *OrdersCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19662,7 +19662,7 @@ func (c *OrdersCancellineitemCall) Header() http.Header { func (c *OrdersCancellineitemCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19813,7 +19813,7 @@ func (c *OrdersCanceltestorderbycustomerCall) Header() http.Header { func (c *OrdersCanceltestorderbycustomerCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19962,7 +19962,7 @@ func (c *OrdersCreatetestorderCall) Header() http.Header { func (c *OrdersCreatetestorderCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20104,7 +20104,7 @@ func (c *OrdersCreatetestreturnCall) Header() http.Header { func (c *OrdersCreatetestreturnCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20251,7 +20251,7 @@ func (c *OrdersCustombatchCall) Header() http.Header { func (c *OrdersCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20389,7 +20389,7 @@ func (c *OrdersGetCall) Header() http.Header { func (c *OrdersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20543,7 +20543,7 @@ func (c *OrdersGetbymerchantorderidCall) Header() http.Header { func (c *OrdersGetbymerchantorderidCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20706,7 +20706,7 @@ func (c *OrdersGettestordertemplateCall) Header() http.Header { func (c *OrdersGettestordertemplateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20880,7 +20880,7 @@ func (c *OrdersInstorerefundlineitemCall) Header() http.Header { func (c *OrdersInstorerefundlineitemCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21111,7 +21111,7 @@ func (c *OrdersListCall) Header() http.Header { func (c *OrdersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21332,7 +21332,7 @@ func (c *OrdersRefundCall) Header() http.Header { func (c *OrdersRefundCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21482,7 +21482,7 @@ func (c *OrdersRejectreturnlineitemCall) Header() http.Header { func (c *OrdersRejectreturnlineitemCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21633,7 +21633,7 @@ func (c *OrdersReturnlineitemCall) Header() http.Header { func (c *OrdersReturnlineitemCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21790,7 +21790,7 @@ func (c *OrdersReturnrefundlineitemCall) Header() http.Header { func (c *OrdersReturnrefundlineitemCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21946,7 +21946,7 @@ func (c *OrdersSetlineitemmetadataCall) Header() http.Header { func (c *OrdersSetlineitemmetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22097,7 +22097,7 @@ func (c *OrdersShiplineitemsCall) Header() http.Header { func (c *OrdersShiplineitemsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22248,7 +22248,7 @@ func (c *OrdersUpdatelineitemshippingdetailsCall) Header() http.Header { func (c *OrdersUpdatelineitemshippingdetailsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22401,7 +22401,7 @@ func (c *OrdersUpdatemerchantorderidCall) Header() http.Header { func (c *OrdersUpdatemerchantorderidCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22553,7 +22553,7 @@ func (c *OrdersUpdateshipmentCall) Header() http.Header { func (c *OrdersUpdateshipmentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22707,7 +22707,7 @@ func (c *PosCustombatchCall) Header() http.Header { func (c *PosCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22850,7 +22850,7 @@ func (c *PosDeleteCall) Header() http.Header { func (c *PosDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22989,7 +22989,7 @@ func (c *PosGetCall) Header() http.Header { func (c *PosGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23151,7 +23151,7 @@ func (c *PosInsertCall) Header() http.Header { func (c *PosInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23315,7 +23315,7 @@ func (c *PosInventoryCall) Header() http.Header { func (c *PosInventoryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23480,7 +23480,7 @@ func (c *PosListCall) Header() http.Header { func (c *PosListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23634,7 +23634,7 @@ func (c *PosSaleCall) Header() http.Header { func (c *PosSaleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23795,7 +23795,7 @@ func (c *ProductsCustombatchCall) Header() http.Header { func (c *ProductsCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23936,7 +23936,7 @@ func (c *ProductsDeleteCall) Header() http.Header { func (c *ProductsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24064,7 +24064,7 @@ func (c *ProductsGetCall) Header() http.Header { func (c *ProductsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24217,7 +24217,7 @@ func (c *ProductsInsertCall) Header() http.Header { func (c *ProductsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24397,7 +24397,7 @@ func (c *ProductsListCall) Header() http.Header { func (c *ProductsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24576,7 +24576,7 @@ func (c *ProductstatusesCustombatchCall) Header() http.Header { func (c *ProductstatusesCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24737,7 +24737,7 @@ func (c *ProductstatusesGetCall) Header() http.Header { func (c *ProductstatusesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24941,7 +24941,7 @@ func (c *ProductstatusesListCall) Header() http.Header { func (c *ProductstatusesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25131,7 +25131,7 @@ func (c *ShippingsettingsCustombatchCall) Header() http.Header { func (c *ShippingsettingsCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25276,7 +25276,7 @@ func (c *ShippingsettingsGetCall) Header() http.Header { func (c *ShippingsettingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25430,7 +25430,7 @@ func (c *ShippingsettingsGetsupportedcarriersCall) Header() http.Header { func (c *ShippingsettingsGetsupportedcarriersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25576,7 +25576,7 @@ func (c *ShippingsettingsGetsupportedholidaysCall) Header() http.Header { func (c *ShippingsettingsGetsupportedholidaysCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25723,7 +25723,7 @@ func (c *ShippingsettingsGetsupportedpickupservicesCall) Header() http.Header { func (c *ShippingsettingsGetsupportedpickupservicesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25885,7 +25885,7 @@ func (c *ShippingsettingsListCall) Header() http.Header { func (c *ShippingsettingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26063,7 +26063,7 @@ func (c *ShippingsettingsUpdateCall) Header() http.Header { func (c *ShippingsettingsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/customsearch/v1/customsearch-gen.go b/customsearch/v1/customsearch-gen.go index da49e5846f7..6533c7c5176 100644 --- a/customsearch/v1/customsearch-gen.go +++ b/customsearch/v1/customsearch-gen.go @@ -1747,7 +1747,7 @@ func (c *CseListCall) Header() http.Header { func (c *CseListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2515,7 +2515,7 @@ func (c *CseSiterestrictListCall) Header() http.Header { func (c *CseSiterestrictListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/datacatalog/v1beta1/datacatalog-gen.go b/datacatalog/v1beta1/datacatalog-gen.go index 22d1f1970bd..0fff97b3d94 100644 --- a/datacatalog/v1beta1/datacatalog-gen.go +++ b/datacatalog/v1beta1/datacatalog-gen.go @@ -2470,7 +2470,7 @@ func (c *CatalogSearchCall) Header() http.Header { func (c *CatalogSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2653,7 +2653,7 @@ func (c *EntriesLookupCall) Header() http.Header { func (c *EntriesLookupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2801,7 +2801,7 @@ func (c *ProjectsLocationsEntryGroupsCreateCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2957,7 +2957,7 @@ func (c *ProjectsLocationsEntryGroupsDeleteCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3110,7 +3110,7 @@ func (c *ProjectsLocationsEntryGroupsGetCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3262,7 +3262,7 @@ func (c *ProjectsLocationsEntryGroupsGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3427,7 +3427,7 @@ func (c *ProjectsLocationsEntryGroupsListCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3608,7 +3608,7 @@ func (c *ProjectsLocationsEntryGroupsPatchCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3763,7 +3763,7 @@ func (c *ProjectsLocationsEntryGroupsSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3910,7 +3910,7 @@ func (c *ProjectsLocationsEntryGroupsTestIamPermissionsCall) Header() http.Heade func (c *ProjectsLocationsEntryGroupsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4063,7 +4063,7 @@ func (c *ProjectsLocationsEntryGroupsEntriesCreateCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsEntriesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4212,7 +4212,7 @@ func (c *ProjectsLocationsEntryGroupsEntriesDeleteCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsEntriesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4353,7 +4353,7 @@ func (c *ProjectsLocationsEntryGroupsEntriesGetCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsEntriesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4499,7 +4499,7 @@ func (c *ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall) Header() http.Head func (c *ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4673,7 +4673,7 @@ func (c *ProjectsLocationsEntryGroupsEntriesListCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsEntriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4866,7 +4866,7 @@ func (c *ProjectsLocationsEntryGroupsEntriesPatchCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsEntriesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5020,7 +5020,7 @@ func (c *ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall) Header() htt func (c *ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5167,7 +5167,7 @@ func (c *ProjectsLocationsEntryGroupsEntriesTagsCreateCall) Header() http.Header func (c *ProjectsLocationsEntryGroupsEntriesTagsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5305,7 +5305,7 @@ func (c *ProjectsLocationsEntryGroupsEntriesTagsDeleteCall) Header() http.Header func (c *ProjectsLocationsEntryGroupsEntriesTagsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5461,7 +5461,7 @@ func (c *ProjectsLocationsEntryGroupsEntriesTagsListCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsEntriesTagsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5638,7 +5638,7 @@ func (c *ProjectsLocationsEntryGroupsEntriesTagsPatchCall) Header() http.Header func (c *ProjectsLocationsEntryGroupsEntriesTagsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5791,7 +5791,7 @@ func (c *ProjectsLocationsEntryGroupsTagsCreateCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsTagsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5929,7 +5929,7 @@ func (c *ProjectsLocationsEntryGroupsTagsDeleteCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsTagsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6085,7 +6085,7 @@ func (c *ProjectsLocationsEntryGroupsTagsListCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsTagsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6262,7 +6262,7 @@ func (c *ProjectsLocationsEntryGroupsTagsPatchCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsTagsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6419,7 +6419,7 @@ func (c *ProjectsLocationsTagTemplatesCreateCall) Header() http.Header { func (c *ProjectsLocationsTagTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6577,7 +6577,7 @@ func (c *ProjectsLocationsTagTemplatesDeleteCall) Header() http.Header { func (c *ProjectsLocationsTagTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6723,7 +6723,7 @@ func (c *ProjectsLocationsTagTemplatesGetCall) Header() http.Header { func (c *ProjectsLocationsTagTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6870,7 +6870,7 @@ func (c *ProjectsLocationsTagTemplatesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsTagTemplatesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7026,7 +7026,7 @@ func (c *ProjectsLocationsTagTemplatesPatchCall) Header() http.Header { func (c *ProjectsLocationsTagTemplatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7182,7 +7182,7 @@ func (c *ProjectsLocationsTagTemplatesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsTagTemplatesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7329,7 +7329,7 @@ func (c *ProjectsLocationsTagTemplatesTestIamPermissionsCall) Header() http.Head func (c *ProjectsLocationsTagTemplatesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7484,7 +7484,7 @@ func (c *ProjectsLocationsTagTemplatesFieldsCreateCall) Header() http.Header { func (c *ProjectsLocationsTagTemplatesFieldsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7642,7 +7642,7 @@ func (c *ProjectsLocationsTagTemplatesFieldsDeleteCall) Header() http.Header { func (c *ProjectsLocationsTagTemplatesFieldsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7797,7 +7797,7 @@ func (c *ProjectsLocationsTagTemplatesFieldsPatchCall) Header() http.Header { func (c *ProjectsLocationsTagTemplatesFieldsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7949,7 +7949,7 @@ func (c *ProjectsLocationsTagTemplatesFieldsRenameCall) Header() http.Header { func (c *ProjectsLocationsTagTemplatesFieldsRenameCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8094,7 +8094,7 @@ func (c *ProjectsLocationsTagTemplatesFieldsEnumValuesRenameCall) Header() http. func (c *ProjectsLocationsTagTemplatesFieldsEnumValuesRenameCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8236,7 +8236,7 @@ func (c *ProjectsLocationsTaxonomiesCreateCall) Header() http.Header { func (c *ProjectsLocationsTaxonomiesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8376,7 +8376,7 @@ func (c *ProjectsLocationsTaxonomiesDeleteCall) Header() http.Header { func (c *ProjectsLocationsTaxonomiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8533,7 +8533,7 @@ func (c *ProjectsLocationsTaxonomiesExportCall) Header() http.Header { func (c *ProjectsLocationsTaxonomiesExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8690,7 +8690,7 @@ func (c *ProjectsLocationsTaxonomiesGetCall) Header() http.Header { func (c *ProjectsLocationsTaxonomiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8826,7 +8826,7 @@ func (c *ProjectsLocationsTaxonomiesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsTaxonomiesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8968,7 +8968,7 @@ func (c *ProjectsLocationsTaxonomiesImportCall) Header() http.Header { func (c *ProjectsLocationsTaxonomiesImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9136,7 +9136,7 @@ func (c *ProjectsLocationsTaxonomiesListCall) Header() http.Header { func (c *ProjectsLocationsTaxonomiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9314,7 +9314,7 @@ func (c *ProjectsLocationsTaxonomiesPatchCall) Header() http.Header { func (c *ProjectsLocationsTaxonomiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9461,7 +9461,7 @@ func (c *ProjectsLocationsTaxonomiesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsTaxonomiesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9602,7 +9602,7 @@ func (c *ProjectsLocationsTaxonomiesTestIamPermissionsCall) Header() http.Header func (c *ProjectsLocationsTaxonomiesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9742,7 +9742,7 @@ func (c *ProjectsLocationsTaxonomiesPolicyTagsCreateCall) Header() http.Header { func (c *ProjectsLocationsTaxonomiesPolicyTagsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9882,7 +9882,7 @@ func (c *ProjectsLocationsTaxonomiesPolicyTagsDeleteCall) Header() http.Header { func (c *ProjectsLocationsTaxonomiesPolicyTagsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10023,7 +10023,7 @@ func (c *ProjectsLocationsTaxonomiesPolicyTagsGetCall) Header() http.Header { func (c *ProjectsLocationsTaxonomiesPolicyTagsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10159,7 +10159,7 @@ func (c *ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall) Header() http.He func (c *ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10324,7 +10324,7 @@ func (c *ProjectsLocationsTaxonomiesPolicyTagsListCall) Header() http.Header { func (c *ProjectsLocationsTaxonomiesPolicyTagsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10506,7 +10506,7 @@ func (c *ProjectsLocationsTaxonomiesPolicyTagsPatchCall) Header() http.Header { func (c *ProjectsLocationsTaxonomiesPolicyTagsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10653,7 +10653,7 @@ func (c *ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall) Header() http.He func (c *ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10794,7 +10794,7 @@ func (c *ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall) Header() h func (c *ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/dataflow/v1b3/dataflow-gen.go b/dataflow/v1b3/dataflow-gen.go index 73716f791d4..00941e62fd3 100644 --- a/dataflow/v1b3/dataflow-gen.go +++ b/dataflow/v1b3/dataflow-gen.go @@ -8291,7 +8291,7 @@ func (c *ProjectsDeleteSnapshotsCall) Header() http.Header { func (c *ProjectsDeleteSnapshotsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8435,7 +8435,7 @@ func (c *ProjectsWorkerMessagesCall) Header() http.Header { func (c *ProjectsWorkerMessagesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8579,7 +8579,7 @@ func (c *ProjectsCatalogTemplatesCommitCall) Header() http.Header { func (c *ProjectsCatalogTemplatesCommitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8719,7 +8719,7 @@ func (c *ProjectsCatalogTemplatesDeleteCall) Header() http.Header { func (c *ProjectsCatalogTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8863,7 +8863,7 @@ func (c *ProjectsCatalogTemplatesGetCall) Header() http.Header { func (c *ProjectsCatalogTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9001,7 +9001,7 @@ func (c *ProjectsCatalogTemplatesLabelCall) Header() http.Header { func (c *ProjectsCatalogTemplatesLabelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9148,7 +9148,7 @@ func (c *ProjectsCatalogTemplatesTagCall) Header() http.Header { func (c *ProjectsCatalogTemplatesTagCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9291,7 +9291,7 @@ func (c *ProjectsCatalogTemplatesTemplateVersionsCreateCall) Header() http.Heade func (c *ProjectsCatalogTemplatesTemplateVersionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9504,7 +9504,7 @@ func (c *ProjectsJobsAggregatedCall) Header() http.Header { func (c *ProjectsJobsAggregatedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9750,7 +9750,7 @@ func (c *ProjectsJobsCreateCall) Header() http.Header { func (c *ProjectsJobsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9962,7 +9962,7 @@ func (c *ProjectsJobsGetCall) Header() http.Header { func (c *ProjectsJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10162,7 +10162,7 @@ func (c *ProjectsJobsGetMetricsCall) Header() http.Header { func (c *ProjectsJobsGetMetricsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10397,7 +10397,7 @@ func (c *ProjectsJobsListCall) Header() http.Header { func (c *ProjectsJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10607,7 +10607,7 @@ func (c *ProjectsJobsSnapshotCall) Header() http.Header { func (c *ProjectsJobsSnapshotCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10773,7 +10773,7 @@ func (c *ProjectsJobsUpdateCall) Header() http.Header { func (c *ProjectsJobsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10931,7 +10931,7 @@ func (c *ProjectsJobsDebugGetConfigCall) Header() http.Header { func (c *ProjectsJobsDebugGetConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11083,7 +11083,7 @@ func (c *ProjectsJobsDebugSendCaptureCall) Header() http.Header { func (c *ProjectsJobsDebugSendCaptureCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11326,7 +11326,7 @@ func (c *ProjectsJobsMessagesListCall) Header() http.Header { func (c *ProjectsJobsMessagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11543,7 +11543,7 @@ func (c *ProjectsJobsWorkItemsLeaseCall) Header() http.Header { func (c *ProjectsJobsWorkItemsLeaseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11696,7 +11696,7 @@ func (c *ProjectsJobsWorkItemsReportStatusCall) Header() http.Header { func (c *ProjectsJobsWorkItemsReportStatusCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11848,7 +11848,7 @@ func (c *ProjectsLocationsWorkerMessagesCall) Header() http.Header { func (c *ProjectsLocationsWorkerMessagesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12000,7 +12000,7 @@ func (c *ProjectsLocationsFlexTemplatesLaunchCall) Header() http.Header { func (c *ProjectsLocationsFlexTemplatesLaunchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12181,7 +12181,7 @@ func (c *ProjectsLocationsJobsCreateCall) Header() http.Header { func (c *ProjectsLocationsJobsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12389,7 +12389,7 @@ func (c *ProjectsLocationsJobsGetCall) Header() http.Header { func (c *ProjectsLocationsJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12591,7 +12591,7 @@ func (c *ProjectsLocationsJobsGetExecutionDetailsCall) Header() http.Header { func (c *ProjectsLocationsJobsGetExecutionDetailsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12802,7 +12802,7 @@ func (c *ProjectsLocationsJobsGetMetricsCall) Header() http.Header { func (c *ProjectsLocationsJobsGetMetricsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13033,7 +13033,7 @@ func (c *ProjectsLocationsJobsListCall) Header() http.Header { func (c *ProjectsLocationsJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13248,7 +13248,7 @@ func (c *ProjectsLocationsJobsSnapshotCall) Header() http.Header { func (c *ProjectsLocationsJobsSnapshotCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13415,7 +13415,7 @@ func (c *ProjectsLocationsJobsUpdateCall) Header() http.Header { func (c *ProjectsLocationsJobsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13578,7 +13578,7 @@ func (c *ProjectsLocationsJobsDebugGetConfigCall) Header() http.Header { func (c *ProjectsLocationsJobsDebugGetConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13740,7 +13740,7 @@ func (c *ProjectsLocationsJobsDebugSendCaptureCall) Header() http.Header { func (c *ProjectsLocationsJobsDebugSendCaptureCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13984,7 +13984,7 @@ func (c *ProjectsLocationsJobsMessagesListCall) Header() http.Header { func (c *ProjectsLocationsJobsMessagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14215,7 +14215,7 @@ func (c *ProjectsLocationsJobsSnapshotsListCall) Header() http.Header { func (c *ProjectsLocationsJobsSnapshotsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14416,7 +14416,7 @@ func (c *ProjectsLocationsJobsStagesGetExecutionDetailsCall) Header() http.Heade func (c *ProjectsLocationsJobsStagesGetExecutionDetailsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14625,7 +14625,7 @@ func (c *ProjectsLocationsJobsWorkItemsLeaseCall) Header() http.Header { func (c *ProjectsLocationsJobsWorkItemsLeaseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14788,7 +14788,7 @@ func (c *ProjectsLocationsJobsWorkItemsReportStatusCall) Header() http.Header { func (c *ProjectsLocationsJobsWorkItemsReportStatusCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14948,7 +14948,7 @@ func (c *ProjectsLocationsSnapshotsDeleteCall) Header() http.Header { func (c *ProjectsLocationsSnapshotsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15111,7 +15111,7 @@ func (c *ProjectsLocationsSnapshotsGetCall) Header() http.Header { func (c *ProjectsLocationsSnapshotsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15282,7 +15282,7 @@ func (c *ProjectsLocationsSnapshotsListCall) Header() http.Header { func (c *ProjectsLocationsSnapshotsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15452,7 +15452,7 @@ func (c *ProjectsLocationsSqlValidateCall) Header() http.Header { func (c *ProjectsLocationsSqlValidateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15602,7 +15602,7 @@ func (c *ProjectsLocationsTemplatesCreateCall) Header() http.Header { func (c *ProjectsLocationsTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15782,7 +15782,7 @@ func (c *ProjectsLocationsTemplatesGetCall) Header() http.Header { func (c *ProjectsLocationsTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15977,7 +15977,7 @@ func (c *ProjectsLocationsTemplatesLaunchCall) Header() http.Header { func (c *ProjectsLocationsTemplatesLaunchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16165,7 +16165,7 @@ func (c *ProjectsSnapshotsGetCall) Header() http.Header { func (c *ProjectsSnapshotsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16338,7 +16338,7 @@ func (c *ProjectsSnapshotsListCall) Header() http.Header { func (c *ProjectsSnapshotsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16512,7 +16512,7 @@ func (c *ProjectsTemplateVersionsListCall) Header() http.Header { func (c *ProjectsTemplateVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16680,7 +16680,7 @@ func (c *ProjectsTemplatesCreateCall) Header() http.Header { func (c *ProjectsTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16859,7 +16859,7 @@ func (c *ProjectsTemplatesGetCall) Header() http.Header { func (c *ProjectsTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17058,7 +17058,7 @@ func (c *ProjectsTemplatesLaunchCall) Header() http.Header { func (c *ProjectsTemplatesLaunchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/datafusion/v1/datafusion-gen.go b/datafusion/v1/datafusion-gen.go index 30ef1ea7c9e..4afe09b25b8 100644 --- a/datafusion/v1/datafusion-gen.go +++ b/datafusion/v1/datafusion-gen.go @@ -1338,7 +1338,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1512,7 +1512,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1697,7 +1697,7 @@ func (c *ProjectsLocationsInstancesCreateCall) Header() http.Header { func (c *ProjectsLocationsInstancesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1840,7 +1840,7 @@ func (c *ProjectsLocationsInstancesDeleteCall) Header() http.Header { func (c *ProjectsLocationsInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1981,7 +1981,7 @@ func (c *ProjectsLocationsInstancesGetCall) Header() http.Header { func (c *ProjectsLocationsInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2142,7 +2142,7 @@ func (c *ProjectsLocationsInstancesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsInstancesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2321,7 +2321,7 @@ func (c *ProjectsLocationsInstancesListCall) Header() http.Header { func (c *ProjectsLocationsInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2510,7 +2510,7 @@ func (c *ProjectsLocationsInstancesPatchCall) Header() http.Header { func (c *ProjectsLocationsInstancesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2657,7 +2657,7 @@ func (c *ProjectsLocationsInstancesRestartCall) Header() http.Header { func (c *ProjectsLocationsInstancesRestartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2799,7 +2799,7 @@ func (c *ProjectsLocationsInstancesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsInstancesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2944,7 +2944,7 @@ func (c *ProjectsLocationsInstancesTestIamPermissionsCall) Header() http.Header func (c *ProjectsLocationsInstancesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3093,7 +3093,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3234,7 +3234,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3377,7 +3377,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3551,7 +3551,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3758,7 +3758,7 @@ func (c *ProjectsLocationsVersionsListCall) Header() http.Header { func (c *ProjectsLocationsVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/datafusion/v1beta1/datafusion-gen.go b/datafusion/v1beta1/datafusion-gen.go index fb4e52f8672..e54fe6f8f89 100644 --- a/datafusion/v1beta1/datafusion-gen.go +++ b/datafusion/v1beta1/datafusion-gen.go @@ -1340,7 +1340,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1514,7 +1514,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1699,7 +1699,7 @@ func (c *ProjectsLocationsInstancesCreateCall) Header() http.Header { func (c *ProjectsLocationsInstancesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1842,7 +1842,7 @@ func (c *ProjectsLocationsInstancesDeleteCall) Header() http.Header { func (c *ProjectsLocationsInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1983,7 +1983,7 @@ func (c *ProjectsLocationsInstancesGetCall) Header() http.Header { func (c *ProjectsLocationsInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2144,7 +2144,7 @@ func (c *ProjectsLocationsInstancesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsInstancesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2323,7 +2323,7 @@ func (c *ProjectsLocationsInstancesListCall) Header() http.Header { func (c *ProjectsLocationsInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2512,7 +2512,7 @@ func (c *ProjectsLocationsInstancesPatchCall) Header() http.Header { func (c *ProjectsLocationsInstancesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2659,7 +2659,7 @@ func (c *ProjectsLocationsInstancesRestartCall) Header() http.Header { func (c *ProjectsLocationsInstancesRestartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2801,7 +2801,7 @@ func (c *ProjectsLocationsInstancesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsInstancesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2946,7 +2946,7 @@ func (c *ProjectsLocationsInstancesTestIamPermissionsCall) Header() http.Header func (c *ProjectsLocationsInstancesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3087,7 +3087,7 @@ func (c *ProjectsLocationsInstancesUpgradeCall) Header() http.Header { func (c *ProjectsLocationsInstancesUpgradeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3236,7 +3236,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3377,7 +3377,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3520,7 +3520,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3694,7 +3694,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3901,7 +3901,7 @@ func (c *ProjectsLocationsVersionsListCall) Header() http.Header { func (c *ProjectsLocationsVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/datalabeling/v1beta1/datalabeling-gen.go b/datalabeling/v1beta1/datalabeling-gen.go index fe964b54a2c..02214697565 100644 --- a/datalabeling/v1beta1/datalabeling-gen.go +++ b/datalabeling/v1beta1/datalabeling-gen.go @@ -8038,7 +8038,7 @@ func (c *ProjectsAnnotationSpecSetsCreateCall) Header() http.Header { func (c *ProjectsAnnotationSpecSetsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8178,7 +8178,7 @@ func (c *ProjectsAnnotationSpecSetsDeleteCall) Header() http.Header { func (c *ProjectsAnnotationSpecSetsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8319,7 +8319,7 @@ func (c *ProjectsAnnotationSpecSetsGetCall) Header() http.Header { func (c *ProjectsAnnotationSpecSetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8490,7 +8490,7 @@ func (c *ProjectsAnnotationSpecSetsListCall) Header() http.Header { func (c *ProjectsAnnotationSpecSetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8665,7 +8665,7 @@ func (c *ProjectsDatasetsCreateCall) Header() http.Header { func (c *ProjectsDatasetsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8804,7 +8804,7 @@ func (c *ProjectsDatasetsDeleteCall) Header() http.Header { func (c *ProjectsDatasetsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8936,7 +8936,7 @@ func (c *ProjectsDatasetsExportDataCall) Header() http.Header { func (c *ProjectsDatasetsExportDataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9085,7 +9085,7 @@ func (c *ProjectsDatasetsGetCall) Header() http.Header { func (c *ProjectsDatasetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9226,7 +9226,7 @@ func (c *ProjectsDatasetsImportDataCall) Header() http.Header { func (c *ProjectsDatasetsImportDataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9399,7 +9399,7 @@ func (c *ProjectsDatasetsListCall) Header() http.Header { func (c *ProjectsDatasetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9571,7 +9571,7 @@ func (c *ProjectsDatasetsAnnotatedDatasetsDeleteCall) Header() http.Header { func (c *ProjectsDatasetsAnnotatedDatasetsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9712,7 +9712,7 @@ func (c *ProjectsDatasetsAnnotatedDatasetsGetCall) Header() http.Header { func (c *ProjectsDatasetsAnnotatedDatasetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9883,7 +9883,7 @@ func (c *ProjectsDatasetsAnnotatedDatasetsListCall) Header() http.Header { func (c *ProjectsDatasetsAnnotatedDatasetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10068,7 +10068,7 @@ func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall) Header() http.Header func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10237,7 +10237,7 @@ func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall) Header() http.Heade func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10429,7 +10429,7 @@ func (c *ProjectsDatasetsAnnotatedDatasetsExamplesGetCall) Header() http.Header func (c *ProjectsDatasetsAnnotatedDatasetsExamplesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10605,7 +10605,7 @@ func (c *ProjectsDatasetsAnnotatedDatasetsExamplesListCall) Header() http.Header func (c *ProjectsDatasetsAnnotatedDatasetsExamplesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10777,7 +10777,7 @@ func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsDeleteCall) Header() ht func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10918,7 +10918,7 @@ func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall) Header() http. func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11081,7 +11081,7 @@ func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall) Header() http func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11251,7 +11251,7 @@ func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesCreateC func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11389,7 +11389,7 @@ func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesDeleteC func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11530,7 +11530,7 @@ func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11693,7 +11693,7 @@ func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCal func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11873,7 +11873,7 @@ func (c *ProjectsDatasetsDataItemsGetCall) Header() http.Header { func (c *ProjectsDatasetsDataItemsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12042,7 +12042,7 @@ func (c *ProjectsDatasetsDataItemsListCall) Header() http.Header { func (c *ProjectsDatasetsDataItemsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12226,7 +12226,7 @@ func (c *ProjectsDatasetsEvaluationsGetCall) Header() http.Header { func (c *ProjectsDatasetsEvaluationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12366,7 +12366,7 @@ func (c *ProjectsDatasetsEvaluationsExampleComparisonsSearchCall) Header() http. func (c *ProjectsDatasetsEvaluationsExampleComparisonsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12531,7 +12531,7 @@ func (c *ProjectsDatasetsImageLabelCall) Header() http.Header { func (c *ProjectsDatasetsImageLabelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12672,7 +12672,7 @@ func (c *ProjectsDatasetsTextLabelCall) Header() http.Header { func (c *ProjectsDatasetsTextLabelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12813,7 +12813,7 @@ func (c *ProjectsDatasetsVideoLabelCall) Header() http.Header { func (c *ProjectsDatasetsVideoLabelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12953,7 +12953,7 @@ func (c *ProjectsEvaluationJobsCreateCall) Header() http.Header { func (c *ProjectsEvaluationJobsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13093,7 +13093,7 @@ func (c *ProjectsEvaluationJobsDeleteCall) Header() http.Header { func (c *ProjectsEvaluationJobsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13234,7 +13234,7 @@ func (c *ProjectsEvaluationJobsGetCall) Header() http.Header { func (c *ProjectsEvaluationJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13409,7 +13409,7 @@ func (c *ProjectsEvaluationJobsListCall) Header() http.Header { func (c *ProjectsEvaluationJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13599,7 +13599,7 @@ func (c *ProjectsEvaluationJobsPatchCall) Header() http.Header { func (c *ProjectsEvaluationJobsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13748,7 +13748,7 @@ func (c *ProjectsEvaluationJobsPauseCall) Header() http.Header { func (c *ProjectsEvaluationJobsPauseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13890,7 +13890,7 @@ func (c *ProjectsEvaluationJobsResumeCall) Header() http.Header { func (c *ProjectsEvaluationJobsResumeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14079,7 +14079,7 @@ func (c *ProjectsEvaluationsSearchCall) Header() http.Header { func (c *ProjectsEvaluationsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14254,7 +14254,7 @@ func (c *ProjectsInstructionsCreateCall) Header() http.Header { func (c *ProjectsInstructionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14392,7 +14392,7 @@ func (c *ProjectsInstructionsDeleteCall) Header() http.Header { func (c *ProjectsInstructionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14533,7 +14533,7 @@ func (c *ProjectsInstructionsGetCall) Header() http.Header { func (c *ProjectsInstructionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14703,7 +14703,7 @@ func (c *ProjectsInstructionsListCall) Header() http.Header { func (c *ProjectsInstructionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14896,7 +14896,7 @@ func (c *ProjectsOperationsCancelCall) Header() http.Header { func (c *ProjectsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15032,7 +15032,7 @@ func (c *ProjectsOperationsDeleteCall) Header() http.Header { func (c *ProjectsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15175,7 +15175,7 @@ func (c *ProjectsOperationsGetCall) Header() http.Header { func (c *ProjectsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15349,7 +15349,7 @@ func (c *ProjectsOperationsListCall) Header() http.Header { func (c *ProjectsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/datamigration/v1beta1/datamigration-gen.go b/datamigration/v1beta1/datamigration-gen.go index 39f92577270..f7fb1fcbfcc 100644 --- a/datamigration/v1beta1/datamigration-gen.go +++ b/datamigration/v1beta1/datamigration-gen.go @@ -1980,7 +1980,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2146,7 +2146,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2337,7 +2337,7 @@ func (c *ProjectsLocationsConnectionProfilesCreateCall) Header() http.Header { func (c *ProjectsLocationsConnectionProfilesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2506,7 +2506,7 @@ func (c *ProjectsLocationsConnectionProfilesDeleteCall) Header() http.Header { func (c *ProjectsLocationsConnectionProfilesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2657,7 +2657,7 @@ func (c *ProjectsLocationsConnectionProfilesGetCall) Header() http.Header { func (c *ProjectsLocationsConnectionProfilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2818,7 +2818,7 @@ func (c *ProjectsLocationsConnectionProfilesGetIamPolicyCall) Header() http.Head func (c *ProjectsLocationsConnectionProfilesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3011,7 +3011,7 @@ func (c *ProjectsLocationsConnectionProfilesListCall) Header() http.Header { func (c *ProjectsLocationsConnectionProfilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3207,7 +3207,7 @@ func (c *ProjectsLocationsConnectionProfilesPatchCall) Header() http.Header { func (c *ProjectsLocationsConnectionProfilesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3360,7 +3360,7 @@ func (c *ProjectsLocationsConnectionProfilesSetIamPolicyCall) Header() http.Head func (c *ProjectsLocationsConnectionProfilesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3505,7 +3505,7 @@ func (c *ProjectsLocationsConnectionProfilesTestIamPermissionsCall) Header() htt func (c *ProjectsLocationsConnectionProfilesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3663,7 +3663,7 @@ func (c *ProjectsLocationsMigrationJobsCreateCall) Header() http.Header { func (c *ProjectsLocationsMigrationJobsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3831,7 +3831,7 @@ func (c *ProjectsLocationsMigrationJobsDeleteCall) Header() http.Header { func (c *ProjectsLocationsMigrationJobsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3974,7 +3974,7 @@ func (c *ProjectsLocationsMigrationJobsGenerateSshScriptCall) Header() http.Head func (c *ProjectsLocationsMigrationJobsGenerateSshScriptCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4123,7 +4123,7 @@ func (c *ProjectsLocationsMigrationJobsGetCall) Header() http.Header { func (c *ProjectsLocationsMigrationJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4284,7 +4284,7 @@ func (c *ProjectsLocationsMigrationJobsGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsMigrationJobsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4477,7 +4477,7 @@ func (c *ProjectsLocationsMigrationJobsListCall) Header() http.Header { func (c *ProjectsLocationsMigrationJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4673,7 +4673,7 @@ func (c *ProjectsLocationsMigrationJobsPatchCall) Header() http.Header { func (c *ProjectsLocationsMigrationJobsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4826,7 +4826,7 @@ func (c *ProjectsLocationsMigrationJobsPromoteCall) Header() http.Header { func (c *ProjectsLocationsMigrationJobsPromoteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4968,7 +4968,7 @@ func (c *ProjectsLocationsMigrationJobsRestartCall) Header() http.Header { func (c *ProjectsLocationsMigrationJobsRestartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5109,7 +5109,7 @@ func (c *ProjectsLocationsMigrationJobsResumeCall) Header() http.Header { func (c *ProjectsLocationsMigrationJobsResumeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5251,7 +5251,7 @@ func (c *ProjectsLocationsMigrationJobsSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsMigrationJobsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5391,7 +5391,7 @@ func (c *ProjectsLocationsMigrationJobsStartCall) Header() http.Header { func (c *ProjectsLocationsMigrationJobsStartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5531,7 +5531,7 @@ func (c *ProjectsLocationsMigrationJobsStopCall) Header() http.Header { func (c *ProjectsLocationsMigrationJobsStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5676,7 +5676,7 @@ func (c *ProjectsLocationsMigrationJobsTestIamPermissionsCall) Header() http.Hea func (c *ProjectsLocationsMigrationJobsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5817,7 +5817,7 @@ func (c *ProjectsLocationsMigrationJobsVerifyCall) Header() http.Header { func (c *ProjectsLocationsMigrationJobsVerifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5966,7 +5966,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6107,7 +6107,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6250,7 +6250,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6424,7 +6424,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/dataproc/v1/dataproc-gen.go b/dataproc/v1/dataproc-gen.go index 2d7a3f66596..449dc121d66 100644 --- a/dataproc/v1/dataproc-gen.go +++ b/dataproc/v1/dataproc-gen.go @@ -4149,7 +4149,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesCreateCall) Header() http.Header { func (c *ProjectsLocationsAutoscalingPoliciesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4288,7 +4288,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesDeleteCall) Header() http.Header { func (c *ProjectsLocationsAutoscalingPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4429,7 +4429,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesGetCall) Header() http.Header { func (c *ProjectsLocationsAutoscalingPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4566,7 +4566,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesGetIamPolicyCall) Header() http.Hea func (c *ProjectsLocationsAutoscalingPoliciesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4730,7 +4730,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesListCall) Header() http.Header { func (c *ProjectsLocationsAutoscalingPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4899,7 +4899,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesSetIamPolicyCall) Header() http.Hea func (c *ProjectsLocationsAutoscalingPoliciesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5044,7 +5044,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesTestIamPermissionsCall) Header() ht func (c *ProjectsLocationsAutoscalingPoliciesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5185,7 +5185,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesUpdateCall) Header() http.Header { func (c *ProjectsLocationsAutoscalingPoliciesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5325,7 +5325,7 @@ func (c *ProjectsLocationsWorkflowTemplatesCreateCall) Header() http.Header { func (c *ProjectsLocationsWorkflowTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5472,7 +5472,7 @@ func (c *ProjectsLocationsWorkflowTemplatesDeleteCall) Header() http.Header { func (c *ProjectsLocationsWorkflowTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5628,7 +5628,7 @@ func (c *ProjectsLocationsWorkflowTemplatesGetCall) Header() http.Header { func (c *ProjectsLocationsWorkflowTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5771,7 +5771,7 @@ func (c *ProjectsLocationsWorkflowTemplatesGetIamPolicyCall) Header() http.Heade func (c *ProjectsLocationsWorkflowTemplatesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5922,7 +5922,7 @@ func (c *ProjectsLocationsWorkflowTemplatesInstantiateCall) Header() http.Header func (c *ProjectsLocationsWorkflowTemplatesInstantiateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6087,7 +6087,7 @@ func (c *ProjectsLocationsWorkflowTemplatesInstantiateInlineCall) Header() http. func (c *ProjectsLocationsWorkflowTemplatesInstantiateInlineCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6255,7 +6255,7 @@ func (c *ProjectsLocationsWorkflowTemplatesListCall) Header() http.Header { func (c *ProjectsLocationsWorkflowTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6424,7 +6424,7 @@ func (c *ProjectsLocationsWorkflowTemplatesSetIamPolicyCall) Header() http.Heade func (c *ProjectsLocationsWorkflowTemplatesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6569,7 +6569,7 @@ func (c *ProjectsLocationsWorkflowTemplatesTestIamPermissionsCall) Header() http func (c *ProjectsLocationsWorkflowTemplatesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6710,7 +6710,7 @@ func (c *ProjectsLocationsWorkflowTemplatesUpdateCall) Header() http.Header { func (c *ProjectsLocationsWorkflowTemplatesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6850,7 +6850,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesCreateCall) Header() http.Header { func (c *ProjectsRegionsAutoscalingPoliciesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6989,7 +6989,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesDeleteCall) Header() http.Header { func (c *ProjectsRegionsAutoscalingPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7130,7 +7130,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesGetCall) Header() http.Header { func (c *ProjectsRegionsAutoscalingPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7267,7 +7267,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesGetIamPolicyCall) Header() http.Heade func (c *ProjectsRegionsAutoscalingPoliciesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7431,7 +7431,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesListCall) Header() http.Header { func (c *ProjectsRegionsAutoscalingPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7600,7 +7600,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesSetIamPolicyCall) Header() http.Heade func (c *ProjectsRegionsAutoscalingPoliciesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7745,7 +7745,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesTestIamPermissionsCall) Header() http func (c *ProjectsRegionsAutoscalingPoliciesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7886,7 +7886,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesUpdateCall) Header() http.Header { func (c *ProjectsRegionsAutoscalingPoliciesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8045,7 +8045,7 @@ func (c *ProjectsRegionsClustersCreateCall) Header() http.Header { func (c *ProjectsRegionsClustersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8224,7 +8224,7 @@ func (c *ProjectsRegionsClustersDeleteCall) Header() http.Header { func (c *ProjectsRegionsClustersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8391,7 +8391,7 @@ func (c *ProjectsRegionsClustersDiagnoseCall) Header() http.Header { func (c *ProjectsRegionsClustersDiagnoseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8559,7 +8559,7 @@ func (c *ProjectsRegionsClustersGetCall) Header() http.Header { func (c *ProjectsRegionsClustersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8711,7 +8711,7 @@ func (c *ProjectsRegionsClustersGetIamPolicyCall) Header() http.Header { func (c *ProjectsRegionsClustersGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8895,7 +8895,7 @@ func (c *ProjectsRegionsClustersListCall) Header() http.Header { func (c *ProjectsRegionsClustersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9131,7 +9131,7 @@ func (c *ProjectsRegionsClustersPatchCall) Header() http.Header { func (c *ProjectsRegionsClustersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9305,7 +9305,7 @@ func (c *ProjectsRegionsClustersSetIamPolicyCall) Header() http.Header { func (c *ProjectsRegionsClustersSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9450,7 +9450,7 @@ func (c *ProjectsRegionsClustersTestIamPermissionsCall) Header() http.Header { func (c *ProjectsRegionsClustersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9599,7 +9599,7 @@ func (c *ProjectsRegionsJobsCancelCall) Header() http.Header { func (c *ProjectsRegionsJobsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9757,7 +9757,7 @@ func (c *ProjectsRegionsJobsDeleteCall) Header() http.Header { func (c *ProjectsRegionsJobsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9917,7 +9917,7 @@ func (c *ProjectsRegionsJobsGetCall) Header() http.Header { func (c *ProjectsRegionsJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10069,7 +10069,7 @@ func (c *ProjectsRegionsJobsGetIamPolicyCall) Header() http.Header { func (c *ProjectsRegionsJobsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10270,7 +10270,7 @@ func (c *ProjectsRegionsJobsListCall) Header() http.Header { func (c *ProjectsRegionsJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10484,7 +10484,7 @@ func (c *ProjectsRegionsJobsPatchCall) Header() http.Header { func (c *ProjectsRegionsJobsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10647,7 +10647,7 @@ func (c *ProjectsRegionsJobsSetIamPolicyCall) Header() http.Header { func (c *ProjectsRegionsJobsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10789,7 +10789,7 @@ func (c *ProjectsRegionsJobsSubmitCall) Header() http.Header { func (c *ProjectsRegionsJobsSubmitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10938,7 +10938,7 @@ func (c *ProjectsRegionsJobsSubmitAsOperationCall) Header() http.Header { func (c *ProjectsRegionsJobsSubmitAsOperationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11090,7 +11090,7 @@ func (c *ProjectsRegionsJobsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsRegionsJobsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11237,7 +11237,7 @@ func (c *ProjectsRegionsOperationsCancelCall) Header() http.Header { func (c *ProjectsRegionsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11370,7 +11370,7 @@ func (c *ProjectsRegionsOperationsDeleteCall) Header() http.Header { func (c *ProjectsRegionsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11513,7 +11513,7 @@ func (c *ProjectsRegionsOperationsGetCall) Header() http.Header { func (c *ProjectsRegionsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11650,7 +11650,7 @@ func (c *ProjectsRegionsOperationsGetIamPolicyCall) Header() http.Header { func (c *ProjectsRegionsOperationsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11829,7 +11829,7 @@ func (c *ProjectsRegionsOperationsListCall) Header() http.Header { func (c *ProjectsRegionsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12003,7 +12003,7 @@ func (c *ProjectsRegionsOperationsSetIamPolicyCall) Header() http.Header { func (c *ProjectsRegionsOperationsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12148,7 +12148,7 @@ func (c *ProjectsRegionsOperationsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsRegionsOperationsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12288,7 +12288,7 @@ func (c *ProjectsRegionsWorkflowTemplatesCreateCall) Header() http.Header { func (c *ProjectsRegionsWorkflowTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12435,7 +12435,7 @@ func (c *ProjectsRegionsWorkflowTemplatesDeleteCall) Header() http.Header { func (c *ProjectsRegionsWorkflowTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12591,7 +12591,7 @@ func (c *ProjectsRegionsWorkflowTemplatesGetCall) Header() http.Header { func (c *ProjectsRegionsWorkflowTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12734,7 +12734,7 @@ func (c *ProjectsRegionsWorkflowTemplatesGetIamPolicyCall) Header() http.Header func (c *ProjectsRegionsWorkflowTemplatesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12885,7 +12885,7 @@ func (c *ProjectsRegionsWorkflowTemplatesInstantiateCall) Header() http.Header { func (c *ProjectsRegionsWorkflowTemplatesInstantiateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13050,7 +13050,7 @@ func (c *ProjectsRegionsWorkflowTemplatesInstantiateInlineCall) Header() http.He func (c *ProjectsRegionsWorkflowTemplatesInstantiateInlineCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13218,7 +13218,7 @@ func (c *ProjectsRegionsWorkflowTemplatesListCall) Header() http.Header { func (c *ProjectsRegionsWorkflowTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13387,7 +13387,7 @@ func (c *ProjectsRegionsWorkflowTemplatesSetIamPolicyCall) Header() http.Header func (c *ProjectsRegionsWorkflowTemplatesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13532,7 +13532,7 @@ func (c *ProjectsRegionsWorkflowTemplatesTestIamPermissionsCall) Header() http.H func (c *ProjectsRegionsWorkflowTemplatesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13673,7 +13673,7 @@ func (c *ProjectsRegionsWorkflowTemplatesUpdateCall) Header() http.Header { func (c *ProjectsRegionsWorkflowTemplatesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/dataproc/v1beta2/dataproc-gen.go b/dataproc/v1beta2/dataproc-gen.go index fe1044fd125..158251a0c33 100644 --- a/dataproc/v1beta2/dataproc-gen.go +++ b/dataproc/v1beta2/dataproc-gen.go @@ -4361,7 +4361,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesCreateCall) Header() http.Header { func (c *ProjectsLocationsAutoscalingPoliciesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4500,7 +4500,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesDeleteCall) Header() http.Header { func (c *ProjectsLocationsAutoscalingPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4641,7 +4641,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesGetCall) Header() http.Header { func (c *ProjectsLocationsAutoscalingPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4801,7 +4801,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesGetIamPolicyCall) Header() http.Hea func (c *ProjectsLocationsAutoscalingPoliciesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4966,7 +4966,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesListCall) Header() http.Header { func (c *ProjectsLocationsAutoscalingPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5135,7 +5135,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesSetIamPolicyCall) Header() http.Hea func (c *ProjectsLocationsAutoscalingPoliciesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5280,7 +5280,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesTestIamPermissionsCall) Header() ht func (c *ProjectsLocationsAutoscalingPoliciesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5421,7 +5421,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesUpdateCall) Header() http.Header { func (c *ProjectsLocationsAutoscalingPoliciesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5561,7 +5561,7 @@ func (c *ProjectsLocationsWorkflowTemplatesCreateCall) Header() http.Header { func (c *ProjectsLocationsWorkflowTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5708,7 +5708,7 @@ func (c *ProjectsLocationsWorkflowTemplatesDeleteCall) Header() http.Header { func (c *ProjectsLocationsWorkflowTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5864,7 +5864,7 @@ func (c *ProjectsLocationsWorkflowTemplatesGetCall) Header() http.Header { func (c *ProjectsLocationsWorkflowTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6030,7 +6030,7 @@ func (c *ProjectsLocationsWorkflowTemplatesGetIamPolicyCall) Header() http.Heade func (c *ProjectsLocationsWorkflowTemplatesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6182,7 +6182,7 @@ func (c *ProjectsLocationsWorkflowTemplatesInstantiateCall) Header() http.Header func (c *ProjectsLocationsWorkflowTemplatesInstantiateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6354,7 +6354,7 @@ func (c *ProjectsLocationsWorkflowTemplatesInstantiateInlineCall) Header() http. func (c *ProjectsLocationsWorkflowTemplatesInstantiateInlineCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6527,7 +6527,7 @@ func (c *ProjectsLocationsWorkflowTemplatesListCall) Header() http.Header { func (c *ProjectsLocationsWorkflowTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6696,7 +6696,7 @@ func (c *ProjectsLocationsWorkflowTemplatesSetIamPolicyCall) Header() http.Heade func (c *ProjectsLocationsWorkflowTemplatesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6841,7 +6841,7 @@ func (c *ProjectsLocationsWorkflowTemplatesTestIamPermissionsCall) Header() http func (c *ProjectsLocationsWorkflowTemplatesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6982,7 +6982,7 @@ func (c *ProjectsLocationsWorkflowTemplatesUpdateCall) Header() http.Header { func (c *ProjectsLocationsWorkflowTemplatesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7122,7 +7122,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesCreateCall) Header() http.Header { func (c *ProjectsRegionsAutoscalingPoliciesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7261,7 +7261,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesDeleteCall) Header() http.Header { func (c *ProjectsRegionsAutoscalingPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7402,7 +7402,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesGetCall) Header() http.Header { func (c *ProjectsRegionsAutoscalingPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7562,7 +7562,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesGetIamPolicyCall) Header() http.Heade func (c *ProjectsRegionsAutoscalingPoliciesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7727,7 +7727,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesListCall) Header() http.Header { func (c *ProjectsRegionsAutoscalingPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7896,7 +7896,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesSetIamPolicyCall) Header() http.Heade func (c *ProjectsRegionsAutoscalingPoliciesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8041,7 +8041,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesTestIamPermissionsCall) Header() http func (c *ProjectsRegionsAutoscalingPoliciesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8182,7 +8182,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesUpdateCall) Header() http.Header { func (c *ProjectsRegionsAutoscalingPoliciesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8341,7 +8341,7 @@ func (c *ProjectsRegionsClustersCreateCall) Header() http.Header { func (c *ProjectsRegionsClustersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8520,7 +8520,7 @@ func (c *ProjectsRegionsClustersDeleteCall) Header() http.Header { func (c *ProjectsRegionsClustersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8685,7 +8685,7 @@ func (c *ProjectsRegionsClustersDiagnoseCall) Header() http.Header { func (c *ProjectsRegionsClustersDiagnoseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8853,7 +8853,7 @@ func (c *ProjectsRegionsClustersGetCall) Header() http.Header { func (c *ProjectsRegionsClustersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9028,7 +9028,7 @@ func (c *ProjectsRegionsClustersGetIamPolicyCall) Header() http.Header { func (c *ProjectsRegionsClustersGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9213,7 +9213,7 @@ func (c *ProjectsRegionsClustersListCall) Header() http.Header { func (c *ProjectsRegionsClustersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9452,7 +9452,7 @@ func (c *ProjectsRegionsClustersPatchCall) Header() http.Header { func (c *ProjectsRegionsClustersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9626,7 +9626,7 @@ func (c *ProjectsRegionsClustersSetIamPolicyCall) Header() http.Header { func (c *ProjectsRegionsClustersSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9770,7 +9770,7 @@ func (c *ProjectsRegionsClustersStartCall) Header() http.Header { func (c *ProjectsRegionsClustersStartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9929,7 +9929,7 @@ func (c *ProjectsRegionsClustersStopCall) Header() http.Header { func (c *ProjectsRegionsClustersStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10089,7 +10089,7 @@ func (c *ProjectsRegionsClustersTestIamPermissionsCall) Header() http.Header { func (c *ProjectsRegionsClustersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10238,7 +10238,7 @@ func (c *ProjectsRegionsJobsCancelCall) Header() http.Header { func (c *ProjectsRegionsJobsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10396,7 +10396,7 @@ func (c *ProjectsRegionsJobsDeleteCall) Header() http.Header { func (c *ProjectsRegionsJobsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10556,7 +10556,7 @@ func (c *ProjectsRegionsJobsGetCall) Header() http.Header { func (c *ProjectsRegionsJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10731,7 +10731,7 @@ func (c *ProjectsRegionsJobsGetIamPolicyCall) Header() http.Header { func (c *ProjectsRegionsJobsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10933,7 +10933,7 @@ func (c *ProjectsRegionsJobsListCall) Header() http.Header { func (c *ProjectsRegionsJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11147,7 +11147,7 @@ func (c *ProjectsRegionsJobsPatchCall) Header() http.Header { func (c *ProjectsRegionsJobsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11310,7 +11310,7 @@ func (c *ProjectsRegionsJobsSetIamPolicyCall) Header() http.Header { func (c *ProjectsRegionsJobsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11452,7 +11452,7 @@ func (c *ProjectsRegionsJobsSubmitCall) Header() http.Header { func (c *ProjectsRegionsJobsSubmitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11601,7 +11601,7 @@ func (c *ProjectsRegionsJobsSubmitAsOperationCall) Header() http.Header { func (c *ProjectsRegionsJobsSubmitAsOperationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11753,7 +11753,7 @@ func (c *ProjectsRegionsJobsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsRegionsJobsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11900,7 +11900,7 @@ func (c *ProjectsRegionsOperationsCancelCall) Header() http.Header { func (c *ProjectsRegionsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12033,7 +12033,7 @@ func (c *ProjectsRegionsOperationsDeleteCall) Header() http.Header { func (c *ProjectsRegionsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12176,7 +12176,7 @@ func (c *ProjectsRegionsOperationsGetCall) Header() http.Header { func (c *ProjectsRegionsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12336,7 +12336,7 @@ func (c *ProjectsRegionsOperationsGetIamPolicyCall) Header() http.Header { func (c *ProjectsRegionsOperationsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12516,7 +12516,7 @@ func (c *ProjectsRegionsOperationsListCall) Header() http.Header { func (c *ProjectsRegionsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12690,7 +12690,7 @@ func (c *ProjectsRegionsOperationsSetIamPolicyCall) Header() http.Header { func (c *ProjectsRegionsOperationsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12835,7 +12835,7 @@ func (c *ProjectsRegionsOperationsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsRegionsOperationsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12975,7 +12975,7 @@ func (c *ProjectsRegionsWorkflowTemplatesCreateCall) Header() http.Header { func (c *ProjectsRegionsWorkflowTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13122,7 +13122,7 @@ func (c *ProjectsRegionsWorkflowTemplatesDeleteCall) Header() http.Header { func (c *ProjectsRegionsWorkflowTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13278,7 +13278,7 @@ func (c *ProjectsRegionsWorkflowTemplatesGetCall) Header() http.Header { func (c *ProjectsRegionsWorkflowTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13444,7 +13444,7 @@ func (c *ProjectsRegionsWorkflowTemplatesGetIamPolicyCall) Header() http.Header func (c *ProjectsRegionsWorkflowTemplatesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13596,7 +13596,7 @@ func (c *ProjectsRegionsWorkflowTemplatesInstantiateCall) Header() http.Header { func (c *ProjectsRegionsWorkflowTemplatesInstantiateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13768,7 +13768,7 @@ func (c *ProjectsRegionsWorkflowTemplatesInstantiateInlineCall) Header() http.He func (c *ProjectsRegionsWorkflowTemplatesInstantiateInlineCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13941,7 +13941,7 @@ func (c *ProjectsRegionsWorkflowTemplatesListCall) Header() http.Header { func (c *ProjectsRegionsWorkflowTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14110,7 +14110,7 @@ func (c *ProjectsRegionsWorkflowTemplatesSetIamPolicyCall) Header() http.Header func (c *ProjectsRegionsWorkflowTemplatesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14255,7 +14255,7 @@ func (c *ProjectsRegionsWorkflowTemplatesTestIamPermissionsCall) Header() http.H func (c *ProjectsRegionsWorkflowTemplatesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14396,7 +14396,7 @@ func (c *ProjectsRegionsWorkflowTemplatesUpdateCall) Header() http.Header { func (c *ProjectsRegionsWorkflowTemplatesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/datastore/v1beta1/datastore-gen.go b/datastore/v1beta1/datastore-gen.go index 0902c1dea03..a7348a68402 100644 --- a/datastore/v1beta1/datastore-gen.go +++ b/datastore/v1beta1/datastore-gen.go @@ -979,7 +979,7 @@ func (c *ProjectsExportCall) Header() http.Header { func (c *ProjectsExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1124,7 +1124,7 @@ func (c *ProjectsImportCall) Header() http.Header { func (c *ProjectsImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/deploymentmanager/v0.alpha/deploymentmanager-gen.go b/deploymentmanager/v0.alpha/deploymentmanager-gen.go index c0257c7601f..5a94d535659 100644 --- a/deploymentmanager/v0.alpha/deploymentmanager-gen.go +++ b/deploymentmanager/v0.alpha/deploymentmanager-gen.go @@ -3234,7 +3234,7 @@ func (c *CompositeTypesDeleteCall) Header() http.Header { func (c *CompositeTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3387,7 +3387,7 @@ func (c *CompositeTypesGetCall) Header() http.Header { func (c *CompositeTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3534,7 +3534,7 @@ func (c *CompositeTypesInsertCall) Header() http.Header { func (c *CompositeTypesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3749,7 +3749,7 @@ func (c *CompositeTypesListCall) Header() http.Header { func (c *CompositeTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3938,7 +3938,7 @@ func (c *CompositeTypesPatchCall) Header() http.Header { func (c *CompositeTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4090,7 +4090,7 @@ func (c *CompositeTypesUpdateCall) Header() http.Header { func (c *CompositeTypesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4243,7 +4243,7 @@ func (c *DeploymentsCancelPreviewCall) Header() http.Header { func (c *DeploymentsCancelPreviewCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4405,7 +4405,7 @@ func (c *DeploymentsDeleteCall) Header() http.Header { func (c *DeploymentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4571,7 +4571,7 @@ func (c *DeploymentsGetCall) Header() http.Header { func (c *DeploymentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4737,7 +4737,7 @@ func (c *DeploymentsGetIamPolicyCall) Header() http.Header { func (c *DeploymentsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4915,7 +4915,7 @@ func (c *DeploymentsInsertCall) Header() http.Header { func (c *DeploymentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5151,7 +5151,7 @@ func (c *DeploymentsListCall) Header() http.Header { func (c *DeploymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5380,7 +5380,7 @@ func (c *DeploymentsPatchCall) Header() http.Header { func (c *DeploymentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5569,7 +5569,7 @@ func (c *DeploymentsSetIamPolicyCall) Header() http.Header { func (c *DeploymentsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5723,7 +5723,7 @@ func (c *DeploymentsStopCall) Header() http.Header { func (c *DeploymentsStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5876,7 +5876,7 @@ func (c *DeploymentsTestIamPermissionsCall) Header() http.Header { func (c *DeploymentsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6068,7 +6068,7 @@ func (c *DeploymentsUpdateCall) Header() http.Header { func (c *DeploymentsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6267,7 +6267,7 @@ func (c *ManifestsGetCall) Header() http.Header { func (c *ManifestsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6499,7 +6499,7 @@ func (c *ManifestsListCall) Header() http.Header { func (c *ManifestsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6706,7 +6706,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6926,7 +6926,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7126,7 +7126,7 @@ func (c *ResourcesGetCall) Header() http.Header { func (c *ResourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7357,7 +7357,7 @@ func (c *ResourcesListCall) Header() http.Header { func (c *ResourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7553,7 +7553,7 @@ func (c *TypeProvidersDeleteCall) Header() http.Header { func (c *TypeProvidersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7706,7 +7706,7 @@ func (c *TypeProvidersGetCall) Header() http.Header { func (c *TypeProvidersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7866,7 +7866,7 @@ func (c *TypeProvidersGetTypeCall) Header() http.Header { func (c *TypeProvidersGetTypeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8021,7 +8021,7 @@ func (c *TypeProvidersInsertCall) Header() http.Header { func (c *TypeProvidersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8236,7 +8236,7 @@ func (c *TypeProvidersListCall) Header() http.Header { func (c *TypeProvidersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8499,7 +8499,7 @@ func (c *TypeProvidersListTypesCall) Header() http.Header { func (c *TypeProvidersListTypesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8697,7 +8697,7 @@ func (c *TypeProvidersPatchCall) Header() http.Header { func (c *TypeProvidersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8849,7 +8849,7 @@ func (c *TypeProvidersUpdateCall) Header() http.Header { func (c *TypeProvidersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9010,7 +9010,7 @@ func (c *TypesGetCall) Header() http.Header { func (c *TypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9231,7 +9231,7 @@ func (c *TypesListCall) Header() http.Header { func (c *TypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/deploymentmanager/v2/deploymentmanager-gen.go b/deploymentmanager/v2/deploymentmanager-gen.go index 6f040d84702..26451ab3349 100644 --- a/deploymentmanager/v2/deploymentmanager-gen.go +++ b/deploymentmanager/v2/deploymentmanager-gen.go @@ -2151,7 +2151,7 @@ func (c *DeploymentsCancelPreviewCall) Header() http.Header { func (c *DeploymentsCancelPreviewCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2313,7 +2313,7 @@ func (c *DeploymentsDeleteCall) Header() http.Header { func (c *DeploymentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2479,7 +2479,7 @@ func (c *DeploymentsGetCall) Header() http.Header { func (c *DeploymentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2645,7 +2645,7 @@ func (c *DeploymentsGetIamPolicyCall) Header() http.Header { func (c *DeploymentsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2822,7 +2822,7 @@ func (c *DeploymentsInsertCall) Header() http.Header { func (c *DeploymentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3056,7 +3056,7 @@ func (c *DeploymentsListCall) Header() http.Header { func (c *DeploymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3284,7 +3284,7 @@ func (c *DeploymentsPatchCall) Header() http.Header { func (c *DeploymentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3471,7 +3471,7 @@ func (c *DeploymentsSetIamPolicyCall) Header() http.Header { func (c *DeploymentsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3625,7 +3625,7 @@ func (c *DeploymentsStopCall) Header() http.Header { func (c *DeploymentsStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3778,7 +3778,7 @@ func (c *DeploymentsTestIamPermissionsCall) Header() http.Header { func (c *DeploymentsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3969,7 +3969,7 @@ func (c *DeploymentsUpdateCall) Header() http.Header { func (c *DeploymentsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4166,7 +4166,7 @@ func (c *ManifestsGetCall) Header() http.Header { func (c *ManifestsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4398,7 +4398,7 @@ func (c *ManifestsListCall) Header() http.Header { func (c *ManifestsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4605,7 +4605,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4825,7 +4825,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5025,7 +5025,7 @@ func (c *ResourcesGetCall) Header() http.Header { func (c *ResourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5256,7 +5256,7 @@ func (c *ResourcesListCall) Header() http.Header { func (c *ResourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5526,7 +5526,7 @@ func (c *TypesListCall) Header() http.Header { func (c *TypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/deploymentmanager/v2beta/deploymentmanager-gen.go b/deploymentmanager/v2beta/deploymentmanager-gen.go index d0a39df12c4..d468427eec6 100644 --- a/deploymentmanager/v2beta/deploymentmanager-gen.go +++ b/deploymentmanager/v2beta/deploymentmanager-gen.go @@ -3108,7 +3108,7 @@ func (c *CompositeTypesDeleteCall) Header() http.Header { func (c *CompositeTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3261,7 +3261,7 @@ func (c *CompositeTypesGetCall) Header() http.Header { func (c *CompositeTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3408,7 +3408,7 @@ func (c *CompositeTypesInsertCall) Header() http.Header { func (c *CompositeTypesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3623,7 +3623,7 @@ func (c *CompositeTypesListCall) Header() http.Header { func (c *CompositeTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3812,7 +3812,7 @@ func (c *CompositeTypesPatchCall) Header() http.Header { func (c *CompositeTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3964,7 +3964,7 @@ func (c *CompositeTypesUpdateCall) Header() http.Header { func (c *CompositeTypesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4117,7 +4117,7 @@ func (c *DeploymentsCancelPreviewCall) Header() http.Header { func (c *DeploymentsCancelPreviewCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4279,7 +4279,7 @@ func (c *DeploymentsDeleteCall) Header() http.Header { func (c *DeploymentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4445,7 +4445,7 @@ func (c *DeploymentsGetCall) Header() http.Header { func (c *DeploymentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4611,7 +4611,7 @@ func (c *DeploymentsGetIamPolicyCall) Header() http.Header { func (c *DeploymentsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4789,7 +4789,7 @@ func (c *DeploymentsInsertCall) Header() http.Header { func (c *DeploymentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5025,7 +5025,7 @@ func (c *DeploymentsListCall) Header() http.Header { func (c *DeploymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5254,7 +5254,7 @@ func (c *DeploymentsPatchCall) Header() http.Header { func (c *DeploymentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5443,7 +5443,7 @@ func (c *DeploymentsSetIamPolicyCall) Header() http.Header { func (c *DeploymentsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5597,7 +5597,7 @@ func (c *DeploymentsStopCall) Header() http.Header { func (c *DeploymentsStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5750,7 +5750,7 @@ func (c *DeploymentsTestIamPermissionsCall) Header() http.Header { func (c *DeploymentsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5942,7 +5942,7 @@ func (c *DeploymentsUpdateCall) Header() http.Header { func (c *DeploymentsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6141,7 +6141,7 @@ func (c *ManifestsGetCall) Header() http.Header { func (c *ManifestsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6373,7 +6373,7 @@ func (c *ManifestsListCall) Header() http.Header { func (c *ManifestsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6580,7 +6580,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6800,7 +6800,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7000,7 +7000,7 @@ func (c *ResourcesGetCall) Header() http.Header { func (c *ResourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7231,7 +7231,7 @@ func (c *ResourcesListCall) Header() http.Header { func (c *ResourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7427,7 +7427,7 @@ func (c *TypeProvidersDeleteCall) Header() http.Header { func (c *TypeProvidersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7580,7 +7580,7 @@ func (c *TypeProvidersGetCall) Header() http.Header { func (c *TypeProvidersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7740,7 +7740,7 @@ func (c *TypeProvidersGetTypeCall) Header() http.Header { func (c *TypeProvidersGetTypeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7895,7 +7895,7 @@ func (c *TypeProvidersInsertCall) Header() http.Header { func (c *TypeProvidersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8110,7 +8110,7 @@ func (c *TypeProvidersListCall) Header() http.Header { func (c *TypeProvidersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8373,7 +8373,7 @@ func (c *TypeProvidersListTypesCall) Header() http.Header { func (c *TypeProvidersListTypesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8571,7 +8571,7 @@ func (c *TypeProvidersPatchCall) Header() http.Header { func (c *TypeProvidersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8723,7 +8723,7 @@ func (c *TypeProvidersUpdateCall) Header() http.Header { func (c *TypeProvidersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8947,7 +8947,7 @@ func (c *TypesListCall) Header() http.Header { func (c *TypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/dfareporting/v3.3/dfareporting-gen.go b/dfareporting/v3.3/dfareporting-gen.go index b69319366c7..f8bb99097e7 100644 --- a/dfareporting/v3.3/dfareporting-gen.go +++ b/dfareporting/v3.3/dfareporting-gen.go @@ -14083,7 +14083,7 @@ func (c *AccountActiveAdSummariesGetCall) Header() http.Header { func (c *AccountActiveAdSummariesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14238,7 +14238,7 @@ func (c *AccountPermissionGroupsGetCall) Header() http.Header { func (c *AccountPermissionGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14391,7 +14391,7 @@ func (c *AccountPermissionGroupsListCall) Header() http.Header { func (c *AccountPermissionGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14538,7 +14538,7 @@ func (c *AccountPermissionsGetCall) Header() http.Header { func (c *AccountPermissionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14691,7 +14691,7 @@ func (c *AccountPermissionsListCall) Header() http.Header { func (c *AccountPermissionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14837,7 +14837,7 @@ func (c *AccountUserProfilesGetCall) Header() http.Header { func (c *AccountUserProfilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14981,7 +14981,7 @@ func (c *AccountUserProfilesInsertCall) Header() http.Header { func (c *AccountUserProfilesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15213,7 +15213,7 @@ func (c *AccountUserProfilesListCall) Header() http.Header { func (c *AccountUserProfilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15442,7 +15442,7 @@ func (c *AccountUserProfilesPatchCall) Header() http.Header { func (c *AccountUserProfilesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15590,7 +15590,7 @@ func (c *AccountUserProfilesUpdateCall) Header() http.Header { func (c *AccountUserProfilesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15741,7 +15741,7 @@ func (c *AccountsGetCall) Header() http.Header { func (c *AccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15963,7 +15963,7 @@ func (c *AccountsListCall) Header() http.Header { func (c *AccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16180,7 +16180,7 @@ func (c *AccountsPatchCall) Header() http.Header { func (c *AccountsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16328,7 +16328,7 @@ func (c *AccountsUpdateCall) Header() http.Header { func (c *AccountsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16479,7 +16479,7 @@ func (c *AdsGetCall) Header() http.Header { func (c *AdsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16623,7 +16623,7 @@ func (c *AdsInsertCall) Header() http.Header { func (c *AdsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17008,7 +17008,7 @@ func (c *AdsListCall) Header() http.Header { func (c *AdsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17353,7 +17353,7 @@ func (c *AdsPatchCall) Header() http.Header { func (c *AdsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17501,7 +17501,7 @@ func (c *AdsUpdateCall) Header() http.Header { func (c *AdsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17641,7 +17641,7 @@ func (c *AdvertiserGroupsDeleteCall) Header() http.Header { func (c *AdvertiserGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17765,7 +17765,7 @@ func (c *AdvertiserGroupsGetCall) Header() http.Header { func (c *AdvertiserGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17909,7 +17909,7 @@ func (c *AdvertiserGroupsInsertCall) Header() http.Header { func (c *AdvertiserGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18120,7 +18120,7 @@ func (c *AdvertiserGroupsListCall) Header() http.Header { func (c *AdvertiserGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18332,7 +18332,7 @@ func (c *AdvertiserGroupsPatchCall) Header() http.Header { func (c *AdvertiserGroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18480,7 +18480,7 @@ func (c *AdvertiserGroupsUpdateCall) Header() http.Header { func (c *AdvertiserGroupsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18631,7 +18631,7 @@ func (c *AdvertiserLandingPagesGetCall) Header() http.Header { func (c *AdvertiserLandingPagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18775,7 +18775,7 @@ func (c *AdvertiserLandingPagesInsertCall) Header() http.Header { func (c *AdvertiserLandingPagesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19021,7 +19021,7 @@ func (c *AdvertiserLandingPagesListCall) Header() http.Header { func (c *AdvertiserLandingPagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19259,7 +19259,7 @@ func (c *AdvertiserLandingPagesPatchCall) Header() http.Header { func (c *AdvertiserLandingPagesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19407,7 +19407,7 @@ func (c *AdvertiserLandingPagesUpdateCall) Header() http.Header { func (c *AdvertiserLandingPagesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19558,7 +19558,7 @@ func (c *AdvertisersGetCall) Header() http.Header { func (c *AdvertisersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19702,7 +19702,7 @@ func (c *AdvertisersInsertCall) Header() http.Header { func (c *AdvertisersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19968,7 +19968,7 @@ func (c *AdvertisersListCall) Header() http.Header { func (c *AdvertisersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20223,7 +20223,7 @@ func (c *AdvertisersPatchCall) Header() http.Header { func (c *AdvertisersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20371,7 +20371,7 @@ func (c *AdvertisersUpdateCall) Header() http.Header { func (c *AdvertisersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20520,7 +20520,7 @@ func (c *BrowsersListCall) Header() http.Header { func (c *BrowsersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20659,7 +20659,7 @@ func (c *CampaignCreativeAssociationsInsertCall) Header() http.Header { func (c *CampaignCreativeAssociationsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20845,7 +20845,7 @@ func (c *CampaignCreativeAssociationsListCall) Header() http.Header { func (c *CampaignCreativeAssociationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21051,7 +21051,7 @@ func (c *CampaignsGetCall) Header() http.Header { func (c *CampaignsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21195,7 +21195,7 @@ func (c *CampaignsInsertCall) Header() http.Header { func (c *CampaignsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21470,7 +21470,7 @@ func (c *CampaignsListCall) Header() http.Header { func (c *CampaignsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21725,7 +21725,7 @@ func (c *CampaignsPatchCall) Header() http.Header { func (c *CampaignsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21873,7 +21873,7 @@ func (c *CampaignsUpdateCall) Header() http.Header { func (c *CampaignsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22024,7 +22024,7 @@ func (c *ChangeLogsGetCall) Header() http.Header { func (c *ChangeLogsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22333,7 +22333,7 @@ func (c *ChangeLogsListCall) Header() http.Header { func (c *ChangeLogsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22720,7 +22720,7 @@ func (c *CitiesListCall) Header() http.Header { func (c *CitiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22892,7 +22892,7 @@ func (c *ConnectionTypesGetCall) Header() http.Header { func (c *ConnectionTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23045,7 +23045,7 @@ func (c *ConnectionTypesListCall) Header() http.Header { func (c *ConnectionTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23180,7 +23180,7 @@ func (c *ContentCategoriesDeleteCall) Header() http.Header { func (c *ContentCategoriesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23304,7 +23304,7 @@ func (c *ContentCategoriesGetCall) Header() http.Header { func (c *ContentCategoriesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23448,7 +23448,7 @@ func (c *ContentCategoriesInsertCall) Header() http.Header { func (c *ContentCategoriesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23659,7 +23659,7 @@ func (c *ContentCategoriesListCall) Header() http.Header { func (c *ContentCategoriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23871,7 +23871,7 @@ func (c *ContentCategoriesPatchCall) Header() http.Header { func (c *ContentCategoriesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24019,7 +24019,7 @@ func (c *ContentCategoriesUpdateCall) Header() http.Header { func (c *ContentCategoriesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24159,7 +24159,7 @@ func (c *ConversionsBatchinsertCall) Header() http.Header { func (c *ConversionsBatchinsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24299,7 +24299,7 @@ func (c *ConversionsBatchupdateCall) Header() http.Header { func (c *ConversionsBatchupdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24450,7 +24450,7 @@ func (c *CountriesGetCall) Header() http.Header { func (c *CountriesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24603,7 +24603,7 @@ func (c *CountriesListCall) Header() http.Header { func (c *CountriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24780,7 +24780,7 @@ func (c *CreativeAssetsInsertCall) Header() http.Header { func (c *CreativeAssetsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24972,7 +24972,7 @@ func (c *CreativeFieldValuesDeleteCall) Header() http.Header { func (c *CreativeFieldValuesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25107,7 +25107,7 @@ func (c *CreativeFieldValuesGetCall) Header() http.Header { func (c *CreativeFieldValuesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25262,7 +25262,7 @@ func (c *CreativeFieldValuesInsertCall) Header() http.Header { func (c *CreativeFieldValuesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25478,7 +25478,7 @@ func (c *CreativeFieldValuesListCall) Header() http.Header { func (c *CreativeFieldValuesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25701,7 +25701,7 @@ func (c *CreativeFieldValuesPatchCall) Header() http.Header { func (c *CreativeFieldValuesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25860,7 +25860,7 @@ func (c *CreativeFieldValuesUpdateCall) Header() http.Header { func (c *CreativeFieldValuesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26009,7 +26009,7 @@ func (c *CreativeFieldsDeleteCall) Header() http.Header { func (c *CreativeFieldsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26133,7 +26133,7 @@ func (c *CreativeFieldsGetCall) Header() http.Header { func (c *CreativeFieldsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26277,7 +26277,7 @@ func (c *CreativeFieldsInsertCall) Header() http.Header { func (c *CreativeFieldsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26499,7 +26499,7 @@ func (c *CreativeFieldsListCall) Header() http.Header { func (c *CreativeFieldsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26718,7 +26718,7 @@ func (c *CreativeFieldsPatchCall) Header() http.Header { func (c *CreativeFieldsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26866,7 +26866,7 @@ func (c *CreativeFieldsUpdateCall) Header() http.Header { func (c *CreativeFieldsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27017,7 +27017,7 @@ func (c *CreativeGroupsGetCall) Header() http.Header { func (c *CreativeGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27161,7 +27161,7 @@ func (c *CreativeGroupsInsertCall) Header() http.Header { func (c *CreativeGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27390,7 +27390,7 @@ func (c *CreativeGroupsListCall) Header() http.Header { func (c *CreativeGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27617,7 +27617,7 @@ func (c *CreativeGroupsPatchCall) Header() http.Header { func (c *CreativeGroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27765,7 +27765,7 @@ func (c *CreativeGroupsUpdateCall) Header() http.Header { func (c *CreativeGroupsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27916,7 +27916,7 @@ func (c *CreativesGetCall) Header() http.Header { func (c *CreativesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28060,7 +28060,7 @@ func (c *CreativesInsertCall) Header() http.Header { func (c *CreativesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28384,7 +28384,7 @@ func (c *CreativesListCall) Header() http.Header { func (c *CreativesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28712,7 +28712,7 @@ func (c *CreativesPatchCall) Header() http.Header { func (c *CreativesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28860,7 +28860,7 @@ func (c *CreativesUpdateCall) Header() http.Header { func (c *CreativesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29015,7 +29015,7 @@ func (c *DimensionValuesQueryCall) Header() http.Header { func (c *DimensionValuesQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29201,7 +29201,7 @@ func (c *DirectorySitesGetCall) Header() http.Header { func (c *DirectorySitesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29345,7 +29345,7 @@ func (c *DirectorySitesInsertCall) Header() http.Header { func (c *DirectorySitesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29595,7 +29595,7 @@ func (c *DirectorySitesListCall) Header() http.Header { func (c *DirectorySitesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29832,7 +29832,7 @@ func (c *DynamicTargetingKeysDeleteCall) Header() http.Header { func (c *DynamicTargetingKeysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29975,7 +29975,7 @@ func (c *DynamicTargetingKeysInsertCall) Header() http.Header { func (c *DynamicTargetingKeysInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30158,7 +30158,7 @@ func (c *DynamicTargetingKeysListCall) Header() http.Header { func (c *DynamicTargetingKeysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30328,7 +30328,7 @@ func (c *EventTagsDeleteCall) Header() http.Header { func (c *EventTagsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30452,7 +30452,7 @@ func (c *EventTagsGetCall) Header() http.Header { func (c *EventTagsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30596,7 +30596,7 @@ func (c *EventTagsInsertCall) Header() http.Header { func (c *EventTagsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30853,7 +30853,7 @@ func (c *EventTagsListCall) Header() http.Header { func (c *EventTagsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31074,7 +31074,7 @@ func (c *EventTagsPatchCall) Header() http.Header { func (c *EventTagsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31222,7 +31222,7 @@ func (c *EventTagsUpdateCall) Header() http.Header { func (c *EventTagsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31374,7 +31374,7 @@ func (c *FilesGetCall) Header() http.Header { func (c *FilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31592,7 +31592,7 @@ func (c *FilesListCall) Header() http.Header { func (c *FilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31806,7 +31806,7 @@ func (c *FloodlightActivitiesDeleteCall) Header() http.Header { func (c *FloodlightActivitiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31925,7 +31925,7 @@ func (c *FloodlightActivitiesGeneratetagCall) Header() http.Header { func (c *FloodlightActivitiesGeneratetagCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32075,7 +32075,7 @@ func (c *FloodlightActivitiesGetCall) Header() http.Header { func (c *FloodlightActivitiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32219,7 +32219,7 @@ func (c *FloodlightActivitiesInsertCall) Header() http.Header { func (c *FloodlightActivitiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32496,7 +32496,7 @@ func (c *FloodlightActivitiesListCall) Header() http.Header { func (c *FloodlightActivitiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32755,7 +32755,7 @@ func (c *FloodlightActivitiesPatchCall) Header() http.Header { func (c *FloodlightActivitiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32903,7 +32903,7 @@ func (c *FloodlightActivitiesUpdateCall) Header() http.Header { func (c *FloodlightActivitiesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33054,7 +33054,7 @@ func (c *FloodlightActivityGroupsGetCall) Header() http.Header { func (c *FloodlightActivityGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33198,7 +33198,7 @@ func (c *FloodlightActivityGroupsInsertCall) Header() http.Header { func (c *FloodlightActivityGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33440,7 +33440,7 @@ func (c *FloodlightActivityGroupsListCall) Header() http.Header { func (c *FloodlightActivityGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33678,7 +33678,7 @@ func (c *FloodlightActivityGroupsPatchCall) Header() http.Header { func (c *FloodlightActivityGroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33826,7 +33826,7 @@ func (c *FloodlightActivityGroupsUpdateCall) Header() http.Header { func (c *FloodlightActivityGroupsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33977,7 +33977,7 @@ func (c *FloodlightConfigurationsGetCall) Header() http.Header { func (c *FloodlightConfigurationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34143,7 +34143,7 @@ func (c *FloodlightConfigurationsListCall) Header() http.Header { func (c *FloodlightConfigurationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34288,7 +34288,7 @@ func (c *FloodlightConfigurationsPatchCall) Header() http.Header { func (c *FloodlightConfigurationsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34436,7 +34436,7 @@ func (c *FloodlightConfigurationsUpdateCall) Header() http.Header { func (c *FloodlightConfigurationsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34589,7 +34589,7 @@ func (c *InventoryItemsGetCall) Header() http.Header { func (c *InventoryItemsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34841,7 +34841,7 @@ func (c *InventoryItemsListCall) Header() http.Header { func (c *InventoryItemsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35096,7 +35096,7 @@ func (c *LanguagesListCall) Header() http.Header { func (c *LanguagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35240,7 +35240,7 @@ func (c *MetrosListCall) Header() http.Header { func (c *MetrosListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35386,7 +35386,7 @@ func (c *MobileAppsGetCall) Header() http.Header { func (c *MobileAppsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35583,7 +35583,7 @@ func (c *MobileAppsListCall) Header() http.Header { func (c *MobileAppsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35791,7 +35791,7 @@ func (c *MobileCarriersGetCall) Header() http.Header { func (c *MobileCarriersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35944,7 +35944,7 @@ func (c *MobileCarriersListCall) Header() http.Header { func (c *MobileCarriersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36090,7 +36090,7 @@ func (c *OperatingSystemVersionsGetCall) Header() http.Header { func (c *OperatingSystemVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36243,7 +36243,7 @@ func (c *OperatingSystemVersionsListCall) Header() http.Header { func (c *OperatingSystemVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36390,7 +36390,7 @@ func (c *OperatingSystemsGetCall) Header() http.Header { func (c *OperatingSystemsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36543,7 +36543,7 @@ func (c *OperatingSystemsListCall) Header() http.Header { func (c *OperatingSystemsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36691,7 +36691,7 @@ func (c *OrderDocumentsGetCall) Header() http.Header { func (c *OrderDocumentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36946,7 +36946,7 @@ func (c *OrderDocumentsListCall) Header() http.Header { func (c *OrderDocumentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37197,7 +37197,7 @@ func (c *OrdersGetCall) Header() http.Header { func (c *OrdersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37432,7 +37432,7 @@ func (c *OrdersListCall) Header() http.Header { func (c *OrdersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37669,7 +37669,7 @@ func (c *PlacementGroupsGetCall) Header() http.Header { func (c *PlacementGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37813,7 +37813,7 @@ func (c *PlacementGroupsInsertCall) Header() http.Header { func (c *PlacementGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -38164,7 +38164,7 @@ func (c *PlacementGroupsListCall) Header() http.Header { func (c *PlacementGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -38478,7 +38478,7 @@ func (c *PlacementGroupsPatchCall) Header() http.Header { func (c *PlacementGroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -38626,7 +38626,7 @@ func (c *PlacementGroupsUpdateCall) Header() http.Header { func (c *PlacementGroupsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -38766,7 +38766,7 @@ func (c *PlacementStrategiesDeleteCall) Header() http.Header { func (c *PlacementStrategiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -38890,7 +38890,7 @@ func (c *PlacementStrategiesGetCall) Header() http.Header { func (c *PlacementStrategiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -39034,7 +39034,7 @@ func (c *PlacementStrategiesInsertCall) Header() http.Header { func (c *PlacementStrategiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -39245,7 +39245,7 @@ func (c *PlacementStrategiesListCall) Header() http.Header { func (c *PlacementStrategiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -39457,7 +39457,7 @@ func (c *PlacementStrategiesPatchCall) Header() http.Header { func (c *PlacementStrategiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -39605,7 +39605,7 @@ func (c *PlacementStrategiesUpdateCall) Header() http.Header { func (c *PlacementStrategiesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -39790,7 +39790,7 @@ func (c *PlacementsGeneratetagsCall) Header() http.Header { func (c *PlacementsGeneratetagsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -39994,7 +39994,7 @@ func (c *PlacementsGetCall) Header() http.Header { func (c *PlacementsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -40138,7 +40138,7 @@ func (c *PlacementsInsertCall) Header() http.Header { func (c *PlacementsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -40525,7 +40525,7 @@ func (c *PlacementsListCall) Header() http.Header { func (c *PlacementsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -40875,7 +40875,7 @@ func (c *PlacementsPatchCall) Header() http.Header { func (c *PlacementsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -41023,7 +41023,7 @@ func (c *PlacementsUpdateCall) Header() http.Header { func (c *PlacementsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -41174,7 +41174,7 @@ func (c *PlatformTypesGetCall) Header() http.Header { func (c *PlatformTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -41327,7 +41327,7 @@ func (c *PlatformTypesListCall) Header() http.Header { func (c *PlatformTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -41473,7 +41473,7 @@ func (c *PostalCodesGetCall) Header() http.Header { func (c *PostalCodesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -41625,7 +41625,7 @@ func (c *PostalCodesListCall) Header() http.Header { func (c *PostalCodesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -41771,7 +41771,7 @@ func (c *ProjectsGetCall) Header() http.Header { func (c *ProjectsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -41996,7 +41996,7 @@ func (c *ProjectsListCall) Header() http.Header { func (c *ProjectsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -42222,7 +42222,7 @@ func (c *RegionsListCall) Header() http.Header { func (c *RegionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -42368,7 +42368,7 @@ func (c *RemarketingListSharesGetCall) Header() http.Header { func (c *RemarketingListSharesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -42514,7 +42514,7 @@ func (c *RemarketingListSharesPatchCall) Header() http.Header { func (c *RemarketingListSharesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -42662,7 +42662,7 @@ func (c *RemarketingListSharesUpdateCall) Header() http.Header { func (c *RemarketingListSharesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -42813,7 +42813,7 @@ func (c *RemarketingListsGetCall) Header() http.Header { func (c *RemarketingListsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -42957,7 +42957,7 @@ func (c *RemarketingListsInsertCall) Header() http.Header { func (c *RemarketingListsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -43172,7 +43172,7 @@ func (c *RemarketingListsListCall) Header() http.Header { func (c *RemarketingListsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -43396,7 +43396,7 @@ func (c *RemarketingListsPatchCall) Header() http.Header { func (c *RemarketingListsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -43544,7 +43544,7 @@ func (c *RemarketingListsUpdateCall) Header() http.Header { func (c *RemarketingListsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -43684,7 +43684,7 @@ func (c *ReportsDeleteCall) Header() http.Header { func (c *ReportsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -43808,7 +43808,7 @@ func (c *ReportsGetCall) Header() http.Header { func (c *ReportsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -43952,7 +43952,7 @@ func (c *ReportsInsertCall) Header() http.Header { func (c *ReportsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -44149,7 +44149,7 @@ func (c *ReportsListCall) Header() http.Header { func (c *ReportsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -44366,7 +44366,7 @@ func (c *ReportsPatchCall) Header() http.Header { func (c *ReportsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -44522,7 +44522,7 @@ func (c *ReportsRunCall) Header() http.Header { func (c *ReportsRunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -44671,7 +44671,7 @@ func (c *ReportsUpdateCall) Header() http.Header { func (c *ReportsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -44822,7 +44822,7 @@ func (c *ReportsCompatibleFieldsQueryCall) Header() http.Header { func (c *ReportsCompatibleFieldsQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -44976,7 +44976,7 @@ func (c *ReportsFilesGetCall) Header() http.Header { func (c *ReportsFilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -45193,7 +45193,7 @@ func (c *ReportsFilesListCall) Header() http.Header { func (c *ReportsFilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -45411,7 +45411,7 @@ func (c *SitesGetCall) Header() http.Header { func (c *SitesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -45555,7 +45555,7 @@ func (c *SitesInsertCall) Header() http.Header { func (c *SitesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -45838,7 +45838,7 @@ func (c *SitesListCall) Header() http.Header { func (c *SitesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46100,7 +46100,7 @@ func (c *SitesPatchCall) Header() http.Header { func (c *SitesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46248,7 +46248,7 @@ func (c *SitesUpdateCall) Header() http.Header { func (c *SitesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46399,7 +46399,7 @@ func (c *SizesGetCall) Header() http.Header { func (c *SizesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46543,7 +46543,7 @@ func (c *SizesInsertCall) Header() http.Header { func (c *SizesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46727,7 +46727,7 @@ func (c *SizesListCall) Header() http.Header { func (c *SizesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46901,7 +46901,7 @@ func (c *SubaccountsGetCall) Header() http.Header { func (c *SubaccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47045,7 +47045,7 @@ func (c *SubaccountsInsertCall) Header() http.Header { func (c *SubaccountsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47255,7 +47255,7 @@ func (c *SubaccountsListCall) Header() http.Header { func (c *SubaccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47467,7 +47467,7 @@ func (c *SubaccountsPatchCall) Header() http.Header { func (c *SubaccountsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47615,7 +47615,7 @@ func (c *SubaccountsUpdateCall) Header() http.Header { func (c *SubaccountsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47766,7 +47766,7 @@ func (c *TargetableRemarketingListsGetCall) Header() http.Header { func (c *TargetableRemarketingListsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47977,7 +47977,7 @@ func (c *TargetableRemarketingListsListCall) Header() http.Header { func (c *TargetableRemarketingListsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48205,7 +48205,7 @@ func (c *TargetingTemplatesGetCall) Header() http.Header { func (c *TargetingTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48349,7 +48349,7 @@ func (c *TargetingTemplatesInsertCall) Header() http.Header { func (c *TargetingTemplatesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48566,7 +48566,7 @@ func (c *TargetingTemplatesListCall) Header() http.Header { func (c *TargetingTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48784,7 +48784,7 @@ func (c *TargetingTemplatesPatchCall) Header() http.Header { func (c *TargetingTemplatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48932,7 +48932,7 @@ func (c *TargetingTemplatesUpdateCall) Header() http.Header { func (c *TargetingTemplatesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49081,7 +49081,7 @@ func (c *UserProfilesGetCall) Header() http.Header { func (c *UserProfilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49225,7 +49225,7 @@ func (c *UserProfilesListCall) Header() http.Header { func (c *UserProfilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49360,7 +49360,7 @@ func (c *UserRolePermissionGroupsGetCall) Header() http.Header { func (c *UserRolePermissionGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49513,7 +49513,7 @@ func (c *UserRolePermissionGroupsListCall) Header() http.Header { func (c *UserRolePermissionGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49660,7 +49660,7 @@ func (c *UserRolePermissionsGetCall) Header() http.Header { func (c *UserRolePermissionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49824,7 +49824,7 @@ func (c *UserRolePermissionsListCall) Header() http.Header { func (c *UserRolePermissionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49966,7 +49966,7 @@ func (c *UserRolesDeleteCall) Header() http.Header { func (c *UserRolesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50090,7 +50090,7 @@ func (c *UserRolesGetCall) Header() http.Header { func (c *UserRolesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50234,7 +50234,7 @@ func (c *UserRolesInsertCall) Header() http.Header { func (c *UserRolesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50459,7 +50459,7 @@ func (c *UserRolesListCall) Header() http.Header { func (c *UserRolesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50682,7 +50682,7 @@ func (c *UserRolesPatchCall) Header() http.Header { func (c *UserRolesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50830,7 +50830,7 @@ func (c *UserRolesUpdateCall) Header() http.Header { func (c *UserRolesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50981,7 +50981,7 @@ func (c *VideoFormatsGetCall) Header() http.Header { func (c *VideoFormatsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51134,7 +51134,7 @@ func (c *VideoFormatsListCall) Header() http.Header { func (c *VideoFormatsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/dfareporting/v3.4/dfareporting-gen.go b/dfareporting/v3.4/dfareporting-gen.go index 88f173418cb..fb522edddf8 100644 --- a/dfareporting/v3.4/dfareporting-gen.go +++ b/dfareporting/v3.4/dfareporting-gen.go @@ -15079,7 +15079,7 @@ func (c *AccountActiveAdSummariesGetCall) Header() http.Header { func (c *AccountActiveAdSummariesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15234,7 +15234,7 @@ func (c *AccountPermissionGroupsGetCall) Header() http.Header { func (c *AccountPermissionGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15387,7 +15387,7 @@ func (c *AccountPermissionGroupsListCall) Header() http.Header { func (c *AccountPermissionGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15534,7 +15534,7 @@ func (c *AccountPermissionsGetCall) Header() http.Header { func (c *AccountPermissionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15687,7 +15687,7 @@ func (c *AccountPermissionsListCall) Header() http.Header { func (c *AccountPermissionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15833,7 +15833,7 @@ func (c *AccountUserProfilesGetCall) Header() http.Header { func (c *AccountUserProfilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15977,7 +15977,7 @@ func (c *AccountUserProfilesInsertCall) Header() http.Header { func (c *AccountUserProfilesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16209,7 +16209,7 @@ func (c *AccountUserProfilesListCall) Header() http.Header { func (c *AccountUserProfilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16438,7 +16438,7 @@ func (c *AccountUserProfilesPatchCall) Header() http.Header { func (c *AccountUserProfilesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16586,7 +16586,7 @@ func (c *AccountUserProfilesUpdateCall) Header() http.Header { func (c *AccountUserProfilesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16737,7 +16737,7 @@ func (c *AccountsGetCall) Header() http.Header { func (c *AccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16959,7 +16959,7 @@ func (c *AccountsListCall) Header() http.Header { func (c *AccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17176,7 +17176,7 @@ func (c *AccountsPatchCall) Header() http.Header { func (c *AccountsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17324,7 +17324,7 @@ func (c *AccountsUpdateCall) Header() http.Header { func (c *AccountsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17475,7 +17475,7 @@ func (c *AdsGetCall) Header() http.Header { func (c *AdsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17619,7 +17619,7 @@ func (c *AdsInsertCall) Header() http.Header { func (c *AdsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18004,7 +18004,7 @@ func (c *AdsListCall) Header() http.Header { func (c *AdsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18349,7 +18349,7 @@ func (c *AdsPatchCall) Header() http.Header { func (c *AdsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18497,7 +18497,7 @@ func (c *AdsUpdateCall) Header() http.Header { func (c *AdsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18637,7 +18637,7 @@ func (c *AdvertiserGroupsDeleteCall) Header() http.Header { func (c *AdvertiserGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18761,7 +18761,7 @@ func (c *AdvertiserGroupsGetCall) Header() http.Header { func (c *AdvertiserGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18905,7 +18905,7 @@ func (c *AdvertiserGroupsInsertCall) Header() http.Header { func (c *AdvertiserGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19116,7 +19116,7 @@ func (c *AdvertiserGroupsListCall) Header() http.Header { func (c *AdvertiserGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19328,7 +19328,7 @@ func (c *AdvertiserGroupsPatchCall) Header() http.Header { func (c *AdvertiserGroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19476,7 +19476,7 @@ func (c *AdvertiserGroupsUpdateCall) Header() http.Header { func (c *AdvertiserGroupsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19627,7 +19627,7 @@ func (c *AdvertiserLandingPagesGetCall) Header() http.Header { func (c *AdvertiserLandingPagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19771,7 +19771,7 @@ func (c *AdvertiserLandingPagesInsertCall) Header() http.Header { func (c *AdvertiserLandingPagesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20017,7 +20017,7 @@ func (c *AdvertiserLandingPagesListCall) Header() http.Header { func (c *AdvertiserLandingPagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20255,7 +20255,7 @@ func (c *AdvertiserLandingPagesPatchCall) Header() http.Header { func (c *AdvertiserLandingPagesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20403,7 +20403,7 @@ func (c *AdvertiserLandingPagesUpdateCall) Header() http.Header { func (c *AdvertiserLandingPagesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20554,7 +20554,7 @@ func (c *AdvertisersGetCall) Header() http.Header { func (c *AdvertisersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20698,7 +20698,7 @@ func (c *AdvertisersInsertCall) Header() http.Header { func (c *AdvertisersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20964,7 +20964,7 @@ func (c *AdvertisersListCall) Header() http.Header { func (c *AdvertisersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21219,7 +21219,7 @@ func (c *AdvertisersPatchCall) Header() http.Header { func (c *AdvertisersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21367,7 +21367,7 @@ func (c *AdvertisersUpdateCall) Header() http.Header { func (c *AdvertisersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21516,7 +21516,7 @@ func (c *BrowsersListCall) Header() http.Header { func (c *BrowsersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21655,7 +21655,7 @@ func (c *CampaignCreativeAssociationsInsertCall) Header() http.Header { func (c *CampaignCreativeAssociationsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21841,7 +21841,7 @@ func (c *CampaignCreativeAssociationsListCall) Header() http.Header { func (c *CampaignCreativeAssociationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22047,7 +22047,7 @@ func (c *CampaignsGetCall) Header() http.Header { func (c *CampaignsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22191,7 +22191,7 @@ func (c *CampaignsInsertCall) Header() http.Header { func (c *CampaignsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22466,7 +22466,7 @@ func (c *CampaignsListCall) Header() http.Header { func (c *CampaignsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22721,7 +22721,7 @@ func (c *CampaignsPatchCall) Header() http.Header { func (c *CampaignsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22869,7 +22869,7 @@ func (c *CampaignsUpdateCall) Header() http.Header { func (c *CampaignsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23020,7 +23020,7 @@ func (c *ChangeLogsGetCall) Header() http.Header { func (c *ChangeLogsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23329,7 +23329,7 @@ func (c *ChangeLogsListCall) Header() http.Header { func (c *ChangeLogsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23716,7 +23716,7 @@ func (c *CitiesListCall) Header() http.Header { func (c *CitiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23888,7 +23888,7 @@ func (c *ConnectionTypesGetCall) Header() http.Header { func (c *ConnectionTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24041,7 +24041,7 @@ func (c *ConnectionTypesListCall) Header() http.Header { func (c *ConnectionTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24176,7 +24176,7 @@ func (c *ContentCategoriesDeleteCall) Header() http.Header { func (c *ContentCategoriesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24300,7 +24300,7 @@ func (c *ContentCategoriesGetCall) Header() http.Header { func (c *ContentCategoriesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24444,7 +24444,7 @@ func (c *ContentCategoriesInsertCall) Header() http.Header { func (c *ContentCategoriesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24655,7 +24655,7 @@ func (c *ContentCategoriesListCall) Header() http.Header { func (c *ContentCategoriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24867,7 +24867,7 @@ func (c *ContentCategoriesPatchCall) Header() http.Header { func (c *ContentCategoriesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25015,7 +25015,7 @@ func (c *ContentCategoriesUpdateCall) Header() http.Header { func (c *ContentCategoriesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25155,7 +25155,7 @@ func (c *ConversionsBatchinsertCall) Header() http.Header { func (c *ConversionsBatchinsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25295,7 +25295,7 @@ func (c *ConversionsBatchupdateCall) Header() http.Header { func (c *ConversionsBatchupdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25446,7 +25446,7 @@ func (c *CountriesGetCall) Header() http.Header { func (c *CountriesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25599,7 +25599,7 @@ func (c *CountriesListCall) Header() http.Header { func (c *CountriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25776,7 +25776,7 @@ func (c *CreativeAssetsInsertCall) Header() http.Header { func (c *CreativeAssetsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25968,7 +25968,7 @@ func (c *CreativeFieldValuesDeleteCall) Header() http.Header { func (c *CreativeFieldValuesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26103,7 +26103,7 @@ func (c *CreativeFieldValuesGetCall) Header() http.Header { func (c *CreativeFieldValuesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26258,7 +26258,7 @@ func (c *CreativeFieldValuesInsertCall) Header() http.Header { func (c *CreativeFieldValuesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26474,7 +26474,7 @@ func (c *CreativeFieldValuesListCall) Header() http.Header { func (c *CreativeFieldValuesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26697,7 +26697,7 @@ func (c *CreativeFieldValuesPatchCall) Header() http.Header { func (c *CreativeFieldValuesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26856,7 +26856,7 @@ func (c *CreativeFieldValuesUpdateCall) Header() http.Header { func (c *CreativeFieldValuesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27005,7 +27005,7 @@ func (c *CreativeFieldsDeleteCall) Header() http.Header { func (c *CreativeFieldsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27129,7 +27129,7 @@ func (c *CreativeFieldsGetCall) Header() http.Header { func (c *CreativeFieldsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27273,7 +27273,7 @@ func (c *CreativeFieldsInsertCall) Header() http.Header { func (c *CreativeFieldsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27495,7 +27495,7 @@ func (c *CreativeFieldsListCall) Header() http.Header { func (c *CreativeFieldsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27714,7 +27714,7 @@ func (c *CreativeFieldsPatchCall) Header() http.Header { func (c *CreativeFieldsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27862,7 +27862,7 @@ func (c *CreativeFieldsUpdateCall) Header() http.Header { func (c *CreativeFieldsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28013,7 +28013,7 @@ func (c *CreativeGroupsGetCall) Header() http.Header { func (c *CreativeGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28157,7 +28157,7 @@ func (c *CreativeGroupsInsertCall) Header() http.Header { func (c *CreativeGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28386,7 +28386,7 @@ func (c *CreativeGroupsListCall) Header() http.Header { func (c *CreativeGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28613,7 +28613,7 @@ func (c *CreativeGroupsPatchCall) Header() http.Header { func (c *CreativeGroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28761,7 +28761,7 @@ func (c *CreativeGroupsUpdateCall) Header() http.Header { func (c *CreativeGroupsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28912,7 +28912,7 @@ func (c *CreativesGetCall) Header() http.Header { func (c *CreativesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29056,7 +29056,7 @@ func (c *CreativesInsertCall) Header() http.Header { func (c *CreativesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29380,7 +29380,7 @@ func (c *CreativesListCall) Header() http.Header { func (c *CreativesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29708,7 +29708,7 @@ func (c *CreativesPatchCall) Header() http.Header { func (c *CreativesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29856,7 +29856,7 @@ func (c *CreativesUpdateCall) Header() http.Header { func (c *CreativesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29996,7 +29996,7 @@ func (c *CustomEventsBatchinsertCall) Header() http.Header { func (c *CustomEventsBatchinsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30151,7 +30151,7 @@ func (c *DimensionValuesQueryCall) Header() http.Header { func (c *DimensionValuesQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30337,7 +30337,7 @@ func (c *DirectorySitesGetCall) Header() http.Header { func (c *DirectorySitesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30481,7 +30481,7 @@ func (c *DirectorySitesInsertCall) Header() http.Header { func (c *DirectorySitesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30731,7 +30731,7 @@ func (c *DirectorySitesListCall) Header() http.Header { func (c *DirectorySitesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30968,7 +30968,7 @@ func (c *DynamicTargetingKeysDeleteCall) Header() http.Header { func (c *DynamicTargetingKeysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31111,7 +31111,7 @@ func (c *DynamicTargetingKeysInsertCall) Header() http.Header { func (c *DynamicTargetingKeysInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31294,7 +31294,7 @@ func (c *DynamicTargetingKeysListCall) Header() http.Header { func (c *DynamicTargetingKeysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31464,7 +31464,7 @@ func (c *EventTagsDeleteCall) Header() http.Header { func (c *EventTagsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31588,7 +31588,7 @@ func (c *EventTagsGetCall) Header() http.Header { func (c *EventTagsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31732,7 +31732,7 @@ func (c *EventTagsInsertCall) Header() http.Header { func (c *EventTagsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31989,7 +31989,7 @@ func (c *EventTagsListCall) Header() http.Header { func (c *EventTagsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32210,7 +32210,7 @@ func (c *EventTagsPatchCall) Header() http.Header { func (c *EventTagsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32358,7 +32358,7 @@ func (c *EventTagsUpdateCall) Header() http.Header { func (c *EventTagsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32510,7 +32510,7 @@ func (c *FilesGetCall) Header() http.Header { func (c *FilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32728,7 +32728,7 @@ func (c *FilesListCall) Header() http.Header { func (c *FilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32942,7 +32942,7 @@ func (c *FloodlightActivitiesDeleteCall) Header() http.Header { func (c *FloodlightActivitiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33061,7 +33061,7 @@ func (c *FloodlightActivitiesGeneratetagCall) Header() http.Header { func (c *FloodlightActivitiesGeneratetagCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33211,7 +33211,7 @@ func (c *FloodlightActivitiesGetCall) Header() http.Header { func (c *FloodlightActivitiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33355,7 +33355,7 @@ func (c *FloodlightActivitiesInsertCall) Header() http.Header { func (c *FloodlightActivitiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33632,7 +33632,7 @@ func (c *FloodlightActivitiesListCall) Header() http.Header { func (c *FloodlightActivitiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33891,7 +33891,7 @@ func (c *FloodlightActivitiesPatchCall) Header() http.Header { func (c *FloodlightActivitiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34039,7 +34039,7 @@ func (c *FloodlightActivitiesUpdateCall) Header() http.Header { func (c *FloodlightActivitiesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34190,7 +34190,7 @@ func (c *FloodlightActivityGroupsGetCall) Header() http.Header { func (c *FloodlightActivityGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34334,7 +34334,7 @@ func (c *FloodlightActivityGroupsInsertCall) Header() http.Header { func (c *FloodlightActivityGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34576,7 +34576,7 @@ func (c *FloodlightActivityGroupsListCall) Header() http.Header { func (c *FloodlightActivityGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34814,7 +34814,7 @@ func (c *FloodlightActivityGroupsPatchCall) Header() http.Header { func (c *FloodlightActivityGroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34962,7 +34962,7 @@ func (c *FloodlightActivityGroupsUpdateCall) Header() http.Header { func (c *FloodlightActivityGroupsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35113,7 +35113,7 @@ func (c *FloodlightConfigurationsGetCall) Header() http.Header { func (c *FloodlightConfigurationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35279,7 +35279,7 @@ func (c *FloodlightConfigurationsListCall) Header() http.Header { func (c *FloodlightConfigurationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35424,7 +35424,7 @@ func (c *FloodlightConfigurationsPatchCall) Header() http.Header { func (c *FloodlightConfigurationsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35572,7 +35572,7 @@ func (c *FloodlightConfigurationsUpdateCall) Header() http.Header { func (c *FloodlightConfigurationsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35725,7 +35725,7 @@ func (c *InventoryItemsGetCall) Header() http.Header { func (c *InventoryItemsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35977,7 +35977,7 @@ func (c *InventoryItemsListCall) Header() http.Header { func (c *InventoryItemsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36232,7 +36232,7 @@ func (c *LanguagesListCall) Header() http.Header { func (c *LanguagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36376,7 +36376,7 @@ func (c *MetrosListCall) Header() http.Header { func (c *MetrosListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36522,7 +36522,7 @@ func (c *MobileAppsGetCall) Header() http.Header { func (c *MobileAppsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36719,7 +36719,7 @@ func (c *MobileAppsListCall) Header() http.Header { func (c *MobileAppsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36927,7 +36927,7 @@ func (c *MobileCarriersGetCall) Header() http.Header { func (c *MobileCarriersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37080,7 +37080,7 @@ func (c *MobileCarriersListCall) Header() http.Header { func (c *MobileCarriersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37226,7 +37226,7 @@ func (c *OperatingSystemVersionsGetCall) Header() http.Header { func (c *OperatingSystemVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37379,7 +37379,7 @@ func (c *OperatingSystemVersionsListCall) Header() http.Header { func (c *OperatingSystemVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37526,7 +37526,7 @@ func (c *OperatingSystemsGetCall) Header() http.Header { func (c *OperatingSystemsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37679,7 +37679,7 @@ func (c *OperatingSystemsListCall) Header() http.Header { func (c *OperatingSystemsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37827,7 +37827,7 @@ func (c *OrderDocumentsGetCall) Header() http.Header { func (c *OrderDocumentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -38082,7 +38082,7 @@ func (c *OrderDocumentsListCall) Header() http.Header { func (c *OrderDocumentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -38333,7 +38333,7 @@ func (c *OrdersGetCall) Header() http.Header { func (c *OrdersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -38568,7 +38568,7 @@ func (c *OrdersListCall) Header() http.Header { func (c *OrdersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -38805,7 +38805,7 @@ func (c *PlacementGroupsGetCall) Header() http.Header { func (c *PlacementGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -38949,7 +38949,7 @@ func (c *PlacementGroupsInsertCall) Header() http.Header { func (c *PlacementGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -39300,7 +39300,7 @@ func (c *PlacementGroupsListCall) Header() http.Header { func (c *PlacementGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -39614,7 +39614,7 @@ func (c *PlacementGroupsPatchCall) Header() http.Header { func (c *PlacementGroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -39762,7 +39762,7 @@ func (c *PlacementGroupsUpdateCall) Header() http.Header { func (c *PlacementGroupsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -39902,7 +39902,7 @@ func (c *PlacementStrategiesDeleteCall) Header() http.Header { func (c *PlacementStrategiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -40026,7 +40026,7 @@ func (c *PlacementStrategiesGetCall) Header() http.Header { func (c *PlacementStrategiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -40170,7 +40170,7 @@ func (c *PlacementStrategiesInsertCall) Header() http.Header { func (c *PlacementStrategiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -40381,7 +40381,7 @@ func (c *PlacementStrategiesListCall) Header() http.Header { func (c *PlacementStrategiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -40593,7 +40593,7 @@ func (c *PlacementStrategiesPatchCall) Header() http.Header { func (c *PlacementStrategiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -40741,7 +40741,7 @@ func (c *PlacementStrategiesUpdateCall) Header() http.Header { func (c *PlacementStrategiesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -40926,7 +40926,7 @@ func (c *PlacementsGeneratetagsCall) Header() http.Header { func (c *PlacementsGeneratetagsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -41130,7 +41130,7 @@ func (c *PlacementsGetCall) Header() http.Header { func (c *PlacementsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -41274,7 +41274,7 @@ func (c *PlacementsInsertCall) Header() http.Header { func (c *PlacementsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -41661,7 +41661,7 @@ func (c *PlacementsListCall) Header() http.Header { func (c *PlacementsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -42011,7 +42011,7 @@ func (c *PlacementsPatchCall) Header() http.Header { func (c *PlacementsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -42159,7 +42159,7 @@ func (c *PlacementsUpdateCall) Header() http.Header { func (c *PlacementsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -42310,7 +42310,7 @@ func (c *PlatformTypesGetCall) Header() http.Header { func (c *PlatformTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -42463,7 +42463,7 @@ func (c *PlatformTypesListCall) Header() http.Header { func (c *PlatformTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -42609,7 +42609,7 @@ func (c *PostalCodesGetCall) Header() http.Header { func (c *PostalCodesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -42761,7 +42761,7 @@ func (c *PostalCodesListCall) Header() http.Header { func (c *PostalCodesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -42907,7 +42907,7 @@ func (c *ProjectsGetCall) Header() http.Header { func (c *ProjectsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -43132,7 +43132,7 @@ func (c *ProjectsListCall) Header() http.Header { func (c *ProjectsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -43358,7 +43358,7 @@ func (c *RegionsListCall) Header() http.Header { func (c *RegionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -43504,7 +43504,7 @@ func (c *RemarketingListSharesGetCall) Header() http.Header { func (c *RemarketingListSharesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -43650,7 +43650,7 @@ func (c *RemarketingListSharesPatchCall) Header() http.Header { func (c *RemarketingListSharesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -43798,7 +43798,7 @@ func (c *RemarketingListSharesUpdateCall) Header() http.Header { func (c *RemarketingListSharesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -43949,7 +43949,7 @@ func (c *RemarketingListsGetCall) Header() http.Header { func (c *RemarketingListsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -44093,7 +44093,7 @@ func (c *RemarketingListsInsertCall) Header() http.Header { func (c *RemarketingListsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -44308,7 +44308,7 @@ func (c *RemarketingListsListCall) Header() http.Header { func (c *RemarketingListsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -44532,7 +44532,7 @@ func (c *RemarketingListsPatchCall) Header() http.Header { func (c *RemarketingListsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -44680,7 +44680,7 @@ func (c *RemarketingListsUpdateCall) Header() http.Header { func (c *RemarketingListsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -44820,7 +44820,7 @@ func (c *ReportsDeleteCall) Header() http.Header { func (c *ReportsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -44944,7 +44944,7 @@ func (c *ReportsGetCall) Header() http.Header { func (c *ReportsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -45088,7 +45088,7 @@ func (c *ReportsInsertCall) Header() http.Header { func (c *ReportsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -45285,7 +45285,7 @@ func (c *ReportsListCall) Header() http.Header { func (c *ReportsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -45502,7 +45502,7 @@ func (c *ReportsPatchCall) Header() http.Header { func (c *ReportsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -45658,7 +45658,7 @@ func (c *ReportsRunCall) Header() http.Header { func (c *ReportsRunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -45807,7 +45807,7 @@ func (c *ReportsUpdateCall) Header() http.Header { func (c *ReportsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -45958,7 +45958,7 @@ func (c *ReportsCompatibleFieldsQueryCall) Header() http.Header { func (c *ReportsCompatibleFieldsQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46112,7 +46112,7 @@ func (c *ReportsFilesGetCall) Header() http.Header { func (c *ReportsFilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46329,7 +46329,7 @@ func (c *ReportsFilesListCall) Header() http.Header { func (c *ReportsFilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46547,7 +46547,7 @@ func (c *SitesGetCall) Header() http.Header { func (c *SitesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46691,7 +46691,7 @@ func (c *SitesInsertCall) Header() http.Header { func (c *SitesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46974,7 +46974,7 @@ func (c *SitesListCall) Header() http.Header { func (c *SitesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47236,7 +47236,7 @@ func (c *SitesPatchCall) Header() http.Header { func (c *SitesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47384,7 +47384,7 @@ func (c *SitesUpdateCall) Header() http.Header { func (c *SitesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47535,7 +47535,7 @@ func (c *SizesGetCall) Header() http.Header { func (c *SizesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47679,7 +47679,7 @@ func (c *SizesInsertCall) Header() http.Header { func (c *SizesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47863,7 +47863,7 @@ func (c *SizesListCall) Header() http.Header { func (c *SizesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48037,7 +48037,7 @@ func (c *SubaccountsGetCall) Header() http.Header { func (c *SubaccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48181,7 +48181,7 @@ func (c *SubaccountsInsertCall) Header() http.Header { func (c *SubaccountsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48391,7 +48391,7 @@ func (c *SubaccountsListCall) Header() http.Header { func (c *SubaccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48603,7 +48603,7 @@ func (c *SubaccountsPatchCall) Header() http.Header { func (c *SubaccountsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48751,7 +48751,7 @@ func (c *SubaccountsUpdateCall) Header() http.Header { func (c *SubaccountsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48902,7 +48902,7 @@ func (c *TargetableRemarketingListsGetCall) Header() http.Header { func (c *TargetableRemarketingListsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49113,7 +49113,7 @@ func (c *TargetableRemarketingListsListCall) Header() http.Header { func (c *TargetableRemarketingListsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49341,7 +49341,7 @@ func (c *TargetingTemplatesGetCall) Header() http.Header { func (c *TargetingTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49485,7 +49485,7 @@ func (c *TargetingTemplatesInsertCall) Header() http.Header { func (c *TargetingTemplatesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49702,7 +49702,7 @@ func (c *TargetingTemplatesListCall) Header() http.Header { func (c *TargetingTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49920,7 +49920,7 @@ func (c *TargetingTemplatesPatchCall) Header() http.Header { func (c *TargetingTemplatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50068,7 +50068,7 @@ func (c *TargetingTemplatesUpdateCall) Header() http.Header { func (c *TargetingTemplatesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50217,7 +50217,7 @@ func (c *UserProfilesGetCall) Header() http.Header { func (c *UserProfilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50361,7 +50361,7 @@ func (c *UserProfilesListCall) Header() http.Header { func (c *UserProfilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50496,7 +50496,7 @@ func (c *UserRolePermissionGroupsGetCall) Header() http.Header { func (c *UserRolePermissionGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50649,7 +50649,7 @@ func (c *UserRolePermissionGroupsListCall) Header() http.Header { func (c *UserRolePermissionGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50796,7 +50796,7 @@ func (c *UserRolePermissionsGetCall) Header() http.Header { func (c *UserRolePermissionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50960,7 +50960,7 @@ func (c *UserRolePermissionsListCall) Header() http.Header { func (c *UserRolePermissionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51102,7 +51102,7 @@ func (c *UserRolesDeleteCall) Header() http.Header { func (c *UserRolesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51226,7 +51226,7 @@ func (c *UserRolesGetCall) Header() http.Header { func (c *UserRolesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51370,7 +51370,7 @@ func (c *UserRolesInsertCall) Header() http.Header { func (c *UserRolesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51595,7 +51595,7 @@ func (c *UserRolesListCall) Header() http.Header { func (c *UserRolesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51818,7 +51818,7 @@ func (c *UserRolesPatchCall) Header() http.Header { func (c *UserRolesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51966,7 +51966,7 @@ func (c *UserRolesUpdateCall) Header() http.Header { func (c *UserRolesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -52117,7 +52117,7 @@ func (c *VideoFormatsGetCall) Header() http.Header { func (c *VideoFormatsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -52270,7 +52270,7 @@ func (c *VideoFormatsListCall) Header() http.Header { func (c *VideoFormatsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/dialogflow/v2/dialogflow-api.json b/dialogflow/v2/dialogflow-api.json index e10de3d6b4c..9ecb7c788f2 100644 --- a/dialogflow/v2/dialogflow-api.json +++ b/dialogflow/v2/dialogflow-api.json @@ -2065,9 +2065,442 @@ } } }, - "revision": "20201201", + "revision": "20201207", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { + "GoogleCloudDialogflowCxV3CreateVersionOperationMetadata": { + "description": "Metadata associated with the long running operation for Versions.CreateVersion.", + "id": "GoogleCloudDialogflowCxV3CreateVersionOperationMetadata", + "properties": { + "version": { + "description": "Name of the created version. Format: `projects//locations//agents//flows//versions/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ExportAgentResponse": { + "description": "The response message for Agents.ExportAgent.", + "id": "GoogleCloudDialogflowCxV3ExportAgentResponse", + "properties": { + "agentContent": { + "description": "Uncompressed raw byte content for agent.", + "format": "byte", + "type": "string" + }, + "agentUri": { + "description": "The URI to a file containing the exported agent. This field is populated only if `agent_uri` is specified in ExportAgentRequest.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3PageInfo": { + "description": "Represents page information communicated to and from the webhook.", + "id": "GoogleCloudDialogflowCxV3PageInfo", + "properties": { + "currentPage": { + "description": "Always present for WebhookRequest. Ignored for WebhookResponse. The unique identifier of the current page. Format: `projects//locations//agents//flows//pages/`.", + "type": "string" + }, + "formInfo": { + "$ref": "GoogleCloudDialogflowCxV3PageInfoFormInfo", + "description": "Optional for both WebhookRequest and WebhookResponse. Information about the form." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3PageInfoFormInfo": { + "description": "Represents form information.", + "id": "GoogleCloudDialogflowCxV3PageInfoFormInfo", + "properties": { + "parameterInfo": { + "description": "Optional for both WebhookRequest and WebhookResponse. The parameters contained in the form. Note that the webhook cannot add or remove any form parameter.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo": { + "description": "Represents parameter information.", + "id": "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo", + "properties": { + "displayName": { + "description": "Always present for WebhookRequest. Required for WebhookResponse. The human-readable name of the parameter, unique within the form. This field cannot be modified by the webhook.", + "type": "string" + }, + "justCollected": { + "description": "Optional for WebhookRequest. Ignored for WebhookResponse. Indicates if the parameter value was just collected on the last conversation turn.", + "type": "boolean" + }, + "required": { + "description": "Optional for both WebhookRequest and WebhookResponse. Indicates whether the parameter is required. Optional parameters will not trigger prompts; however, they are filled if the user specifies them. Required parameters must be filled before form filling concludes.", + "type": "boolean" + }, + "state": { + "description": "Always present for WebhookRequest. Required for WebhookResponse. The state of the parameter. This field can be set to INVALID by the webhook to invalidate the parameter; other values set by the webhook will be ignored.", + "enum": [ + "PARAMETER_STATE_UNSPECIFIED", + "EMPTY", + "INVALID", + "FILLED" + ], + "enumDescriptions": [ + "Not specified. This value should be never used.", + "Indicates that the parameter does not have a value.", + "Indicates that the parameter value is invalid. This field can be used by the webhook to invalidate the parameter and ask the server to collect it from the user again.", + "Indicates that the parameter has a value." + ], + "type": "string" + }, + "value": { + "description": "Optional for both WebhookRequest and WebhookResponse. The value of the parameter. This field can be set by the webhook to change the parameter value.", + "type": "any" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessage": { + "description": "Represents a response message that can be returned by a conversational agent. Response messages are also used for output audio synthesis. The approach is as follows: * If at least one OutputAudioText response is present, then all OutputAudioText responses are linearly concatenated, and the result is used for output audio synthesis. * If the OutputAudioText responses are a mixture of text and SSML, then the concatenated result is treated as SSML; otherwise, the result is treated as either text or SSML as appropriate. The agent designer should ideally use either text or SSML consistently throughout the bot design. * Otherwise, all Text responses are linearly concatenated, and the result is used for output audio synthesis. This approach allows for more sophisticated user experience scenarios, where the text displayed to the user may differ from what is heard.", + "id": "GoogleCloudDialogflowCxV3ResponseMessage", + "properties": { + "conversationSuccess": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess", + "description": "Indicates that the conversation succeeded." + }, + "endInteraction": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction", + "description": "Output only. A signal that indicates the interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only when the conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be defined by the user. It's guaranteed that there is at most one such message in each response.", + "readOnly": true + }, + "liveAgentHandoff": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff", + "description": "Hands off conversation to a human agent." + }, + "mixedAudio": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio", + "description": "Output only. An audio response message composed of both the synthesized Dialogflow agent responses and responses defined via play_audio. This message is generated by Dialogflow only and not supposed to be defined by the user.", + "readOnly": true + }, + "outputAudioText": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText", + "description": "A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message." + }, + "payload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Returns a response containing a custom, platform-specific payload.", + "type": "object" + }, + "playAudio": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio", + "description": "Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct mixed_audio. However, Dialogflow itself does not try to read or process the URI in any way." + }, + "text": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageText", + "description": "Returns a text response." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess": { + "description": "Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example: * In the entry_fulfillment of a Page if entering the page indicates that the conversation succeeded. * In a webhook response when you determine that you handled the customer issue.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess", + "properties": { + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom metadata. Dialogflow doesn't impose any structure on this.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction": { + "description": "Indicates that interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only and not supposed to be defined by the user.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction", + "properties": {}, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff": { + "description": "Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example: * In the entry_fulfillment of a Page if entering the page indicates something went extremely wrong in the conversation. * In a webhook response when you determine that the customer issue can only be handled by a human.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff", + "properties": { + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom metadata for your handoff procedure. Dialogflow doesn't impose any structure on this.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio": { + "description": "Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs. The external URIs are specified via play_audio. This message is generated by Dialogflow only and not supposed to be defined by the user.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio", + "properties": { + "segments": { + "description": "Segments this audio response is composed of.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment": { + "description": "Represents one segment of audio.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment", + "properties": { + "allowPlaybackInterruption": { + "description": "Output only. Whether the playback of this segment can be interrupted by the end user's speech and the client should then start the next Dialogflow request.", + "readOnly": true, + "type": "boolean" + }, + "audio": { + "description": "Raw audio synthesized from the Dialogflow agent's response using the output config specified in the request.", + "format": "byte", + "type": "string" + }, + "uri": { + "description": "Client-specific URI that points to an audio clip accessible to the client. Dialogflow does not impose any validation on it.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText": { + "description": "A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText", + "properties": { + "allowPlaybackInterruption": { + "description": "Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.", + "readOnly": true, + "type": "boolean" + }, + "ssml": { + "description": "The SSML text to be synthesized. For more information, see [SSML](/speech/text-to-speech/docs/ssml).", + "type": "string" + }, + "text": { + "description": "The raw text to be synthesized.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio": { + "description": "Specifies an audio clip to be played by the client as part of the response.", + "id": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio", + "properties": { + "allowPlaybackInterruption": { + "description": "Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.", + "readOnly": true, + "type": "boolean" + }, + "audioUri": { + "description": "Required. URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageText": { + "description": "The text response message.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageText", + "properties": { + "allowPlaybackInterruption": { + "description": "Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.", + "readOnly": true, + "type": "boolean" + }, + "text": { + "description": "Required. A collection of text responses.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3SessionInfo": { + "description": "Represents session information communicated to and from the webhook.", + "id": "GoogleCloudDialogflowCxV3SessionInfo", + "properties": { + "parameters": { + "additionalProperties": { + "type": "any" + }, + "description": "Optional for WebhookRequest. Optional for WebhookResponse. All parameters collected from forms and intents during the session. Parameters can be created, updated, or removed by the webhook. To remove a parameter from the session, the webhook should explicitly set the parameter value to null in WebhookResponse. The map is keyed by parameters' display names.", + "type": "object" + }, + "session": { + "description": "Always present for WebhookRequest. Ignored for WebhookResponse. The unique identifier of the session. This field can be used by the webhook to identify a user. Format: `projects//locations//agents//sessions/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookRequest": { + "description": "The request message for a webhook call.", + "id": "GoogleCloudDialogflowCxV3WebhookRequest", + "properties": { + "detectIntentResponseId": { + "description": "Always present. The unique identifier of the DetectIntentResponse that will be returned to the API caller.", + "type": "string" + }, + "fulfillmentInfo": { + "$ref": "GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo", + "description": "Always present. Information about the fulfillment that triggered this webhook call." + }, + "intentInfo": { + "$ref": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo", + "description": "Information about the last matched intent." + }, + "messages": { + "description": "The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessage" + }, + "type": "array" + }, + "pageInfo": { + "$ref": "GoogleCloudDialogflowCxV3PageInfo", + "description": "Information about page status." + }, + "payload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom data set in QueryParameters.payload.", + "type": "object" + }, + "sessionInfo": { + "$ref": "GoogleCloudDialogflowCxV3SessionInfo", + "description": "Information about session status." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo": { + "description": "Represents fulfillment information communicated to the webhook.", + "id": "GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo", + "properties": { + "tag": { + "description": "Always present. The tag used to identify which fulfillment is being called.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo": { + "description": "Represents intent information communicated to the webhook.", + "id": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo", + "properties": { + "lastMatchedIntent": { + "description": "Always present. The unique identifier of the last matched intent. Format: `projects//locations//agents//intents/`.", + "type": "string" + }, + "parameters": { + "additionalProperties": { + "$ref": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue" + }, + "description": "Parameters identified as a result of intent matching. This is a map of the name of the identified parameter to the value of the parameter identified from the user's utterance. All parameters defined in the matched intent that are identified will be surfaced here.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue": { + "description": "Represents a value for an intent parameter.", + "id": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue", + "properties": { + "originalValue": { + "description": "Always present. Original text value extracted from user utterance.", + "type": "string" + }, + "resolvedValue": { + "description": "Always present. Structured value for the parameter extracted from user utterance.", + "type": "any" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookResponse": { + "description": "The response message for a webhook call.", + "id": "GoogleCloudDialogflowCxV3WebhookResponse", + "properties": { + "fulfillmentResponse": { + "$ref": "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse", + "description": "The fulfillment response to send to the user. This field can be omitted by the webhook if it does not intend to send any response to the user." + }, + "pageInfo": { + "$ref": "GoogleCloudDialogflowCxV3PageInfo", + "description": "Information about page status. This field can be omitted by the webhook if it does not intend to modify page status." + }, + "payload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Value to append directly to QueryResult.webhook_payloads.", + "type": "object" + }, + "sessionInfo": { + "$ref": "GoogleCloudDialogflowCxV3SessionInfo", + "description": "Information about session status. This field can be omitted by the webhook if it does not intend to modify session status." + }, + "targetFlow": { + "description": "The target flow to transition to. Format: `projects//locations//agents//flows/`.", + "type": "string" + }, + "targetPage": { + "description": "The target page to transition to. Format: `projects//locations//agents//flows//pages/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse": { + "description": "Represents a fulfillment response to the user.", + "id": "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse", + "properties": { + "mergeBehavior": { + "description": "Merge behavior for `messages`.", + "enum": [ + "MERGE_BEHAVIOR_UNSPECIFIED", + "APPEND", + "REPLACE" + ], + "enumDescriptions": [ + "Not specified. `APPEND` will be used.", + "`messages` will be appended to the list of messages waiting to be sent to the user.", + "`messages` will replace the list of messages waiting to be sent to the user." + ], + "type": "string" + }, + "messages": { + "description": "The list of rich message responses to present to the user.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessage" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata": { "description": "Metadata associated with the long running operation for Versions.CreateVersion.", "id": "GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata", diff --git a/dialogflow/v2/dialogflow-gen.go b/dialogflow/v2/dialogflow-gen.go index 5dad1e42d56..21af733b886 100644 --- a/dialogflow/v2/dialogflow-gen.go +++ b/dialogflow/v2/dialogflow-gen.go @@ -334,6 +334,835 @@ type ProjectsOperationsService struct { s *Service } +// GoogleCloudDialogflowCxV3CreateVersionOperationMetadata: Metadata +// associated with the long running operation for +// Versions.CreateVersion. +type GoogleCloudDialogflowCxV3CreateVersionOperationMetadata struct { + // Version: Name of the created version. Format: + // `projects//locations//agents//flows//versions/`. + Version string `json:"version,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Version") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Version") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3CreateVersionOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3CreateVersionOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ExportAgentResponse: The response message +// for Agents.ExportAgent. +type GoogleCloudDialogflowCxV3ExportAgentResponse struct { + // AgentContent: Uncompressed raw byte content for agent. + AgentContent string `json:"agentContent,omitempty"` + + // AgentUri: The URI to a file containing the exported agent. This field + // is populated only if `agent_uri` is specified in ExportAgentRequest. + AgentUri string `json:"agentUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AgentContent") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "AgentContent") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3ExportAgentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ExportAgentResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3PageInfo: Represents page information +// communicated to and from the webhook. +type GoogleCloudDialogflowCxV3PageInfo struct { + // CurrentPage: Always present for WebhookRequest. Ignored for + // WebhookResponse. The unique identifier of the current page. Format: + // `projects//locations//agents//flows//pages/`. + CurrentPage string `json:"currentPage,omitempty"` + + // FormInfo: Optional for both WebhookRequest and WebhookResponse. + // Information about the form. + FormInfo *GoogleCloudDialogflowCxV3PageInfoFormInfo `json:"formInfo,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CurrentPage") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "CurrentPage") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3PageInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3PageInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3PageInfoFormInfo: Represents form +// information. +type GoogleCloudDialogflowCxV3PageInfoFormInfo struct { + // ParameterInfo: Optional for both WebhookRequest and WebhookResponse. + // The parameters contained in the form. Note that the webhook cannot + // add or remove any form parameter. + ParameterInfo []*GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo `json:"parameterInfo,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ParameterInfo") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "ParameterInfo") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3PageInfoFormInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3PageInfoFormInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo: Represents +// parameter information. +type GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo struct { + // DisplayName: Always present for WebhookRequest. Required for + // WebhookResponse. The human-readable name of the parameter, unique + // within the form. This field cannot be modified by the webhook. + DisplayName string `json:"displayName,omitempty"` + + // JustCollected: Optional for WebhookRequest. Ignored for + // WebhookResponse. Indicates if the parameter value was just collected + // on the last conversation turn. + JustCollected bool `json:"justCollected,omitempty"` + + // Required: Optional for both WebhookRequest and WebhookResponse. + // Indicates whether the parameter is required. Optional parameters will + // not trigger prompts; however, they are filled if the user specifies + // them. Required parameters must be filled before form filling + // concludes. + Required bool `json:"required,omitempty"` + + // State: Always present for WebhookRequest. Required for + // WebhookResponse. The state of the parameter. This field can be set to + // INVALID by the webhook to invalidate the parameter; other values set + // by the webhook will be ignored. + // + // Possible values: + // "PARAMETER_STATE_UNSPECIFIED" - Not specified. This value should be + // never used. + // "EMPTY" - Indicates that the parameter does not have a value. + // "INVALID" - Indicates that the parameter value is invalid. This + // field can be used by the webhook to invalidate the parameter and ask + // the server to collect it from the user again. + // "FILLED" - Indicates that the parameter has a value. + State string `json:"state,omitempty"` + + // Value: Optional for both WebhookRequest and WebhookResponse. The + // value of the parameter. This field can be set by the webhook to + // change the parameter value. + Value interface{} `json:"value,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DisplayName") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "DisplayName") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessage: Represents a response +// message that can be returned by a conversational agent. Response +// messages are also used for output audio synthesis. The approach is as +// follows: * If at least one OutputAudioText response is present, then +// all OutputAudioText responses are linearly concatenated, and the +// result is used for output audio synthesis. * If the OutputAudioText +// responses are a mixture of text and SSML, then the concatenated +// result is treated as SSML; otherwise, the result is treated as either +// text or SSML as appropriate. The agent designer should ideally use +// either text or SSML consistently throughout the bot design. * +// Otherwise, all Text responses are linearly concatenated, and the +// result is used for output audio synthesis. This approach allows for +// more sophisticated user experience scenarios, where the text +// displayed to the user may differ from what is heard. +type GoogleCloudDialogflowCxV3ResponseMessage struct { + // ConversationSuccess: Indicates that the conversation succeeded. + ConversationSuccess *GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess `json:"conversationSuccess,omitempty"` + + // EndInteraction: Output only. A signal that indicates the interaction + // with the Dialogflow agent has ended. This message is generated by + // Dialogflow only when the conversation reaches `END_SESSION` or + // `END_PAGE` page. It is not supposed to be defined by the user. It's + // guaranteed that there is at most one such message in each response. + EndInteraction *GoogleCloudDialogflowCxV3ResponseMessageEndInteraction `json:"endInteraction,omitempty"` + + // LiveAgentHandoff: Hands off conversation to a human agent. + LiveAgentHandoff *GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff `json:"liveAgentHandoff,omitempty"` + + // MixedAudio: Output only. An audio response message composed of both + // the synthesized Dialogflow agent responses and responses defined via + // play_audio. This message is generated by Dialogflow only and not + // supposed to be defined by the user. + MixedAudio *GoogleCloudDialogflowCxV3ResponseMessageMixedAudio `json:"mixedAudio,omitempty"` + + // OutputAudioText: A text or ssml response that is preferentially used + // for TTS output audio synthesis, as described in the comment on the + // ResponseMessage message. + OutputAudioText *GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText `json:"outputAudioText,omitempty"` + + // Payload: Returns a response containing a custom, platform-specific + // payload. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // PlayAudio: Signal that the client should play an audio clip hosted at + // a client-specific URI. Dialogflow uses this to construct mixed_audio. + // However, Dialogflow itself does not try to read or process the URI in + // any way. + PlayAudio *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio `json:"playAudio,omitempty"` + + // Text: Returns a text response. + Text *GoogleCloudDialogflowCxV3ResponseMessageText `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConversationSuccess") + // to unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "ConversationSuccess") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3ResponseMessage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessage + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess: +// Indicates that the conversation succeeded, i.e., the bot handled the +// issue that the customer talked to it about. Dialogflow only uses this +// to determine which conversations should be counted as successful and +// doesn't process the metadata in this message in any way. Note that +// Dialogflow also considers conversations that get to the conversation +// end page as successful even if they don't return ConversationSuccess. +// You may set this, for example: * In the entry_fulfillment of a Page +// if entering the page indicates that the conversation succeeded. * In +// a webhook response when you determine that you handled the customer +// issue. +type GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess struct { + // Metadata: Custom metadata. Dialogflow doesn't impose any structure on + // this. + Metadata googleapi.RawMessage `json:"metadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Metadata") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Metadata") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessageEndInteraction: Indicates +// that interaction with the Dialogflow agent has ended. This message is +// generated by Dialogflow only and not supposed to be defined by the +// user. +type GoogleCloudDialogflowCxV3ResponseMessageEndInteraction struct { +} + +// GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff: Indicates +// that the conversation should be handed off to a live agent. +// Dialogflow only uses this to determine which conversations were +// handed off to a human agent for measurement purposes. What else to do +// with this signal is up to you and your handoff procedures. You may +// set this, for example: * In the entry_fulfillment of a Page if +// entering the page indicates something went extremely wrong in the +// conversation. * In a webhook response when you determine that the +// customer issue can only be handled by a human. +type GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff struct { + // Metadata: Custom metadata for your handoff procedure. Dialogflow + // doesn't impose any structure on this. + Metadata googleapi.RawMessage `json:"metadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Metadata") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Metadata") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessageMixedAudio: Represents an +// audio message that is composed of both segments synthesized from the +// Dialogflow agent prompts and ones hosted externally at the specified +// URIs. The external URIs are specified via play_audio. This message is +// generated by Dialogflow only and not supposed to be defined by the +// user. +type GoogleCloudDialogflowCxV3ResponseMessageMixedAudio struct { + // Segments: Segments this audio response is composed of. + Segments []*GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment `json:"segments,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Segments") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Segments") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3ResponseMessageMixedAudio) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageMixedAudio + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment: Represents +// one segment of audio. +type GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // segment can be interrupted by the end user's speech and the client + // should then start the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` + + // Audio: Raw audio synthesized from the Dialogflow agent's response + // using the output config specified in the request. + Audio string `json:"audio,omitempty"` + + // Uri: Client-specific URI that points to an audio clip accessible to + // the client. Dialogflow does not impose any validation on it. + Uri string `json:"uri,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to include in API requests with the JSON + // null value. By default, fields with empty values are omitted from API + // requests. However, any field with an empty value appearing in + // NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText: A text or +// ssml response that is preferentially used for TTS output audio +// synthesis, as described in the comment on the ResponseMessage +// message. +type GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` + + // Ssml: The SSML text to be synthesized. For more information, see + // [SSML](/speech/text-to-speech/docs/ssml). + Ssml string `json:"ssml,omitempty"` + + // Text: The raw text to be synthesized. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to include in API requests with the JSON + // null value. By default, fields with empty values are omitted from API + // requests. However, any field with an empty value appearing in + // NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessagePlayAudio: Specifies an audio +// clip to be played by the client as part of the response. +type GoogleCloudDialogflowCxV3ResponseMessagePlayAudio struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` + + // AudioUri: Required. URI of the audio clip. Dialogflow does not impose + // any validation on this value. It is specific to the client that reads + // it. + AudioUri string `json:"audioUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to include in API requests with the JSON + // null value. By default, fields with empty values are omitted from API + // requests. However, any field with an empty value appearing in + // NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessagePlayAudio + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessageText: The text response +// message. +type GoogleCloudDialogflowCxV3ResponseMessageText struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` + + // Text: Required. A collection of text responses. + Text []string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to include in API requests with the JSON + // null value. By default, fields with empty values are omitted from API + // requests. However, any field with an empty value appearing in + // NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3ResponseMessageText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageText + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3SessionInfo: Represents session information +// communicated to and from the webhook. +type GoogleCloudDialogflowCxV3SessionInfo struct { + // Parameters: Optional for WebhookRequest. Optional for + // WebhookResponse. All parameters collected from forms and intents + // during the session. Parameters can be created, updated, or removed by + // the webhook. To remove a parameter from the session, the webhook + // should explicitly set the parameter value to null in WebhookResponse. + // The map is keyed by parameters' display names. + Parameters googleapi.RawMessage `json:"parameters,omitempty"` + + // Session: Always present for WebhookRequest. Ignored for + // WebhookResponse. The unique identifier of the session. This field can + // be used by the webhook to identify a user. Format: + // `projects//locations//agents//sessions/`. + Session string `json:"session,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Parameters") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Parameters") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3SessionInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3SessionInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3WebhookRequest: The request message for a +// webhook call. +type GoogleCloudDialogflowCxV3WebhookRequest struct { + // DetectIntentResponseId: Always present. The unique identifier of the + // DetectIntentResponse that will be returned to the API caller. + DetectIntentResponseId string `json:"detectIntentResponseId,omitempty"` + + // FulfillmentInfo: Always present. Information about the fulfillment + // that triggered this webhook call. + FulfillmentInfo *GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo `json:"fulfillmentInfo,omitempty"` + + // IntentInfo: Information about the last matched intent. + IntentInfo *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo `json:"intentInfo,omitempty"` + + // Messages: The list of rich message responses to present to the user. + // Webhook can choose to append or replace this list in + // WebhookResponse.fulfillment_response; + Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"` + + // PageInfo: Information about page status. + PageInfo *GoogleCloudDialogflowCxV3PageInfo `json:"pageInfo,omitempty"` + + // Payload: Custom data set in QueryParameters.payload. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // SessionInfo: Information about session status. + SessionInfo *GoogleCloudDialogflowCxV3SessionInfo `json:"sessionInfo,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "DetectIntentResponseId") to unconditionally include in API requests. + // By default, fields with empty values are omitted from API requests. + // However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "DetectIntentResponseId") + // to include in API requests with the JSON null value. By default, + // fields with empty values are omitted from API requests. However, any + // field with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3WebhookRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo: Represents +// fulfillment information communicated to the webhook. +type GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo struct { + // Tag: Always present. The tag used to identify which fulfillment is + // being called. + Tag string `json:"tag,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Tag") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Tag") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3WebhookRequestIntentInfo: Represents intent +// information communicated to the webhook. +type GoogleCloudDialogflowCxV3WebhookRequestIntentInfo struct { + // LastMatchedIntent: Always present. The unique identifier of the last + // matched intent. Format: `projects//locations//agents//intents/`. + LastMatchedIntent string `json:"lastMatchedIntent,omitempty"` + + // Parameters: Parameters identified as a result of intent matching. + // This is a map of the name of the identified parameter to the value of + // the parameter identified from the user's utterance. All parameters + // defined in the matched intent that are identified will be surfaced + // here. + Parameters map[string]GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue `json:"parameters,omitempty"` + + // ForceSendFields is a list of field names (e.g. "LastMatchedIntent") + // to unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "LastMatchedIntent") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequestIntentInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue: +// Represents a value for an intent parameter. +type GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue struct { + // OriginalValue: Always present. Original text value extracted from + // user utterance. + OriginalValue string `json:"originalValue,omitempty"` + + // ResolvedValue: Always present. Structured value for the parameter + // extracted from user utterance. + ResolvedValue interface{} `json:"resolvedValue,omitempty"` + + // ForceSendFields is a list of field names (e.g. "OriginalValue") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "OriginalValue") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3WebhookResponse: The response message for a +// webhook call. +type GoogleCloudDialogflowCxV3WebhookResponse struct { + // FulfillmentResponse: The fulfillment response to send to the user. + // This field can be omitted by the webhook if it does not intend to + // send any response to the user. + FulfillmentResponse *GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse `json:"fulfillmentResponse,omitempty"` + + // PageInfo: Information about page status. This field can be omitted by + // the webhook if it does not intend to modify page status. + PageInfo *GoogleCloudDialogflowCxV3PageInfo `json:"pageInfo,omitempty"` + + // Payload: Value to append directly to QueryResult.webhook_payloads. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // SessionInfo: Information about session status. This field can be + // omitted by the webhook if it does not intend to modify session + // status. + SessionInfo *GoogleCloudDialogflowCxV3SessionInfo `json:"sessionInfo,omitempty"` + + // TargetFlow: The target flow to transition to. Format: + // `projects//locations//agents//flows/`. + TargetFlow string `json:"targetFlow,omitempty"` + + // TargetPage: The target page to transition to. Format: + // `projects//locations//agents//flows//pages/`. + TargetPage string `json:"targetPage,omitempty"` + + // ForceSendFields is a list of field names (e.g. "FulfillmentResponse") + // to unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "FulfillmentResponse") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3WebhookResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse: +// Represents a fulfillment response to the user. +type GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse struct { + // MergeBehavior: Merge behavior for `messages`. + // + // Possible values: + // "MERGE_BEHAVIOR_UNSPECIFIED" - Not specified. `APPEND` will be + // used. + // "APPEND" - `messages` will be appended to the list of messages + // waiting to be sent to the user. + // "REPLACE" - `messages` will replace the list of messages waiting to + // be sent to the user. + MergeBehavior string `json:"mergeBehavior,omitempty"` + + // Messages: The list of rich message responses to present to the user. + Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"` + + // ForceSendFields is a list of field names (e.g. "MergeBehavior") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "MergeBehavior") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata: // Metadata associated with the long running operation for // Versions.CreateVersion. @@ -8514,7 +9343,7 @@ func (c *ProjectsDeleteAgentCall) Header() http.Header { func (c *ProjectsDeleteAgentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8656,7 +9485,7 @@ func (c *ProjectsGetAgentCall) Header() http.Header { func (c *ProjectsGetAgentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8799,7 +9628,7 @@ func (c *ProjectsSetAgentCall) Header() http.Header { func (c *ProjectsSetAgentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8946,7 +9775,7 @@ func (c *ProjectsAgentExportCall) Header() http.Header { func (c *ProjectsAgentExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9096,7 +9925,7 @@ func (c *ProjectsAgentGetFulfillmentCall) Header() http.Header { func (c *ProjectsAgentGetFulfillmentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9255,7 +10084,7 @@ func (c *ProjectsAgentGetValidationResultCall) Header() http.Header { func (c *ProjectsAgentGetValidationResultCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9406,7 +10235,7 @@ func (c *ProjectsAgentImportCall) Header() http.Header { func (c *ProjectsAgentImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9555,7 +10384,7 @@ func (c *ProjectsAgentRestoreCall) Header() http.Header { func (c *ProjectsAgentRestoreCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9725,7 +10554,7 @@ func (c *ProjectsAgentSearchCall) Header() http.Header { func (c *ProjectsAgentSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9895,7 +10724,7 @@ func (c *ProjectsAgentTrainCall) Header() http.Header { func (c *ProjectsAgentTrainCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10044,7 +10873,7 @@ func (c *ProjectsAgentUpdateFulfillmentCall) Header() http.Header { func (c *ProjectsAgentUpdateFulfillmentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10192,7 +11021,7 @@ func (c *ProjectsAgentEntityTypesBatchDeleteCall) Header() http.Header { func (c *ProjectsAgentEntityTypesBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10334,7 +11163,7 @@ func (c *ProjectsAgentEntityTypesBatchUpdateCall) Header() http.Header { func (c *ProjectsAgentEntityTypesBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10486,7 +11315,7 @@ func (c *ProjectsAgentEntityTypesCreateCall) Header() http.Header { func (c *ProjectsAgentEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10631,7 +11460,7 @@ func (c *ProjectsAgentEntityTypesDeleteCall) Header() http.Header { func (c *ProjectsAgentEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10784,7 +11613,7 @@ func (c *ProjectsAgentEntityTypesGetCall) Header() http.Header { func (c *ProjectsAgentEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10960,7 +11789,7 @@ func (c *ProjectsAgentEntityTypesListCall) Header() http.Header { func (c *ProjectsAgentEntityTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11153,7 +11982,7 @@ func (c *ProjectsAgentEntityTypesPatchCall) Header() http.Header { func (c *ProjectsAgentEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11307,7 +12136,7 @@ func (c *ProjectsAgentEntityTypesEntitiesBatchCreateCall) Header() http.Header { func (c *ProjectsAgentEntityTypesEntitiesBatchCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11448,7 +12277,7 @@ func (c *ProjectsAgentEntityTypesEntitiesBatchDeleteCall) Header() http.Header { func (c *ProjectsAgentEntityTypesEntitiesBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11591,7 +12420,7 @@ func (c *ProjectsAgentEntityTypesEntitiesBatchUpdateCall) Header() http.Header { func (c *ProjectsAgentEntityTypesEntitiesBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11756,7 +12585,7 @@ func (c *ProjectsAgentEnvironmentsListCall) Header() http.Header { func (c *ProjectsAgentEnvironmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11924,7 +12753,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall) Header() http func (c *ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12064,7 +12893,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall) Header() http.H func (c *ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12208,7 +13037,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall) Header() http func (c *ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12347,7 +13176,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall) Header() http func (c *ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12489,7 +13318,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsContextsGetCall) Header() http.He func (c *ProjectsAgentEnvironmentsUsersSessionsContextsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12648,7 +13477,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsContextsListCall) Header() http.H func (c *ProjectsAgentEnvironmentsUsersSessionsContextsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12825,7 +13654,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall) Header() http. func (c *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12976,7 +13805,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) Header() h func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13120,7 +13949,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) Header() h func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13264,7 +14093,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall) Header() http func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13428,7 +14257,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) Header() htt func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13607,7 +14436,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) Header() ht func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13756,7 +14585,7 @@ func (c *ProjectsAgentIntentsBatchDeleteCall) Header() http.Header { func (c *ProjectsAgentIntentsBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13898,7 +14727,7 @@ func (c *ProjectsAgentIntentsBatchUpdateCall) Header() http.Header { func (c *ProjectsAgentIntentsBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14062,7 +14891,7 @@ func (c *ProjectsAgentIntentsCreateCall) Header() http.Header { func (c *ProjectsAgentIntentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14220,7 +15049,7 @@ func (c *ProjectsAgentIntentsDeleteCall) Header() http.Header { func (c *ProjectsAgentIntentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14385,7 +15214,7 @@ func (c *ProjectsAgentIntentsGetCall) Header() http.Header { func (c *ProjectsAgentIntentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14585,7 +15414,7 @@ func (c *ProjectsAgentIntentsListCall) Header() http.Header { func (c *ProjectsAgentIntentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14803,7 +15632,7 @@ func (c *ProjectsAgentIntentsPatchCall) Header() http.Header { func (c *ProjectsAgentIntentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14966,7 +15795,7 @@ func (c *ProjectsAgentSessionsDeleteContextsCall) Header() http.Header { func (c *ProjectsAgentSessionsDeleteContextsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15106,7 +15935,7 @@ func (c *ProjectsAgentSessionsDetectIntentCall) Header() http.Header { func (c *ProjectsAgentSessionsDetectIntentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15250,7 +16079,7 @@ func (c *ProjectsAgentSessionsContextsCreateCall) Header() http.Header { func (c *ProjectsAgentSessionsContextsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15389,7 +16218,7 @@ func (c *ProjectsAgentSessionsContextsDeleteCall) Header() http.Header { func (c *ProjectsAgentSessionsContextsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15531,7 +16360,7 @@ func (c *ProjectsAgentSessionsContextsGetCall) Header() http.Header { func (c *ProjectsAgentSessionsContextsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15690,7 +16519,7 @@ func (c *ProjectsAgentSessionsContextsListCall) Header() http.Header { func (c *ProjectsAgentSessionsContextsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15867,7 +16696,7 @@ func (c *ProjectsAgentSessionsContextsPatchCall) Header() http.Header { func (c *ProjectsAgentSessionsContextsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16018,7 +16847,7 @@ func (c *ProjectsAgentSessionsEntityTypesCreateCall) Header() http.Header { func (c *ProjectsAgentSessionsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16162,7 +16991,7 @@ func (c *ProjectsAgentSessionsEntityTypesDeleteCall) Header() http.Header { func (c *ProjectsAgentSessionsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16306,7 +17135,7 @@ func (c *ProjectsAgentSessionsEntityTypesGetCall) Header() http.Header { func (c *ProjectsAgentSessionsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16470,7 +17299,7 @@ func (c *ProjectsAgentSessionsEntityTypesListCall) Header() http.Header { func (c *ProjectsAgentSessionsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16649,7 +17478,7 @@ func (c *ProjectsAgentSessionsEntityTypesPatchCall) Header() http.Header { func (c *ProjectsAgentSessionsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16805,7 +17634,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16949,7 +17778,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17124,7 +17953,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17305,7 +18134,7 @@ func (c *ProjectsOperationsCancelCall) Header() http.Header { func (c *ProjectsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17449,7 +18278,7 @@ func (c *ProjectsOperationsGetCall) Header() http.Header { func (c *ProjectsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17624,7 +18453,7 @@ func (c *ProjectsOperationsListCall) Header() http.Header { func (c *ProjectsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/dialogflow/v2beta1/dialogflow-api.json b/dialogflow/v2beta1/dialogflow-api.json index cb0655bbc68..ea05ab34c5e 100644 --- a/dialogflow/v2beta1/dialogflow-api.json +++ b/dialogflow/v2beta1/dialogflow-api.json @@ -4912,9 +4912,442 @@ } } }, - "revision": "20201201", + "revision": "20201207", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { + "GoogleCloudDialogflowCxV3CreateVersionOperationMetadata": { + "description": "Metadata associated with the long running operation for Versions.CreateVersion.", + "id": "GoogleCloudDialogflowCxV3CreateVersionOperationMetadata", + "properties": { + "version": { + "description": "Name of the created version. Format: `projects//locations//agents//flows//versions/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ExportAgentResponse": { + "description": "The response message for Agents.ExportAgent.", + "id": "GoogleCloudDialogflowCxV3ExportAgentResponse", + "properties": { + "agentContent": { + "description": "Uncompressed raw byte content for agent.", + "format": "byte", + "type": "string" + }, + "agentUri": { + "description": "The URI to a file containing the exported agent. This field is populated only if `agent_uri` is specified in ExportAgentRequest.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3PageInfo": { + "description": "Represents page information communicated to and from the webhook.", + "id": "GoogleCloudDialogflowCxV3PageInfo", + "properties": { + "currentPage": { + "description": "Always present for WebhookRequest. Ignored for WebhookResponse. The unique identifier of the current page. Format: `projects//locations//agents//flows//pages/`.", + "type": "string" + }, + "formInfo": { + "$ref": "GoogleCloudDialogflowCxV3PageInfoFormInfo", + "description": "Optional for both WebhookRequest and WebhookResponse. Information about the form." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3PageInfoFormInfo": { + "description": "Represents form information.", + "id": "GoogleCloudDialogflowCxV3PageInfoFormInfo", + "properties": { + "parameterInfo": { + "description": "Optional for both WebhookRequest and WebhookResponse. The parameters contained in the form. Note that the webhook cannot add or remove any form parameter.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo": { + "description": "Represents parameter information.", + "id": "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo", + "properties": { + "displayName": { + "description": "Always present for WebhookRequest. Required for WebhookResponse. The human-readable name of the parameter, unique within the form. This field cannot be modified by the webhook.", + "type": "string" + }, + "justCollected": { + "description": "Optional for WebhookRequest. Ignored for WebhookResponse. Indicates if the parameter value was just collected on the last conversation turn.", + "type": "boolean" + }, + "required": { + "description": "Optional for both WebhookRequest and WebhookResponse. Indicates whether the parameter is required. Optional parameters will not trigger prompts; however, they are filled if the user specifies them. Required parameters must be filled before form filling concludes.", + "type": "boolean" + }, + "state": { + "description": "Always present for WebhookRequest. Required for WebhookResponse. The state of the parameter. This field can be set to INVALID by the webhook to invalidate the parameter; other values set by the webhook will be ignored.", + "enum": [ + "PARAMETER_STATE_UNSPECIFIED", + "EMPTY", + "INVALID", + "FILLED" + ], + "enumDescriptions": [ + "Not specified. This value should be never used.", + "Indicates that the parameter does not have a value.", + "Indicates that the parameter value is invalid. This field can be used by the webhook to invalidate the parameter and ask the server to collect it from the user again.", + "Indicates that the parameter has a value." + ], + "type": "string" + }, + "value": { + "description": "Optional for both WebhookRequest and WebhookResponse. The value of the parameter. This field can be set by the webhook to change the parameter value.", + "type": "any" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessage": { + "description": "Represents a response message that can be returned by a conversational agent. Response messages are also used for output audio synthesis. The approach is as follows: * If at least one OutputAudioText response is present, then all OutputAudioText responses are linearly concatenated, and the result is used for output audio synthesis. * If the OutputAudioText responses are a mixture of text and SSML, then the concatenated result is treated as SSML; otherwise, the result is treated as either text or SSML as appropriate. The agent designer should ideally use either text or SSML consistently throughout the bot design. * Otherwise, all Text responses are linearly concatenated, and the result is used for output audio synthesis. This approach allows for more sophisticated user experience scenarios, where the text displayed to the user may differ from what is heard.", + "id": "GoogleCloudDialogflowCxV3ResponseMessage", + "properties": { + "conversationSuccess": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess", + "description": "Indicates that the conversation succeeded." + }, + "endInteraction": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction", + "description": "Output only. A signal that indicates the interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only when the conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be defined by the user. It's guaranteed that there is at most one such message in each response.", + "readOnly": true + }, + "liveAgentHandoff": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff", + "description": "Hands off conversation to a human agent." + }, + "mixedAudio": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio", + "description": "Output only. An audio response message composed of both the synthesized Dialogflow agent responses and responses defined via play_audio. This message is generated by Dialogflow only and not supposed to be defined by the user.", + "readOnly": true + }, + "outputAudioText": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText", + "description": "A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message." + }, + "payload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Returns a response containing a custom, platform-specific payload.", + "type": "object" + }, + "playAudio": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio", + "description": "Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct mixed_audio. However, Dialogflow itself does not try to read or process the URI in any way." + }, + "text": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageText", + "description": "Returns a text response." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess": { + "description": "Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example: * In the entry_fulfillment of a Page if entering the page indicates that the conversation succeeded. * In a webhook response when you determine that you handled the customer issue.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess", + "properties": { + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom metadata. Dialogflow doesn't impose any structure on this.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction": { + "description": "Indicates that interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only and not supposed to be defined by the user.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction", + "properties": {}, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff": { + "description": "Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example: * In the entry_fulfillment of a Page if entering the page indicates something went extremely wrong in the conversation. * In a webhook response when you determine that the customer issue can only be handled by a human.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff", + "properties": { + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom metadata for your handoff procedure. Dialogflow doesn't impose any structure on this.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio": { + "description": "Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs. The external URIs are specified via play_audio. This message is generated by Dialogflow only and not supposed to be defined by the user.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio", + "properties": { + "segments": { + "description": "Segments this audio response is composed of.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment": { + "description": "Represents one segment of audio.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment", + "properties": { + "allowPlaybackInterruption": { + "description": "Output only. Whether the playback of this segment can be interrupted by the end user's speech and the client should then start the next Dialogflow request.", + "readOnly": true, + "type": "boolean" + }, + "audio": { + "description": "Raw audio synthesized from the Dialogflow agent's response using the output config specified in the request.", + "format": "byte", + "type": "string" + }, + "uri": { + "description": "Client-specific URI that points to an audio clip accessible to the client. Dialogflow does not impose any validation on it.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText": { + "description": "A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText", + "properties": { + "allowPlaybackInterruption": { + "description": "Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.", + "readOnly": true, + "type": "boolean" + }, + "ssml": { + "description": "The SSML text to be synthesized. For more information, see [SSML](/speech/text-to-speech/docs/ssml).", + "type": "string" + }, + "text": { + "description": "The raw text to be synthesized.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio": { + "description": "Specifies an audio clip to be played by the client as part of the response.", + "id": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio", + "properties": { + "allowPlaybackInterruption": { + "description": "Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.", + "readOnly": true, + "type": "boolean" + }, + "audioUri": { + "description": "Required. URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageText": { + "description": "The text response message.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageText", + "properties": { + "allowPlaybackInterruption": { + "description": "Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.", + "readOnly": true, + "type": "boolean" + }, + "text": { + "description": "Required. A collection of text responses.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3SessionInfo": { + "description": "Represents session information communicated to and from the webhook.", + "id": "GoogleCloudDialogflowCxV3SessionInfo", + "properties": { + "parameters": { + "additionalProperties": { + "type": "any" + }, + "description": "Optional for WebhookRequest. Optional for WebhookResponse. All parameters collected from forms and intents during the session. Parameters can be created, updated, or removed by the webhook. To remove a parameter from the session, the webhook should explicitly set the parameter value to null in WebhookResponse. The map is keyed by parameters' display names.", + "type": "object" + }, + "session": { + "description": "Always present for WebhookRequest. Ignored for WebhookResponse. The unique identifier of the session. This field can be used by the webhook to identify a user. Format: `projects//locations//agents//sessions/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookRequest": { + "description": "The request message for a webhook call.", + "id": "GoogleCloudDialogflowCxV3WebhookRequest", + "properties": { + "detectIntentResponseId": { + "description": "Always present. The unique identifier of the DetectIntentResponse that will be returned to the API caller.", + "type": "string" + }, + "fulfillmentInfo": { + "$ref": "GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo", + "description": "Always present. Information about the fulfillment that triggered this webhook call." + }, + "intentInfo": { + "$ref": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo", + "description": "Information about the last matched intent." + }, + "messages": { + "description": "The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessage" + }, + "type": "array" + }, + "pageInfo": { + "$ref": "GoogleCloudDialogflowCxV3PageInfo", + "description": "Information about page status." + }, + "payload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom data set in QueryParameters.payload.", + "type": "object" + }, + "sessionInfo": { + "$ref": "GoogleCloudDialogflowCxV3SessionInfo", + "description": "Information about session status." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo": { + "description": "Represents fulfillment information communicated to the webhook.", + "id": "GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo", + "properties": { + "tag": { + "description": "Always present. The tag used to identify which fulfillment is being called.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo": { + "description": "Represents intent information communicated to the webhook.", + "id": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo", + "properties": { + "lastMatchedIntent": { + "description": "Always present. The unique identifier of the last matched intent. Format: `projects//locations//agents//intents/`.", + "type": "string" + }, + "parameters": { + "additionalProperties": { + "$ref": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue" + }, + "description": "Parameters identified as a result of intent matching. This is a map of the name of the identified parameter to the value of the parameter identified from the user's utterance. All parameters defined in the matched intent that are identified will be surfaced here.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue": { + "description": "Represents a value for an intent parameter.", + "id": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue", + "properties": { + "originalValue": { + "description": "Always present. Original text value extracted from user utterance.", + "type": "string" + }, + "resolvedValue": { + "description": "Always present. Structured value for the parameter extracted from user utterance.", + "type": "any" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookResponse": { + "description": "The response message for a webhook call.", + "id": "GoogleCloudDialogflowCxV3WebhookResponse", + "properties": { + "fulfillmentResponse": { + "$ref": "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse", + "description": "The fulfillment response to send to the user. This field can be omitted by the webhook if it does not intend to send any response to the user." + }, + "pageInfo": { + "$ref": "GoogleCloudDialogflowCxV3PageInfo", + "description": "Information about page status. This field can be omitted by the webhook if it does not intend to modify page status." + }, + "payload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Value to append directly to QueryResult.webhook_payloads.", + "type": "object" + }, + "sessionInfo": { + "$ref": "GoogleCloudDialogflowCxV3SessionInfo", + "description": "Information about session status. This field can be omitted by the webhook if it does not intend to modify session status." + }, + "targetFlow": { + "description": "The target flow to transition to. Format: `projects//locations//agents//flows/`.", + "type": "string" + }, + "targetPage": { + "description": "The target page to transition to. Format: `projects//locations//agents//flows//pages/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse": { + "description": "Represents a fulfillment response to the user.", + "id": "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse", + "properties": { + "mergeBehavior": { + "description": "Merge behavior for `messages`.", + "enum": [ + "MERGE_BEHAVIOR_UNSPECIFIED", + "APPEND", + "REPLACE" + ], + "enumDescriptions": [ + "Not specified. `APPEND` will be used.", + "`messages` will be appended to the list of messages waiting to be sent to the user.", + "`messages` will replace the list of messages waiting to be sent to the user." + ], + "type": "string" + }, + "messages": { + "description": "The list of rich message responses to present to the user.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessage" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata": { "description": "Metadata associated with the long running operation for Versions.CreateVersion.", "id": "GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata", diff --git a/dialogflow/v2beta1/dialogflow-gen.go b/dialogflow/v2beta1/dialogflow-gen.go index 17652d4fa4a..ec17132e6f3 100644 --- a/dialogflow/v2beta1/dialogflow-gen.go +++ b/dialogflow/v2beta1/dialogflow-gen.go @@ -550,6 +550,835 @@ type ProjectsOperationsService struct { s *Service } +// GoogleCloudDialogflowCxV3CreateVersionOperationMetadata: Metadata +// associated with the long running operation for +// Versions.CreateVersion. +type GoogleCloudDialogflowCxV3CreateVersionOperationMetadata struct { + // Version: Name of the created version. Format: + // `projects//locations//agents//flows//versions/`. + Version string `json:"version,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Version") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Version") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3CreateVersionOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3CreateVersionOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ExportAgentResponse: The response message +// for Agents.ExportAgent. +type GoogleCloudDialogflowCxV3ExportAgentResponse struct { + // AgentContent: Uncompressed raw byte content for agent. + AgentContent string `json:"agentContent,omitempty"` + + // AgentUri: The URI to a file containing the exported agent. This field + // is populated only if `agent_uri` is specified in ExportAgentRequest. + AgentUri string `json:"agentUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AgentContent") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "AgentContent") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3ExportAgentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ExportAgentResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3PageInfo: Represents page information +// communicated to and from the webhook. +type GoogleCloudDialogflowCxV3PageInfo struct { + // CurrentPage: Always present for WebhookRequest. Ignored for + // WebhookResponse. The unique identifier of the current page. Format: + // `projects//locations//agents//flows//pages/`. + CurrentPage string `json:"currentPage,omitempty"` + + // FormInfo: Optional for both WebhookRequest and WebhookResponse. + // Information about the form. + FormInfo *GoogleCloudDialogflowCxV3PageInfoFormInfo `json:"formInfo,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CurrentPage") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "CurrentPage") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3PageInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3PageInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3PageInfoFormInfo: Represents form +// information. +type GoogleCloudDialogflowCxV3PageInfoFormInfo struct { + // ParameterInfo: Optional for both WebhookRequest and WebhookResponse. + // The parameters contained in the form. Note that the webhook cannot + // add or remove any form parameter. + ParameterInfo []*GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo `json:"parameterInfo,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ParameterInfo") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "ParameterInfo") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3PageInfoFormInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3PageInfoFormInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo: Represents +// parameter information. +type GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo struct { + // DisplayName: Always present for WebhookRequest. Required for + // WebhookResponse. The human-readable name of the parameter, unique + // within the form. This field cannot be modified by the webhook. + DisplayName string `json:"displayName,omitempty"` + + // JustCollected: Optional for WebhookRequest. Ignored for + // WebhookResponse. Indicates if the parameter value was just collected + // on the last conversation turn. + JustCollected bool `json:"justCollected,omitempty"` + + // Required: Optional for both WebhookRequest and WebhookResponse. + // Indicates whether the parameter is required. Optional parameters will + // not trigger prompts; however, they are filled if the user specifies + // them. Required parameters must be filled before form filling + // concludes. + Required bool `json:"required,omitempty"` + + // State: Always present for WebhookRequest. Required for + // WebhookResponse. The state of the parameter. This field can be set to + // INVALID by the webhook to invalidate the parameter; other values set + // by the webhook will be ignored. + // + // Possible values: + // "PARAMETER_STATE_UNSPECIFIED" - Not specified. This value should be + // never used. + // "EMPTY" - Indicates that the parameter does not have a value. + // "INVALID" - Indicates that the parameter value is invalid. This + // field can be used by the webhook to invalidate the parameter and ask + // the server to collect it from the user again. + // "FILLED" - Indicates that the parameter has a value. + State string `json:"state,omitempty"` + + // Value: Optional for both WebhookRequest and WebhookResponse. The + // value of the parameter. This field can be set by the webhook to + // change the parameter value. + Value interface{} `json:"value,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DisplayName") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "DisplayName") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessage: Represents a response +// message that can be returned by a conversational agent. Response +// messages are also used for output audio synthesis. The approach is as +// follows: * If at least one OutputAudioText response is present, then +// all OutputAudioText responses are linearly concatenated, and the +// result is used for output audio synthesis. * If the OutputAudioText +// responses are a mixture of text and SSML, then the concatenated +// result is treated as SSML; otherwise, the result is treated as either +// text or SSML as appropriate. The agent designer should ideally use +// either text or SSML consistently throughout the bot design. * +// Otherwise, all Text responses are linearly concatenated, and the +// result is used for output audio synthesis. This approach allows for +// more sophisticated user experience scenarios, where the text +// displayed to the user may differ from what is heard. +type GoogleCloudDialogflowCxV3ResponseMessage struct { + // ConversationSuccess: Indicates that the conversation succeeded. + ConversationSuccess *GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess `json:"conversationSuccess,omitempty"` + + // EndInteraction: Output only. A signal that indicates the interaction + // with the Dialogflow agent has ended. This message is generated by + // Dialogflow only when the conversation reaches `END_SESSION` or + // `END_PAGE` page. It is not supposed to be defined by the user. It's + // guaranteed that there is at most one such message in each response. + EndInteraction *GoogleCloudDialogflowCxV3ResponseMessageEndInteraction `json:"endInteraction,omitempty"` + + // LiveAgentHandoff: Hands off conversation to a human agent. + LiveAgentHandoff *GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff `json:"liveAgentHandoff,omitempty"` + + // MixedAudio: Output only. An audio response message composed of both + // the synthesized Dialogflow agent responses and responses defined via + // play_audio. This message is generated by Dialogflow only and not + // supposed to be defined by the user. + MixedAudio *GoogleCloudDialogflowCxV3ResponseMessageMixedAudio `json:"mixedAudio,omitempty"` + + // OutputAudioText: A text or ssml response that is preferentially used + // for TTS output audio synthesis, as described in the comment on the + // ResponseMessage message. + OutputAudioText *GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText `json:"outputAudioText,omitempty"` + + // Payload: Returns a response containing a custom, platform-specific + // payload. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // PlayAudio: Signal that the client should play an audio clip hosted at + // a client-specific URI. Dialogflow uses this to construct mixed_audio. + // However, Dialogflow itself does not try to read or process the URI in + // any way. + PlayAudio *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio `json:"playAudio,omitempty"` + + // Text: Returns a text response. + Text *GoogleCloudDialogflowCxV3ResponseMessageText `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConversationSuccess") + // to unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "ConversationSuccess") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3ResponseMessage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessage + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess: +// Indicates that the conversation succeeded, i.e., the bot handled the +// issue that the customer talked to it about. Dialogflow only uses this +// to determine which conversations should be counted as successful and +// doesn't process the metadata in this message in any way. Note that +// Dialogflow also considers conversations that get to the conversation +// end page as successful even if they don't return ConversationSuccess. +// You may set this, for example: * In the entry_fulfillment of a Page +// if entering the page indicates that the conversation succeeded. * In +// a webhook response when you determine that you handled the customer +// issue. +type GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess struct { + // Metadata: Custom metadata. Dialogflow doesn't impose any structure on + // this. + Metadata googleapi.RawMessage `json:"metadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Metadata") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Metadata") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessageEndInteraction: Indicates +// that interaction with the Dialogflow agent has ended. This message is +// generated by Dialogflow only and not supposed to be defined by the +// user. +type GoogleCloudDialogflowCxV3ResponseMessageEndInteraction struct { +} + +// GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff: Indicates +// that the conversation should be handed off to a live agent. +// Dialogflow only uses this to determine which conversations were +// handed off to a human agent for measurement purposes. What else to do +// with this signal is up to you and your handoff procedures. You may +// set this, for example: * In the entry_fulfillment of a Page if +// entering the page indicates something went extremely wrong in the +// conversation. * In a webhook response when you determine that the +// customer issue can only be handled by a human. +type GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff struct { + // Metadata: Custom metadata for your handoff procedure. Dialogflow + // doesn't impose any structure on this. + Metadata googleapi.RawMessage `json:"metadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Metadata") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Metadata") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessageMixedAudio: Represents an +// audio message that is composed of both segments synthesized from the +// Dialogflow agent prompts and ones hosted externally at the specified +// URIs. The external URIs are specified via play_audio. This message is +// generated by Dialogflow only and not supposed to be defined by the +// user. +type GoogleCloudDialogflowCxV3ResponseMessageMixedAudio struct { + // Segments: Segments this audio response is composed of. + Segments []*GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment `json:"segments,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Segments") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Segments") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3ResponseMessageMixedAudio) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageMixedAudio + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment: Represents +// one segment of audio. +type GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // segment can be interrupted by the end user's speech and the client + // should then start the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` + + // Audio: Raw audio synthesized from the Dialogflow agent's response + // using the output config specified in the request. + Audio string `json:"audio,omitempty"` + + // Uri: Client-specific URI that points to an audio clip accessible to + // the client. Dialogflow does not impose any validation on it. + Uri string `json:"uri,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to include in API requests with the JSON + // null value. By default, fields with empty values are omitted from API + // requests. However, any field with an empty value appearing in + // NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText: A text or +// ssml response that is preferentially used for TTS output audio +// synthesis, as described in the comment on the ResponseMessage +// message. +type GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` + + // Ssml: The SSML text to be synthesized. For more information, see + // [SSML](/speech/text-to-speech/docs/ssml). + Ssml string `json:"ssml,omitempty"` + + // Text: The raw text to be synthesized. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to include in API requests with the JSON + // null value. By default, fields with empty values are omitted from API + // requests. However, any field with an empty value appearing in + // NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessagePlayAudio: Specifies an audio +// clip to be played by the client as part of the response. +type GoogleCloudDialogflowCxV3ResponseMessagePlayAudio struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` + + // AudioUri: Required. URI of the audio clip. Dialogflow does not impose + // any validation on this value. It is specific to the client that reads + // it. + AudioUri string `json:"audioUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to include in API requests with the JSON + // null value. By default, fields with empty values are omitted from API + // requests. However, any field with an empty value appearing in + // NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessagePlayAudio + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessageText: The text response +// message. +type GoogleCloudDialogflowCxV3ResponseMessageText struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` + + // Text: Required. A collection of text responses. + Text []string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to include in API requests with the JSON + // null value. By default, fields with empty values are omitted from API + // requests. However, any field with an empty value appearing in + // NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3ResponseMessageText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageText + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3SessionInfo: Represents session information +// communicated to and from the webhook. +type GoogleCloudDialogflowCxV3SessionInfo struct { + // Parameters: Optional for WebhookRequest. Optional for + // WebhookResponse. All parameters collected from forms and intents + // during the session. Parameters can be created, updated, or removed by + // the webhook. To remove a parameter from the session, the webhook + // should explicitly set the parameter value to null in WebhookResponse. + // The map is keyed by parameters' display names. + Parameters googleapi.RawMessage `json:"parameters,omitempty"` + + // Session: Always present for WebhookRequest. Ignored for + // WebhookResponse. The unique identifier of the session. This field can + // be used by the webhook to identify a user. Format: + // `projects//locations//agents//sessions/`. + Session string `json:"session,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Parameters") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Parameters") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3SessionInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3SessionInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3WebhookRequest: The request message for a +// webhook call. +type GoogleCloudDialogflowCxV3WebhookRequest struct { + // DetectIntentResponseId: Always present. The unique identifier of the + // DetectIntentResponse that will be returned to the API caller. + DetectIntentResponseId string `json:"detectIntentResponseId,omitempty"` + + // FulfillmentInfo: Always present. Information about the fulfillment + // that triggered this webhook call. + FulfillmentInfo *GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo `json:"fulfillmentInfo,omitempty"` + + // IntentInfo: Information about the last matched intent. + IntentInfo *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo `json:"intentInfo,omitempty"` + + // Messages: The list of rich message responses to present to the user. + // Webhook can choose to append or replace this list in + // WebhookResponse.fulfillment_response; + Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"` + + // PageInfo: Information about page status. + PageInfo *GoogleCloudDialogflowCxV3PageInfo `json:"pageInfo,omitempty"` + + // Payload: Custom data set in QueryParameters.payload. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // SessionInfo: Information about session status. + SessionInfo *GoogleCloudDialogflowCxV3SessionInfo `json:"sessionInfo,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "DetectIntentResponseId") to unconditionally include in API requests. + // By default, fields with empty values are omitted from API requests. + // However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "DetectIntentResponseId") + // to include in API requests with the JSON null value. By default, + // fields with empty values are omitted from API requests. However, any + // field with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3WebhookRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo: Represents +// fulfillment information communicated to the webhook. +type GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo struct { + // Tag: Always present. The tag used to identify which fulfillment is + // being called. + Tag string `json:"tag,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Tag") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Tag") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3WebhookRequestIntentInfo: Represents intent +// information communicated to the webhook. +type GoogleCloudDialogflowCxV3WebhookRequestIntentInfo struct { + // LastMatchedIntent: Always present. The unique identifier of the last + // matched intent. Format: `projects//locations//agents//intents/`. + LastMatchedIntent string `json:"lastMatchedIntent,omitempty"` + + // Parameters: Parameters identified as a result of intent matching. + // This is a map of the name of the identified parameter to the value of + // the parameter identified from the user's utterance. All parameters + // defined in the matched intent that are identified will be surfaced + // here. + Parameters map[string]GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue `json:"parameters,omitempty"` + + // ForceSendFields is a list of field names (e.g. "LastMatchedIntent") + // to unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "LastMatchedIntent") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequestIntentInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue: +// Represents a value for an intent parameter. +type GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue struct { + // OriginalValue: Always present. Original text value extracted from + // user utterance. + OriginalValue string `json:"originalValue,omitempty"` + + // ResolvedValue: Always present. Structured value for the parameter + // extracted from user utterance. + ResolvedValue interface{} `json:"resolvedValue,omitempty"` + + // ForceSendFields is a list of field names (e.g. "OriginalValue") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "OriginalValue") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3WebhookResponse: The response message for a +// webhook call. +type GoogleCloudDialogflowCxV3WebhookResponse struct { + // FulfillmentResponse: The fulfillment response to send to the user. + // This field can be omitted by the webhook if it does not intend to + // send any response to the user. + FulfillmentResponse *GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse `json:"fulfillmentResponse,omitempty"` + + // PageInfo: Information about page status. This field can be omitted by + // the webhook if it does not intend to modify page status. + PageInfo *GoogleCloudDialogflowCxV3PageInfo `json:"pageInfo,omitempty"` + + // Payload: Value to append directly to QueryResult.webhook_payloads. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // SessionInfo: Information about session status. This field can be + // omitted by the webhook if it does not intend to modify session + // status. + SessionInfo *GoogleCloudDialogflowCxV3SessionInfo `json:"sessionInfo,omitempty"` + + // TargetFlow: The target flow to transition to. Format: + // `projects//locations//agents//flows/`. + TargetFlow string `json:"targetFlow,omitempty"` + + // TargetPage: The target page to transition to. Format: + // `projects//locations//agents//flows//pages/`. + TargetPage string `json:"targetPage,omitempty"` + + // ForceSendFields is a list of field names (e.g. "FulfillmentResponse") + // to unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "FulfillmentResponse") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3WebhookResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse: +// Represents a fulfillment response to the user. +type GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse struct { + // MergeBehavior: Merge behavior for `messages`. + // + // Possible values: + // "MERGE_BEHAVIOR_UNSPECIFIED" - Not specified. `APPEND` will be + // used. + // "APPEND" - `messages` will be appended to the list of messages + // waiting to be sent to the user. + // "REPLACE" - `messages` will replace the list of messages waiting to + // be sent to the user. + MergeBehavior string `json:"mergeBehavior,omitempty"` + + // Messages: The list of rich message responses to present to the user. + Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"` + + // ForceSendFields is a list of field names (e.g. "MergeBehavior") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "MergeBehavior") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata: // Metadata associated with the long running operation for // Versions.CreateVersion. @@ -9122,7 +9951,7 @@ func (c *ProjectsDeleteAgentCall) Header() http.Header { func (c *ProjectsDeleteAgentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9264,7 +10093,7 @@ func (c *ProjectsGetAgentCall) Header() http.Header { func (c *ProjectsGetAgentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9408,7 +10237,7 @@ func (c *ProjectsSetAgentCall) Header() http.Header { func (c *ProjectsSetAgentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9556,7 +10385,7 @@ func (c *ProjectsAgentExportCall) Header() http.Header { func (c *ProjectsAgentExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9706,7 +10535,7 @@ func (c *ProjectsAgentGetFulfillmentCall) Header() http.Header { func (c *ProjectsAgentGetFulfillmentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9865,7 +10694,7 @@ func (c *ProjectsAgentGetValidationResultCall) Header() http.Header { func (c *ProjectsAgentGetValidationResultCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10017,7 +10846,7 @@ func (c *ProjectsAgentImportCall) Header() http.Header { func (c *ProjectsAgentImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10166,7 +10995,7 @@ func (c *ProjectsAgentRestoreCall) Header() http.Header { func (c *ProjectsAgentRestoreCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10336,7 +11165,7 @@ func (c *ProjectsAgentSearchCall) Header() http.Header { func (c *ProjectsAgentSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10506,7 +11335,7 @@ func (c *ProjectsAgentTrainCall) Header() http.Header { func (c *ProjectsAgentTrainCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10655,7 +11484,7 @@ func (c *ProjectsAgentUpdateFulfillmentCall) Header() http.Header { func (c *ProjectsAgentUpdateFulfillmentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10803,7 +11632,7 @@ func (c *ProjectsAgentEntityTypesBatchDeleteCall) Header() http.Header { func (c *ProjectsAgentEntityTypesBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10945,7 +11774,7 @@ func (c *ProjectsAgentEntityTypesBatchUpdateCall) Header() http.Header { func (c *ProjectsAgentEntityTypesBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11097,7 +11926,7 @@ func (c *ProjectsAgentEntityTypesCreateCall) Header() http.Header { func (c *ProjectsAgentEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11242,7 +12071,7 @@ func (c *ProjectsAgentEntityTypesDeleteCall) Header() http.Header { func (c *ProjectsAgentEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11395,7 +12224,7 @@ func (c *ProjectsAgentEntityTypesGetCall) Header() http.Header { func (c *ProjectsAgentEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11571,7 +12400,7 @@ func (c *ProjectsAgentEntityTypesListCall) Header() http.Header { func (c *ProjectsAgentEntityTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11764,7 +12593,7 @@ func (c *ProjectsAgentEntityTypesPatchCall) Header() http.Header { func (c *ProjectsAgentEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11918,7 +12747,7 @@ func (c *ProjectsAgentEntityTypesEntitiesBatchCreateCall) Header() http.Header { func (c *ProjectsAgentEntityTypesEntitiesBatchCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12059,7 +12888,7 @@ func (c *ProjectsAgentEntityTypesEntitiesBatchDeleteCall) Header() http.Header { func (c *ProjectsAgentEntityTypesEntitiesBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12202,7 +13031,7 @@ func (c *ProjectsAgentEntityTypesEntitiesBatchUpdateCall) Header() http.Header { func (c *ProjectsAgentEntityTypesEntitiesBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12367,7 +13196,7 @@ func (c *ProjectsAgentEnvironmentsListCall) Header() http.Header { func (c *ProjectsAgentEnvironmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12535,7 +13364,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall) Header() http func (c *ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12675,7 +13504,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall) Header() http.H func (c *ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12819,7 +13648,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall) Header() http func (c *ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12959,7 +13788,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall) Header() http func (c *ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13101,7 +13930,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsContextsGetCall) Header() http.He func (c *ProjectsAgentEnvironmentsUsersSessionsContextsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13261,7 +14090,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsContextsListCall) Header() http.H func (c *ProjectsAgentEnvironmentsUsersSessionsContextsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13438,7 +14267,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall) Header() http. func (c *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13590,7 +14419,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) Header() h func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13734,7 +14563,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) Header() h func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13878,7 +14707,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall) Header() http func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14042,7 +14871,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) Header() htt func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14222,7 +15051,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) Header() ht func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14371,7 +15200,7 @@ func (c *ProjectsAgentIntentsBatchDeleteCall) Header() http.Header { func (c *ProjectsAgentIntentsBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14513,7 +15342,7 @@ func (c *ProjectsAgentIntentsBatchUpdateCall) Header() http.Header { func (c *ProjectsAgentIntentsBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14677,7 +15506,7 @@ func (c *ProjectsAgentIntentsCreateCall) Header() http.Header { func (c *ProjectsAgentIntentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14836,7 +15665,7 @@ func (c *ProjectsAgentIntentsDeleteCall) Header() http.Header { func (c *ProjectsAgentIntentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15001,7 +15830,7 @@ func (c *ProjectsAgentIntentsGetCall) Header() http.Header { func (c *ProjectsAgentIntentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15202,7 +16031,7 @@ func (c *ProjectsAgentIntentsListCall) Header() http.Header { func (c *ProjectsAgentIntentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15420,7 +16249,7 @@ func (c *ProjectsAgentIntentsPatchCall) Header() http.Header { func (c *ProjectsAgentIntentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15588,7 +16417,7 @@ func (c *ProjectsAgentKnowledgeBasesCreateCall) Header() http.Header { func (c *ProjectsAgentKnowledgeBasesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15739,7 +16568,7 @@ func (c *ProjectsAgentKnowledgeBasesDeleteCall) Header() http.Header { func (c *ProjectsAgentKnowledgeBasesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15888,7 +16717,7 @@ func (c *ProjectsAgentKnowledgeBasesGetCall) Header() http.Header { func (c *ProjectsAgentKnowledgeBasesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16070,7 +16899,7 @@ func (c *ProjectsAgentKnowledgeBasesListCall) Header() http.Header { func (c *ProjectsAgentKnowledgeBasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16257,7 +17086,7 @@ func (c *ProjectsAgentKnowledgeBasesPatchCall) Header() http.Header { func (c *ProjectsAgentKnowledgeBasesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16417,7 +17246,7 @@ func (c *ProjectsAgentKnowledgeBasesDocumentsCreateCall) Header() http.Header { func (c *ProjectsAgentKnowledgeBasesDocumentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16563,7 +17392,7 @@ func (c *ProjectsAgentKnowledgeBasesDocumentsDeleteCall) Header() http.Header { func (c *ProjectsAgentKnowledgeBasesDocumentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16707,7 +17536,7 @@ func (c *ProjectsAgentKnowledgeBasesDocumentsGetCall) Header() http.Header { func (c *ProjectsAgentKnowledgeBasesDocumentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16885,7 +17714,7 @@ func (c *ProjectsAgentKnowledgeBasesDocumentsListCall) Header() http.Header { func (c *ProjectsAgentKnowledgeBasesDocumentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17071,7 +17900,7 @@ func (c *ProjectsAgentKnowledgeBasesDocumentsPatchCall) Header() http.Header { func (c *ProjectsAgentKnowledgeBasesDocumentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17227,7 +18056,7 @@ func (c *ProjectsAgentKnowledgeBasesDocumentsReloadCall) Header() http.Header { func (c *ProjectsAgentKnowledgeBasesDocumentsReloadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17366,7 +18195,7 @@ func (c *ProjectsAgentSessionsDeleteContextsCall) Header() http.Header { func (c *ProjectsAgentSessionsDeleteContextsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17506,7 +18335,7 @@ func (c *ProjectsAgentSessionsDetectIntentCall) Header() http.Header { func (c *ProjectsAgentSessionsDetectIntentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17650,7 +18479,7 @@ func (c *ProjectsAgentSessionsContextsCreateCall) Header() http.Header { func (c *ProjectsAgentSessionsContextsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17790,7 +18619,7 @@ func (c *ProjectsAgentSessionsContextsDeleteCall) Header() http.Header { func (c *ProjectsAgentSessionsContextsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17932,7 +18761,7 @@ func (c *ProjectsAgentSessionsContextsGetCall) Header() http.Header { func (c *ProjectsAgentSessionsContextsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18092,7 +18921,7 @@ func (c *ProjectsAgentSessionsContextsListCall) Header() http.Header { func (c *ProjectsAgentSessionsContextsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18269,7 +19098,7 @@ func (c *ProjectsAgentSessionsContextsPatchCall) Header() http.Header { func (c *ProjectsAgentSessionsContextsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18421,7 +19250,7 @@ func (c *ProjectsAgentSessionsEntityTypesCreateCall) Header() http.Header { func (c *ProjectsAgentSessionsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18565,7 +19394,7 @@ func (c *ProjectsAgentSessionsEntityTypesDeleteCall) Header() http.Header { func (c *ProjectsAgentSessionsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18709,7 +19538,7 @@ func (c *ProjectsAgentSessionsEntityTypesGetCall) Header() http.Header { func (c *ProjectsAgentSessionsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18873,7 +19702,7 @@ func (c *ProjectsAgentSessionsEntityTypesListCall) Header() http.Header { func (c *ProjectsAgentSessionsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19053,7 +19882,7 @@ func (c *ProjectsAgentSessionsEntityTypesPatchCall) Header() http.Header { func (c *ProjectsAgentSessionsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19204,7 +20033,7 @@ func (c *ProjectsKnowledgeBasesCreateCall) Header() http.Header { func (c *ProjectsKnowledgeBasesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19355,7 +20184,7 @@ func (c *ProjectsKnowledgeBasesDeleteCall) Header() http.Header { func (c *ProjectsKnowledgeBasesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19504,7 +20333,7 @@ func (c *ProjectsKnowledgeBasesGetCall) Header() http.Header { func (c *ProjectsKnowledgeBasesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19686,7 +20515,7 @@ func (c *ProjectsKnowledgeBasesListCall) Header() http.Header { func (c *ProjectsKnowledgeBasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19873,7 +20702,7 @@ func (c *ProjectsKnowledgeBasesPatchCall) Header() http.Header { func (c *ProjectsKnowledgeBasesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20033,7 +20862,7 @@ func (c *ProjectsKnowledgeBasesDocumentsCreateCall) Header() http.Header { func (c *ProjectsKnowledgeBasesDocumentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20179,7 +21008,7 @@ func (c *ProjectsKnowledgeBasesDocumentsDeleteCall) Header() http.Header { func (c *ProjectsKnowledgeBasesDocumentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20323,7 +21152,7 @@ func (c *ProjectsKnowledgeBasesDocumentsGetCall) Header() http.Header { func (c *ProjectsKnowledgeBasesDocumentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20501,7 +21330,7 @@ func (c *ProjectsKnowledgeBasesDocumentsListCall) Header() http.Header { func (c *ProjectsKnowledgeBasesDocumentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20687,7 +21516,7 @@ func (c *ProjectsKnowledgeBasesDocumentsPatchCall) Header() http.Header { func (c *ProjectsKnowledgeBasesDocumentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20843,7 +21672,7 @@ func (c *ProjectsKnowledgeBasesDocumentsReloadCall) Header() http.Header { func (c *ProjectsKnowledgeBasesDocumentsReloadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20982,7 +21811,7 @@ func (c *ProjectsLocationsDeleteAgentCall) Header() http.Header { func (c *ProjectsLocationsDeleteAgentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21124,7 +21953,7 @@ func (c *ProjectsLocationsGetAgentCall) Header() http.Header { func (c *ProjectsLocationsGetAgentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21268,7 +22097,7 @@ func (c *ProjectsLocationsSetAgentCall) Header() http.Header { func (c *ProjectsLocationsSetAgentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21416,7 +22245,7 @@ func (c *ProjectsLocationsAgentExportCall) Header() http.Header { func (c *ProjectsLocationsAgentExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21566,7 +22395,7 @@ func (c *ProjectsLocationsAgentGetFulfillmentCall) Header() http.Header { func (c *ProjectsLocationsAgentGetFulfillmentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21725,7 +22554,7 @@ func (c *ProjectsLocationsAgentGetValidationResultCall) Header() http.Header { func (c *ProjectsLocationsAgentGetValidationResultCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21877,7 +22706,7 @@ func (c *ProjectsLocationsAgentImportCall) Header() http.Header { func (c *ProjectsLocationsAgentImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22026,7 +22855,7 @@ func (c *ProjectsLocationsAgentRestoreCall) Header() http.Header { func (c *ProjectsLocationsAgentRestoreCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22196,7 +23025,7 @@ func (c *ProjectsLocationsAgentSearchCall) Header() http.Header { func (c *ProjectsLocationsAgentSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22366,7 +23195,7 @@ func (c *ProjectsLocationsAgentTrainCall) Header() http.Header { func (c *ProjectsLocationsAgentTrainCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22515,7 +23344,7 @@ func (c *ProjectsLocationsAgentUpdateFulfillmentCall) Header() http.Header { func (c *ProjectsLocationsAgentUpdateFulfillmentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22663,7 +23492,7 @@ func (c *ProjectsLocationsAgentEntityTypesBatchDeleteCall) Header() http.Header func (c *ProjectsLocationsAgentEntityTypesBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22805,7 +23634,7 @@ func (c *ProjectsLocationsAgentEntityTypesBatchUpdateCall) Header() http.Header func (c *ProjectsLocationsAgentEntityTypesBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22957,7 +23786,7 @@ func (c *ProjectsLocationsAgentEntityTypesCreateCall) Header() http.Header { func (c *ProjectsLocationsAgentEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23102,7 +23931,7 @@ func (c *ProjectsLocationsAgentEntityTypesDeleteCall) Header() http.Header { func (c *ProjectsLocationsAgentEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23255,7 +24084,7 @@ func (c *ProjectsLocationsAgentEntityTypesGetCall) Header() http.Header { func (c *ProjectsLocationsAgentEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23431,7 +24260,7 @@ func (c *ProjectsLocationsAgentEntityTypesListCall) Header() http.Header { func (c *ProjectsLocationsAgentEntityTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23624,7 +24453,7 @@ func (c *ProjectsLocationsAgentEntityTypesPatchCall) Header() http.Header { func (c *ProjectsLocationsAgentEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23778,7 +24607,7 @@ func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchCreateCall) Header() http func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23919,7 +24748,7 @@ func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchDeleteCall) Header() http func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24062,7 +24891,7 @@ func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchUpdateCall) Header() http func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24227,7 +25056,7 @@ func (c *ProjectsLocationsAgentEnvironmentsListCall) Header() http.Header { func (c *ProjectsLocationsAgentEnvironmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24395,7 +25224,7 @@ func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsCall) Head func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24535,7 +25364,7 @@ func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentCall) Header func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24679,7 +25508,7 @@ func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateCall) Head func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24819,7 +25648,7 @@ func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteCall) Head func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24961,7 +25790,7 @@ func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall) Header( func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25121,7 +25950,7 @@ func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall) Header func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25298,7 +26127,7 @@ func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall) Heade func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25450,7 +26279,7 @@ func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) H func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25594,7 +26423,7 @@ func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) H func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25738,7 +26567,7 @@ func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall) Head func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25902,7 +26731,7 @@ func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall) Hea func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26082,7 +26911,7 @@ func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) He func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26231,7 +27060,7 @@ func (c *ProjectsLocationsAgentIntentsBatchDeleteCall) Header() http.Header { func (c *ProjectsLocationsAgentIntentsBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26373,7 +27202,7 @@ func (c *ProjectsLocationsAgentIntentsBatchUpdateCall) Header() http.Header { func (c *ProjectsLocationsAgentIntentsBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26537,7 +27366,7 @@ func (c *ProjectsLocationsAgentIntentsCreateCall) Header() http.Header { func (c *ProjectsLocationsAgentIntentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26696,7 +27525,7 @@ func (c *ProjectsLocationsAgentIntentsDeleteCall) Header() http.Header { func (c *ProjectsLocationsAgentIntentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26861,7 +27690,7 @@ func (c *ProjectsLocationsAgentIntentsGetCall) Header() http.Header { func (c *ProjectsLocationsAgentIntentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27062,7 +27891,7 @@ func (c *ProjectsLocationsAgentIntentsListCall) Header() http.Header { func (c *ProjectsLocationsAgentIntentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27280,7 +28109,7 @@ func (c *ProjectsLocationsAgentIntentsPatchCall) Header() http.Header { func (c *ProjectsLocationsAgentIntentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27444,7 +28273,7 @@ func (c *ProjectsLocationsAgentSessionsDeleteContextsCall) Header() http.Header func (c *ProjectsLocationsAgentSessionsDeleteContextsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27584,7 +28413,7 @@ func (c *ProjectsLocationsAgentSessionsDetectIntentCall) Header() http.Header { func (c *ProjectsLocationsAgentSessionsDetectIntentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27728,7 +28557,7 @@ func (c *ProjectsLocationsAgentSessionsContextsCreateCall) Header() http.Header func (c *ProjectsLocationsAgentSessionsContextsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27868,7 +28697,7 @@ func (c *ProjectsLocationsAgentSessionsContextsDeleteCall) Header() http.Header func (c *ProjectsLocationsAgentSessionsContextsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28010,7 +28839,7 @@ func (c *ProjectsLocationsAgentSessionsContextsGetCall) Header() http.Header { func (c *ProjectsLocationsAgentSessionsContextsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28170,7 +28999,7 @@ func (c *ProjectsLocationsAgentSessionsContextsListCall) Header() http.Header { func (c *ProjectsLocationsAgentSessionsContextsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28347,7 +29176,7 @@ func (c *ProjectsLocationsAgentSessionsContextsPatchCall) Header() http.Header { func (c *ProjectsLocationsAgentSessionsContextsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28499,7 +29328,7 @@ func (c *ProjectsLocationsAgentSessionsEntityTypesCreateCall) Header() http.Head func (c *ProjectsLocationsAgentSessionsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28643,7 +29472,7 @@ func (c *ProjectsLocationsAgentSessionsEntityTypesDeleteCall) Header() http.Head func (c *ProjectsLocationsAgentSessionsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28787,7 +29616,7 @@ func (c *ProjectsLocationsAgentSessionsEntityTypesGetCall) Header() http.Header func (c *ProjectsLocationsAgentSessionsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28951,7 +29780,7 @@ func (c *ProjectsLocationsAgentSessionsEntityTypesListCall) Header() http.Header func (c *ProjectsLocationsAgentSessionsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29131,7 +29960,7 @@ func (c *ProjectsLocationsAgentSessionsEntityTypesPatchCall) Header() http.Heade func (c *ProjectsLocationsAgentSessionsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29282,7 +30111,7 @@ func (c *ProjectsLocationsKnowledgeBasesCreateCall) Header() http.Header { func (c *ProjectsLocationsKnowledgeBasesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29433,7 +30262,7 @@ func (c *ProjectsLocationsKnowledgeBasesDeleteCall) Header() http.Header { func (c *ProjectsLocationsKnowledgeBasesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29582,7 +30411,7 @@ func (c *ProjectsLocationsKnowledgeBasesGetCall) Header() http.Header { func (c *ProjectsLocationsKnowledgeBasesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29764,7 +30593,7 @@ func (c *ProjectsLocationsKnowledgeBasesListCall) Header() http.Header { func (c *ProjectsLocationsKnowledgeBasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29951,7 +30780,7 @@ func (c *ProjectsLocationsKnowledgeBasesPatchCall) Header() http.Header { func (c *ProjectsLocationsKnowledgeBasesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30111,7 +30940,7 @@ func (c *ProjectsLocationsKnowledgeBasesDocumentsCreateCall) Header() http.Heade func (c *ProjectsLocationsKnowledgeBasesDocumentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30257,7 +31086,7 @@ func (c *ProjectsLocationsKnowledgeBasesDocumentsDeleteCall) Header() http.Heade func (c *ProjectsLocationsKnowledgeBasesDocumentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30401,7 +31230,7 @@ func (c *ProjectsLocationsKnowledgeBasesDocumentsGetCall) Header() http.Header { func (c *ProjectsLocationsKnowledgeBasesDocumentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30579,7 +31408,7 @@ func (c *ProjectsLocationsKnowledgeBasesDocumentsListCall) Header() http.Header func (c *ProjectsLocationsKnowledgeBasesDocumentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30765,7 +31594,7 @@ func (c *ProjectsLocationsKnowledgeBasesDocumentsPatchCall) Header() http.Header func (c *ProjectsLocationsKnowledgeBasesDocumentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30921,7 +31750,7 @@ func (c *ProjectsLocationsKnowledgeBasesDocumentsReloadCall) Header() http.Heade func (c *ProjectsLocationsKnowledgeBasesDocumentsReloadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31069,7 +31898,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31213,7 +32042,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31388,7 +32217,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31569,7 +32398,7 @@ func (c *ProjectsOperationsCancelCall) Header() http.Header { func (c *ProjectsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31713,7 +32542,7 @@ func (c *ProjectsOperationsGetCall) Header() http.Header { func (c *ProjectsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31888,7 +32717,7 @@ func (c *ProjectsOperationsListCall) Header() http.Header { func (c *ProjectsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/dialogflow/v3/dialogflow-api.json b/dialogflow/v3/dialogflow-api.json index 732b6b1770b..47f4b67a09e 100644 --- a/dialogflow/v3/dialogflow-api.json +++ b/dialogflow/v3/dialogflow-api.json @@ -112,6 +112,2218 @@ "resources": { "locations": { "resources": { + "agents": { + "methods": { + "create": { + "description": "Creates an agent in the specified location.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The location to create a agent for. Format: `projects//locations/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/agents", + "request": { + "$ref": "GoogleCloudDialogflowCxV3Agent" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3Agent" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "delete": { + "description": "Deletes the specified agent.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", + "httpMethod": "DELETE", + "id": "dialogflow.projects.locations.agents.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the agent to delete. Format: `projects//locations//agents/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "export": { + "description": "Exports the specified agent to a binary file.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}:export", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.export", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the agent to export. Format: `projects//locations//agents/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}:export", + "request": { + "$ref": "GoogleCloudDialogflowCxV3ExportAgentRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "get": { + "description": "Retrieves the specified agent.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the agent. Format: `projects//locations//agents/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "GoogleCloudDialogflowCxV3Agent" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "list": { + "description": "Returns the list of all agents in the specified location.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The next_page_token value returned from a previous list request.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The location to list all agents for. Format: `projects//locations/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/agents", + "response": { + "$ref": "GoogleCloudDialogflowCxV3ListAgentsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "patch": { + "description": "Updates the specified agent.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", + "httpMethod": "PATCH", + "id": "dialogflow.projects.locations.agents.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: `projects//locations//agents/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v3/{+name}", + "request": { + "$ref": "GoogleCloudDialogflowCxV3Agent" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3Agent" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "restore": { + "description": "Restores the specified agent from a binary file. Replaces the current agent with a new one. Note that all existing resources in agent (e.g. intents, entity types, flows) will be removed.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}:restore", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.restore", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the agent to restore into. Format: `projects//locations//agents/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}:restore", + "request": { + "$ref": "GoogleCloudDialogflowCxV3RestoreAgentRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + }, + "resources": { + "entityTypes": { + "methods": { + "create": { + "description": "Creates an entity type in the specified agent.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.entityTypes.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "languageCode": { + "description": "The language of the following fields in `entity_type`: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The agent to create a entity type for. Format: `projects//locations//agents/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/entityTypes", + "request": { + "$ref": "GoogleCloudDialogflowCxV3EntityType" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3EntityType" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "delete": { + "description": "Deletes the specified entity type.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes/{entityTypesId}", + "httpMethod": "DELETE", + "id": "dialogflow.projects.locations.agents.entityTypes.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "force": { + "description": "This field has no effect for entity type not being used. For entity types that are used by intents or pages: * If `force` is set to false, an error will be returned with message indicating the referencing resources. * If `force` is set to true, Dialogflow will remove the entity type, as well as any references to the entity type (i.e. Page parameter of the entity type will be changed to '@sys.any' and intent parameter of the entity type will be removed).", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "Required. The name of the entity type to delete. Format: `projects//locations//agents//entityTypes/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/entityTypes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "get": { + "description": "Retrieves the specified entity type.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes/{entityTypesId}", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.entityTypes.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "languageCode": { + "description": "The language to retrieve the entity type for. The following fields are language dependent: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. The name of the entity type. Format: `projects//locations//agents//entityTypes/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/entityTypes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "GoogleCloudDialogflowCxV3EntityType" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "list": { + "description": "Returns the list of all entity types in the specified agent.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.entityTypes.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "languageCode": { + "description": "The language to list entity types for. The following fields are language dependent: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The next_page_token value returned from a previous list request.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The agent to list all entity types for. Format: `projects//locations//agents/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/entityTypes", + "response": { + "$ref": "GoogleCloudDialogflowCxV3ListEntityTypesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "patch": { + "description": "Updates the specified entity type.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes/{entityTypesId}", + "httpMethod": "PATCH", + "id": "dialogflow.projects.locations.agents.entityTypes.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "languageCode": { + "description": "The language of the following fields in `entity_type`: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType. Format: `projects//locations//agents//entityTypes/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/entityTypes/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "The mask to control which fields get updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v3/{+name}", + "request": { + "$ref": "GoogleCloudDialogflowCxV3EntityType" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3EntityType" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + } + }, + "environments": { + "methods": { + "create": { + "description": "Creates an Environment in the specified Agent.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.environments.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The Agent to create an Environment for. Format: `projects//locations//agents/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/environments", + "request": { + "$ref": "GoogleCloudDialogflowCxV3Environment" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "delete": { + "description": "Deletes the specified Environment.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}", + "httpMethod": "DELETE", + "id": "dialogflow.projects.locations.agents.environments.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the Environment to delete. Format: `projects//locations//agents//environments/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "get": { + "description": "Retrieves the specified Environment.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.environments.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the Environment. Format: `projects//locations//agents//environments/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "GoogleCloudDialogflowCxV3Environment" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "list": { + "description": "Returns the list of all environments in the specified Agent.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.environments.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of items to return in a single page. By default 20 and at most 100.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The next_page_token value returned from a previous list request.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The Agent to list all environments for. Format: `projects//locations//agents/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/environments", + "response": { + "$ref": "GoogleCloudDialogflowCxV3ListEnvironmentsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "lookupEnvironmentHistory": { + "description": "Looks up the history of the specified Environment.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}:lookupEnvironmentHistory", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.environments.lookupEnvironmentHistory", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name of the environment to look up the history for. Format: `projects//locations//agents//environments/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The next_page_token value returned from a previous list request.", + "location": "query", + "type": "string" + } + }, + "path": "v3/{+name}:lookupEnvironmentHistory", + "response": { + "$ref": "GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "patch": { + "description": "Updates the specified Environment.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}", + "httpMethod": "PATCH", + "id": "dialogflow.projects.locations.agents.environments.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the environment. Format: `projects//locations//agents//environments/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The mask to control which fields get updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v3/{+name}", + "request": { + "$ref": "GoogleCloudDialogflowCxV3Environment" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + }, + "resources": { + "sessions": { + "methods": { + "detectIntent": { + "description": "Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause session entity types to be updated, which in turn might affect results of future queries. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:detectIntent", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.environments.sessions.detectIntent", + "parameterOrder": [ + "session" + ], + "parameters": { + "session": { + "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+session}:detectIntent", + "request": { + "$ref": "GoogleCloudDialogflowCxV3DetectIntentRequest" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3DetectIntentResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "fulfillIntent": { + "description": "Fulfills a matched intent returned by MatchIntent. Must be called after MatchIntent, with input from MatchIntentResponse. Otherwise, the behavior is undefined.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:fulfillIntent", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.environments.sessions.fulfillIntent", + "parameterOrder": [ + "session" + ], + "parameters": { + "session": { + "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+session}:fulfillIntent", + "request": { + "$ref": "GoogleCloudDialogflowCxV3FulfillIntentRequest" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3FulfillIntentResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "matchIntent": { + "description": "Returns preliminary intent match results, doesn't change the session status.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:matchIntent", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.environments.sessions.matchIntent", + "parameterOrder": [ + "session" + ], + "parameters": { + "session": { + "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+session}:matchIntent", + "request": { + "$ref": "GoogleCloudDialogflowCxV3MatchIntentRequest" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3MatchIntentResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + }, + "resources": { + "entityTypes": { + "methods": { + "create": { + "description": "Creates a session entity type. If the specified session entity type already exists, overrides the session entity type.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The session to create a session entity type for. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/entityTypes", + "request": { + "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "delete": { + "description": "Deletes the specified session entity type.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + "httpMethod": "DELETE", + "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the session entity type to delete. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "get": { + "description": "Retrieves the specified session entity type.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "list": { + "description": "Returns the list of all session entity types in the specified session.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The next_page_token value returned from a previous list request.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The session to list all session entity types from. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/entityTypes", + "response": { + "$ref": "GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "patch": { + "description": "Updates the specified session entity type.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + "httpMethod": "PATCH", + "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The unique identifier of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "The mask to control which fields get updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v3/{+name}", + "request": { + "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + } + } + } + } + } + }, + "flows": { + "methods": { + "create": { + "description": "Creates a flow in the specified agent.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.flows.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "languageCode": { + "description": "The language of the following fields in `flow`: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The agent to create a flow for. Format: `projects//locations//agents/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/flows", + "request": { + "$ref": "GoogleCloudDialogflowCxV3Flow" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3Flow" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "delete": { + "description": "Deletes a specified flow.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}", + "httpMethod": "DELETE", + "id": "dialogflow.projects.locations.agents.flows.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "force": { + "description": "This field has no effect for flows with no incoming transitions. For flows with incoming transitions: * If `force` is set to false, an error will be returned with message indicating the incoming transitions. * If `force` is set to true, Dialogflow will remove the flow, as well as any transitions to the flow (i.e. Target flow in event handlers or Target flow in transition routes that point to this flow will be cleared).", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "Required. The name of the flow to delete. Format: `projects//locations//agents//flows/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "get": { + "description": "Retrieves the specified flow.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.flows.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "languageCode": { + "description": "The language to retrieve the flow for. The following fields are language dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. The name of the flow to get. Format: `projects//locations//agents//flows/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "GoogleCloudDialogflowCxV3Flow" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "list": { + "description": "Returns the list of all flows in the specified agent.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.flows.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "languageCode": { + "description": "The language to list flows for. The following fields are language dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The next_page_token value returned from a previous list request.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The agent containing the flows. Format: `projects//locations//agents/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/flows", + "response": { + "$ref": "GoogleCloudDialogflowCxV3ListFlowsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "patch": { + "description": "Updates the specified flow.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}", + "httpMethod": "PATCH", + "id": "dialogflow.projects.locations.agents.flows.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "languageCode": { + "description": "The language of the following fields in `flow`: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The unique identifier of the flow. Format: `projects//locations//agents//flows/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The mask to control which fields get updated. If `update_mask` is not specified, an error will be returned.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v3/{+name}", + "request": { + "$ref": "GoogleCloudDialogflowCxV3Flow" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3Flow" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "train": { + "description": "Trains the specified flow. Note that only the flow in 'draft' environment is trained.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}:train", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.flows.train", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The flow to train. Format: `projects//locations//agents//flows/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}:train", + "request": { + "$ref": "GoogleCloudDialogflowCxV3TrainFlowRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + }, + "resources": { + "pages": { + "methods": { + "create": { + "description": "Creates a page in the specified flow.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.flows.pages.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "languageCode": { + "description": "The language of the following fields in `page`: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The flow to create a page for. Format: `projects//locations//agents//flows/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/pages", + "request": { + "$ref": "GoogleCloudDialogflowCxV3Page" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3Page" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "delete": { + "description": "Deletes the specified page.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages/{pagesId}", + "httpMethod": "DELETE", + "id": "dialogflow.projects.locations.agents.flows.pages.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "force": { + "description": "This field has no effect for pages with no incoming transitions. For pages with incoming transitions: * If `force` is set to false, an error will be returned with message indicating the incoming transitions. * If `force` is set to true, Dialogflow will remove the page, as well as any transitions to the page (i.e. Target page in event handlers or Target page in transition routes that point to this page will be cleared).", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "Required. The name of the page to delete. Format: `projects//locations//agents//Flows//pages/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/pages/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "get": { + "description": "Retrieves the specified page.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages/{pagesId}", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.flows.pages.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "languageCode": { + "description": "The language to retrieve the page for. The following fields are language dependent: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. The name of the page. Format: `projects//locations//agents//flows//pages/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/pages/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "GoogleCloudDialogflowCxV3Page" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "list": { + "description": "Returns the list of all pages in the specified flow.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.flows.pages.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "languageCode": { + "description": "The language to list pages for. The following fields are language dependent: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The next_page_token value returned from a previous list request.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The flow to list all pages for. Format: `projects//locations//agents//flows/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/pages", + "response": { + "$ref": "GoogleCloudDialogflowCxV3ListPagesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "patch": { + "description": "Updates the specified page.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages/{pagesId}", + "httpMethod": "PATCH", + "id": "dialogflow.projects.locations.agents.flows.pages.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "languageCode": { + "description": "The language of the following fields in `page`: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The unique identifier of the page. Required for the Pages.UpdatePage method. Pages.CreatePage populates the name automatically. Format: `projects//locations//agents//flows//pages/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/pages/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v3/{+name}", + "request": { + "$ref": "GoogleCloudDialogflowCxV3Page" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3Page" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + } + }, + "transitionRouteGroups": { + "methods": { + "create": { + "description": "Creates an TransitionRouteGroup in the specified flow.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "languageCode": { + "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The flow to create an TransitionRouteGroup for. Format: `projects//locations//agents//flows/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/transitionRouteGroups", + "request": { + "$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "delete": { + "description": "Deletes the specified TransitionRouteGroup.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups/{transitionRouteGroupsId}", + "httpMethod": "DELETE", + "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "force": { + "description": "This field has no effect for transition route group that no page is using. If the transition route group is referenced by any page: * If `force` is set to false, an error will be returned with message indicating pages that reference the transition route group. * If `force` is set to true, Dialogflow will remove the transition route group, as well as any reference to it.", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "Required. The name of the TransitionRouteGroup to delete. Format: `projects//locations//agents//flows//transitionRouteGroups/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "get": { + "description": "Retrieves the specified TransitionRouteGroup.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups/{transitionRouteGroupsId}", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "languageCode": { + "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. The name of the TransitionRouteGroup. Format: `projects//locations//agents//flows//transitionRouteGroups/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "list": { + "description": "Returns the list of all transition route groups in the specified flow.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "languageCode": { + "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The next_page_token value returned from a previous list request.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The flow to list all transition route groups for. Format: `projects//locations//agents//flows/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/transitionRouteGroups", + "response": { + "$ref": "GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "patch": { + "description": "Updates the specified TransitionRouteGroup.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups/{transitionRouteGroupsId}", + "httpMethod": "PATCH", + "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "languageCode": { + "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The unique identifier of the transition route group. TransitionRouteGroups.CreateTransitionRouteGroup populates the name automatically. Format: `projects//locations//agents//flows//transitionRouteGroups/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "The mask to control which fields get updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v3/{+name}", + "request": { + "$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + } + }, + "versions": { + "methods": { + "create": { + "description": "Creates a Version in the specified Flow.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.flows.versions.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The Flow to create an Version for. Format: `projects//locations//agents//flows/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/versions", + "request": { + "$ref": "GoogleCloudDialogflowCxV3Version" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "delete": { + "description": "Deletes the specified Version.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}", + "httpMethod": "DELETE", + "id": "dialogflow.projects.locations.agents.flows.versions.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the Version to delete. Format: `projects//locations//agents//flows//versions/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "get": { + "description": "Retrieves the specified Version.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.flows.versions.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the Version. Format: `projects//locations//agents//flows//versions/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "GoogleCloudDialogflowCxV3Version" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "list": { + "description": "Returns the list of all versions in the specified Flow.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.flows.versions.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of items to return in a single page. By default 20 and at most 100.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The next_page_token value returned from a previous list request.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The Flow to list all versions for. Format: `projects//locations//agents//flows/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/versions", + "response": { + "$ref": "GoogleCloudDialogflowCxV3ListVersionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "load": { + "description": "Loads a specified version to draft version.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}:load", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.flows.versions.load", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The Version to be loaded to draft version. Format: `projects//locations//agents//flows//versions/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}:load", + "request": { + "$ref": "GoogleCloudDialogflowCxV3LoadVersionRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "patch": { + "description": "Updates the specified Version.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}", + "httpMethod": "PATCH", + "id": "dialogflow.projects.locations.agents.flows.versions.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The mask to control which fields get updated. Currently only `description` and `display_name` can be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v3/{+name}", + "request": { + "$ref": "GoogleCloudDialogflowCxV3Version" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3Version" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + } + } + } + }, + "intents": { + "methods": { + "create": { + "description": "Creates an intent in the specified agent.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.intents.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "languageCode": { + "description": "The language of the following fields in `intent`: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The agent to create an intent for. Format: `projects//locations//agents/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/intents", + "request": { + "$ref": "GoogleCloudDialogflowCxV3Intent" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3Intent" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "delete": { + "description": "Deletes the specified intent.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents/{intentsId}", + "httpMethod": "DELETE", + "id": "dialogflow.projects.locations.agents.intents.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the intent to delete. Format: `projects//locations//agents//intents/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/intents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "get": { + "description": "Retrieves the specified intent.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents/{intentsId}", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.intents.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "languageCode": { + "description": "The language to retrieve the intent for. The following fields are language dependent: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. The name of the intent. Format: `projects//locations//agents//intents/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/intents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "GoogleCloudDialogflowCxV3Intent" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "list": { + "description": "Returns the list of all intents in the specified agent.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.intents.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "intentView": { + "description": "The resource view to apply to the returned intent.", + "enum": [ + "INTENT_VIEW_UNSPECIFIED", + "INTENT_VIEW_PARTIAL", + "INTENT_VIEW_FULL" + ], + "enumDescriptions": [ + "Not specified. Treated as INTENT_VIEW_FULL.", + "Training phrases field is not populated in the response.", + "All fields are populated." + ], + "location": "query", + "type": "string" + }, + "languageCode": { + "description": "The language to list intents for. The following fields are language dependent: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The next_page_token value returned from a previous list request.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The agent to list all intents for. Format: `projects//locations//agents/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/intents", + "response": { + "$ref": "GoogleCloudDialogflowCxV3ListIntentsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "patch": { + "description": "Updates the specified intent.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents/{intentsId}", + "httpMethod": "PATCH", + "id": "dialogflow.projects.locations.agents.intents.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "languageCode": { + "description": "The language of the following fields in `intent`: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The unique identifier of the intent. Required for the Intents.UpdateIntent method. Intents.CreateIntent populates the name automatically. Format: `projects//locations//agents//intents/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/intents/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v3/{+name}", + "request": { + "$ref": "GoogleCloudDialogflowCxV3Intent" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3Intent" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + } + }, + "sessions": { + "methods": { + "detectIntent": { + "description": "Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause session entity types to be updated, which in turn might affect results of future queries. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:detectIntent", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.sessions.detectIntent", + "parameterOrder": [ + "session" + ], + "parameters": { + "session": { + "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+session}:detectIntent", + "request": { + "$ref": "GoogleCloudDialogflowCxV3DetectIntentRequest" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3DetectIntentResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "fulfillIntent": { + "description": "Fulfills a matched intent returned by MatchIntent. Must be called after MatchIntent, with input from MatchIntentResponse. Otherwise, the behavior is undefined.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:fulfillIntent", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.sessions.fulfillIntent", + "parameterOrder": [ + "session" + ], + "parameters": { + "session": { + "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+session}:fulfillIntent", + "request": { + "$ref": "GoogleCloudDialogflowCxV3FulfillIntentRequest" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3FulfillIntentResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "matchIntent": { + "description": "Returns preliminary intent match results, doesn't change the session status.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:matchIntent", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.sessions.matchIntent", + "parameterOrder": [ + "session" + ], + "parameters": { + "session": { + "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+session}:matchIntent", + "request": { + "$ref": "GoogleCloudDialogflowCxV3MatchIntentRequest" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3MatchIntentResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + }, + "resources": { + "entityTypes": { + "methods": { + "create": { + "description": "Creates a session entity type. If the specified session entity type already exists, overrides the session entity type.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.sessions.entityTypes.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The session to create a session entity type for. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/entityTypes", + "request": { + "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "delete": { + "description": "Deletes the specified session entity type.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + "httpMethod": "DELETE", + "id": "dialogflow.projects.locations.agents.sessions.entityTypes.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the session entity type to delete. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "get": { + "description": "Retrieves the specified session entity type.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.sessions.entityTypes.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "list": { + "description": "Returns the list of all session entity types in the specified session.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.sessions.entityTypes.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The next_page_token value returned from a previous list request.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The session to list all session entity types from. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/entityTypes", + "response": { + "$ref": "GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "patch": { + "description": "Updates the specified session entity type.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + "httpMethod": "PATCH", + "id": "dialogflow.projects.locations.agents.sessions.entityTypes.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The unique identifier of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "The mask to control which fields get updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v3/{+name}", + "request": { + "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + } + } + } + }, + "webhooks": { + "methods": { + "create": { + "description": "Creates a webhook in the specified agent.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.webhooks.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The agent to create a webhook for. Format: `projects//locations//agents/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/webhooks", + "request": { + "$ref": "GoogleCloudDialogflowCxV3Webhook" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3Webhook" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "delete": { + "description": "Deletes the specified webhook.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks/{webhooksId}", + "httpMethod": "DELETE", + "id": "dialogflow.projects.locations.agents.webhooks.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "force": { + "description": "This field has no effect for webhook not being used. For webhooks that are used by pages/flows/transition route groups: * If `force` is set to false, an error will be returned with message indicating the referenced resources. * If `force` is set to true, Dialogflow will remove the webhook, as well as any references to the webhook (i.e. Webhook and tagin fulfillments that point to this webhook will be removed).", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "Required. The name of the webhook to delete. Format: `projects//locations//agents//webhooks/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "get": { + "description": "Retrieves the specified webhook.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks/{webhooksId}", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.webhooks.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the webhook. Format: `projects//locations//agents//webhooks/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "GoogleCloudDialogflowCxV3Webhook" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "list": { + "description": "Returns the list of all webhooks in the specified agent.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.webhooks.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The next_page_token value returned from a previous list request.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The agent to list all webhooks for. Format: `projects//locations//agents/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/webhooks", + "response": { + "$ref": "GoogleCloudDialogflowCxV3ListWebhooksResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "patch": { + "description": "Updates the specified webhook.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks/{webhooksId}", + "httpMethod": "PATCH", + "id": "dialogflow.projects.locations.agents.webhooks.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: `projects//locations//agents//webhooks/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v3/{+name}", + "request": { + "$ref": "GoogleCloudDialogflowCxV3Webhook" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3Webhook" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + } + } + } + }, "operations": { "methods": { "cancel": { @@ -209,113 +2421,2434 @@ ] } } - } - } + }, + "securitySettings": { + "methods": { + "create": { + "description": "Create security settings in the specified location.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/securitySettings", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.securitySettings.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The location to create an SecuritySettings for. Format: `projects//locations/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/securitySettings", + "request": { + "$ref": "GoogleCloudDialogflowCxV3SecuritySettings" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3SecuritySettings" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "delete": { + "description": "Deletes the specified SecuritySettings.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/securitySettings/{securitySettingsId}", + "httpMethod": "DELETE", + "id": "dialogflow.projects.locations.securitySettings.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the SecuritySettings to delete. Format: `projects//locations//securitySettings/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/securitySettings/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "get": { + "description": "Retrieves the specified SecuritySettings. The returned settings may be stale by up to 1 minute.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/securitySettings/{securitySettingsId}", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.securitySettings.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name of the settings. Format: `projects//locations//securitySettings/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/securitySettings/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "GoogleCloudDialogflowCxV3SecuritySettings" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "list": { + "description": "Returns the list of all security settings in the specified location.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/securitySettings", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.securitySettings.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of items to return in a single page. By default 20 and at most 100.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The next_page_token value returned from a previous list request.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The location to list all security settings for. Format: `projects//locations/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/securitySettings", + "response": { + "$ref": "GoogleCloudDialogflowCxV3ListSecuritySettingsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "patch": { + "description": "Updates the specified SecuritySettings.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/securitySettings/{securitySettingsId}", + "httpMethod": "PATCH", + "id": "dialogflow.projects.locations.securitySettings.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name of the settings. Format: `projects//locations//securitySettings/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/securitySettings/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The mask to control which fields get updated. If the mask is not present, all fields will be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v3/{+name}", + "request": { + "$ref": "GoogleCloudDialogflowCxV3SecuritySettings" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3SecuritySettings" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + } + } + } + }, + "operations": { + "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "flatPath": "v3/projects/{projectsId}/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "dialogflow.projects.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^projects/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}:cancel", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v3/projects/{projectsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "dialogflow.projects.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", + "flatPath": "v3/projects/{projectsId}/operations", + "httpMethod": "GET", + "id": "dialogflow.projects.operations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "The standard list filter.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The name of the operation's parent resource.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + } + }, + "path": "v3/{+name}/operations", + "response": { + "$ref": "GoogleLongrunningListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + } + } + } + } + }, + "revision": "20201207", + "rootUrl": "https://dialogflow.googleapis.com/", + "schemas": { + "GoogleCloudDialogflowCxV3Agent": { + "description": "Agents are best described as Natural Language Understanding (NLU) modules that transform user requests into actionable data. You can include agents in your app, product, or service to determine user intent and respond to the user in a natural way. After you create an agent, you can add Intents, Entity Types, Flows, Fulfillments, Webhooks, and so on to manage the conversation flows..", + "id": "GoogleCloudDialogflowCxV3Agent", + "properties": { + "avatarUri": { + "description": "The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted [Web Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo) integration.", + "type": "string" + }, + "defaultLanguageCode": { + "description": "Immutable. The default language of the agent as a language tag. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. This field cannot be set by the Agents.UpdateAgent method.", + "type": "string" + }, + "description": { + "description": "The description of the agent. The maximum length is 500 characters. If exceeded, the request is rejected.", + "type": "string" + }, + "displayName": { + "description": "Required. The human-readable name of the agent, unique within the location.", + "type": "string" + }, + "enableSpellCorrection": { + "description": "Indicates if automatic spell correction is enabled in detect intent requests.", + "type": "boolean" + }, + "enableStackdriverLogging": { + "description": "Indicates if stackdriver logging is enabled for the agent.", + "type": "boolean" + }, + "name": { + "description": "The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: `projects//locations//agents/`.", + "type": "string" + }, + "speechToTextSettings": { + "$ref": "GoogleCloudDialogflowCxV3SpeechToTextSettings", + "description": "Speech recognition related settings." + }, + "startFlow": { + "description": "Immutable. Name of the start flow in this agent. A start flow will be automatically created when the agent is created, and can only be deleted by deleting the agent. Format: `projects//locations//agents//flows/`.", + "type": "string" + }, + "timeZone": { + "description": "Required. The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3AudioInput": { + "description": "Represents the natural speech audio to be processed.", + "id": "GoogleCloudDialogflowCxV3AudioInput", + "properties": { + "audio": { + "description": "The natural language speech audio to be processed. A single request can contain up to 1 minute of speech audio data. The transcribed text cannot contain more than 256 bytes. For non-streaming audio detect intent, both `config` and `audio` must be provided. For streaming audio detect intent, `config` must be provided in the first request and `audio` must be provided in all following requests.", + "format": "byte", + "type": "string" + }, + "config": { + "$ref": "GoogleCloudDialogflowCxV3InputAudioConfig", + "description": "Required. Instructs the speech recognizer how to process the speech audio." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3CreateVersionOperationMetadata": { + "description": "Metadata associated with the long running operation for Versions.CreateVersion.", + "id": "GoogleCloudDialogflowCxV3CreateVersionOperationMetadata", + "properties": { + "version": { + "description": "Name of the created version. Format: `projects//locations//agents//flows//versions/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3DetectIntentRequest": { + "description": "The request to detect user's intent.", + "id": "GoogleCloudDialogflowCxV3DetectIntentRequest", + "properties": { + "outputAudioConfig": { + "$ref": "GoogleCloudDialogflowCxV3OutputAudioConfig", + "description": "Instructs the speech synthesizer how to generate the output audio." + }, + "queryInput": { + "$ref": "GoogleCloudDialogflowCxV3QueryInput", + "description": "Required. The input specification." + }, + "queryParams": { + "$ref": "GoogleCloudDialogflowCxV3QueryParameters", + "description": "The parameters of this query." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3DetectIntentResponse": { + "description": "The message returned from the DetectIntent method.", + "id": "GoogleCloudDialogflowCxV3DetectIntentResponse", + "properties": { + "outputAudio": { + "description": "The audio data bytes encoded as specified in the request. Note: The output audio is generated based on the values of default platform text responses found in the `query_result.response_messages` field. If multiple default text responses exist, they will be concatenated when generating audio. If no default platform text responses exist, the generated audio content will be empty. In some scenarios, multiple output audio fields may be present in the response structure. In these cases, only the top-most-level audio output has content.", + "format": "byte", + "type": "string" + }, + "outputAudioConfig": { + "$ref": "GoogleCloudDialogflowCxV3OutputAudioConfig", + "description": "The config used by the speech synthesizer to generate the output audio." + }, + "queryResult": { + "$ref": "GoogleCloudDialogflowCxV3QueryResult", + "description": "The result of the conversational query." + }, + "responseId": { + "description": "Output only. The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3DtmfInput": { + "description": "Represents the input for dtmf event.", + "id": "GoogleCloudDialogflowCxV3DtmfInput", + "properties": { + "digits": { + "description": "The dtmf digits.", + "type": "string" + }, + "finishDigit": { + "description": "The finish digit (if any).", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3EntityType": { + "description": "Entities are extracted from user input and represent parameters that are meaningful to your application. For example, a date range, a proper name such as a geographic location or landmark, and so on. Entities represent actionable data for your application. When you define an entity, you can also include synonyms that all map to that entity. For example, \"soft drink\", \"soda\", \"pop\", and so on. There are three types of entities: * **System** - entities that are defined by the Dialogflow API for common data types such as date, time, currency, and so on. A system entity is represented by the `EntityType` type. * **Custom** - entities that are defined by you that represent actionable data that is meaningful to your application. For example, you could define a `pizza.sauce` entity for red or white pizza sauce, a `pizza.cheese` entity for the different types of cheese on a pizza, a `pizza.topping` entity for different toppings, and so on. A custom entity is represented by the `EntityType` type. * **User** - entities that are built for an individual user such as favorites, preferences, playlists, and so on. A user entity is represented by the SessionEntityType type. For more information about entity types, see the [Dialogflow documentation](https://cloud.google.com/dialogflow/docs/entities-overview).", + "id": "GoogleCloudDialogflowCxV3EntityType", + "properties": { + "autoExpansionMode": { + "description": "Indicates whether the entity type can be automatically expanded.", + "enum": [ + "AUTO_EXPANSION_MODE_UNSPECIFIED", + "AUTO_EXPANSION_MODE_DEFAULT" + ], + "enumDescriptions": [ + "Auto expansion disabled for the entity.", + "Allows an agent to recognize values that have not been explicitly listed in the entity." + ], + "type": "string" + }, + "displayName": { + "description": "Required. The human-readable name of the entity type, unique within the agent.", + "type": "string" + }, + "enableFuzzyExtraction": { + "description": "Enables fuzzy entity extraction during classification.", + "type": "boolean" + }, + "entities": { + "description": "The collection of entity entries associated with the entity type.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3EntityTypeEntity" + }, + "type": "array" + }, + "excludedPhrases": { + "description": "Collection of exceptional words and phrases that shouldn't be matched. For example, if you have a size entity type with entry `giant`(an adjective), you might consider adding `giants`(a noun) as an exclusion. If the kind of entity type is `KIND_MAP`, then the phrases specified by entities and excluded phrases should be mutually exclusive.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase" + }, + "type": "array" + }, + "kind": { + "description": "Required. Indicates the kind of entity type.", + "enum": [ + "KIND_UNSPECIFIED", + "KIND_MAP", + "KIND_LIST", + "KIND_REGEXP" + ], + "enumDescriptions": [ + "Not specified. This value should be never used.", + "Map entity types allow mapping of a group of synonyms to a canonical value.", + "List entity types contain a set of entries that do not map to canonical values. However, list entity types can contain references to other entity types (with or without aliases).", + "Regexp entity types allow to specify regular expressions in entries values." + ], + "type": "string" + }, + "name": { + "description": "The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType. Format: `projects//locations//agents//entityTypes/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3EntityTypeEntity": { + "description": "An **entity entry** for an associated entity type. Next Id = 8", + "id": "GoogleCloudDialogflowCxV3EntityTypeEntity", + "properties": { + "synonyms": { + "description": "Required. A collection of value synonyms. For example, if the entity type is *vegetable*, and `value` is *scallions*, a synonym could be *green onions*. For `KIND_LIST` entity types: * This collection must contain exactly one synonym equal to `value`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "value": { + "description": "Required. The primary value associated with this entity entry. For example, if the entity type is *vegetable*, the value could be *scallions*. For `KIND_MAP` entity types: * A canonical value to be used in place of synonyms. For `KIND_LIST` entity types: * A string that can contain references to other entity types (with or without aliases).", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase": { + "description": "An excluded entity phrase that should not be matched.", + "id": "GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase", + "properties": { + "value": { + "description": "Required. The word or phrase to be excluded.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3Environment": { + "description": "Represents an environment for an agent. You can create multiple versions of your agent and publish them to separate environments. When you edit an agent, you are editing the draft agent. At any point, you can save the draft agent as an agent version, which is an immutable snapshot of your agent. When you save the draft agent, it is published to the default environment. When you create agent versions, you can publish them to custom environments. You can create a variety of custom environments for testing, development, production, etc.", + "id": "GoogleCloudDialogflowCxV3Environment", + "properties": { + "description": { + "description": "The human-readable description of the environment. The maximum length is 500 characters. If exceeded, the request is rejected.", + "type": "string" + }, + "displayName": { + "description": "Required. The human-readable name of the environment (unique in an agent). Limit of 64 characters.", + "type": "string" + }, + "name": { + "description": "The name of the environment. Format: `projects//locations//agents//environments/`.", + "type": "string" + }, + "updateTime": { + "description": "Output only. Update time of this environment.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "versionConfigs": { + "description": "Required. A list of configurations for flow versions. You should include version configs for all flows that are reachable from `Start Flow` in the agent. Otherwise, an error will be returned.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3EnvironmentVersionConfig" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3EnvironmentVersionConfig": { + "description": "Configuration for the version.", + "id": "GoogleCloudDialogflowCxV3EnvironmentVersionConfig", + "properties": { + "version": { + "description": "Required. Format: projects//locations//agents//flows//versions/.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3EventHandler": { + "description": "An event handler specifies an event that can be handled during a session. When the specified event happens, the following actions are taken in order: * If there is a `trigger_fulfillment` associated with the event, it will be called. * If there is a `target_page` associated with the event, the session will transition into the specified page. * If there is a `target_flow` associated with the event, the session will transition into the specified flow.", + "id": "GoogleCloudDialogflowCxV3EventHandler", + "properties": { + "event": { + "description": "Required. The name of the event to handle.", + "type": "string" + }, + "name": { + "description": "Output only. The unique identifier of this event handler.", + "readOnly": true, + "type": "string" + }, + "targetFlow": { + "description": "The target flow to transition to. Format: `projects//locations//agents//flows/`.", + "type": "string" + }, + "targetPage": { + "description": "The target page to transition to. Format: `projects//locations//agents//flows//pages/`.", + "type": "string" + }, + "triggerFulfillment": { + "$ref": "GoogleCloudDialogflowCxV3Fulfillment", + "description": "The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3EventInput": { + "description": "Represents the event to trigger.", + "id": "GoogleCloudDialogflowCxV3EventInput", + "properties": { + "event": { + "description": "Name of the event.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ExportAgentRequest": { + "description": "The request message for Agents.ExportAgent.", + "id": "GoogleCloudDialogflowCxV3ExportAgentRequest", + "properties": { + "agentUri": { + "description": "Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the agent to. The format of this URI must be `gs:///`. If left unspecified, the serialized agent is returned inline.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ExportAgentResponse": { + "description": "The response message for Agents.ExportAgent.", + "id": "GoogleCloudDialogflowCxV3ExportAgentResponse", + "properties": { + "agentContent": { + "description": "Uncompressed raw byte content for agent.", + "format": "byte", + "type": "string" + }, + "agentUri": { + "description": "The URI to a file containing the exported agent. This field is populated only if `agent_uri` is specified in ExportAgentRequest.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3Flow": { + "description": "Flows represents the conversation flows when you build your chatbot agent. A flow consists of many pages connected by the transition routes. Conversations always start with the built-in Start Flow (with an all-0 ID). Transition routes can direct the conversation session from the current flow (parent flow) to another flow (sub flow). When the sub flow is finished, Dialogflow will bring the session back to the parent flow, where the sub flow is started. Usually, when a transition route is followed by a matched intent, the intent will be \"consumed\". This means the intent won't activate more transition routes. However, when the followed transition route moves the conversation session into a different flow, the matched intent can be carried over and to be consumed in the target flow.", + "id": "GoogleCloudDialogflowCxV3Flow", + "properties": { + "description": { + "description": "The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.", + "type": "string" + }, + "displayName": { + "description": "Required. The human-readable name of the flow.", + "type": "string" + }, + "eventHandlers": { + "description": "A flow's event handlers serve two purposes: * They are responsible for handling events (e.g. no match, webhook errors) in the flow. * They are inherited by every page's event handlers, which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike transition_routes, these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3EventHandler" + }, + "type": "array" + }, + "name": { + "description": "The unique identifier of the flow. Format: `projects//locations//agents//flows/`.", + "type": "string" + }, + "nluSettings": { + "$ref": "GoogleCloudDialogflowCxV3NluSettings", + "description": "NLU related settings of the flow." + }, + "transitionRoutes": { + "description": "A flow's transition routes serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's transition routes and can support use cases such as the user saying \"help\" or \"can I talk to a human?\", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evalauted in the following order: * TransitionRoutes with intent specified.. * TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3TransitionRoute" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3Form": { + "description": "A form is a data model that groups related parameters that can be collected from the user. The process in which the agent prompts the user and collects parameter values from the user is called form filling. A form can be added to a page. When form filling is done, the filled parameters will be written to the session.", + "id": "GoogleCloudDialogflowCxV3Form", + "properties": { + "parameters": { + "description": "Parameters to collect from the user.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3FormParameter" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3FormParameter": { + "description": "Represents a form parameter.", + "id": "GoogleCloudDialogflowCxV3FormParameter", + "properties": { + "defaultValue": { + "description": "The default value of an optional parameter. If the parameter is required, the default value will be ignored.", + "type": "any" + }, + "displayName": { + "description": "Required. The human-readable name of the parameter, unique within the form.", + "type": "string" + }, + "entityType": { + "description": "Required. The entity type of the parameter. Format: `projects/-/locations/-/agents/-/entityTypes/` for system entity types (for example, `projects/-/locations/-/agents/-/entityTypes/sys.date`), or `projects//locations//agents//entityTypes/` for developer entity types.", + "type": "string" + }, + "fillBehavior": { + "$ref": "GoogleCloudDialogflowCxV3FormParameterFillBehavior", + "description": "Required. Defines fill behavior for the parameter." + }, + "isList": { + "description": "Indicates whether the parameter represents a list of values.", + "type": "boolean" + }, + "redact": { + "description": "Indicates whether the parameter content is logged in text and audio. If it is set to true, the parameter content will be replaced to parameter name in both request and response. The default value is false.", + "type": "boolean" + }, + "required": { + "description": "Indicates whether the parameter is required. Optional parameters will not trigger prompts; however, they are filled if the user specifies them. Required parameters must be filled before form filling concludes.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3FormParameterFillBehavior": { + "description": "Configuration for how the filling of a parameter should be handled.", + "id": "GoogleCloudDialogflowCxV3FormParameterFillBehavior", + "properties": { + "initialPromptFulfillment": { + "$ref": "GoogleCloudDialogflowCxV3Fulfillment", + "description": "Required. The fulfillment to provide the initial prompt that the agent can present to the user in order to fill the parameter." + }, + "repromptEventHandlers": { + "description": "The handlers for parameter-level events, used to provide reprompt for the parameter or transition to a different page/flow. The supported events are: * `sys.no-match-`, where N can be from 1 to 6 * `sys.no-match-default` * `sys.no-input-`, where N can be from 1 to 6 * `sys.no-input-default` * `sys.invalid-parameter` `initial_prompt_fulfillment` provides the first prompt for the parameter. If the user's response does not fill the parameter, a no-match/no-input event will be triggered, and the fulfillment associated with the `sys.no-match-1`/`sys.no-input-1` handler (if defined) will be called to provide a prompt. The `sys.no-match-2`/`sys.no-input-2` handler (if defined) will respond to the next no-match/no-input event, and so on. A `sys.no-match-default` or `sys.no-input-default` handler will be used to handle all following no-match/no-input events after all numbered no-match/no-input handlers for the parameter are consumed. A `sys.invalid-parameter` handler can be defined to handle the case where the parameter values have been `invalidated` by webhook. For example, if the user's response fill the parameter, however the parameter was invalidated by webhook, the fulfillment associated with the `sys.invalid-parameter` handler (if defined) will be called to provide a prompt. If the event handler for the corresponding event can't be found on the parameter, `initial_prompt_fulfillment` will be re-prompted.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3EventHandler" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3FulfillIntentRequest": { + "description": "Request of FulfillIntent", + "id": "GoogleCloudDialogflowCxV3FulfillIntentRequest", + "properties": { + "match": { + "$ref": "GoogleCloudDialogflowCxV3Match", + "description": "The matched intent/event to fulfill." + }, + "matchIntentRequest": { + "$ref": "GoogleCloudDialogflowCxV3MatchIntentRequest", + "description": "Must be same as the corresponding MatchIntent request, otherwise the behavior is undefined." + }, + "outputAudioConfig": { + "$ref": "GoogleCloudDialogflowCxV3OutputAudioConfig", + "description": "Instructs the speech synthesizer how to generate output audio." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3FulfillIntentResponse": { + "description": "Response of FulfillIntent", + "id": "GoogleCloudDialogflowCxV3FulfillIntentResponse", + "properties": { + "outputAudio": { + "description": "The audio data bytes encoded as specified in the request. Note: The output audio is generated based on the values of default platform text responses found in the `query_result.response_messages` field. If multiple default text responses exist, they will be concatenated when generating audio. If no default platform text responses exist, the generated audio content will be empty. In some scenarios, multiple output audio fields may be present in the response structure. In these cases, only the top-most-level audio output has content.", + "format": "byte", + "type": "string" + }, + "outputAudioConfig": { + "$ref": "GoogleCloudDialogflowCxV3OutputAudioConfig", + "description": "The config used by the speech synthesizer to generate the output audio." + }, + "queryResult": { + "$ref": "GoogleCloudDialogflowCxV3QueryResult", + "description": "The result of the conversational query." + }, + "responseId": { + "description": "Output only. The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3Fulfillment": { + "description": "A fulfillment can do one or more of the following actions at the same time: * Generate rich message responses. * Set parameter values. * Call the webhook. Fulfillments can be called at various stages in the Page or Form lifecycle. For example, when a DetectIntentRequest drives a session to enter a new page, the page's entry fulfillment can add a static response to the QueryResult in the returning DetectIntentResponse, call the webhook (for example, to load user data from a database), or both.", + "id": "GoogleCloudDialogflowCxV3Fulfillment", + "properties": { + "conditionalCases": { + "description": "Conditional cases for this fulfillment.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCases" + }, + "type": "array" + }, + "messages": { + "description": "The list of rich message responses to present to the user.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessage" + }, + "type": "array" + }, + "setParameterActions": { + "description": "Set parameter values before executing the webhook.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3FulfillmentSetParameterAction" + }, + "type": "array" + }, + "tag": { + "description": "The tag used by the webhook to identify which fulfillment is being called. This field is required if `webhook` is specified.", + "type": "string" + }, + "webhook": { + "description": "The webhook to call. Format: `projects//locations//agents//webhooks/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3FulfillmentConditionalCases": { + "description": "A list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.", + "id": "GoogleCloudDialogflowCxV3FulfillmentConditionalCases", + "properties": { + "cases": { + "description": "A list of cascading if-else conditions.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase": { + "description": "Each case has a Boolean condition. When it is evaluated to be True, the corresponding messages will be selected and evaluated recursively.", + "id": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase", + "properties": { + "caseContent": { + "description": "A list of case content.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent" + }, + "type": "array" + }, + "condition": { + "description": "The condition to activate and select this case. Empty means the condition is always true. The condition is evaluated against form parameters or session parameters. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent": { + "description": "The list of messages or conditional cases to activate for this case.", + "id": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent", + "properties": { + "additionalCases": { + "$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCases", + "description": "Additional cases to be evaluated." + }, + "message": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessage", + "description": "Returned message." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3FulfillmentSetParameterAction": { + "description": "Setting a parameter value.", + "id": "GoogleCloudDialogflowCxV3FulfillmentSetParameterAction", + "properties": { + "parameter": { + "description": "Display name of the parameter.", + "type": "string" + }, + "value": { + "description": "The new value of the parameter. A null value clears the parameter.", + "type": "any" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3InputAudioConfig": { + "description": "Instructs the speech recognizer on how to process the audio content.", + "id": "GoogleCloudDialogflowCxV3InputAudioConfig", + "properties": { + "audioEncoding": { + "description": "Required. Audio encoding of the audio content to process.", + "enum": [ + "AUDIO_ENCODING_UNSPECIFIED", + "AUDIO_ENCODING_LINEAR_16", + "AUDIO_ENCODING_FLAC", + "AUDIO_ENCODING_MULAW", + "AUDIO_ENCODING_AMR", + "AUDIO_ENCODING_AMR_WB", + "AUDIO_ENCODING_OGG_OPUS", + "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE" + ], + "enumDescriptions": [ + "Not specified.", + "Uncompressed 16-bit signed little-endian samples (Linear PCM).", + "[`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio Codec) is the recommended encoding because it is lossless (therefore recognition is not compromised) and requires only about half the bandwidth of `LINEAR16`. `FLAC` stream encoding supports 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` are supported.", + "8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.", + "Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000.", + "Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000.", + "Opus encoded audio frames in Ogg container ([OggOpus](https://wiki.xiph.org/OggOpus)). `sample_rate_hertz` must be 16000.", + "Although the use of lossy encodings is not recommended, if a very low bitrate encoding is required, `OGG_OPUS` is highly preferred over Speex encoding. The [Speex](https://speex.org/) encoding supported by Dialogflow API has a header byte in each block, as in MIME type `audio/x-speex-with-header-byte`. It is a variant of the RTP Speex encoding defined in [RFC 5574](https://tools.ietf.org/html/rfc5574). The stream is a sequence of blocks, one block per RTP packet. Each block starts with a byte containing the length of the block, in bytes, followed by one or more frames of Speex data, padded to an integral number of bytes (octets) as specified in RFC 5574. In other words, each RTP header is replaced with a single byte containing the block length. Only Speex wideband is supported. `sample_rate_hertz` must be 16000." + ], + "type": "string" + }, + "enableWordInfo": { + "description": "Optional. If `true`, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult with information about the recognized speech words, e.g. start and end time offsets. If false or unspecified, Speech doesn't return any word-level information.", + "type": "boolean" + }, + "model": { + "description": "Optional. Which Speech model to select for the given request. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then we auto-select a model based on the parameters in the InputAudioConfig. If enhanced speech model is enabled for the agent and an enhanced version of the specified model for the language does not exist, then the speech is recognized using the standard version of the specified model. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) for more details.", + "type": "string" + }, + "modelVariant": { + "description": "Optional. Which variant of the Speech model to use.", + "enum": [ + "SPEECH_MODEL_VARIANT_UNSPECIFIED", + "USE_BEST_AVAILABLE", + "USE_STANDARD", + "USE_ENHANCED" + ], + "enumDescriptions": [ + "No model variant specified. In this case Dialogflow defaults to USE_BEST_AVAILABLE.", + "Use the best available variant of the Speech model that the caller is eligible for. Please see the [Dialogflow docs](https://cloud.google.com/dialogflow/docs/data-logging) for how to make your project eligible for enhanced models.", + "Use standard model variant even if an enhanced model is available. See the [Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) for details about enhanced models.", + "Use an enhanced model variant: * If an enhanced variant does not exist for the given model and request language, Dialogflow falls back to the standard variant. The [Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) describes which models have enhanced variants. * If the API caller isn't eligible for enhanced models, Dialogflow returns an error. Please see the [Dialogflow docs](https://cloud.google.com/dialogflow/docs/data-logging) for how to make your project eligible." + ], + "type": "string" + }, + "phraseHints": { + "description": "Optional. A list of strings containing words and phrases that the speech recognizer should recognize with higher likelihood. See [the Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for more details.", + "items": { + "type": "string" + }, + "type": "array" + }, + "sampleRateHertz": { + "description": "Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details.", + "format": "int32", + "type": "integer" + }, + "singleUtterance": { + "description": "Optional. If `false` (default), recognition does not cease until the client closes the stream. If `true`, the recognizer will detect a single spoken utterance in input audio. Recognition ceases when it detects the audio's voice has stopped or paused. In this case, once a detected intent is received, the client should close the stream and start a new request with a new stream as needed. Note: This setting is relevant only for streaming methods.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3Intent": { + "description": "An intent represents a user's intent to interact with a conversational agent. You can provide information for the Dialogflow API to use to match user input to an intent by adding training phrases (i.e., examples of user input) to your intent.", + "id": "GoogleCloudDialogflowCxV3Intent", + "properties": { + "description": { + "description": "Optional. Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.", + "type": "string" + }, + "displayName": { + "description": "Required. The human-readable name of the intent, unique within the agent.", + "type": "string" + }, + "isFallback": { + "description": "Indicates whether this is a fallback intent. Currently only default fallback intent is allowed in the agent, which is added upon agent creation. Adding training phrases to fallback intent is useful in the case of requests that are mistakenly matched, since training phrases assigned to fallback intents act as negative examples that triggers no-match event.", + "type": "boolean" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. The key/value metadata to label an intent. Labels can contain lowercase letters, digits and the symbols '-' and '_'. International characters are allowed, including letters from unicase alphabets. Keys must start with a letter. Keys and values can be no longer than 63 characters and no more than 128 bytes. Prefix \"sys.\" is reserved for Dialogflow defined labels. Currently allowed Dialogflow defined labels include: * sys.head * sys.contextual The above labels do not require value. \"sys.head\" means the intent is a head intent. \"sys.contextual\" means the intent is a contextual intent.", + "type": "object" + }, + "name": { + "description": "The unique identifier of the intent. Required for the Intents.UpdateIntent method. Intents.CreateIntent populates the name automatically. Format: `projects//locations//agents//intents/`.", + "type": "string" + }, + "parameters": { + "description": "The collection of parameters associated with the intent.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3IntentParameter" + }, + "type": "array" + }, + "priority": { + "description": "The priority of this intent. Higher numbers represent higher priorities. - If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds to the `Normal` priority in the console. - If the supplied value is negative, the intent is ignored in runtime detect intent requests.", + "format": "int32", + "type": "integer" + }, + "trainingPhrases": { + "description": "The collection of training phrases the agent is trained on to identify the intent.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3IntentTrainingPhrase" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3IntentInput": { + "description": "Represents the intent to trigger programmatically rather than as a result of natural language processing.", + "id": "GoogleCloudDialogflowCxV3IntentInput", + "properties": { + "intent": { + "description": "Required. The unique identifier of the intent. Format: `projects//locations//agents//intents/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3IntentParameter": { + "description": "Represents an intent parameter.", + "id": "GoogleCloudDialogflowCxV3IntentParameter", + "properties": { + "entityType": { + "description": "Required. The entity type of the parameter. Format: `projects/-/locations/-/agents/-/entityTypes/` for system entity types (for example, `projects/-/locations/-/agents/-/entityTypes/sys.date`), or `projects//locations//agents//entityTypes/` for developer entity types.", + "type": "string" + }, + "id": { + "description": "Required. The unique identifier of the parameter. This field is used by training phrases to annotate their parts.", + "type": "string" + }, + "isList": { + "description": "Indicates whether the parameter represents a list of values.", + "type": "boolean" + }, + "redact": { + "description": "Indicates whether the parameter content is logged in text and audio. If it is set to true, the parameter content will be replaced to parameter id in both request and response. The default value is false.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3IntentTrainingPhrase": { + "description": "Represents an example that the agent is trained on to identify the intent.", + "id": "GoogleCloudDialogflowCxV3IntentTrainingPhrase", + "properties": { + "id": { + "description": "Output only. The unique identifier of the training phrase.", + "type": "string" + }, + "parts": { + "description": "Required. The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - `Part.text` is set to a part of the phrase that has no parameters. - `Part.text` is set to a part of the phrase that you want to annotate, and the `parameter_id` field is set.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3IntentTrainingPhrasePart" + }, + "type": "array" + }, + "repeatCount": { + "description": "Indicates how many times this example was added to the intent.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3IntentTrainingPhrasePart": { + "description": "Represents a part of a training phrase.", + "id": "GoogleCloudDialogflowCxV3IntentTrainingPhrasePart", + "properties": { + "parameterId": { + "description": "The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.", + "type": "string" + }, + "text": { + "description": "Required. The text for this part.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ListAgentsResponse": { + "description": "The response message for Agents.ListAgents.", + "id": "GoogleCloudDialogflowCxV3ListAgentsResponse", + "properties": { + "agents": { + "description": "The list of agents. There will be a maximum number of items returned based on the page_size field in the request.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3Agent" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ListEntityTypesResponse": { + "description": "The response message for EntityTypes.ListEntityTypes.", + "id": "GoogleCloudDialogflowCxV3ListEntityTypesResponse", + "properties": { + "entityTypes": { + "description": "The list of entity types. There will be a maximum number of items returned based on the page_size field in the request.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3EntityType" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ListEnvironmentsResponse": { + "description": "The response message for Environments.ListEnvironments.", + "id": "GoogleCloudDialogflowCxV3ListEnvironmentsResponse", + "properties": { + "environments": { + "description": "The list of environments. There will be a maximum number of items returned based on the page_size field in the request. The list may in some cases be empty or contain fewer entries than page_size even if this isn't the last page.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3Environment" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ListFlowsResponse": { + "description": "The response message for Flows.ListFlows.", + "id": "GoogleCloudDialogflowCxV3ListFlowsResponse", + "properties": { + "flows": { + "description": "The list of flows. There will be a maximum number of items returned based on the page_size field in the request.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3Flow" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ListIntentsResponse": { + "description": "The response message for Intents.ListIntents.", + "id": "GoogleCloudDialogflowCxV3ListIntentsResponse", + "properties": { + "intents": { + "description": "The list of intents. There will be a maximum number of items returned based on the page_size field in the request.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3Intent" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ListPagesResponse": { + "description": "The response message for Pages.ListPages.", + "id": "GoogleCloudDialogflowCxV3ListPagesResponse", + "properties": { + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", + "type": "string" + }, + "pages": { + "description": "The list of pages. There will be a maximum number of items returned based on the page_size field in the request.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3Page" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ListSecuritySettingsResponse": { + "description": "The response message for SecuritySettings.ListSecuritySettings.", + "id": "GoogleCloudDialogflowCxV3ListSecuritySettingsResponse", + "properties": { + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", + "type": "string" + }, + "securitySettings": { + "description": "The list of security settings.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3SecuritySettings" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse": { + "description": "The response message for SessionEntityTypes.ListSessionEntityTypes.", + "id": "GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse", + "properties": { + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", + "type": "string" + }, + "sessionEntityTypes": { + "description": "The list of session entity types. There will be a maximum number of items returned based on the page_size field in the request.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse": { + "description": "The response message for TransitionRouteGroups.ListTransitionRouteGroups.", + "id": "GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse", + "properties": { + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", + "type": "string" + }, + "transitionRouteGroups": { + "description": "The list of transition route groups. There will be a maximum number of items returned based on the page_size field in the request. The list may in some cases be empty or contain fewer entries than page_size even if this isn't the last page.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ListVersionsResponse": { + "description": "The response message for Versions.ListVersions.", + "id": "GoogleCloudDialogflowCxV3ListVersionsResponse", + "properties": { + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", + "type": "string" + }, + "versions": { + "description": "A list of versions. There will be a maximum number of items returned based on the page_size field in the request. The list may in some cases be empty or contain fewer entries than page_size even if this isn't the last page.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3Version" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ListWebhooksResponse": { + "description": "The response message for Webhooks.ListWebhooks.", + "id": "GoogleCloudDialogflowCxV3ListWebhooksResponse", + "properties": { + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", + "type": "string" + }, + "webhooks": { + "description": "The list of webhooks. There will be a maximum number of items returned based on the page_size field in the request.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3Webhook" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3LoadVersionRequest": { + "description": "The request message for Versions.LoadVersion.", + "id": "GoogleCloudDialogflowCxV3LoadVersionRequest", + "properties": { + "allowOverrideAgentResources": { + "description": "This field is used to prevent accidental overwrite of other agent resources in the draft version, which can potentially impact other flow's behavior. If `allow_override_agent_resources` is false, conflicted agent-level resources will not be overridden (i.e. intents, entities, webhooks).", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse": { + "description": "The response message for Environments.LookupEnvironmentHistory.", + "id": "GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse", + "properties": { + "environments": { + "description": "Represents a list of snapshots for an environment. Time of the snapshots is stored in `update_time`.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3Environment" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3Match": { + "description": "Represents one match result of MatchIntent.", + "id": "GoogleCloudDialogflowCxV3Match", + "properties": { + "confidence": { + "description": "The confidence of this match. Values range from 0.0 (completely uncertain) to 1.0 (completely certain). This value is for informational purpose only and is only used to help match the best intent within the classification threshold. This value may change for the same end-user expression at any time due to a model retraining or change in implementation.", + "format": "float", + "type": "number" + }, + "event": { + "description": "The event that matched the query. Only filled for `EVENT` match type.", + "type": "string" + }, + "intent": { + "$ref": "GoogleCloudDialogflowCxV3Intent", + "description": "The Intent that matched the query. Some, not all fields are filled in this message, including but not limited to: `name` and `display_name`. Only filled for `INTENT` match type." + }, + "matchType": { + "description": "Type of this Match.", + "enum": [ + "MATCH_TYPE_UNSPECIFIED", + "INTENT", + "DIRECT_INTENT", + "PARAMETER_FILLING", + "NO_MATCH", + "NO_INPUT", + "EVENT" + ], + "enumDescriptions": [ + "Not specified. Should never be used.", + "The query was matched to an intent.", + "The query directly triggered an intent.", + "The query was used for parameter filling.", + "No match was found for the query.", + "Indicates an empty query.", + "The query directly triggered an event." + ], + "type": "string" + }, + "parameters": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "The collection of parameters extracted from the query. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: string or number, depending on parameter value type - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "type": "object" + }, + "resolvedInput": { + "description": "Final text input which was matched during MatchIntent. This value can be different from original input sent in request because of spelling correction or other processing.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3MatchIntentRequest": { + "description": "Request of MatchIntent.", + "id": "GoogleCloudDialogflowCxV3MatchIntentRequest", + "properties": { + "queryInput": { + "$ref": "GoogleCloudDialogflowCxV3QueryInput", + "description": "Required. The input specification." + }, + "queryParams": { + "$ref": "GoogleCloudDialogflowCxV3QueryParameters", + "description": "The parameters of this query." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3MatchIntentResponse": { + "description": "Response of MatchIntent.", + "id": "GoogleCloudDialogflowCxV3MatchIntentResponse", + "properties": { + "currentPage": { + "$ref": "GoogleCloudDialogflowCxV3Page", + "description": "The current Page. Some, not all fields are filled in this message, including but not limited to `name` and `display_name`." + }, + "matches": { + "description": "Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3Match" + }, + "type": "array" + }, + "text": { + "description": "If natural language text was provided as input, this field will contain a copy of the text.", + "type": "string" + }, + "transcript": { + "description": "If natural language speech audio was provided as input, this field will contain the trascript for the audio.", + "type": "string" + }, + "triggerEvent": { + "description": "If an event was provided as input, this field will contain a copy of the event name.", + "type": "string" + }, + "triggerIntent": { + "description": "If an intent was provided as input, this field will contain a copy of the intent identifier.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3NluSettings": { + "description": "Settings related to NLU.", + "id": "GoogleCloudDialogflowCxV3NluSettings", + "properties": { + "classificationThreshold": { + "description": "To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a no-match event will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used.", + "format": "float", + "type": "number" + }, + "modelTrainingMode": { + "description": "Indicates NLU model training mode.", + "enum": [ + "MODEL_TRAINING_MODE_UNSPECIFIED", + "MODEL_TRAINING_MODE_AUTOMATIC", + "MODEL_TRAINING_MODE_MANUAL" + ], + "enumDescriptions": [ + "Not specified. `MODEL_TRAINING_MODE_AUTOMATIC` will be used.", + "NLU model training is automatically triggered when a flow gets modified. User can also manually trigger model training in this mode.", + "User needs to manually trigger NLU model training. Best for large flows whose models take long time to train." + ], + "type": "string" + }, + "modelType": { + "description": "Indicates the type of NLU model.", + "enum": [ + "MODEL_TYPE_UNSPECIFIED", + "MODEL_TYPE_STANDARD", + "MODEL_TYPE_ADVANCED" + ], + "enumDescriptions": [ + "Not specified. `MODEL_TYPE_STANDARD` will be used.", + "Use standard NLU model.", + "Use advanced NLU model." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3OutputAudioConfig": { + "description": "Instructs the speech synthesizer how to generate the output audio content.", + "id": "GoogleCloudDialogflowCxV3OutputAudioConfig", + "properties": { + "audioEncoding": { + "description": "Required. Audio encoding of the synthesized audio content.", + "enum": [ + "OUTPUT_AUDIO_ENCODING_UNSPECIFIED", + "OUTPUT_AUDIO_ENCODING_LINEAR_16", + "OUTPUT_AUDIO_ENCODING_MP3", + "OUTPUT_AUDIO_ENCODING_MP3_64_KBPS", + "OUTPUT_AUDIO_ENCODING_OGG_OPUS", + "OUTPUT_AUDIO_ENCODING_MULAW" + ], + "enumDescriptions": [ + "Not specified.", + "Uncompressed 16-bit signed little-endian samples (Linear PCM). Audio content returned as LINEAR16 also contains a WAV header.", + "MP3 audio at 32kbps.", + "MP3 audio at 64kbps.", + "Opus encoded audio wrapped in an ogg container. The result will be a file which can be played natively on Android, and in browsers (at least Chrome and Firefox). The quality of the encoding is considerably higher than MP3 while using approximately the same bitrate.", + "8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law." + ], + "type": "string" + }, + "sampleRateHertz": { + "description": "Optional. The synthesis sample rate (in hertz) for this audio. If not provided, then the synthesizer will use the default sample rate based on the audio encoding. If this is different from the voice's natural sample rate, then the synthesizer will honor this request by converting to the desired sample rate (which might result in worse audio quality).", + "format": "int32", + "type": "integer" + }, + "synthesizeSpeechConfig": { + "$ref": "GoogleCloudDialogflowCxV3SynthesizeSpeechConfig", + "description": "Optional. Configuration of how speech should be synthesized." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3Page": { + "description": "A Dialogflow CX conversation (session) can be described and visualized as a state machine. The states of a CX session are represented by pages. For each flow, you define many pages, where your combined pages can handle a complete conversation on the topics the flow is designed for. At any given moment, exactly one page is the current page, the current page is considered active, and the flow associated with that page is considered active. Every flow has a special start page. When a flow initially becomes active, the start page page becomes the current page. For each conversational turn, the current page will either stay the same or transition to another page. You configure each page to collect information from the end-user that is relevant for the conversational state represented by the page. For more information, see the [Page guide](https://cloud.google.com/dialogflow/cx/docs/concept/page).", + "id": "GoogleCloudDialogflowCxV3Page", + "properties": { + "displayName": { + "description": "Required. The human-readable name of the page, unique within the agent.", + "type": "string" + }, + "entryFulfillment": { + "$ref": "GoogleCloudDialogflowCxV3Fulfillment", + "description": "The fulfillment to call when the session is entering the page." + }, + "eventHandlers": { + "description": "Handlers associated with the page to handle events such as webhook errors, no match or no input.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3EventHandler" + }, + "type": "array" + }, + "form": { + "$ref": "GoogleCloudDialogflowCxV3Form", + "description": "The form associated with the page, used for collecting parameters relevant to the page." + }, + "name": { + "description": "The unique identifier of the page. Required for the Pages.UpdatePage method. Pages.CreatePage populates the name automatically. Format: `projects//locations//agents//flows//pages/`.", + "type": "string" + }, + "transitionRouteGroups": { + "description": "Ordered list of `TransitionRouteGroups` associated with the page. Transition route groups must be unique within a page. * If multiple transition routes within a page scope refer to the same intent, then the precedence order is: page's transition route -\u003e page's transition route group -\u003e flow's transition routes. * If multiple transition route groups within a page contain the same intent, then the first group in the ordered list takes precedence. Format:`projects//locations//agents//flows//transitionRouteGroups/`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "transitionRoutes": { + "description": "A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are evalauted in the following order: * TransitionRoutes defined in the page with intent specified. * TransitionRoutes defined in the transition route groups. * TransitionRoutes defined in flow with intent specified. * TransitionRoutes defined in the page with only condition specified.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3TransitionRoute" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3PageInfo": { + "description": "Represents page information communicated to and from the webhook.", + "id": "GoogleCloudDialogflowCxV3PageInfo", + "properties": { + "currentPage": { + "description": "Always present for WebhookRequest. Ignored for WebhookResponse. The unique identifier of the current page. Format: `projects//locations//agents//flows//pages/`.", + "type": "string" + }, + "formInfo": { + "$ref": "GoogleCloudDialogflowCxV3PageInfoFormInfo", + "description": "Optional for both WebhookRequest and WebhookResponse. Information about the form." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3PageInfoFormInfo": { + "description": "Represents form information.", + "id": "GoogleCloudDialogflowCxV3PageInfoFormInfo", + "properties": { + "parameterInfo": { + "description": "Optional for both WebhookRequest and WebhookResponse. The parameters contained in the form. Note that the webhook cannot add or remove any form parameter.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo": { + "description": "Represents parameter information.", + "id": "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo", + "properties": { + "displayName": { + "description": "Always present for WebhookRequest. Required for WebhookResponse. The human-readable name of the parameter, unique within the form. This field cannot be modified by the webhook.", + "type": "string" + }, + "justCollected": { + "description": "Optional for WebhookRequest. Ignored for WebhookResponse. Indicates if the parameter value was just collected on the last conversation turn.", + "type": "boolean" + }, + "required": { + "description": "Optional for both WebhookRequest and WebhookResponse. Indicates whether the parameter is required. Optional parameters will not trigger prompts; however, they are filled if the user specifies them. Required parameters must be filled before form filling concludes.", + "type": "boolean" + }, + "state": { + "description": "Always present for WebhookRequest. Required for WebhookResponse. The state of the parameter. This field can be set to INVALID by the webhook to invalidate the parameter; other values set by the webhook will be ignored.", + "enum": [ + "PARAMETER_STATE_UNSPECIFIED", + "EMPTY", + "INVALID", + "FILLED" + ], + "enumDescriptions": [ + "Not specified. This value should be never used.", + "Indicates that the parameter does not have a value.", + "Indicates that the parameter value is invalid. This field can be used by the webhook to invalidate the parameter and ask the server to collect it from the user again.", + "Indicates that the parameter has a value." + ], + "type": "string" + }, + "value": { + "description": "Optional for both WebhookRequest and WebhookResponse. The value of the parameter. This field can be set by the webhook to change the parameter value.", + "type": "any" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3QueryInput": { + "description": "Represents the query input. It can contain one of: 1. A conversational query in the form of text. 2. An intent query that specifies which intent to trigger. 3. Natural language speech audio to be processed. 4. An event to be triggered. ", + "id": "GoogleCloudDialogflowCxV3QueryInput", + "properties": { + "audio": { + "$ref": "GoogleCloudDialogflowCxV3AudioInput", + "description": "The natural language speech audio to be processed." + }, + "dtmf": { + "$ref": "GoogleCloudDialogflowCxV3DtmfInput", + "description": "The DTMF event to be handled." + }, + "event": { + "$ref": "GoogleCloudDialogflowCxV3EventInput", + "description": "The event to be triggered." + }, + "intent": { + "$ref": "GoogleCloudDialogflowCxV3IntentInput", + "description": "The intent to be triggered." + }, + "languageCode": { + "description": "Required. The language of the input. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.", + "type": "string" + }, + "text": { + "$ref": "GoogleCloudDialogflowCxV3TextInput", + "description": "The natural language text to be processed." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3QueryParameters": { + "description": "Represents the parameters of a conversational query.", + "id": "GoogleCloudDialogflowCxV3QueryParameters", + "properties": { + "analyzeQueryTextSentiment": { + "description": "Configures whether sentiment analysis should be performed. If not provided, sentiment analysis is not performed.", + "type": "boolean" + }, + "geoLocation": { + "$ref": "GoogleTypeLatLng", + "description": "The geo location of this conversational query." + }, + "parameters": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Additional parameters to be put into session parameters. To remove a parameter from the session, clients should explicitly set the parameter value to null. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: string or number, depending on parameter value type - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "type": "object" + }, + "payload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "This field can be used to pass custom data into the webhook associated with the agent. Arbitrary JSON objects are supported.", + "type": "object" + }, + "sessionEntityTypes": { + "description": "Additional session entity types to replace or extend developer entity types with. The entity synonyms apply to all languages and persist for the session of this query.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" + }, + "type": "array" + }, + "timeZone": { + "description": "The time zone of this conversational query from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris. If not provided, the time zone specified in the agent is used.", + "type": "string" + }, + "webhookHeaders": { + "additionalProperties": { + "type": "string" + }, + "description": "This field can be used to pass HTTP headers for a webhook call. These headers will be sent to webhook along with the headers that have been configured through Dialogflow web console. The headers defined within this field will overwrite the headers configured through Dialogflow console if there is a conflict. Header names are case-insensitive. Google's specified headers are not allowed. Including: \"Host\", \"Content-Length\", \"Connection\", \"From\", \"User-Agent\", \"Accept-Encoding\", \"If-Modified-Since\", \"If-None-Match\", \"X-Forwarded-For\", etc.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3QueryResult": { + "description": "Represents the result of a conversational query.", + "id": "GoogleCloudDialogflowCxV3QueryResult", + "properties": { + "currentPage": { + "$ref": "GoogleCloudDialogflowCxV3Page", + "description": "The current Page. Some, not all fields are filled in this message, including but not limited to `name` and `display_name`." + }, + "diagnosticInfo": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "The free-form diagnostic info. For example, this field could contain webhook call latency. The string keys of the Struct's fields map can change without notice.", + "type": "object" + }, + "intent": { + "$ref": "GoogleCloudDialogflowCxV3Intent", + "description": "The Intent that matched the conversational query. Some, not all fields are filled in this message, including but not limited to: `name` and `display_name`. This field is deprecated, please use QueryResult.match instead." + }, + "intentDetectionConfidence": { + "description": "The intent detection confidence. Values range from 0.0 (completely uncertain) to 1.0 (completely certain). This value is for informational purpose only and is only used to help match the best intent within the classification threshold. This value may change for the same end-user expression at any time due to a model retraining or change in implementation. This field is deprecated, please use QueryResult.match instead.", + "format": "float", + "type": "number" + }, + "languageCode": { + "description": "The language that was triggered during intent detection. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes.", + "type": "string" + }, + "match": { + "$ref": "GoogleCloudDialogflowCxV3Match", + "description": "Intent match result, could be an intent or an event." + }, + "parameters": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "The collected session parameters. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: - If parameter's entity type is a composite entity: map - Else: string or number, depending on parameter value type - MapValue value: - If parameter's entity type is a composite entity: map from composite entity property names to property values - Else: parameter value", + "type": "object" + }, + "responseMessages": { + "description": "The list of rich messages returned to the client. Responses vary from simple text messages to more sophisticated, structured payloads used to drive complex logic.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessage" + }, + "type": "array" + }, + "sentimentAnalysisResult": { + "$ref": "GoogleCloudDialogflowCxV3SentimentAnalysisResult", + "description": "The sentiment analyss result, which depends on `analyze_query_text_sentiment`, specified in the request." + }, + "text": { + "description": "If natural language text was provided as input, this field will contain a copy of the text.", + "type": "string" + }, + "transcript": { + "description": "If natural language speech audio was provided as input, this field will contain the trascript for the audio.", + "type": "string" + }, + "triggerEvent": { + "description": "If an event was provided as input, this field will contain the name of the event.", + "type": "string" + }, + "triggerIntent": { + "description": "If an intent was provided as input, this field will contain a copy of the intent identifier.", + "type": "string" + }, + "webhookPayloads": { + "description": "The list of webhook payload in WebhookResponse.payload, in the order of call sequence. If some webhook call fails or doesn't return any payload, an empty `Struct` would be used instead.", + "items": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "webhookStatuses": { + "description": "The list of webhook call status in the order of call sequence.", + "items": { + "$ref": "GoogleRpcStatus" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessage": { + "description": "Represents a response message that can be returned by a conversational agent. Response messages are also used for output audio synthesis. The approach is as follows: * If at least one OutputAudioText response is present, then all OutputAudioText responses are linearly concatenated, and the result is used for output audio synthesis. * If the OutputAudioText responses are a mixture of text and SSML, then the concatenated result is treated as SSML; otherwise, the result is treated as either text or SSML as appropriate. The agent designer should ideally use either text or SSML consistently throughout the bot design. * Otherwise, all Text responses are linearly concatenated, and the result is used for output audio synthesis. This approach allows for more sophisticated user experience scenarios, where the text displayed to the user may differ from what is heard.", + "id": "GoogleCloudDialogflowCxV3ResponseMessage", + "properties": { + "conversationSuccess": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess", + "description": "Indicates that the conversation succeeded." + }, + "endInteraction": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction", + "description": "Output only. A signal that indicates the interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only when the conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be defined by the user. It's guaranteed that there is at most one such message in each response.", + "readOnly": true + }, + "liveAgentHandoff": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff", + "description": "Hands off conversation to a human agent." + }, + "mixedAudio": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio", + "description": "Output only. An audio response message composed of both the synthesized Dialogflow agent responses and responses defined via play_audio. This message is generated by Dialogflow only and not supposed to be defined by the user.", + "readOnly": true + }, + "outputAudioText": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText", + "description": "A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message." + }, + "payload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Returns a response containing a custom, platform-specific payload.", + "type": "object" + }, + "playAudio": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio", + "description": "Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct mixed_audio. However, Dialogflow itself does not try to read or process the URI in any way." + }, + "text": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageText", + "description": "Returns a text response." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess": { + "description": "Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example: * In the entry_fulfillment of a Page if entering the page indicates that the conversation succeeded. * In a webhook response when you determine that you handled the customer issue.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess", + "properties": { + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom metadata. Dialogflow doesn't impose any structure on this.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction": { + "description": "Indicates that interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only and not supposed to be defined by the user.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction", + "properties": {}, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff": { + "description": "Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example: * In the entry_fulfillment of a Page if entering the page indicates something went extremely wrong in the conversation. * In a webhook response when you determine that the customer issue can only be handled by a human.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff", + "properties": { + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom metadata for your handoff procedure. Dialogflow doesn't impose any structure on this.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio": { + "description": "Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs. The external URIs are specified via play_audio. This message is generated by Dialogflow only and not supposed to be defined by the user.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio", + "properties": { + "segments": { + "description": "Segments this audio response is composed of.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment": { + "description": "Represents one segment of audio.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment", + "properties": { + "allowPlaybackInterruption": { + "description": "Output only. Whether the playback of this segment can be interrupted by the end user's speech and the client should then start the next Dialogflow request.", + "readOnly": true, + "type": "boolean" + }, + "audio": { + "description": "Raw audio synthesized from the Dialogflow agent's response using the output config specified in the request.", + "format": "byte", + "type": "string" + }, + "uri": { + "description": "Client-specific URI that points to an audio clip accessible to the client. Dialogflow does not impose any validation on it.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText": { + "description": "A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText", + "properties": { + "allowPlaybackInterruption": { + "description": "Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.", + "readOnly": true, + "type": "boolean" + }, + "ssml": { + "description": "The SSML text to be synthesized. For more information, see [SSML](/speech/text-to-speech/docs/ssml).", + "type": "string" + }, + "text": { + "description": "The raw text to be synthesized.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio": { + "description": "Specifies an audio clip to be played by the client as part of the response.", + "id": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio", + "properties": { + "allowPlaybackInterruption": { + "description": "Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.", + "readOnly": true, + "type": "boolean" + }, + "audioUri": { + "description": "Required. URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageText": { + "description": "The text response message.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageText", + "properties": { + "allowPlaybackInterruption": { + "description": "Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.", + "readOnly": true, + "type": "boolean" + }, + "text": { + "description": "Required. A collection of text responses.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3RestoreAgentRequest": { + "description": "The request message for Agents.RestoreAgent.", + "id": "GoogleCloudDialogflowCxV3RestoreAgentRequest", + "properties": { + "agentContent": { + "description": "Uncompressed raw byte content for agent.", + "format": "byte", + "type": "string" + }, + "agentUri": { + "description": "The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to restore agent from. The format of this URI must be `gs:///`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3SecuritySettings": { + "description": "Represents the settings related to security issues, such as data redaction and data retention. It may take hours for updates on the settings to propagate to all the related components and take effect.", + "id": "GoogleCloudDialogflowCxV3SecuritySettings", + "properties": { + "displayName": { + "description": "Required. The human-readable name of the security settings, unique within the location.", + "type": "string" + }, + "inspectTemplate": { + "description": "DLP inspect template name. Use this template to define inspect base settings. If empty, we use the default DLP inspect config. The template name will have one of the following formats: `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`", + "type": "string" + }, + "name": { + "description": "Required. Resource name of the settings. Format: `projects//locations//securitySettings/`.", + "type": "string" + }, + "purgeDataTypes": { + "description": "List of types of data to remove when retention settings triggers purge.", + "items": { + "enum": [ + "PURGE_DATA_TYPE_UNSPECIFIED", + "DIALOGFLOW_HISTORY" + ], + "enumDescriptions": [ + "Unspecified. Do not use.", + "Dialogflow history. This does not include Stackdriver log, which is owned by the user not Dialogflow." + ], + "type": "string" + }, + "type": "array" + }, + "redactionScope": { + "description": "Defines on what data we apply redaction. Note that we don't redact data to which we don't have access, e.g., Stackdriver logs.", + "enum": [ + "REDACTION_SCOPE_UNSPECIFIED", + "REDACT_DISK_STORAGE" + ], + "enumDescriptions": [ + "Don't redact any kind of data.", + "On data to be written to disk or similar devices that are capable of holding data even if power is disconnected. This includes data that are temporarily saved on disk." + ], + "type": "string" + }, + "redactionStrategy": { + "description": "Strategy that defines how we do redaction.", + "enum": [ + "REDACTION_STRATEGY_UNSPECIFIED", + "REDACT_WITH_SERVICE" + ], + "enumDescriptions": [ + "Do not redact.", + "Call redaction service to clean up the data to be persisted." + ], + "type": "string" + }, + "retentionWindowDays": { + "description": "Retains the data for the specified number of days. User must Set a value lower than Dialogflow's default 30d TTL. Setting a value higher than that has no effect. A missing value or setting to 0 also means we use Dialogflow's default TTL.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3SentimentAnalysisResult": { + "description": "The result of sentiment analysis. Sentiment analysis inspects user input and identifies the prevailing subjective opinion, especially to determine a user's attitude as positive, negative, or neutral.", + "id": "GoogleCloudDialogflowCxV3SentimentAnalysisResult", + "properties": { + "magnitude": { + "description": "A non-negative number in the [0, +inf) range, which represents the absolute magnitude of sentiment, regardless of score (positive or negative).", + "format": "float", + "type": "number" + }, + "score": { + "description": "Sentiment score between -1.0 (negative sentiment) and 1.0 (positive sentiment).", + "format": "float", + "type": "number" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3SessionEntityType": { + "description": "Session entity types are referred to as **User** entity types and are entities that are built for an individual user such as favorites, preferences, playlists, and so on. You can redefine a session entity type at the session level to extend or replace a custom entity type at the user session level (we refer to the entity types defined at the agent level as \"custom entity types\"). Note: session entity types apply to all queries, regardless of the language. For more information about entity types, see the [Dialogflow documentation](https://cloud.google.com/dialogflow/docs/entities-overview).", + "id": "GoogleCloudDialogflowCxV3SessionEntityType", + "properties": { + "entities": { + "description": "Required. The collection of entities to override or supplement the custom entity type.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3EntityTypeEntity" + }, + "type": "array" + }, + "entityOverrideMode": { + "description": "Required. Indicates whether the additional data should override or supplement the custom entity type definition.", + "enum": [ + "ENTITY_OVERRIDE_MODE_UNSPECIFIED", + "ENTITY_OVERRIDE_MODE_OVERRIDE", + "ENTITY_OVERRIDE_MODE_SUPPLEMENT" + ], + "enumDescriptions": [ + "Not specified. This value should be never used.", + "The collection of session entities overrides the collection of entities in the corresponding custom entity type.", + "The collection of session entities extends the collection of entities in the corresponding custom entity type. Note: Even in this override mode calls to `ListSessionEntityTypes`, `GetSessionEntityType`, `CreateSessionEntityType` and `UpdateSessionEntityType` only return the additional entities added in this session entity type. If you want to get the supplemented list, please call EntityTypes.GetEntityType on the custom entity type and merge." + ], + "type": "string" + }, + "name": { + "description": "Required. The unique identifier of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3SessionInfo": { + "description": "Represents session information communicated to and from the webhook.", + "id": "GoogleCloudDialogflowCxV3SessionInfo", + "properties": { + "parameters": { + "additionalProperties": { + "type": "any" + }, + "description": "Optional for WebhookRequest. Optional for WebhookResponse. All parameters collected from forms and intents during the session. Parameters can be created, updated, or removed by the webhook. To remove a parameter from the session, the webhook should explicitly set the parameter value to null in WebhookResponse. The map is keyed by parameters' display names.", + "type": "object" + }, + "session": { + "description": "Always present for WebhookRequest. Ignored for WebhookResponse. The unique identifier of the session. This field can be used by the webhook to identify a user. Format: `projects//locations//agents//sessions/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3SpeechToTextSettings": { + "description": "Settings related to speech recognition.", + "id": "GoogleCloudDialogflowCxV3SpeechToTextSettings", + "properties": { + "enableSpeechAdaptation": { + "description": "Whether to use speech adaptation for speech recognition.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3SynthesizeSpeechConfig": { + "description": "Configuration of how speech should be synthesized.", + "id": "GoogleCloudDialogflowCxV3SynthesizeSpeechConfig", + "properties": { + "effectsProfileId": { + "description": "Optional. An identifier which selects 'audio effects' profiles that are applied on (post synthesized) text to speech. Effects are applied on top of each other in the order they are given.", + "items": { + "type": "string" + }, + "type": "array" + }, + "pitch": { + "description": "Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20 semitones from the original pitch. -20 means decrease 20 semitones from the original pitch.", + "format": "double", + "type": "number" + }, + "speakingRate": { + "description": "Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any other values \u003c 0.25 or \u003e 4.0 will return an error.", + "format": "double", + "type": "number" + }, + "voice": { + "$ref": "GoogleCloudDialogflowCxV3VoiceSelectionParams", + "description": "Optional. The desired voice of the synthesized audio." + }, + "volumeGainDb": { + "description": "Optional. Volume gain (in dB) of the normal native volume supported by the specific voice, in the range [-96.0, 16.0]. If unset, or set to a value of 0.0 (dB), will play at normal native signal amplitude. A value of -6.0 (dB) will play at approximately half the amplitude of the normal native signal amplitude. A value of +6.0 (dB) will play at approximately twice the amplitude of the normal native signal amplitude. We strongly recommend not to exceed +10 (dB) as there's usually no effective increase in loudness for any value greater than that.", + "format": "double", + "type": "number" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TextInput": { + "description": "Represents the natural language text to be processed.", + "id": "GoogleCloudDialogflowCxV3TextInput", + "properties": { + "text": { + "description": "Required. The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TrainFlowRequest": { + "description": "The request message for Flows.TrainFlow.", + "id": "GoogleCloudDialogflowCxV3TrainFlowRequest", + "properties": {}, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TransitionRoute": { + "description": "A transition route specifies a intent that can be matched and/or a data condition that can be evaluated during a session. When a specified transition is matched, the following actions are taken in order: * If there is a `trigger_fulfillment` associated with the transition, it will be called. * If there is a `target_page` associated with the transition, the session will transition into the specified page. * If there is a `target_flow` associated with the transition, the session will transition into the specified flow.", + "id": "GoogleCloudDialogflowCxV3TransitionRoute", + "properties": { + "condition": { + "description": "The condition to evaluate against form parameters or session parameters. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled.", + "type": "string" + }, + "intent": { + "description": "The unique identifier of an Intent. Format: `projects//locations//agents//intents/`. Indicates that the transition can only happen when the given intent is matched. At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled.", + "type": "string" + }, + "name": { + "description": "Output only. The unique identifier of this transition route.", + "readOnly": true, + "type": "string" + }, + "targetFlow": { + "description": "The target flow to transition to. Format: `projects//locations//agents//flows/`.", + "type": "string" + }, + "targetPage": { + "description": "The target page to transition to. Format: `projects//locations//agents//flows//pages/`.", + "type": "string" + }, + "triggerFulfillment": { + "$ref": "GoogleCloudDialogflowCxV3Fulfillment", + "description": "The fulfillment to call when the condition is satisfied. At least one of `trigger_fulfillment` and `target` must be specified. When both are defined, `trigger_fulfillment` is executed first." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TransitionRouteGroup": { + "description": "An TransitionRouteGroup represents a group of `TransitionRoutes` to be used by a Page.", + "id": "GoogleCloudDialogflowCxV3TransitionRouteGroup", + "properties": { + "displayName": { + "description": "Required. The human-readable name of the transition route group, unique within the Agent. The display name can be no longer than 30 characters.", + "type": "string" + }, + "name": { + "description": "The unique identifier of the transition route group. TransitionRouteGroups.CreateTransitionRouteGroup populates the name automatically. Format: `projects//locations//agents//flows//transitionRouteGroups/`.", + "type": "string" + }, + "transitionRoutes": { + "description": "Transition routes associated with the TransitionRouteGroup. Duplicate transition routes (i.e. using the same `intent`) are not allowed. Note that the `name` field is not used in the transition route group scope.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3TransitionRoute" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3Version": { + "description": "Represents a version of a flow.", + "id": "GoogleCloudDialogflowCxV3Version", + "properties": { + "createTime": { + "description": "Output only. Create time of the version.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.", + "type": "string" + }, + "displayName": { + "description": "Required. The human-readable name of the version. Limit of 64 characters.", + "type": "string" + }, + "name": { + "description": "Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.", + "type": "string" + }, + "nluSettings": { + "$ref": "GoogleCloudDialogflowCxV3NluSettings", + "description": "Output only. The NLU settings of the flow at version creation.", + "readOnly": true + }, + "state": { + "description": "Output only. The state of this version. This field is read-only and cannot be set by create and update methods.", + "enum": [ + "STATE_UNSPECIFIED", + "RUNNING", + "SUCCEEDED", + "FAILED" + ], + "enumDescriptions": [ + "Not specified. This value is not used.", + "Version is not ready to serve (e.g. training is running).", + "Training has succeeded and this version is ready to serve.", + "Version training failed." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3VoiceSelectionParams": { + "description": "Description of which voice to use for speech synthesis.", + "id": "GoogleCloudDialogflowCxV3VoiceSelectionParams", + "properties": { + "name": { + "description": "Optional. The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and ssml_gender.", + "type": "string" + }, + "ssmlGender": { + "description": "Optional. The preferred gender of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and name. Note that this is only a preference, not requirement. If a voice of the appropriate gender is not available, the synthesizer should substitute a voice with a different gender rather than failing the request.", + "enum": [ + "SSML_VOICE_GENDER_UNSPECIFIED", + "SSML_VOICE_GENDER_MALE", + "SSML_VOICE_GENDER_FEMALE", + "SSML_VOICE_GENDER_NEUTRAL" + ], + "enumDescriptions": [ + "An unspecified gender, which means that the client doesn't care which gender the selected voice will have.", + "A male voice.", + "A female voice.", + "A gender-neutral voice." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3Webhook": { + "description": "Webhooks host the developer's business logic. During a session, webhooks allow the developer to use the data extracted by Dialogflow's natural language processing to generate dynamic responses, validate collected data, or trigger actions on the backend.", + "id": "GoogleCloudDialogflowCxV3Webhook", + "properties": { + "disabled": { + "description": "Indicates whether the webhook is disabled.", + "type": "boolean" + }, + "displayName": { + "description": "Required. The human-readable name of the webhook, unique within the agent.", + "type": "string" + }, + "genericWebService": { + "$ref": "GoogleCloudDialogflowCxV3WebhookGenericWebService", + "description": "Configuration for a generic web service." + }, + "name": { + "description": "The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: `projects//locations//agents//webhooks/`.", + "type": "string" + }, + "timeout": { + "description": "Webhook execution timeout. Execution is considered failed if Dialogflow doesn't receive a response from webhook at the end of the timeout period. Defaults to 5 seconds, maximum allowed timeout is 30 seconds.", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookGenericWebService": { + "description": "Represents configuration for a generic web service.", + "id": "GoogleCloudDialogflowCxV3WebhookGenericWebService", + "properties": { + "password": { + "description": "The password for HTTP Basic authentication.", + "type": "string" }, - "operations": { - "methods": { - "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "flatPath": "v3/projects/{projectsId}/operations/{operationsId}:cancel", - "httpMethod": "POST", - "id": "dialogflow.projects.operations.cancel", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be cancelled.", - "location": "path", - "pattern": "^projects/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v3/{+name}:cancel", - "response": { - "$ref": "GoogleProtobufEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/dialogflow" - ] - }, - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v3/projects/{projectsId}/operations/{operationsId}", - "httpMethod": "GET", - "id": "dialogflow.projects.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^projects/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v3/{+name}", - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/dialogflow" - ] - }, - "list": { - "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", - "flatPath": "v3/projects/{projectsId}/operations", - "httpMethod": "GET", - "id": "dialogflow.projects.operations.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "filter": { - "description": "The standard list filter.", - "location": "query", - "type": "string" - }, - "name": { - "description": "The name of the operation's parent resource.", - "location": "path", - "pattern": "^projects/[^/]+$", - "required": true, - "type": "string" - }, - "pageSize": { - "description": "The standard list page size.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The standard list page token.", - "location": "query", - "type": "string" - } - }, - "path": "v3/{+name}/operations", - "response": { - "$ref": "GoogleLongrunningListOperationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/dialogflow" - ] - } - } + "requestHeaders": { + "additionalProperties": { + "type": "string" + }, + "description": "The HTTP request headers to send together with webhook requests.", + "type": "object" + }, + "uri": { + "description": "Required. The webhook URI for receiving POST requests. It must use https protocol.", + "type": "string" + }, + "username": { + "description": "The user name for HTTP Basic authentication.", + "type": "string" } - } - } - }, - "revision": "20201204", - "rootUrl": "https://dialogflow.googleapis.com/", - "schemas": { + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookRequest": { + "description": "The request message for a webhook call.", + "id": "GoogleCloudDialogflowCxV3WebhookRequest", + "properties": { + "detectIntentResponseId": { + "description": "Always present. The unique identifier of the DetectIntentResponse that will be returned to the API caller.", + "type": "string" + }, + "fulfillmentInfo": { + "$ref": "GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo", + "description": "Always present. Information about the fulfillment that triggered this webhook call." + }, + "intentInfo": { + "$ref": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo", + "description": "Information about the last matched intent." + }, + "messages": { + "description": "The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessage" + }, + "type": "array" + }, + "pageInfo": { + "$ref": "GoogleCloudDialogflowCxV3PageInfo", + "description": "Information about page status." + }, + "payload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom data set in QueryParameters.payload.", + "type": "object" + }, + "sessionInfo": { + "$ref": "GoogleCloudDialogflowCxV3SessionInfo", + "description": "Information about session status." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo": { + "description": "Represents fulfillment information communicated to the webhook.", + "id": "GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo", + "properties": { + "tag": { + "description": "Always present. The tag used to identify which fulfillment is being called.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo": { + "description": "Represents intent information communicated to the webhook.", + "id": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo", + "properties": { + "lastMatchedIntent": { + "description": "Always present. The unique identifier of the last matched intent. Format: `projects//locations//agents//intents/`.", + "type": "string" + }, + "parameters": { + "additionalProperties": { + "$ref": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue" + }, + "description": "Parameters identified as a result of intent matching. This is a map of the name of the identified parameter to the value of the parameter identified from the user's utterance. All parameters defined in the matched intent that are identified will be surfaced here.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue": { + "description": "Represents a value for an intent parameter.", + "id": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue", + "properties": { + "originalValue": { + "description": "Always present. Original text value extracted from user utterance.", + "type": "string" + }, + "resolvedValue": { + "description": "Always present. Structured value for the parameter extracted from user utterance.", + "type": "any" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookResponse": { + "description": "The response message for a webhook call.", + "id": "GoogleCloudDialogflowCxV3WebhookResponse", + "properties": { + "fulfillmentResponse": { + "$ref": "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse", + "description": "The fulfillment response to send to the user. This field can be omitted by the webhook if it does not intend to send any response to the user." + }, + "pageInfo": { + "$ref": "GoogleCloudDialogflowCxV3PageInfo", + "description": "Information about page status. This field can be omitted by the webhook if it does not intend to modify page status." + }, + "payload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Value to append directly to QueryResult.webhook_payloads.", + "type": "object" + }, + "sessionInfo": { + "$ref": "GoogleCloudDialogflowCxV3SessionInfo", + "description": "Information about session status. This field can be omitted by the webhook if it does not intend to modify session status." + }, + "targetFlow": { + "description": "The target flow to transition to. Format: `projects//locations//agents//flows/`.", + "type": "string" + }, + "targetPage": { + "description": "The target page to transition to. Format: `projects//locations//agents//flows//pages/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse": { + "description": "Represents a fulfillment response to the user.", + "id": "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse", + "properties": { + "mergeBehavior": { + "description": "Merge behavior for `messages`.", + "enum": [ + "MERGE_BEHAVIOR_UNSPECIFIED", + "APPEND", + "REPLACE" + ], + "enumDescriptions": [ + "Not specified. `APPEND` will be used.", + "`messages` will be appended to the list of messages waiting to be sent to the user.", + "`messages` will replace the list of messages waiting to be sent to the user." + ], + "type": "string" + }, + "messages": { + "description": "The list of rich message responses to present to the user.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessage" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata": { "description": "Metadata associated with the long running operation for Versions.CreateVersion.", "id": "GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata", @@ -3965,6 +8498,23 @@ } }, "type": "object" + }, + "GoogleTypeLatLng": { + "description": "An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this must conform to the WGS84 standard. Values must be within normalized ranges.", + "id": "GoogleTypeLatLng", + "properties": { + "latitude": { + "description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", + "format": "double", + "type": "number" + }, + "longitude": { + "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", + "format": "double", + "type": "number" + } + }, + "type": "object" } }, "servicePath": "", diff --git a/dialogflow/v3/dialogflow-gen.go b/dialogflow/v3/dialogflow-gen.go index 8a488f83db1..52623972857 100644 --- a/dialogflow/v3/dialogflow-gen.go +++ b/dialogflow/v3/dialogflow-gen.go @@ -162,14 +162,173 @@ type ProjectsService struct { func NewProjectsLocationsService(s *Service) *ProjectsLocationsService { rs := &ProjectsLocationsService{s: s} + rs.Agents = NewProjectsLocationsAgentsService(s) rs.Operations = NewProjectsLocationsOperationsService(s) + rs.SecuritySettings = NewProjectsLocationsSecuritySettingsService(s) return rs } type ProjectsLocationsService struct { s *Service + Agents *ProjectsLocationsAgentsService + Operations *ProjectsLocationsOperationsService + + SecuritySettings *ProjectsLocationsSecuritySettingsService +} + +func NewProjectsLocationsAgentsService(s *Service) *ProjectsLocationsAgentsService { + rs := &ProjectsLocationsAgentsService{s: s} + rs.EntityTypes = NewProjectsLocationsAgentsEntityTypesService(s) + rs.Environments = NewProjectsLocationsAgentsEnvironmentsService(s) + rs.Flows = NewProjectsLocationsAgentsFlowsService(s) + rs.Intents = NewProjectsLocationsAgentsIntentsService(s) + rs.Sessions = NewProjectsLocationsAgentsSessionsService(s) + rs.Webhooks = NewProjectsLocationsAgentsWebhooksService(s) + return rs +} + +type ProjectsLocationsAgentsService struct { + s *Service + + EntityTypes *ProjectsLocationsAgentsEntityTypesService + + Environments *ProjectsLocationsAgentsEnvironmentsService + + Flows *ProjectsLocationsAgentsFlowsService + + Intents *ProjectsLocationsAgentsIntentsService + + Sessions *ProjectsLocationsAgentsSessionsService + + Webhooks *ProjectsLocationsAgentsWebhooksService +} + +func NewProjectsLocationsAgentsEntityTypesService(s *Service) *ProjectsLocationsAgentsEntityTypesService { + rs := &ProjectsLocationsAgentsEntityTypesService{s: s} + return rs +} + +type ProjectsLocationsAgentsEntityTypesService struct { + s *Service +} + +func NewProjectsLocationsAgentsEnvironmentsService(s *Service) *ProjectsLocationsAgentsEnvironmentsService { + rs := &ProjectsLocationsAgentsEnvironmentsService{s: s} + rs.Sessions = NewProjectsLocationsAgentsEnvironmentsSessionsService(s) + return rs +} + +type ProjectsLocationsAgentsEnvironmentsService struct { + s *Service + + Sessions *ProjectsLocationsAgentsEnvironmentsSessionsService +} + +func NewProjectsLocationsAgentsEnvironmentsSessionsService(s *Service) *ProjectsLocationsAgentsEnvironmentsSessionsService { + rs := &ProjectsLocationsAgentsEnvironmentsSessionsService{s: s} + rs.EntityTypes = NewProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService(s) + return rs +} + +type ProjectsLocationsAgentsEnvironmentsSessionsService struct { + s *Service + + EntityTypes *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService +} + +func NewProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService(s *Service) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService { + rs := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService{s: s} + return rs +} + +type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService struct { + s *Service +} + +func NewProjectsLocationsAgentsFlowsService(s *Service) *ProjectsLocationsAgentsFlowsService { + rs := &ProjectsLocationsAgentsFlowsService{s: s} + rs.Pages = NewProjectsLocationsAgentsFlowsPagesService(s) + rs.TransitionRouteGroups = NewProjectsLocationsAgentsFlowsTransitionRouteGroupsService(s) + rs.Versions = NewProjectsLocationsAgentsFlowsVersionsService(s) + return rs +} + +type ProjectsLocationsAgentsFlowsService struct { + s *Service + + Pages *ProjectsLocationsAgentsFlowsPagesService + + TransitionRouteGroups *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService + + Versions *ProjectsLocationsAgentsFlowsVersionsService +} + +func NewProjectsLocationsAgentsFlowsPagesService(s *Service) *ProjectsLocationsAgentsFlowsPagesService { + rs := &ProjectsLocationsAgentsFlowsPagesService{s: s} + return rs +} + +type ProjectsLocationsAgentsFlowsPagesService struct { + s *Service +} + +func NewProjectsLocationsAgentsFlowsTransitionRouteGroupsService(s *Service) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService { + rs := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsService{s: s} + return rs +} + +type ProjectsLocationsAgentsFlowsTransitionRouteGroupsService struct { + s *Service +} + +func NewProjectsLocationsAgentsFlowsVersionsService(s *Service) *ProjectsLocationsAgentsFlowsVersionsService { + rs := &ProjectsLocationsAgentsFlowsVersionsService{s: s} + return rs +} + +type ProjectsLocationsAgentsFlowsVersionsService struct { + s *Service +} + +func NewProjectsLocationsAgentsIntentsService(s *Service) *ProjectsLocationsAgentsIntentsService { + rs := &ProjectsLocationsAgentsIntentsService{s: s} + return rs +} + +type ProjectsLocationsAgentsIntentsService struct { + s *Service +} + +func NewProjectsLocationsAgentsSessionsService(s *Service) *ProjectsLocationsAgentsSessionsService { + rs := &ProjectsLocationsAgentsSessionsService{s: s} + rs.EntityTypes = NewProjectsLocationsAgentsSessionsEntityTypesService(s) + return rs +} + +type ProjectsLocationsAgentsSessionsService struct { + s *Service + + EntityTypes *ProjectsLocationsAgentsSessionsEntityTypesService +} + +func NewProjectsLocationsAgentsSessionsEntityTypesService(s *Service) *ProjectsLocationsAgentsSessionsEntityTypesService { + rs := &ProjectsLocationsAgentsSessionsEntityTypesService{s: s} + return rs +} + +type ProjectsLocationsAgentsSessionsEntityTypesService struct { + s *Service +} + +func NewProjectsLocationsAgentsWebhooksService(s *Service) *ProjectsLocationsAgentsWebhooksService { + rs := &ProjectsLocationsAgentsWebhooksService{s: s} + return rs +} + +type ProjectsLocationsAgentsWebhooksService struct { + s *Service } func NewProjectsLocationsOperationsService(s *Service) *ProjectsLocationsOperationsService { @@ -181,6 +340,15 @@ type ProjectsLocationsOperationsService struct { s *Service } +func NewProjectsLocationsSecuritySettingsService(s *Service) *ProjectsLocationsSecuritySettingsService { + rs := &ProjectsLocationsSecuritySettingsService{s: s} + return rs +} + +type ProjectsLocationsSecuritySettingsService struct { + s *Service +} + func NewProjectsOperationsService(s *Service) *ProjectsOperationsService { rs := &ProjectsOperationsService{s: s} return rs @@ -190,15 +358,67 @@ type ProjectsOperationsService struct { s *Service } -// GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata: -// Metadata associated with the long running operation for -// Versions.CreateVersion. -type GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata struct { - // Version: Name of the created version. Format: - // `projects//locations//agents//flows//versions/`. - Version string `json:"version,omitempty"` +// GoogleCloudDialogflowCxV3Agent: Agents are best described as Natural +// Language Understanding (NLU) modules that transform user requests +// into actionable data. You can include agents in your app, product, or +// service to determine user intent and respond to the user in a natural +// way. After you create an agent, you can add Intents, Entity Types, +// Flows, Fulfillments, Webhooks, and so on to manage the conversation +// flows.. +type GoogleCloudDialogflowCxV3Agent struct { + // AvatarUri: The URI of the agent's avatar. Avatars are used throughout + // the Dialogflow console and in the self-hosted [Web + // Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo) + // integration. + AvatarUri string `json:"avatarUri,omitempty"` + + // DefaultLanguageCode: Immutable. The default language of the agent as + // a language tag. See [Language + // Support](https://cloud.google.com/dialogflow/docs/reference/language) + // for a list of the currently supported language codes. This field + // cannot be set by the Agents.UpdateAgent method. + DefaultLanguageCode string `json:"defaultLanguageCode,omitempty"` - // ForceSendFields is a list of field names (e.g. "Version") to + // Description: The description of the agent. The maximum length is 500 + // characters. If exceeded, the request is rejected. + Description string `json:"description,omitempty"` + + // DisplayName: Required. The human-readable name of the agent, unique + // within the location. + DisplayName string `json:"displayName,omitempty"` + + // EnableSpellCorrection: Indicates if automatic spell correction is + // enabled in detect intent requests. + EnableSpellCorrection bool `json:"enableSpellCorrection,omitempty"` + + // EnableStackdriverLogging: Indicates if stackdriver logging is enabled + // for the agent. + EnableStackdriverLogging bool `json:"enableStackdriverLogging,omitempty"` + + // Name: The unique identifier of the agent. Required for the + // Agents.UpdateAgent method. Agents.CreateAgent populates the name + // automatically. Format: `projects//locations//agents/`. + Name string `json:"name,omitempty"` + + // SpeechToTextSettings: Speech recognition related settings. + SpeechToTextSettings *GoogleCloudDialogflowCxV3SpeechToTextSettings `json:"speechToTextSettings,omitempty"` + + // StartFlow: Immutable. Name of the start flow in this agent. A start + // flow will be automatically created when the agent is created, and can + // only be deleted by deleting the agent. Format: + // `projects//locations//agents//flows/`. + StartFlow string `json:"startFlow,omitempty"` + + // TimeZone: Required. The time zone of the agent from the [time zone + // database](https://www.iana.org/time-zones), e.g., America/New_York, + // Europe/Paris. + TimeZone string `json:"timeZone,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "AvatarUri") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -206,7 +426,7 @@ type GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Version") to include in + // NullFields is a list of field names (e.g. "AvatarUri") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -215,23 +435,29 @@ type GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata +func (s *GoogleCloudDialogflowCxV3Agent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3Agent raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ExportAgentResponse: The response -// message for Agents.ExportAgent. -type GoogleCloudDialogflowCxV3beta1ExportAgentResponse struct { - // AgentContent: Uncompressed raw byte content for agent. - AgentContent string `json:"agentContent,omitempty"` +// GoogleCloudDialogflowCxV3AudioInput: Represents the natural speech +// audio to be processed. +type GoogleCloudDialogflowCxV3AudioInput struct { + // Audio: The natural language speech audio to be processed. A single + // request can contain up to 1 minute of speech audio data. The + // transcribed text cannot contain more than 256 bytes. For + // non-streaming audio detect intent, both `config` and `audio` must be + // provided. For streaming audio detect intent, `config` must be + // provided in the first request and `audio` must be provided in all + // following requests. + Audio string `json:"audio,omitempty"` - // AgentUri: The URI to a file containing the exported agent. This field - // is populated only if `agent_uri` is specified in ExportAgentRequest. - AgentUri string `json:"agentUri,omitempty"` + // Config: Required. Instructs the speech recognizer how to process the + // speech audio. + Config *GoogleCloudDialogflowCxV3InputAudioConfig `json:"config,omitempty"` - // ForceSendFields is a list of field names (e.g. "AgentContent") to + // ForceSendFields is a list of field names (e.g. "Audio") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -239,34 +465,30 @@ type GoogleCloudDialogflowCxV3beta1ExportAgentResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AgentContent") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Audio") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ExportAgentResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ExportAgentResponse +func (s *GoogleCloudDialogflowCxV3AudioInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3AudioInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1PageInfo: Represents page information -// communicated to and from the webhook. -type GoogleCloudDialogflowCxV3beta1PageInfo struct { - // CurrentPage: Always present for WebhookRequest. Ignored for - // WebhookResponse. The unique identifier of the current page. Format: - // `projects//locations//agents//flows//pages/`. - CurrentPage string `json:"currentPage,omitempty"` - - // FormInfo: Optional for both WebhookRequest and WebhookResponse. - // Information about the form. - FormInfo *GoogleCloudDialogflowCxV3beta1PageInfoFormInfo `json:"formInfo,omitempty"` +// GoogleCloudDialogflowCxV3CreateVersionOperationMetadata: Metadata +// associated with the long running operation for +// Versions.CreateVersion. +type GoogleCloudDialogflowCxV3CreateVersionOperationMetadata struct { + // Version: Name of the created version. Format: + // `projects//locations//agents//flows//versions/`. + Version string `json:"version,omitempty"` - // ForceSendFields is a list of field names (e.g. "CurrentPage") to + // ForceSendFields is a list of field names (e.g. "Version") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -274,93 +496,89 @@ type GoogleCloudDialogflowCxV3beta1PageInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CurrentPage") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Version") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1PageInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1PageInfo +func (s *GoogleCloudDialogflowCxV3CreateVersionOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3CreateVersionOperationMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1PageInfoFormInfo: Represents form -// information. -type GoogleCloudDialogflowCxV3beta1PageInfoFormInfo struct { - // ParameterInfo: Optional for both WebhookRequest and WebhookResponse. - // The parameters contained in the form. Note that the webhook cannot - // add or remove any form parameter. - ParameterInfo []*GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo `json:"parameterInfo,omitempty"` +// GoogleCloudDialogflowCxV3DetectIntentRequest: The request to detect +// user's intent. +type GoogleCloudDialogflowCxV3DetectIntentRequest struct { + // OutputAudioConfig: Instructs the speech synthesizer how to generate + // the output audio. + OutputAudioConfig *GoogleCloudDialogflowCxV3OutputAudioConfig `json:"outputAudioConfig,omitempty"` - // ForceSendFields is a list of field names (e.g. "ParameterInfo") to - // unconditionally include in API requests. By default, fields with + // QueryInput: Required. The input specification. + QueryInput *GoogleCloudDialogflowCxV3QueryInput `json:"queryInput,omitempty"` + + // QueryParams: The parameters of this query. + QueryParams *GoogleCloudDialogflowCxV3QueryParameters `json:"queryParams,omitempty"` + + // ForceSendFields is a list of field names (e.g. "OutputAudioConfig") + // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ParameterInfo") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "OutputAudioConfig") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1PageInfoFormInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1PageInfoFormInfo +func (s *GoogleCloudDialogflowCxV3DetectIntentRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3DetectIntentRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo: -// Represents parameter information. -type GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo struct { - // DisplayName: Always present for WebhookRequest. Required for - // WebhookResponse. The human-readable name of the parameter, unique - // within the form. This field cannot be modified by the webhook. - DisplayName string `json:"displayName,omitempty"` - - // JustCollected: Optional for WebhookRequest. Ignored for - // WebhookResponse. Indicates if the parameter value was just collected - // on the last conversation turn. - JustCollected bool `json:"justCollected,omitempty"` - - // Required: Optional for both WebhookRequest and WebhookResponse. - // Indicates whether the parameter is required. Optional parameters will - // not trigger prompts; however, they are filled if the user specifies - // them. Required parameters must be filled before form filling - // concludes. - Required bool `json:"required,omitempty"` - - // State: Always present for WebhookRequest. Required for - // WebhookResponse. The state of the parameter. This field can be set to - // INVALID by the webhook to invalidate the parameter; other values set - // by the webhook will be ignored. - // - // Possible values: - // "PARAMETER_STATE_UNSPECIFIED" - Not specified. This value should be - // never used. - // "EMPTY" - Indicates that the parameter does not have a value. - // "INVALID" - Indicates that the parameter value is invalid. This - // field can be used by the webhook to invalidate the parameter and ask - // the server to collect it from the user again. - // "FILLED" - Indicates that the parameter has a value. - State string `json:"state,omitempty"` +// GoogleCloudDialogflowCxV3DetectIntentResponse: The message returned +// from the DetectIntent method. +type GoogleCloudDialogflowCxV3DetectIntentResponse struct { + // OutputAudio: The audio data bytes encoded as specified in the + // request. Note: The output audio is generated based on the values of + // default platform text responses found in the + // `query_result.response_messages` field. If multiple default text + // responses exist, they will be concatenated when generating audio. If + // no default platform text responses exist, the generated audio content + // will be empty. In some scenarios, multiple output audio fields may be + // present in the response structure. In these cases, only the + // top-most-level audio output has content. + OutputAudio string `json:"outputAudio,omitempty"` + + // OutputAudioConfig: The config used by the speech synthesizer to + // generate the output audio. + OutputAudioConfig *GoogleCloudDialogflowCxV3OutputAudioConfig `json:"outputAudioConfig,omitempty"` + + // QueryResult: The result of the conversational query. + QueryResult *GoogleCloudDialogflowCxV3QueryResult `json:"queryResult,omitempty"` + + // ResponseId: Output only. The unique identifier of the response. It + // can be used to locate a response in the training example set or for + // reporting issues. + ResponseId string `json:"responseId,omitempty"` - // Value: Optional for both WebhookRequest and WebhookResponse. The - // value of the parameter. This field can be set by the webhook to - // change the parameter value. - Value interface{} `json:"value,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "DisplayName") to + // ForceSendFields is a list of field names (e.g. "OutputAudio") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -368,7 +586,7 @@ type GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DisplayName") to include + // NullFields is a list of field names (e.g. "OutputAudio") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -377,65 +595,121 @@ type GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo +func (s *GoogleCloudDialogflowCxV3DetectIntentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3DetectIntentResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ResponseMessage: Represents a response -// message that can be returned by a conversational agent. Response -// messages are also used for output audio synthesis. The approach is as -// follows: * If at least one OutputAudioText response is present, then -// all OutputAudioText responses are linearly concatenated, and the -// result is used for output audio synthesis. * If the OutputAudioText -// responses are a mixture of text and SSML, then the concatenated -// result is treated as SSML; otherwise, the result is treated as either -// text or SSML as appropriate. The agent designer should ideally use -// either text or SSML consistently throughout the bot design. * -// Otherwise, all Text responses are linearly concatenated, and the -// result is used for output audio synthesis. This approach allows for -// more sophisticated user experience scenarios, where the text -// displayed to the user may differ from what is heard. -type GoogleCloudDialogflowCxV3beta1ResponseMessage struct { - // ConversationSuccess: Indicates that the conversation succeeded. - ConversationSuccess *GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess `json:"conversationSuccess,omitempty"` +// GoogleCloudDialogflowCxV3DtmfInput: Represents the input for dtmf +// event. +type GoogleCloudDialogflowCxV3DtmfInput struct { + // Digits: The dtmf digits. + Digits string `json:"digits,omitempty"` - // EndInteraction: Output only. A signal that indicates the interaction - // with the Dialogflow agent has ended. This message is generated by - // Dialogflow only when the conversation reaches `END_SESSION` or - // `END_PAGE` page. It is not supposed to be defined by the user. It's - // guaranteed that there is at most one such message in each response. - EndInteraction *GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction `json:"endInteraction,omitempty"` + // FinishDigit: The finish digit (if any). + FinishDigit string `json:"finishDigit,omitempty"` - // LiveAgentHandoff: Hands off conversation to a human agent. - LiveAgentHandoff *GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff `json:"liveAgentHandoff,omitempty"` + // ForceSendFields is a list of field names (e.g. "Digits") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` - // MixedAudio: Output only. An audio response message composed of both - // the synthesized Dialogflow agent responses and responses defined via - // play_audio. This message is generated by Dialogflow only and not - // supposed to be defined by the user. - MixedAudio *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio `json:"mixedAudio,omitempty"` + // NullFields is a list of field names (e.g. "Digits") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} - // OutputAudioText: A text or ssml response that is preferentially used - // for TTS output audio synthesis, as described in the comment on the - // ResponseMessage message. - OutputAudioText *GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText `json:"outputAudioText,omitempty"` +func (s *GoogleCloudDialogflowCxV3DtmfInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3DtmfInput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // Payload: Returns a response containing a custom, platform-specific - // payload. - Payload googleapi.RawMessage `json:"payload,omitempty"` +// GoogleCloudDialogflowCxV3EntityType: Entities are extracted from user +// input and represent parameters that are meaningful to your +// application. For example, a date range, a proper name such as a +// geographic location or landmark, and so on. Entities represent +// actionable data for your application. When you define an entity, you +// can also include synonyms that all map to that entity. For example, +// "soft drink", "soda", "pop", and so on. There are three types of +// entities: * **System** - entities that are defined by the Dialogflow +// API for common data types such as date, time, currency, and so on. A +// system entity is represented by the `EntityType` type. * **Custom** - +// entities that are defined by you that represent actionable data that +// is meaningful to your application. For example, you could define a +// `pizza.sauce` entity for red or white pizza sauce, a `pizza.cheese` +// entity for the different types of cheese on a pizza, a +// `pizza.topping` entity for different toppings, and so on. A custom +// entity is represented by the `EntityType` type. * **User** - entities +// that are built for an individual user such as favorites, preferences, +// playlists, and so on. A user entity is represented by the +// SessionEntityType type. For more information about entity types, see +// the [Dialogflow +// documentation](https://cloud.google.com/dialogflow/docs/entities-overv +// iew). +type GoogleCloudDialogflowCxV3EntityType struct { + // AutoExpansionMode: Indicates whether the entity type can be + // automatically expanded. + // + // Possible values: + // "AUTO_EXPANSION_MODE_UNSPECIFIED" - Auto expansion disabled for the + // entity. + // "AUTO_EXPANSION_MODE_DEFAULT" - Allows an agent to recognize values + // that have not been explicitly listed in the entity. + AutoExpansionMode string `json:"autoExpansionMode,omitempty"` - // PlayAudio: Signal that the client should play an audio clip hosted at - // a client-specific URI. Dialogflow uses this to construct mixed_audio. - // However, Dialogflow itself does not try to read or process the URI in - // any way. - PlayAudio *GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio `json:"playAudio,omitempty"` + // DisplayName: Required. The human-readable name of the entity type, + // unique within the agent. + DisplayName string `json:"displayName,omitempty"` - // Text: Returns a text response. - Text *GoogleCloudDialogflowCxV3beta1ResponseMessageText `json:"text,omitempty"` + // EnableFuzzyExtraction: Enables fuzzy entity extraction during + // classification. + EnableFuzzyExtraction bool `json:"enableFuzzyExtraction,omitempty"` - // ForceSendFields is a list of field names (e.g. "ConversationSuccess") + // Entities: The collection of entity entries associated with the entity + // type. + Entities []*GoogleCloudDialogflowCxV3EntityTypeEntity `json:"entities,omitempty"` + + // ExcludedPhrases: Collection of exceptional words and phrases that + // shouldn't be matched. For example, if you have a size entity type + // with entry `giant`(an adjective), you might consider adding + // `giants`(a noun) as an exclusion. If the kind of entity type is + // `KIND_MAP`, then the phrases specified by entities and excluded + // phrases should be mutually exclusive. + ExcludedPhrases []*GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase `json:"excludedPhrases,omitempty"` + + // Kind: Required. Indicates the kind of entity type. + // + // Possible values: + // "KIND_UNSPECIFIED" - Not specified. This value should be never + // used. + // "KIND_MAP" - Map entity types allow mapping of a group of synonyms + // to a canonical value. + // "KIND_LIST" - List entity types contain a set of entries that do + // not map to canonical values. However, list entity types can contain + // references to other entity types (with or without aliases). + // "KIND_REGEXP" - Regexp entity types allow to specify regular + // expressions in entries values. + Kind string `json:"kind,omitempty"` + + // Name: The unique identifier of the entity type. Required for + // EntityTypes.UpdateEntityType. Format: + // `projects//locations//agents//entityTypes/`. + Name string `json:"name,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "AutoExpansionMode") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -443,7 +717,7 @@ type GoogleCloudDialogflowCxV3beta1ResponseMessage struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ConversationSuccess") to + // NullFields is a list of field names (e.g. "AutoExpansionMode") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -453,29 +727,30 @@ type GoogleCloudDialogflowCxV3beta1ResponseMessage struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ResponseMessage) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessage +func (s *GoogleCloudDialogflowCxV3EntityType) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3EntityType raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess: -// Indicates that the conversation succeeded, i.e., the bot handled the -// issue that the customer talked to it about. Dialogflow only uses this -// to determine which conversations should be counted as successful and -// doesn't process the metadata in this message in any way. Note that -// Dialogflow also considers conversations that get to the conversation -// end page as successful even if they don't return ConversationSuccess. -// You may set this, for example: * In the entry_fulfillment of a Page -// if entering the page indicates that the conversation succeeded. * In -// a webhook response when you determine that you handled the customer -// issue. -type GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess struct { - // Metadata: Custom metadata. Dialogflow doesn't impose any structure on - // this. - Metadata googleapi.RawMessage `json:"metadata,omitempty"` +// GoogleCloudDialogflowCxV3EntityTypeEntity: An **entity entry** for an +// associated entity type. Next Id = 8 +type GoogleCloudDialogflowCxV3EntityTypeEntity struct { + // Synonyms: Required. A collection of value synonyms. For example, if + // the entity type is *vegetable*, and `value` is *scallions*, a synonym + // could be *green onions*. For `KIND_LIST` entity types: * This + // collection must contain exactly one synonym equal to `value`. + Synonyms []string `json:"synonyms,omitempty"` - // ForceSendFields is a list of field names (e.g. "Metadata") to + // Value: Required. The primary value associated with this entity entry. + // For example, if the entity type is *vegetable*, the value could be + // *scallions*. For `KIND_MAP` entity types: * A canonical value to be + // used in place of synonyms. For `KIND_LIST` entity types: * A string + // that can contain references to other entity types (with or without + // aliases). + Value string `json:"value,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Synonyms") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -483,7 +758,7 @@ type GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Metadata") to include in + // NullFields is a list of field names (e.g. "Synonyms") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -492,34 +767,19 @@ type GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess +func (s *GoogleCloudDialogflowCxV3EntityTypeEntity) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3EntityTypeEntity raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction: -// Indicates that interaction with the Dialogflow agent has ended. This -// message is generated by Dialogflow only and not supposed to be -// defined by the user. -type GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction struct { -} - -// GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff: -// Indicates that the conversation should be handed off to a live agent. -// Dialogflow only uses this to determine which conversations were -// handed off to a human agent for measurement purposes. What else to do -// with this signal is up to you and your handoff procedures. You may -// set this, for example: * In the entry_fulfillment of a Page if -// entering the page indicates something went extremely wrong in the -// conversation. * In a webhook response when you determine that the -// customer issue can only be handled by a human. -type GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff struct { - // Metadata: Custom metadata for your handoff procedure. Dialogflow - // doesn't impose any structure on this. - Metadata googleapi.RawMessage `json:"metadata,omitempty"` +// GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase: An excluded entity +// phrase that should not be matched. +type GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase struct { + // Value: Required. The word or phrase to be excluded. + Value string `json:"value,omitempty"` - // ForceSendFields is a list of field names (e.g. "Metadata") to + // ForceSendFields is a list of field names (e.g. "Value") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -527,8 +787,8 @@ type GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Metadata") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Value") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -536,23 +796,48 @@ type GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff +func (s *GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio: Represents -// an audio message that is composed of both segments synthesized from -// the Dialogflow agent prompts and ones hosted externally at the -// specified URIs. The external URIs are specified via play_audio. This -// message is generated by Dialogflow only and not supposed to be -// defined by the user. -type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio struct { - // Segments: Segments this audio response is composed of. - Segments []*GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment `json:"segments,omitempty"` +// GoogleCloudDialogflowCxV3Environment: Represents an environment for +// an agent. You can create multiple versions of your agent and publish +// them to separate environments. When you edit an agent, you are +// editing the draft agent. At any point, you can save the draft agent +// as an agent version, which is an immutable snapshot of your agent. +// When you save the draft agent, it is published to the default +// environment. When you create agent versions, you can publish them to +// custom environments. You can create a variety of custom environments +// for testing, development, production, etc. +type GoogleCloudDialogflowCxV3Environment struct { + // Description: The human-readable description of the environment. The + // maximum length is 500 characters. If exceeded, the request is + // rejected. + Description string `json:"description,omitempty"` - // ForceSendFields is a list of field names (e.g. "Segments") to + // DisplayName: Required. The human-readable name of the environment + // (unique in an agent). Limit of 64 characters. + DisplayName string `json:"displayName,omitempty"` + + // Name: The name of the environment. Format: + // `projects//locations//agents//environments/`. + Name string `json:"name,omitempty"` + + // UpdateTime: Output only. Update time of this environment. + UpdateTime string `json:"updateTime,omitempty"` + + // VersionConfigs: Required. A list of configurations for flow versions. + // You should include version configs for all flows that are reachable + // from `Start Flow` in the agent. Otherwise, an error will be returned. + VersionConfigs []*GoogleCloudDialogflowCxV3EnvironmentVersionConfig `json:"versionConfigs,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -560,7 +845,37 @@ type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Segments") to include in + // NullFields is a list of field names (e.g. "Description") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3Environment) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3Environment + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3EnvironmentVersionConfig: Configuration for +// the version. +type GoogleCloudDialogflowCxV3EnvironmentVersionConfig struct { + // Version: Required. Format: + // projects//locations//agents//flows//versions/. + Version string `json:"version,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Version") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Version") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -569,185 +884,244 @@ type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio +func (s *GoogleCloudDialogflowCxV3EnvironmentVersionConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3EnvironmentVersionConfig raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment: -// Represents one segment of audio. -type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment struct { - // AllowPlaybackInterruption: Output only. Whether the playback of this - // segment can be interrupted by the end user's speech and the client - // should then start the next Dialogflow request. - AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` +// GoogleCloudDialogflowCxV3EventHandler: An event handler specifies an +// event that can be handled during a session. When the specified event +// happens, the following actions are taken in order: * If there is a +// `trigger_fulfillment` associated with the event, it will be called. * +// If there is a `target_page` associated with the event, the session +// will transition into the specified page. * If there is a +// `target_flow` associated with the event, the session will transition +// into the specified flow. +type GoogleCloudDialogflowCxV3EventHandler struct { + // Event: Required. The name of the event to handle. + Event string `json:"event,omitempty"` - // Audio: Raw audio synthesized from the Dialogflow agent's response - // using the output config specified in the request. - Audio string `json:"audio,omitempty"` + // Name: Output only. The unique identifier of this event handler. + Name string `json:"name,omitempty"` - // Uri: Client-specific URI that points to an audio clip accessible to - // the client. Dialogflow does not impose any validation on it. - Uri string `json:"uri,omitempty"` + // TargetFlow: The target flow to transition to. Format: + // `projects//locations//agents//flows/`. + TargetFlow string `json:"targetFlow,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "AllowPlaybackInterruption") to unconditionally include in API - // requests. By default, fields with empty values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. + // TargetPage: The target page to transition to. Format: + // `projects//locations//agents//flows//pages/`. + TargetPage string `json:"targetPage,omitempty"` + + // TriggerFulfillment: The fulfillment to call when the event occurs. + // Handling webhook errors with a fulfillment enabled with webhook could + // cause infinite loop. It is invalid to specify such fulfillment for a + // handler handling webhooks. + TriggerFulfillment *GoogleCloudDialogflowCxV3Fulfillment `json:"triggerFulfillment,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Event") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. - // "AllowPlaybackInterruption") to include in API requests with the JSON - // null value. By default, fields with empty values are omitted from API - // requests. However, any field with an empty value appearing in - // NullFields will be sent to the server as null. It is an error if a - // field in this list has a non-empty value. This may be used to include - // null fields in Patch requests. + // NullFields is a list of field names (e.g. "Event") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment +func (s *GoogleCloudDialogflowCxV3EventHandler) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3EventHandler raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText: A text -// or ssml response that is preferentially used for TTS output audio -// synthesis, as described in the comment on the ResponseMessage -// message. -type GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText struct { - // AllowPlaybackInterruption: Output only. Whether the playback of this - // message can be interrupted by the end user's speech and the client - // can then starts the next Dialogflow request. - AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` - - // Ssml: The SSML text to be synthesized. For more information, see - // [SSML](/speech/text-to-speech/docs/ssml). - Ssml string `json:"ssml,omitempty"` +// GoogleCloudDialogflowCxV3EventInput: Represents the event to trigger. +type GoogleCloudDialogflowCxV3EventInput struct { + // Event: Name of the event. + Event string `json:"event,omitempty"` - // Text: The raw text to be synthesized. - Text string `json:"text,omitempty"` + // ForceSendFields is a list of field names (e.g. "Event") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` - // ForceSendFields is a list of field names (e.g. - // "AllowPlaybackInterruption") to unconditionally include in API - // requests. By default, fields with empty values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. + // NullFields is a list of field names (e.g. "Event") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3EventInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3EventInput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ExportAgentRequest: The request message for +// Agents.ExportAgent. +type GoogleCloudDialogflowCxV3ExportAgentRequest struct { + // AgentUri: Optional. The [Google Cloud + // Storage](https://cloud.google.com/storage/docs/) URI to export the + // agent to. The format of this URI must be `gs:///`. If left + // unspecified, the serialized agent is returned inline. + AgentUri string `json:"agentUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AgentUri") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. - // "AllowPlaybackInterruption") to include in API requests with the JSON - // null value. By default, fields with empty values are omitted from API - // requests. However, any field with an empty value appearing in - // NullFields will be sent to the server as null. It is an error if a - // field in this list has a non-empty value. This may be used to include - // null fields in Patch requests. + // NullFields is a list of field names (e.g. "AgentUri") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText +func (s *GoogleCloudDialogflowCxV3ExportAgentRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ExportAgentRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio: Specifies an -// audio clip to be played by the client as part of the response. -type GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio struct { - // AllowPlaybackInterruption: Output only. Whether the playback of this - // message can be interrupted by the end user's speech and the client - // can then starts the next Dialogflow request. - AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` +// GoogleCloudDialogflowCxV3ExportAgentResponse: The response message +// for Agents.ExportAgent. +type GoogleCloudDialogflowCxV3ExportAgentResponse struct { + // AgentContent: Uncompressed raw byte content for agent. + AgentContent string `json:"agentContent,omitempty"` - // AudioUri: Required. URI of the audio clip. Dialogflow does not impose - // any validation on this value. It is specific to the client that reads - // it. - AudioUri string `json:"audioUri,omitempty"` + // AgentUri: The URI to a file containing the exported agent. This field + // is populated only if `agent_uri` is specified in ExportAgentRequest. + AgentUri string `json:"agentUri,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "AllowPlaybackInterruption") to unconditionally include in API - // requests. By default, fields with empty values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. + // ForceSendFields is a list of field names (e.g. "AgentContent") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. - // "AllowPlaybackInterruption") to include in API requests with the JSON - // null value. By default, fields with empty values are omitted from API - // requests. However, any field with an empty value appearing in - // NullFields will be sent to the server as null. It is an error if a - // field in this list has a non-empty value. This may be used to include - // null fields in Patch requests. + // NullFields is a list of field names (e.g. "AgentContent") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio +func (s *GoogleCloudDialogflowCxV3ExportAgentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ExportAgentResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ResponseMessageText: The text response -// message. -type GoogleCloudDialogflowCxV3beta1ResponseMessageText struct { - // AllowPlaybackInterruption: Output only. Whether the playback of this - // message can be interrupted by the end user's speech and the client - // can then starts the next Dialogflow request. - AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` +// GoogleCloudDialogflowCxV3Flow: Flows represents the conversation +// flows when you build your chatbot agent. A flow consists of many +// pages connected by the transition routes. Conversations always start +// with the built-in Start Flow (with an all-0 ID). Transition routes +// can direct the conversation session from the current flow (parent +// flow) to another flow (sub flow). When the sub flow is finished, +// Dialogflow will bring the session back to the parent flow, where the +// sub flow is started. Usually, when a transition route is followed by +// a matched intent, the intent will be "consumed". This means the +// intent won't activate more transition routes. However, when the +// followed transition route moves the conversation session into a +// different flow, the matched intent can be carried over and to be +// consumed in the target flow. +type GoogleCloudDialogflowCxV3Flow struct { + // Description: The description of the flow. The maximum length is 500 + // characters. If exceeded, the request is rejected. + Description string `json:"description,omitempty"` - // Text: Required. A collection of text responses. - Text []string `json:"text,omitempty"` + // DisplayName: Required. The human-readable name of the flow. + DisplayName string `json:"displayName,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "AllowPlaybackInterruption") to unconditionally include in API - // requests. By default, fields with empty values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. + // EventHandlers: A flow's event handlers serve two purposes: * They are + // responsible for handling events (e.g. no match, webhook errors) in + // the flow. * They are inherited by every page's event handlers, which + // can be used to handle common events regardless of the current page. + // Event handlers defined in the page have higher priority than those + // defined in the flow. Unlike transition_routes, these handlers are + // evaluated on a first-match basis. The first one that matches the + // event get executed, with the rest being ignored. + EventHandlers []*GoogleCloudDialogflowCxV3EventHandler `json:"eventHandlers,omitempty"` + + // Name: The unique identifier of the flow. Format: + // `projects//locations//agents//flows/`. + Name string `json:"name,omitempty"` + + // NluSettings: NLU related settings of the flow. + NluSettings *GoogleCloudDialogflowCxV3NluSettings `json:"nluSettings,omitempty"` + + // TransitionRoutes: A flow's transition routes serve two purposes: * + // They are responsible for matching the user's first utterances in the + // flow. * They are inherited by every page's transition routes and can + // support use cases such as the user saying "help" or "can I talk to a + // human?", which can be handled in a common way regardless of the + // current page. Transition routes defined in the page have higher + // priority than those defined in the flow. TransitionRoutes are + // evalauted in the following order: * TransitionRoutes with intent + // specified.. * TransitionRoutes with only condition specified. + // TransitionRoutes with intent specified are inherited by pages in the + // flow. + TransitionRoutes []*GoogleCloudDialogflowCxV3TransitionRoute `json:"transitionRoutes,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Description") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. - // "AllowPlaybackInterruption") to include in API requests with the JSON - // null value. By default, fields with empty values are omitted from API - // requests. However, any field with an empty value appearing in - // NullFields will be sent to the server as null. It is an error if a - // field in this list has a non-empty value. This may be used to include - // null fields in Patch requests. + // NullFields is a list of field names (e.g. "Description") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageText) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageText +func (s *GoogleCloudDialogflowCxV3Flow) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3Flow raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1SessionInfo: Represents session -// information communicated to and from the webhook. -type GoogleCloudDialogflowCxV3beta1SessionInfo struct { - // Parameters: Optional for WebhookRequest. Optional for - // WebhookResponse. All parameters collected from forms and intents - // during the session. Parameters can be created, updated, or removed by - // the webhook. To remove a parameter from the session, the webhook - // should explicitly set the parameter value to null in WebhookResponse. - // The map is keyed by parameters' display names. - Parameters googleapi.RawMessage `json:"parameters,omitempty"` - - // Session: Always present for WebhookRequest. Ignored for - // WebhookResponse. The unique identifier of the session. This field can - // be used by the webhook to identify a user. Format: - // `projects//locations//agents//sessions/`. - Session string `json:"session,omitempty"` +// GoogleCloudDialogflowCxV3Form: A form is a data model that groups +// related parameters that can be collected from the user. The process +// in which the agent prompts the user and collects parameter values +// from the user is called form filling. A form can be added to a page. +// When form filling is done, the filled parameters will be written to +// the session. +type GoogleCloudDialogflowCxV3Form struct { + // Parameters: Parameters to collect from the user. + Parameters []*GoogleCloudDialogflowCxV3FormParameter `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "Parameters") to // unconditionally include in API requests. By default, fields with @@ -766,50 +1140,114 @@ type GoogleCloudDialogflowCxV3beta1SessionInfo struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1SessionInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1SessionInfo +func (s *GoogleCloudDialogflowCxV3Form) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3Form raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1WebhookRequest: The request message for -// a webhook call. -type GoogleCloudDialogflowCxV3beta1WebhookRequest struct { - // DetectIntentResponseId: Always present. The unique identifier of the - // DetectIntentResponse that will be returned to the API caller. - DetectIntentResponseId string `json:"detectIntentResponseId,omitempty"` +// GoogleCloudDialogflowCxV3FormParameter: Represents a form parameter. +type GoogleCloudDialogflowCxV3FormParameter struct { + // DefaultValue: The default value of an optional parameter. If the + // parameter is required, the default value will be ignored. + DefaultValue interface{} `json:"defaultValue,omitempty"` - // FulfillmentInfo: Always present. Information about the fulfillment - // that triggered this webhook call. - FulfillmentInfo *GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo `json:"fulfillmentInfo,omitempty"` + // DisplayName: Required. The human-readable name of the parameter, + // unique within the form. + DisplayName string `json:"displayName,omitempty"` - // IntentInfo: Information about the last matched intent. - IntentInfo *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo `json:"intentInfo,omitempty"` + // EntityType: Required. The entity type of the parameter. Format: + // `projects/-/locations/-/agents/-/entityTypes/` for system entity + // types (for example, + // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or + // `projects//locations//agents//entityTypes/` for developer entity + // types. + EntityType string `json:"entityType,omitempty"` - // Messages: The list of rich message responses to present to the user. - // Webhook can choose to append or replace this list in - // WebhookResponse.fulfillment_response; - Messages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"messages,omitempty"` + // FillBehavior: Required. Defines fill behavior for the parameter. + FillBehavior *GoogleCloudDialogflowCxV3FormParameterFillBehavior `json:"fillBehavior,omitempty"` - // PageInfo: Information about page status. - PageInfo *GoogleCloudDialogflowCxV3beta1PageInfo `json:"pageInfo,omitempty"` + // IsList: Indicates whether the parameter represents a list of values. + IsList bool `json:"isList,omitempty"` - // Payload: Custom data set in QueryParameters.payload. - Payload googleapi.RawMessage `json:"payload,omitempty"` + // Redact: Indicates whether the parameter content is logged in text and + // audio. If it is set to true, the parameter content will be replaced + // to parameter name in both request and response. The default value is + // false. + Redact bool `json:"redact,omitempty"` - // SessionInfo: Information about session status. - SessionInfo *GoogleCloudDialogflowCxV3beta1SessionInfo `json:"sessionInfo,omitempty"` + // Required: Indicates whether the parameter is required. Optional + // parameters will not trigger prompts; however, they are filled if the + // user specifies them. Required parameters must be filled before form + // filling concludes. + Required bool `json:"required,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DefaultValue") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "DefaultValue") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3FormParameter) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3FormParameter + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3FormParameterFillBehavior: Configuration for +// how the filling of a parameter should be handled. +type GoogleCloudDialogflowCxV3FormParameterFillBehavior struct { + // InitialPromptFulfillment: Required. The fulfillment to provide the + // initial prompt that the agent can present to the user in order to + // fill the parameter. + InitialPromptFulfillment *GoogleCloudDialogflowCxV3Fulfillment `json:"initialPromptFulfillment,omitempty"` + + // RepromptEventHandlers: The handlers for parameter-level events, used + // to provide reprompt for the parameter or transition to a different + // page/flow. The supported events are: * `sys.no-match-`, where N can + // be from 1 to 6 * `sys.no-match-default` * `sys.no-input-`, where N + // can be from 1 to 6 * `sys.no-input-default` * `sys.invalid-parameter` + // `initial_prompt_fulfillment` provides the first prompt for the + // parameter. If the user's response does not fill the parameter, a + // no-match/no-input event will be triggered, and the fulfillment + // associated with the `sys.no-match-1`/`sys.no-input-1` handler (if + // defined) will be called to provide a prompt. The + // `sys.no-match-2`/`sys.no-input-2` handler (if defined) will respond + // to the next no-match/no-input event, and so on. A + // `sys.no-match-default` or `sys.no-input-default` handler will be used + // to handle all following no-match/no-input events after all numbered + // no-match/no-input handlers for the parameter are consumed. A + // `sys.invalid-parameter` handler can be defined to handle the case + // where the parameter values have been `invalidated` by webhook. For + // example, if the user's response fill the parameter, however the + // parameter was invalidated by webhook, the fulfillment associated with + // the `sys.invalid-parameter` handler (if defined) will be called to + // provide a prompt. If the event handler for the corresponding event + // can't be found on the parameter, `initial_prompt_fulfillment` will be + // re-prompted. + RepromptEventHandlers []*GoogleCloudDialogflowCxV3EventHandler `json:"repromptEventHandlers,omitempty"` // ForceSendFields is a list of field names (e.g. - // "DetectIntentResponseId") to unconditionally include in API requests. - // By default, fields with empty values are omitted from API requests. - // However, any non-pointer, non-interface field appearing in + // "InitialPromptFulfillment") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DetectIntentResponseId") + // NullFields is a list of field names (e.g. "InitialPromptFulfillment") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the @@ -819,20 +1257,27 @@ type GoogleCloudDialogflowCxV3beta1WebhookRequest struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1WebhookRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequest +func (s *GoogleCloudDialogflowCxV3FormParameterFillBehavior) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3FormParameterFillBehavior raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo: -// Represents fulfillment information communicated to the webhook. -type GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo struct { - // Tag: Always present. The tag used to identify which fulfillment is - // being called. - Tag string `json:"tag,omitempty"` +// GoogleCloudDialogflowCxV3FulfillIntentRequest: Request of +// FulfillIntent +type GoogleCloudDialogflowCxV3FulfillIntentRequest struct { + // Match: The matched intent/event to fulfill. + Match *GoogleCloudDialogflowCxV3Match `json:"match,omitempty"` - // ForceSendFields is a list of field names (e.g. "Tag") to + // MatchIntentRequest: Must be same as the corresponding MatchIntent + // request, otherwise the behavior is undefined. + MatchIntentRequest *GoogleCloudDialogflowCxV3MatchIntentRequest `json:"matchIntentRequest,omitempty"` + + // OutputAudioConfig: Instructs the speech synthesizer how to generate + // output audio. + OutputAudioConfig *GoogleCloudDialogflowCxV3OutputAudioConfig `json:"outputAudioConfig,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Match") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -840,7 +1285,7 @@ type GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Tag") to include in API + // NullFields is a list of field names (e.g. "Match") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -849,62 +1294,94 @@ type GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo +func (s *GoogleCloudDialogflowCxV3FulfillIntentRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3FulfillIntentRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo: Represents -// intent information communicated to the webhook. -type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo struct { - // LastMatchedIntent: Always present. The unique identifier of the last - // matched intent. Format: `projects//locations//agents//intents/`. - LastMatchedIntent string `json:"lastMatchedIntent,omitempty"` +// GoogleCloudDialogflowCxV3FulfillIntentResponse: Response of +// FulfillIntent +type GoogleCloudDialogflowCxV3FulfillIntentResponse struct { + // OutputAudio: The audio data bytes encoded as specified in the + // request. Note: The output audio is generated based on the values of + // default platform text responses found in the + // `query_result.response_messages` field. If multiple default text + // responses exist, they will be concatenated when generating audio. If + // no default platform text responses exist, the generated audio content + // will be empty. In some scenarios, multiple output audio fields may be + // present in the response structure. In these cases, only the + // top-most-level audio output has content. + OutputAudio string `json:"outputAudio,omitempty"` + + // OutputAudioConfig: The config used by the speech synthesizer to + // generate the output audio. + OutputAudioConfig *GoogleCloudDialogflowCxV3OutputAudioConfig `json:"outputAudioConfig,omitempty"` + + // QueryResult: The result of the conversational query. + QueryResult *GoogleCloudDialogflowCxV3QueryResult `json:"queryResult,omitempty"` + + // ResponseId: Output only. The unique identifier of the response. It + // can be used to locate a response in the training example set or for + // reporting issues. + ResponseId string `json:"responseId,omitempty"` - // Parameters: Parameters identified as a result of intent matching. - // This is a map of the name of the identified parameter to the value of - // the parameter identified from the user's utterance. All parameters - // defined in the matched intent that are identified will be surfaced - // here. - Parameters map[string]GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue `json:"parameters,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "LastMatchedIntent") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "OutputAudio") to + // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "LastMatchedIntent") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "OutputAudio") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo +func (s *GoogleCloudDialogflowCxV3FulfillIntentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3FulfillIntentResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterV -// alue: Represents a value for an intent parameter. -type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue struct { - // OriginalValue: Always present. Original text value extracted from - // user utterance. - OriginalValue string `json:"originalValue,omitempty"` +// GoogleCloudDialogflowCxV3Fulfillment: A fulfillment can do one or +// more of the following actions at the same time: * Generate rich +// message responses. * Set parameter values. * Call the webhook. +// Fulfillments can be called at various stages in the Page or Form +// lifecycle. For example, when a DetectIntentRequest drives a session +// to enter a new page, the page's entry fulfillment can add a static +// response to the QueryResult in the returning DetectIntentResponse, +// call the webhook (for example, to load user data from a database), or +// both. +type GoogleCloudDialogflowCxV3Fulfillment struct { + // ConditionalCases: Conditional cases for this fulfillment. + ConditionalCases []*GoogleCloudDialogflowCxV3FulfillmentConditionalCases `json:"conditionalCases,omitempty"` - // ResolvedValue: Always present. Structured value for the parameter - // extracted from user utterance. - ResolvedValue interface{} `json:"resolvedValue,omitempty"` + // Messages: The list of rich message responses to present to the user. + Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"` - // ForceSendFields is a list of field names (e.g. "OriginalValue") to + // SetParameterActions: Set parameter values before executing the + // webhook. + SetParameterActions []*GoogleCloudDialogflowCxV3FulfillmentSetParameterAction `json:"setParameterActions,omitempty"` + + // Tag: The tag used by the webhook to identify which fulfillment is + // being called. This field is required if `webhook` is specified. + Tag string `json:"tag,omitempty"` + + // Webhook: The webhook to call. Format: + // `projects//locations//agents//webhooks/`. + Webhook string `json:"webhook,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConditionalCases") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -912,58 +1389,107 @@ type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "OriginalValue") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "ConditionalCases") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3Fulfillment) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3Fulfillment + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3FulfillmentConditionalCases: A list of +// cascading if-else conditions. Cases are mutually exclusive. The first +// one with a matching condition is selected, all the rest ignored. +type GoogleCloudDialogflowCxV3FulfillmentConditionalCases struct { + // Cases: A list of cascading if-else conditions. + Cases []*GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase `json:"cases,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Cases") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Cases") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue +func (s *GoogleCloudDialogflowCxV3FulfillmentConditionalCases) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3FulfillmentConditionalCases raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1WebhookResponse: The response message -// for a webhook call. -type GoogleCloudDialogflowCxV3beta1WebhookResponse struct { - // FulfillmentResponse: The fulfillment response to send to the user. - // This field can be omitted by the webhook if it does not intend to - // send any response to the user. - FulfillmentResponse *GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse `json:"fulfillmentResponse,omitempty"` +// GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase: Each case +// has a Boolean condition. When it is evaluated to be True, the +// corresponding messages will be selected and evaluated recursively. +type GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase struct { + // CaseContent: A list of case content. + CaseContent []*GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent `json:"caseContent,omitempty"` - // PageInfo: Information about page status. This field can be omitted by - // the webhook if it does not intend to modify page status. - PageInfo *GoogleCloudDialogflowCxV3beta1PageInfo `json:"pageInfo,omitempty"` + // Condition: The condition to activate and select this case. Empty + // means the condition is always true. The condition is evaluated + // against form parameters or session parameters. See the [conditions + // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condi + // tion). + Condition string `json:"condition,omitempty"` - // Payload: Value to append directly to QueryResult.webhook_payloads. - Payload googleapi.RawMessage `json:"payload,omitempty"` + // ForceSendFields is a list of field names (e.g. "CaseContent") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` - // SessionInfo: Information about session status. This field can be - // omitted by the webhook if it does not intend to modify session - // status. - SessionInfo *GoogleCloudDialogflowCxV3beta1SessionInfo `json:"sessionInfo,omitempty"` + // NullFields is a list of field names (e.g. "CaseContent") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} - // TargetFlow: The target flow to transition to. Format: - // `projects//locations//agents//flows/`. - TargetFlow string `json:"targetFlow,omitempty"` +func (s *GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // TargetPage: The target page to transition to. Format: - // `projects//locations//agents//flows//pages/`. - TargetPage string `json:"targetPage,omitempty"` +// GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent: +// The list of messages or conditional cases to activate for this case. +type GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent struct { + // AdditionalCases: Additional cases to be evaluated. + AdditionalCases *GoogleCloudDialogflowCxV3FulfillmentConditionalCases `json:"additionalCases,omitempty"` - // ForceSendFields is a list of field names (e.g. "FulfillmentResponse") - // to unconditionally include in API requests. By default, fields with + // Message: Returned message. + Message *GoogleCloudDialogflowCxV3ResponseMessage `json:"message,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AdditionalCases") to + // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "FulfillmentResponse") to + // NullFields is a list of field names (e.g. "AdditionalCases") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -973,30 +1499,23 @@ type GoogleCloudDialogflowCxV3beta1WebhookResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1WebhookResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1WebhookResponse +func (s *GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse: -// Represents a fulfillment response to the user. -type GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse struct { - // MergeBehavior: Merge behavior for `messages`. - // - // Possible values: - // "MERGE_BEHAVIOR_UNSPECIFIED" - Not specified. `APPEND` will be - // used. - // "APPEND" - `messages` will be appended to the list of messages - // waiting to be sent to the user. - // "REPLACE" - `messages` will replace the list of messages waiting to - // be sent to the user. - MergeBehavior string `json:"mergeBehavior,omitempty"` +// GoogleCloudDialogflowCxV3FulfillmentSetParameterAction: Setting a +// parameter value. +type GoogleCloudDialogflowCxV3FulfillmentSetParameterAction struct { + // Parameter: Display name of the parameter. + Parameter string `json:"parameter,omitempty"` - // Messages: The list of rich message responses to present to the user. - Messages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"messages,omitempty"` + // Value: The new value of the parameter. A null value clears the + // parameter. + Value interface{} `json:"value,omitempty"` - // ForceSendFields is a list of field names (e.g. "MergeBehavior") to + // ForceSendFields is a list of field names (e.g. "Parameter") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -1004,43 +1523,129 @@ type GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "MergeBehavior") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Parameter") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse +func (s *GoogleCloudDialogflowCxV3FulfillmentSetParameterAction) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3FulfillmentSetParameterAction raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2AnnotatedMessagePart: Represents a part of a -// message possibly annotated with an entity. The part can be an entity -// or purely a part of the message between two entities or message -// start/end. -type GoogleCloudDialogflowV2AnnotatedMessagePart struct { - // EntityType: The [Dialogflow system entity - // type](https://cloud.google.com/dialogflow/docs/reference/system-entiti - // es) of this message part. If this is empty, Dialogflow could not - // annotate the phrase part with a system entity. - EntityType string `json:"entityType,omitempty"` - - // FormattedValue: The [Dialogflow system entity formatted value - // ](https://cloud.google.com/dialogflow/docs/reference/system-entities) - // of this message part. For example for a system entity of type - // `@sys.unit-currency`, this may contain: { "amount": 5, "currency": - // "USD" } - FormattedValue interface{} `json:"formattedValue,omitempty"` - - // Text: A part of a message possibly annotated with an entity. - Text string `json:"text,omitempty"` - - // ForceSendFields is a list of field names (e.g. "EntityType") to +// GoogleCloudDialogflowCxV3InputAudioConfig: Instructs the speech +// recognizer on how to process the audio content. +type GoogleCloudDialogflowCxV3InputAudioConfig struct { + // AudioEncoding: Required. Audio encoding of the audio content to + // process. + // + // Possible values: + // "AUDIO_ENCODING_UNSPECIFIED" - Not specified. + // "AUDIO_ENCODING_LINEAR_16" - Uncompressed 16-bit signed + // little-endian samples (Linear PCM). + // "AUDIO_ENCODING_FLAC" - + // [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless + // Audio Codec) is the recommended encoding because it is lossless + // (therefore recognition is not compromised) and requires only about + // half the bandwidth of `LINEAR16`. `FLAC` stream encoding supports + // 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` + // are supported. + // "AUDIO_ENCODING_MULAW" - 8-bit samples that compand 14-bit audio + // samples using G.711 PCMU/mu-law. + // "AUDIO_ENCODING_AMR" - Adaptive Multi-Rate Narrowband codec. + // `sample_rate_hertz` must be 8000. + // "AUDIO_ENCODING_AMR_WB" - Adaptive Multi-Rate Wideband codec. + // `sample_rate_hertz` must be 16000. + // "AUDIO_ENCODING_OGG_OPUS" - Opus encoded audio frames in Ogg + // container ([OggOpus](https://wiki.xiph.org/OggOpus)). + // `sample_rate_hertz` must be 16000. + // "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE" - Although the use of lossy + // encodings is not recommended, if a very low bitrate encoding is + // required, `OGG_OPUS` is highly preferred over Speex encoding. The + // [Speex](https://speex.org/) encoding supported by Dialogflow API has + // a header byte in each block, as in MIME type + // `audio/x-speex-with-header-byte`. It is a variant of the RTP Speex + // encoding defined in [RFC 5574](https://tools.ietf.org/html/rfc5574). + // The stream is a sequence of blocks, one block per RTP packet. Each + // block starts with a byte containing the length of the block, in + // bytes, followed by one or more frames of Speex data, padded to an + // integral number of bytes (octets) as specified in RFC 5574. In other + // words, each RTP header is replaced with a single byte containing the + // block length. Only Speex wideband is supported. `sample_rate_hertz` + // must be 16000. + AudioEncoding string `json:"audioEncoding,omitempty"` + + // EnableWordInfo: Optional. If `true`, Dialogflow returns + // SpeechWordInfo in StreamingRecognitionResult with information about + // the recognized speech words, e.g. start and end time offsets. If + // false or unspecified, Speech doesn't return any word-level + // information. + EnableWordInfo bool `json:"enableWordInfo,omitempty"` + + // Model: Optional. Which Speech model to select for the given request. + // Select the model best suited to your domain to get best results. If a + // model is not explicitly specified, then we auto-select a model based + // on the parameters in the InputAudioConfig. If enhanced speech model + // is enabled for the agent and an enhanced version of the specified + // model for the language does not exist, then the speech is recognized + // using the standard version of the specified model. Refer to [Cloud + // Speech API + // documentation](https://cloud.google.com/speech-to-text/docs/basics#sel + // ect-model) for more details. + Model string `json:"model,omitempty"` + + // ModelVariant: Optional. Which variant of the Speech model to use. + // + // Possible values: + // "SPEECH_MODEL_VARIANT_UNSPECIFIED" - No model variant specified. In + // this case Dialogflow defaults to USE_BEST_AVAILABLE. + // "USE_BEST_AVAILABLE" - Use the best available variant of the Speech + // model that the caller is eligible for. Please see the [Dialogflow + // docs](https://cloud.google.com/dialogflow/docs/data-logging) for how + // to make your project eligible for enhanced models. + // "USE_STANDARD" - Use standard model variant even if an enhanced + // model is available. See the [Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-m + // odels) for details about enhanced models. + // "USE_ENHANCED" - Use an enhanced model variant: * If an enhanced + // variant does not exist for the given model and request language, + // Dialogflow falls back to the standard variant. The [Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-m + // odels) describes which models have enhanced variants. * If the API + // caller isn't eligible for enhanced models, Dialogflow returns an + // error. Please see the [Dialogflow + // docs](https://cloud.google.com/dialogflow/docs/data-logging) for how + // to make your project eligible. + ModelVariant string `json:"modelVariant,omitempty"` + + // PhraseHints: Optional. A list of strings containing words and phrases + // that the speech recognizer should recognize with higher likelihood. + // See [the Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/docs/basics#phr + // ase-hints) for more details. + PhraseHints []string `json:"phraseHints,omitempty"` + + // SampleRateHertz: Sample rate (in Hertz) of the audio content sent in + // the query. Refer to [Cloud Speech API + // documentation](https://cloud.google.com/speech-to-text/docs/basics) + // for more details. + SampleRateHertz int64 `json:"sampleRateHertz,omitempty"` + + // SingleUtterance: Optional. If `false` (default), recognition does not + // cease until the client closes the stream. If `true`, the recognizer + // will detect a single spoken utterance in input audio. Recognition + // ceases when it detects the audio's voice has stopped or paused. In + // this case, once a detected intent is received, the client should + // close the stream and start a new request with a new stream as needed. + // Note: This setting is relevant only for streaming methods. + SingleUtterance bool `json:"singleUtterance,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AudioEncoding") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -1048,28 +1653,80 @@ type GoogleCloudDialogflowV2AnnotatedMessagePart struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "EntityType") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "AudioEncoding") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2AnnotatedMessagePart) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2AnnotatedMessagePart +func (s *GoogleCloudDialogflowCxV3InputAudioConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3InputAudioConfig raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse: The response -// message for EntityTypes.BatchUpdateEntityTypes. -type GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse struct { - // EntityTypes: The collection of updated or created entity types. - EntityTypes []*GoogleCloudDialogflowV2EntityType `json:"entityTypes,omitempty"` +// GoogleCloudDialogflowCxV3Intent: An intent represents a user's intent +// to interact with a conversational agent. You can provide information +// for the Dialogflow API to use to match user input to an intent by +// adding training phrases (i.e., examples of user input) to your +// intent. +type GoogleCloudDialogflowCxV3Intent struct { + // Description: Optional. Human readable description for better + // understanding an intent like its scope, content, result etc. Maximum + // character limit: 140 characters. + Description string `json:"description,omitempty"` - // ForceSendFields is a list of field names (e.g. "EntityTypes") to + // DisplayName: Required. The human-readable name of the intent, unique + // within the agent. + DisplayName string `json:"displayName,omitempty"` + + // IsFallback: Indicates whether this is a fallback intent. Currently + // only default fallback intent is allowed in the agent, which is added + // upon agent creation. Adding training phrases to fallback intent is + // useful in the case of requests that are mistakenly matched, since + // training phrases assigned to fallback intents act as negative + // examples that triggers no-match event. + IsFallback bool `json:"isFallback,omitempty"` + + // Labels: Optional. The key/value metadata to label an intent. Labels + // can contain lowercase letters, digits and the symbols '-' and '_'. + // International characters are allowed, including letters from unicase + // alphabets. Keys must start with a letter. Keys and values can be no + // longer than 63 characters and no more than 128 bytes. Prefix "sys." + // is reserved for Dialogflow defined labels. Currently allowed + // Dialogflow defined labels include: * sys.head * sys.contextual The + // above labels do not require value. "sys.head" means the intent is a + // head intent. "sys.contextual" means the intent is a contextual + // intent. + Labels map[string]string `json:"labels,omitempty"` + + // Name: The unique identifier of the intent. Required for the + // Intents.UpdateIntent method. Intents.CreateIntent populates the name + // automatically. Format: `projects//locations//agents//intents/`. + Name string `json:"name,omitempty"` + + // Parameters: The collection of parameters associated with the intent. + Parameters []*GoogleCloudDialogflowCxV3IntentParameter `json:"parameters,omitempty"` + + // Priority: The priority of this intent. Higher numbers represent + // higher priorities. - If the supplied value is unspecified or 0, the + // service translates the value to 500,000, which corresponds to the + // `Normal` priority in the console. - If the supplied value is + // negative, the intent is ignored in runtime detect intent requests. + Priority int64 `json:"priority,omitempty"` + + // TrainingPhrases: The collection of training phrases the agent is + // trained on to identify the intent. + TrainingPhrases []*GoogleCloudDialogflowCxV3IntentTrainingPhrase `json:"trainingPhrases,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -1077,7 +1734,7 @@ type GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "EntityTypes") to include + // NullFields is a list of field names (e.g. "Description") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -1086,19 +1743,21 @@ type GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse +func (s *GoogleCloudDialogflowCxV3Intent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3Intent raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2BatchUpdateIntentsResponse: The response -// message for Intents.BatchUpdateIntents. -type GoogleCloudDialogflowV2BatchUpdateIntentsResponse struct { - // Intents: The collection of updated or created intents. - Intents []*GoogleCloudDialogflowV2Intent `json:"intents,omitempty"` +// GoogleCloudDialogflowCxV3IntentInput: Represents the intent to +// trigger programmatically rather than as a result of natural language +// processing. +type GoogleCloudDialogflowCxV3IntentInput struct { + // Intent: Required. The unique identifier of the intent. Format: + // `projects//locations//agents//intents/`. + Intent string `json:"intent,omitempty"` - // ForceSendFields is a list of field names (e.g. "Intents") to + // ForceSendFields is a list of field names (e.g. "Intent") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -1106,8 +1765,8 @@ type GoogleCloudDialogflowV2BatchUpdateIntentsResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Intents") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Intent") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -1115,58 +1774,37 @@ type GoogleCloudDialogflowV2BatchUpdateIntentsResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2BatchUpdateIntentsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2BatchUpdateIntentsResponse +func (s *GoogleCloudDialogflowCxV3IntentInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3IntentInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2Context: Dialogflow contexts are similar to -// natural language context. If a person says to you "they are orange", -// you need context in order to understand what "they" is referring to. -// Similarly, for Dialogflow to handle an end-user expression like that, -// it needs to be provided with context in order to correctly match an -// intent. Using contexts, you can control the flow of a conversation. -// You can configure contexts for an intent by setting input and output -// contexts, which are identified by string names. When an intent is -// matched, any configured output contexts for that intent become -// active. While any contexts are active, Dialogflow is more likely to -// match intents that are configured with input contexts that correspond -// to the currently active contexts. For more information about context, -// see the [Contexts -// guide](https://cloud.google.com/dialogflow/docs/contexts-overview). -type GoogleCloudDialogflowV2Context struct { - // LifespanCount: Optional. The number of conversational query requests - // after which the context expires. The default is `0`. If set to `0`, - // the context expires immediately. Contexts expire automatically after - // 20 minutes if there are no matching queries. - LifespanCount int64 `json:"lifespanCount,omitempty"` +// GoogleCloudDialogflowCxV3IntentParameter: Represents an intent +// parameter. +type GoogleCloudDialogflowCxV3IntentParameter struct { + // EntityType: Required. The entity type of the parameter. Format: + // `projects/-/locations/-/agents/-/entityTypes/` for system entity + // types (for example, + // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or + // `projects//locations//agents//entityTypes/` for developer entity + // types. + EntityType string `json:"entityType,omitempty"` - // Name: Required. The unique identifier of the context. Format: - // `projects//agent/sessions//contexts/`, or - // `projects//agent/environments//users//sessions//contexts/`. The - // `Context ID` is always converted to lowercase, may only contain - // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If - // `Environment ID` is not specified, we assume default 'draft' - // environment. If `User ID` is not specified, we assume default '-' - // user. The following context names are reserved for internal use by - // Dialogflow. You should not use these contexts or create contexts with - // these names: * `__system_counters__` * `*_id_dialog_context` * - // `*_dialog_params_size` - Name string `json:"name,omitempty"` + // Id: Required. The unique identifier of the parameter. This field is + // used by training phrases to annotate their parts. + Id string `json:"id,omitempty"` - // Parameters: Optional. The collection of parameters associated with - // this context. Depending on your protocol or client library language, - // this is a map, associative array, symbol table, dictionary, or JSON - // object composed of a collection of (MapKey, MapValue) pairs: - MapKey - // type: string - MapKey value: parameter name - MapValue type: - If - // parameter's entity type is a composite entity: map - Else: string or - // number, depending on parameter value type - MapValue value: - If - // parameter's entity type is a composite entity: map from composite - // entity property names to property values - Else: parameter value - Parameters googleapi.RawMessage `json:"parameters,omitempty"` + // IsList: Indicates whether the parameter represents a list of values. + IsList bool `json:"isList,omitempty"` - // ForceSendFields is a list of field names (e.g. "LifespanCount") to + // Redact: Indicates whether the parameter content is logged in text and + // audio. If it is set to true, the parameter content will be replaced + // to parameter id in both request and response. The default value is + // false. + Redact bool `json:"redact,omitempty"` + + // ForceSendFields is a list of field names (e.g. "EntityType") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -1174,59 +1812,47 @@ type GoogleCloudDialogflowV2Context struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "LifespanCount") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "EntityType") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2Context) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2Context +func (s *GoogleCloudDialogflowCxV3IntentParameter) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3IntentParameter raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2ConversationEvent: Represents a notification -// sent to Pub/Sub subscribers for conversation lifecycle events. -type GoogleCloudDialogflowV2ConversationEvent struct { - // Conversation: The unique identifier of the conversation this - // notification refers to. Format: `projects//conversations/`. - Conversation string `json:"conversation,omitempty"` +// GoogleCloudDialogflowCxV3IntentTrainingPhrase: Represents an example +// that the agent is trained on to identify the intent. +type GoogleCloudDialogflowCxV3IntentTrainingPhrase struct { + // Id: Output only. The unique identifier of the training phrase. + Id string `json:"id,omitempty"` - // ErrorStatus: More detailed information about an error. Only set for - // type UNRECOVERABLE_ERROR_IN_PHONE_CALL. - ErrorStatus *GoogleRpcStatus `json:"errorStatus,omitempty"` - - // NewMessagePayload: Payload of NEW_MESSAGE event. - NewMessagePayload *GoogleCloudDialogflowV2Message `json:"newMessagePayload,omitempty"` + // Parts: Required. The ordered list of training phrase parts. The parts + // are concatenated in order to form the training phrase. Note: The API + // does not automatically annotate training phrases like the Dialogflow + // Console does. Note: Do not forget to include whitespace at part + // boundaries, so the training phrase is well formatted when the parts + // are concatenated. If the training phrase does not need to be + // annotated with parameters, you just need a single part with only the + // Part.text field set. If you want to annotate the training phrase, you + // must create multiple parts, where the fields of each part are + // populated in one of two ways: - `Part.text` is set to a part of the + // phrase that has no parameters. - `Part.text` is set to a part of the + // phrase that you want to annotate, and the `parameter_id` field is + // set. + Parts []*GoogleCloudDialogflowCxV3IntentTrainingPhrasePart `json:"parts,omitempty"` - // Type: The type of the event that this notification refers to. - // - // Possible values: - // "TYPE_UNSPECIFIED" - Type not set. - // "CONVERSATION_STARTED" - A new conversation has been opened. This - // is fired when a telephone call is answered, or a conversation is - // created via the API. - // "CONVERSATION_FINISHED" - An existing conversation has closed. This - // is fired when a telephone call is terminated, or a conversation is - // closed via the API. - // "HUMAN_INTERVENTION_NEEDED" - An existing conversation has received - // notification from Dialogflow that human intervention is required. - // "NEW_MESSAGE" - An existing conversation has received a new - // message, either from API or telephony. It is configured in - // ConversationProfile.new_message_event_notification_config - // "UNRECOVERABLE_ERROR" - Unrecoverable error during a telephone - // call. In general non-recoverable errors only occur if something was - // misconfigured in the ConversationProfile corresponding to the call. - // After a non-recoverable error, Dialogflow may stop responding. We - // don't fire this event: * in an API call because we can directly - // return the error, or, * when we can recover from an error. - Type string `json:"type,omitempty"` + // RepeatCount: Indicates how many times this example was added to the + // intent. + RepeatCount int64 `json:"repeatCount,omitempty"` - // ForceSendFields is a list of field names (e.g. "Conversation") to + // ForceSendFields is a list of field names (e.g. "Id") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -1234,115 +1860,71 @@ type GoogleCloudDialogflowV2ConversationEvent struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Conversation") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Id") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2ConversationEvent) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2ConversationEvent +func (s *GoogleCloudDialogflowCxV3IntentTrainingPhrase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3IntentTrainingPhrase raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2EntityType: Each intent parameter has a type, -// called the entity type, which dictates exactly how data from an -// end-user expression is extracted. Dialogflow provides predefined -// system entities that can match many common types of data. For -// example, there are system entities for matching dates, times, colors, -// email addresses, and so on. You can also create your own custom -// entities for matching custom data. For example, you could define a -// vegetable entity that can match the types of vegetables available for -// purchase with a grocery store agent. For more information, see the -// [Entity -// guide](https://cloud.google.com/dialogflow/docs/entities-overview). -type GoogleCloudDialogflowV2EntityType struct { - // AutoExpansionMode: Optional. Indicates whether the entity type can be - // automatically expanded. - // - // Possible values: - // "AUTO_EXPANSION_MODE_UNSPECIFIED" - Auto expansion disabled for the - // entity. - // "AUTO_EXPANSION_MODE_DEFAULT" - Allows an agent to recognize values - // that have not been explicitly listed in the entity. - AutoExpansionMode string `json:"autoExpansionMode,omitempty"` - - // DisplayName: Required. The name of the entity type. - DisplayName string `json:"displayName,omitempty"` - - // EnableFuzzyExtraction: Optional. Enables fuzzy entity extraction - // during classification. - EnableFuzzyExtraction bool `json:"enableFuzzyExtraction,omitempty"` - - // Entities: Optional. The collection of entity entries associated with - // the entity type. - Entities []*GoogleCloudDialogflowV2EntityTypeEntity `json:"entities,omitempty"` - - // Kind: Required. Indicates the kind of entity type. - // - // Possible values: - // "KIND_UNSPECIFIED" - Not specified. This value should be never - // used. - // "KIND_MAP" - Map entity types allow mapping of a group of synonyms - // to a reference value. - // "KIND_LIST" - List entity types contain a set of entries that do - // not map to reference values. However, list entity types can contain - // references to other entity types (with or without aliases). - // "KIND_REGEXP" - Regexp entity types allow to specify regular - // expressions in entries values. - Kind string `json:"kind,omitempty"` +// GoogleCloudDialogflowCxV3IntentTrainingPhrasePart: Represents a part +// of a training phrase. +type GoogleCloudDialogflowCxV3IntentTrainingPhrasePart struct { + // ParameterId: The parameter used to annotate this part of the training + // phrase. This field is required for annotated parts of the training + // phrase. + ParameterId string `json:"parameterId,omitempty"` - // Name: The unique identifier of the entity type. Required for - // EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes - // methods. Format: `projects//agent/entityTypes/`. - Name string `json:"name,omitempty"` + // Text: Required. The text for this part. + Text string `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. "AutoExpansionMode") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "ParameterId") to + // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AutoExpansionMode") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "ParameterId") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2EntityType) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2EntityType +func (s *GoogleCloudDialogflowCxV3IntentTrainingPhrasePart) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3IntentTrainingPhrasePart raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2EntityTypeEntity: An **entity entry** for an -// associated entity type. -type GoogleCloudDialogflowV2EntityTypeEntity struct { - // Synonyms: Required. A collection of value synonyms. For example, if - // the entity type is *vegetable*, and `value` is *scallions*, a synonym - // could be *green onions*. For `KIND_LIST` entity types: * This - // collection must contain exactly one synonym equal to `value`. - Synonyms []string `json:"synonyms,omitempty"` +// GoogleCloudDialogflowCxV3ListAgentsResponse: The response message for +// Agents.ListAgents. +type GoogleCloudDialogflowCxV3ListAgentsResponse struct { + // Agents: The list of agents. There will be a maximum number of items + // returned based on the page_size field in the request. + Agents []*GoogleCloudDialogflowCxV3Agent `json:"agents,omitempty"` - // Value: Required. The primary value associated with this entity entry. - // For example, if the entity type is *vegetable*, the value could be - // *scallions*. For `KIND_MAP` entity types: * A reference value to be - // used in place of synonyms. For `KIND_LIST` entity types: * A string - // that can contain references to other entity types (with or without - // aliases). - Value string `json:"value,omitempty"` + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // ForceSendFields is a list of field names (e.g. "Synonyms") to + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Agents") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -1350,8 +1932,8 @@ type GoogleCloudDialogflowV2EntityTypeEntity struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Synonyms") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Agents") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -1359,40 +1941,28 @@ type GoogleCloudDialogflowV2EntityTypeEntity struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2EntityTypeEntity) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2EntityTypeEntity +func (s *GoogleCloudDialogflowCxV3ListAgentsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ListAgentsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2EventInput: Events allow for matching intents -// by event name instead of the natural language input. For instance, -// input `` can trigger a personalized welcome response. The parameter -// `name` may be used by the agent in the response: "Hello -// #welcome_event.name! What can I do for you today?". -type GoogleCloudDialogflowV2EventInput struct { - // LanguageCode: Required. The language of this query. See [Language - // Support](https://cloud.google.com/dialogflow/docs/reference/language) - // for a list of the currently supported language codes. Note that - // queries in the same session do not necessarily need to specify the - // same language. - LanguageCode string `json:"languageCode,omitempty"` +// GoogleCloudDialogflowCxV3ListEntityTypesResponse: The response +// message for EntityTypes.ListEntityTypes. +type GoogleCloudDialogflowCxV3ListEntityTypesResponse struct { + // EntityTypes: The list of entity types. There will be a maximum number + // of items returned based on the page_size field in the request. + EntityTypes []*GoogleCloudDialogflowCxV3EntityType `json:"entityTypes,omitempty"` - // Name: Required. The unique identifier of the event. - Name string `json:"name,omitempty"` + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // Parameters: The collection of parameters associated with the event. - // Depending on your protocol or client library language, this is a map, - // associative array, symbol table, dictionary, or JSON object composed - // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: string or number, depending - // on parameter value type - MapValue value: - If parameter's entity - // type is a composite entity: map from composite entity property names - // to property values - Else: parameter value - Parameters googleapi.RawMessage `json:"parameters,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "LanguageCode") to + // ForceSendFields is a list of field names (e.g. "EntityTypes") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -1400,7 +1970,7 @@ type GoogleCloudDialogflowV2EventInput struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "LanguageCode") to include + // NullFields is a list of field names (e.g. "EntityTypes") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -1409,24 +1979,30 @@ type GoogleCloudDialogflowV2EventInput struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2EventInput) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2EventInput +func (s *GoogleCloudDialogflowCxV3ListEntityTypesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ListEntityTypesResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2ExportAgentResponse: The response message for -// Agents.ExportAgent. -type GoogleCloudDialogflowV2ExportAgentResponse struct { - // AgentContent: Zip compressed raw byte content for agent. - AgentContent string `json:"agentContent,omitempty"` +// GoogleCloudDialogflowCxV3ListEnvironmentsResponse: The response +// message for Environments.ListEnvironments. +type GoogleCloudDialogflowCxV3ListEnvironmentsResponse struct { + // Environments: The list of environments. There will be a maximum + // number of items returned based on the page_size field in the request. + // The list may in some cases be empty or contain fewer entries than + // page_size even if this isn't the last page. + Environments []*GoogleCloudDialogflowCxV3Environment `json:"environments,omitempty"` - // AgentUri: The URI to a file containing the exported agent. This field - // is populated only if `agent_uri` is specified in - // `ExportAgentRequest`. - AgentUri string `json:"agentUri,omitempty"` + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // ForceSendFields is a list of field names (e.g. "AgentContent") to + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Environments") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -1434,7 +2010,7 @@ type GoogleCloudDialogflowV2ExportAgentResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AgentContent") to include + // NullFields is a list of field names (e.g. "Environments") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -1443,136 +2019,66 @@ type GoogleCloudDialogflowV2ExportAgentResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2ExportAgentResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2ExportAgentResponse +func (s *GoogleCloudDialogflowCxV3ListEnvironmentsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ListEnvironmentsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2Intent: An intent categorizes an end-user's -// intention for one conversation turn. For each agent, you define many -// intents, where your combined intents can handle a complete -// conversation. When an end-user writes or says something, referred to -// as an end-user expression or end-user input, Dialogflow matches the -// end-user input to the best intent in your agent. Matching an intent -// is also known as intent classification. For more information, see the -// [intent -// guide](https://cloud.google.com/dialogflow/docs/intents-overview). -type GoogleCloudDialogflowV2Intent struct { - // Action: Optional. The name of the action associated with the intent. - // Note: The action name must not contain whitespaces. - Action string `json:"action,omitempty"` +// GoogleCloudDialogflowCxV3ListFlowsResponse: The response message for +// Flows.ListFlows. +type GoogleCloudDialogflowCxV3ListFlowsResponse struct { + // Flows: The list of flows. There will be a maximum number of items + // returned based on the page_size field in the request. + Flows []*GoogleCloudDialogflowCxV3Flow `json:"flows,omitempty"` - // DefaultResponsePlatforms: Optional. The list of platforms for which - // the first responses will be copied from the messages in - // PLATFORM_UNSPECIFIED (i.e. default platform). - // - // Possible values: - // "PLATFORM_UNSPECIFIED" - Default platform. - // "FACEBOOK" - Facebook. - // "SLACK" - Slack. - // "TELEGRAM" - Telegram. - // "KIK" - Kik. - // "SKYPE" - Skype. - // "LINE" - Line. - // "VIBER" - Viber. - // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook - // format](https://developers.google.com/assistant/actions/build/json/dia - // logflow-webhook-json) - // "GOOGLE_HANGOUTS" - Google Hangouts. - DefaultResponsePlatforms []string `json:"defaultResponsePlatforms,omitempty"` + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // DisplayName: Required. The name of this intent. - DisplayName string `json:"displayName,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // Events: Optional. The collection of event names that trigger the - // intent. If the collection of input contexts is not empty, all of the - // contexts must be present in the active user session for an event to - // trigger this intent. Event names are limited to 150 characters. - Events []string `json:"events,omitempty"` + // ForceSendFields is a list of field names (e.g. "Flows") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` - // FollowupIntentInfo: Read-only. Information about all followup intents - // that have this intent as a direct or indirect parent. We populate - // this field only in the output. - FollowupIntentInfo []*GoogleCloudDialogflowV2IntentFollowupIntentInfo `json:"followupIntentInfo,omitempty"` + // NullFields is a list of field names (e.g. "Flows") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} - // InputContextNames: Optional. The list of context names required for - // this intent to be triggered. Format: - // `projects//agent/sessions/-/contexts/`. - InputContextNames []string `json:"inputContextNames,omitempty"` - - // IsFallback: Optional. Indicates whether this is a fallback intent. - IsFallback bool `json:"isFallback,omitempty"` - - // Messages: Optional. The collection of rich messages corresponding to - // the `Response` field in the Dialogflow console. - Messages []*GoogleCloudDialogflowV2IntentMessage `json:"messages,omitempty"` - - // MlDisabled: Optional. Indicates whether Machine Learning is disabled - // for the intent. Note: If `ml_disabled` setting is set to true, then - // this intent is not taken into account during inference in `ML ONLY` - // match mode. Also, auto-markup in the UI is turned off. - MlDisabled bool `json:"mlDisabled,omitempty"` - - // Name: Optional. The unique identifier of this intent. Required for - // Intents.UpdateIntent and Intents.BatchUpdateIntents methods. Format: - // `projects//agent/intents/`. - Name string `json:"name,omitempty"` - - // OutputContexts: Optional. The collection of contexts that are - // activated when the intent is matched. Context messages in this - // collection should not set the parameters field. Setting the - // `lifespan_count` to 0 will reset the context when the intent is - // matched. Format: `projects//agent/sessions/-/contexts/`. - OutputContexts []*GoogleCloudDialogflowV2Context `json:"outputContexts,omitempty"` - - // Parameters: Optional. The collection of parameters associated with - // the intent. - Parameters []*GoogleCloudDialogflowV2IntentParameter `json:"parameters,omitempty"` - - // ParentFollowupIntentName: Read-only after creation. The unique - // identifier of the parent intent in the chain of followup intents. You - // can set this field when creating an intent, for example with - // CreateIntent or BatchUpdateIntents, in order to make this intent a - // followup intent. It identifies the parent followup intent. Format: - // `projects//agent/intents/`. - ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` - - // Priority: Optional. The priority of this intent. Higher numbers - // represent higher priorities. - If the supplied value is unspecified - // or 0, the service translates the value to 500,000, which corresponds - // to the `Normal` priority in the console. - If the supplied value is - // negative, the intent is ignored in runtime detect intent requests. - Priority int64 `json:"priority,omitempty"` - - // ResetContexts: Optional. Indicates whether to delete all contexts in - // the current session when this intent is matched. - ResetContexts bool `json:"resetContexts,omitempty"` +func (s *GoogleCloudDialogflowCxV3ListFlowsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ListFlowsResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // RootFollowupIntentName: Read-only. The unique identifier of the root - // intent in the chain of followup intents. It identifies the correct - // followup intents chain for this intent. We populate this field only - // in the output. Format: `projects//agent/intents/`. - RootFollowupIntentName string `json:"rootFollowupIntentName,omitempty"` +// GoogleCloudDialogflowCxV3ListIntentsResponse: The response message +// for Intents.ListIntents. +type GoogleCloudDialogflowCxV3ListIntentsResponse struct { + // Intents: The list of intents. There will be a maximum number of items + // returned based on the page_size field in the request. + Intents []*GoogleCloudDialogflowCxV3Intent `json:"intents,omitempty"` - // TrainingPhrases: Optional. The collection of examples that the agent - // is trained on. - TrainingPhrases []*GoogleCloudDialogflowV2IntentTrainingPhrase `json:"trainingPhrases,omitempty"` + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // WebhookState: Optional. Indicates whether webhooks are enabled for - // the intent. - // - // Possible values: - // "WEBHOOK_STATE_UNSPECIFIED" - Webhook is disabled in the agent and - // in the intent. - // "WEBHOOK_STATE_ENABLED" - Webhook is enabled in the agent and in - // the intent. - // "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING" - Webhook is enabled in - // the agent and in the intent. Also, each slot filling prompt is - // forwarded to the webhook. - WebhookState string `json:"webhookState,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "Action") to + // ForceSendFields is a list of field names (e.g. "Intents") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -1580,8 +2086,8 @@ type GoogleCloudDialogflowV2Intent struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Action") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Intents") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -1589,115 +2095,65 @@ type GoogleCloudDialogflowV2Intent struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2Intent) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2Intent +func (s *GoogleCloudDialogflowCxV3ListIntentsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ListIntentsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentFollowupIntentInfo: Represents a single -// followup intent in the chain. -type GoogleCloudDialogflowV2IntentFollowupIntentInfo struct { - // FollowupIntentName: The unique identifier of the followup intent. - // Format: `projects//agent/intents/`. - FollowupIntentName string `json:"followupIntentName,omitempty"` +// GoogleCloudDialogflowCxV3ListPagesResponse: The response message for +// Pages.ListPages. +type GoogleCloudDialogflowCxV3ListPagesResponse struct { + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // ParentFollowupIntentName: The unique identifier of the followup - // intent's parent. Format: `projects//agent/intents/`. - ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` + // Pages: The list of pages. There will be a maximum number of items + // returned based on the page_size field in the request. + Pages []*GoogleCloudDialogflowCxV3Page `json:"pages,omitempty"` - // ForceSendFields is a list of field names (e.g. "FollowupIntentName") - // to unconditionally include in API requests. By default, fields with + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "NextPageToken") to + // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "FollowupIntentName") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "NextPageToken") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentFollowupIntentInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentFollowupIntentInfo +func (s *GoogleCloudDialogflowCxV3ListPagesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ListPagesResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessage: A rich response message. -// Corresponds to the intent `Response` field in the Dialogflow console. -// For more information, see [Rich response -// messages](https://cloud.google.com/dialogflow/docs/intents-rich-messag -// es). -type GoogleCloudDialogflowV2IntentMessage struct { - // BasicCard: The basic card response for Actions on Google. - BasicCard *GoogleCloudDialogflowV2IntentMessageBasicCard `json:"basicCard,omitempty"` - - // BrowseCarouselCard: Browse carousel card for Actions on Google. - BrowseCarouselCard *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard `json:"browseCarouselCard,omitempty"` - - // Card: The card response. - Card *GoogleCloudDialogflowV2IntentMessageCard `json:"card,omitempty"` - - // CarouselSelect: The carousel card response for Actions on Google. - CarouselSelect *GoogleCloudDialogflowV2IntentMessageCarouselSelect `json:"carouselSelect,omitempty"` - - // Image: The image response. - Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` - - // LinkOutSuggestion: The link out suggestion chip for Actions on - // Google. - LinkOutSuggestion *GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion `json:"linkOutSuggestion,omitempty"` - - // ListSelect: The list card response for Actions on Google. - ListSelect *GoogleCloudDialogflowV2IntentMessageListSelect `json:"listSelect,omitempty"` - - // MediaContent: The media content card for Actions on Google. - MediaContent *GoogleCloudDialogflowV2IntentMessageMediaContent `json:"mediaContent,omitempty"` - - // Payload: A custom platform-specific response. - Payload googleapi.RawMessage `json:"payload,omitempty"` - - // Platform: Optional. The platform that this message is intended for. - // - // Possible values: - // "PLATFORM_UNSPECIFIED" - Default platform. - // "FACEBOOK" - Facebook. - // "SLACK" - Slack. - // "TELEGRAM" - Telegram. - // "KIK" - Kik. - // "SKYPE" - Skype. - // "LINE" - Line. - // "VIBER" - Viber. - // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook - // format](https://developers.google.com/assistant/actions/build/json/dia - // logflow-webhook-json) - // "GOOGLE_HANGOUTS" - Google Hangouts. - Platform string `json:"platform,omitempty"` - - // QuickReplies: The quick replies response. - QuickReplies *GoogleCloudDialogflowV2IntentMessageQuickReplies `json:"quickReplies,omitempty"` - - // SimpleResponses: The voice and text-only responses for Actions on - // Google. - SimpleResponses *GoogleCloudDialogflowV2IntentMessageSimpleResponses `json:"simpleResponses,omitempty"` - - // Suggestions: The suggestion chips for Actions on Google. - Suggestions *GoogleCloudDialogflowV2IntentMessageSuggestions `json:"suggestions,omitempty"` +// GoogleCloudDialogflowCxV3ListSecuritySettingsResponse: The response +// message for SecuritySettings.ListSecuritySettings. +type GoogleCloudDialogflowCxV3ListSecuritySettingsResponse struct { + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // TableCard: Table card for Actions on Google. - TableCard *GoogleCloudDialogflowV2IntentMessageTableCard `json:"tableCard,omitempty"` + // SecuritySettings: The list of security settings. + SecuritySettings []*GoogleCloudDialogflowCxV3SecuritySettings `json:"securitySettings,omitempty"` - // Text: The text response. - Text *GoogleCloudDialogflowV2IntentMessageText `json:"text,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "BasicCard") to + // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -1705,41 +2161,38 @@ type GoogleCloudDialogflowV2IntentMessage struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "BasicCard") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "NextPageToken") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessage) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessage +func (s *GoogleCloudDialogflowCxV3ListSecuritySettingsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ListSecuritySettingsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageBasicCard: The basic card -// message. Useful for displaying information. -type GoogleCloudDialogflowV2IntentMessageBasicCard struct { - // Buttons: Optional. The collection of card buttons. - Buttons []*GoogleCloudDialogflowV2IntentMessageBasicCardButton `json:"buttons,omitempty"` - - // FormattedText: Required, unless image is present. The body text of - // the card. - FormattedText string `json:"formattedText,omitempty"` - - // Image: Optional. The image for the card. - Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` +// GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse: The response +// message for SessionEntityTypes.ListSessionEntityTypes. +type GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse struct { + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // Subtitle: Optional. The subtitle of the card. - Subtitle string `json:"subtitle,omitempty"` + // SessionEntityTypes: The list of session entity types. There will be a + // maximum number of items returned based on the page_size field in the + // request. + SessionEntityTypes []*GoogleCloudDialogflowCxV3SessionEntityType `json:"sessionEntityTypes,omitempty"` - // Title: Optional. The title of the card. - Title string `json:"title,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "Buttons") to + // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -1747,32 +2200,39 @@ type GoogleCloudDialogflowV2IntentMessageBasicCard struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Buttons") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "NextPageToken") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageBasicCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageBasicCard +func (s *GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageBasicCardButton: The button -// object that appears at the bottom of a card. -type GoogleCloudDialogflowV2IntentMessageBasicCardButton struct { - // OpenUriAction: Required. Action to take when a user taps on the - // button. - OpenUriAction *GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction `json:"openUriAction,omitempty"` +// GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse: The +// response message for TransitionRouteGroups.ListTransitionRouteGroups. +type GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse struct { + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // Title: Required. The title of the button. - Title string `json:"title,omitempty"` + // TransitionRouteGroups: The list of transition route groups. There + // will be a maximum number of items returned based on the page_size + // field in the request. The list may in some cases be empty or contain + // fewer entries than page_size even if this isn't the last page. + TransitionRouteGroups []*GoogleCloudDialogflowCxV3TransitionRouteGroup `json:"transitionRouteGroups,omitempty"` - // ForceSendFields is a list of field names (e.g. "OpenUriAction") to + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -1780,7 +2240,7 @@ type GoogleCloudDialogflowV2IntentMessageBasicCardButton struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "OpenUriAction") to include + // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -1789,115 +2249,141 @@ type GoogleCloudDialogflowV2IntentMessageBasicCardButton struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageBasicCardButton) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageBasicCardButton +func (s *GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction: -// Opens the given URI. -type GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction struct { - // Uri: Required. The HTTP or HTTPS scheme URI. - Uri string `json:"uri,omitempty"` +// GoogleCloudDialogflowCxV3ListVersionsResponse: The response message +// for Versions.ListVersions. +type GoogleCloudDialogflowCxV3ListVersionsResponse struct { + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // ForceSendFields is a list of field names (e.g. "Uri") to - // unconditionally include in API requests. By default, fields with + // Versions: A list of versions. There will be a maximum number of items + // returned based on the page_size field in the request. The list may in + // some cases be empty or contain fewer entries than page_size even if + // this isn't the last page. + Versions []*GoogleCloudDialogflowCxV3Version `json:"versions,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "NextPageToken") to + // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Uri") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "NextPageToken") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction +func (s *GoogleCloudDialogflowCxV3ListVersionsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ListVersionsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard: Browse -// Carousel Card for Actions on Google. -// https://developers.google.com/actions/assistant/responses#browsing_carousel -type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard struct { - // ImageDisplayOptions: Optional. Settings for displaying the image. - // Applies to every image in items. - // - // Possible values: - // "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED" - Fill the gaps between the - // image and the image container with gray bars. - // "GRAY" - Fill the gaps between the image and the image container - // with gray bars. - // "WHITE" - Fill the gaps between the image and the image container - // with white bars. - // "CROPPED" - Image is scaled such that the image width and height - // match or exceed the container dimensions. This may crop the top and - // bottom of the image if the scaled image height is greater than the - // container height, or crop the left and right of the image if the - // scaled image width is greater than the container width. This is - // similar to "Zoom Mode" on a widescreen TV when playing a 4:3 video. - // "BLURRED_BACKGROUND" - Pad the gaps between image and image frame - // with a blurred copy of the same image. - ImageDisplayOptions string `json:"imageDisplayOptions,omitempty"` +// GoogleCloudDialogflowCxV3ListWebhooksResponse: The response message +// for Webhooks.ListWebhooks. +type GoogleCloudDialogflowCxV3ListWebhooksResponse struct { + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // Items: Required. List of items in the Browse Carousel Card. Minimum - // of two items, maximum of ten. - Items []*GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem `json:"items,omitempty"` + // Webhooks: The list of webhooks. There will be a maximum number of + // items returned based on the page_size field in the request. + Webhooks []*GoogleCloudDialogflowCxV3Webhook `json:"webhooks,omitempty"` - // ForceSendFields is a list of field names (e.g. "ImageDisplayOptions") - // to unconditionally include in API requests. By default, fields with + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "NextPageToken") to + // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ImageDisplayOptions") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "NextPageToken") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard +func (s *GoogleCloudDialogflowCxV3ListWebhooksResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ListWebhooksResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCa -// rdItem: Browsing carousel tile -type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem struct { - // Description: Optional. Description of the carousel item. Maximum of - // four lines of text. - Description string `json:"description,omitempty"` +// GoogleCloudDialogflowCxV3LoadVersionRequest: The request message for +// Versions.LoadVersion. +type GoogleCloudDialogflowCxV3LoadVersionRequest struct { + // AllowOverrideAgentResources: This field is used to prevent accidental + // overwrite of other agent resources in the draft version, which can + // potentially impact other flow's behavior. If + // `allow_override_agent_resources` is false, conflicted agent-level + // resources will not be overridden (i.e. intents, entities, webhooks). + AllowOverrideAgentResources bool `json:"allowOverrideAgentResources,omitempty"` - // Footer: Optional. Text that appears at the bottom of the Browse - // Carousel Card. Maximum of one line of text. - Footer string `json:"footer,omitempty"` + // ForceSendFields is a list of field names (e.g. + // "AllowOverrideAgentResources") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` - // Image: Optional. Hero image for the carousel item. - Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` + // NullFields is a list of field names (e.g. + // "AllowOverrideAgentResources") to include in API requests with the + // JSON null value. By default, fields with empty values are omitted + // from API requests. However, any field with an empty value appearing + // in NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. + NullFields []string `json:"-"` +} - // OpenUriAction: Required. Action to present to the user. - OpenUriAction *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction `json:"openUriAction,omitempty"` +func (s *GoogleCloudDialogflowCxV3LoadVersionRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3LoadVersionRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // Title: Required. Title of the carousel item. Maximum of two lines of - // text. - Title string `json:"title,omitempty"` +// GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse: The +// response message for Environments.LookupEnvironmentHistory. +type GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse struct { + // Environments: Represents a list of snapshots for an environment. Time + // of the snapshots is stored in `update_time`. + Environments []*GoogleCloudDialogflowCxV3Environment `json:"environments,omitempty"` - // ForceSendFields is a list of field names (e.g. "Description") to + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Environments") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -1905,7 +2391,7 @@ type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardIte // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Description") to include + // NullFields is a list of field names (e.g. "Environments") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -1914,29 +2400,61 @@ type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardIte NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem +func (s *GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCa -// rdItemOpenUrlAction: Actions on Google action to open a given url. -type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction struct { - // Url: Required. URL - Url string `json:"url,omitempty"` +// GoogleCloudDialogflowCxV3Match: Represents one match result of +// MatchIntent. +type GoogleCloudDialogflowCxV3Match struct { + // Confidence: The confidence of this match. Values range from 0.0 + // (completely uncertain) to 1.0 (completely certain). This value is for + // informational purpose only and is only used to help match the best + // intent within the classification threshold. This value may change for + // the same end-user expression at any time due to a model retraining or + // change in implementation. + Confidence float64 `json:"confidence,omitempty"` - // UrlTypeHint: Optional. Specifies the type of viewer that is used when - // opening the URL. Defaults to opening via web browser. + // Event: The event that matched the query. Only filled for `EVENT` + // match type. + Event string `json:"event,omitempty"` + + // Intent: The Intent that matched the query. Some, not all fields are + // filled in this message, including but not limited to: `name` and + // `display_name`. Only filled for `INTENT` match type. + Intent *GoogleCloudDialogflowCxV3Intent `json:"intent,omitempty"` + + // MatchType: Type of this Match. // // Possible values: - // "URL_TYPE_HINT_UNSPECIFIED" - Unspecified - // "AMP_ACTION" - Url would be an amp action - // "AMP_CONTENT" - URL that points directly to AMP content, or to a - // canonical URL which refers to AMP content via . - UrlTypeHint string `json:"urlTypeHint,omitempty"` + // "MATCH_TYPE_UNSPECIFIED" - Not specified. Should never be used. + // "INTENT" - The query was matched to an intent. + // "DIRECT_INTENT" - The query directly triggered an intent. + // "PARAMETER_FILLING" - The query was used for parameter filling. + // "NO_MATCH" - No match was found for the query. + // "NO_INPUT" - Indicates an empty query. + // "EVENT" - The query directly triggered an event. + MatchType string `json:"matchType,omitempty"` + + // Parameters: The collection of parameters extracted from the query. + // Depending on your protocol or client library language, this is a map, + // associative array, symbol table, dictionary, or JSON object composed + // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: string or number, depending + // on parameter value type - MapValue value: - If parameter's entity + // type is a composite entity: map from composite entity property names + // to property values - Else: parameter value + Parameters googleapi.RawMessage `json:"parameters,omitempty"` - // ForceSendFields is a list of field names (e.g. "Url") to + // ResolvedInput: Final text input which was matched during MatchIntent. + // This value can be different from original input sent in request + // because of spelling correction or other processing. + ResolvedInput string `json:"resolvedInput,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Confidence") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -1944,8 +2462,8 @@ type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardIte // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Url") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Confidence") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -1953,27 +2471,35 @@ type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardIte NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction +func (s *GoogleCloudDialogflowCxV3Match) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3Match raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageCard: The card response message. -type GoogleCloudDialogflowV2IntentMessageCard struct { - // Buttons: Optional. The collection of card buttons. - Buttons []*GoogleCloudDialogflowV2IntentMessageCardButton `json:"buttons,omitempty"` - - // ImageUri: Optional. The public URI to an image file for the card. - ImageUri string `json:"imageUri,omitempty"` +func (s *GoogleCloudDialogflowCxV3Match) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowCxV3Match + var s1 struct { + Confidence gensupport.JSONFloat64 `json:"confidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Confidence = float64(s1.Confidence) + return nil +} - // Subtitle: Optional. The subtitle of the card. - Subtitle string `json:"subtitle,omitempty"` +// GoogleCloudDialogflowCxV3MatchIntentRequest: Request of MatchIntent. +type GoogleCloudDialogflowCxV3MatchIntentRequest struct { + // QueryInput: Required. The input specification. + QueryInput *GoogleCloudDialogflowCxV3QueryInput `json:"queryInput,omitempty"` - // Title: Optional. The title of the card. - Title string `json:"title,omitempty"` + // QueryParams: The parameters of this query. + QueryParams *GoogleCloudDialogflowCxV3QueryParameters `json:"queryParams,omitempty"` - // ForceSendFields is a list of field names (e.g. "Buttons") to + // ForceSendFields is a list of field names (e.g. "QueryInput") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -1981,7 +2507,7 @@ type GoogleCloudDialogflowV2IntentMessageCard struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Buttons") to include in + // NullFields is a list of field names (e.g. "QueryInput") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -1990,23 +2516,44 @@ type GoogleCloudDialogflowV2IntentMessageCard struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageCard +func (s *GoogleCloudDialogflowCxV3MatchIntentRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3MatchIntentRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageCardButton: Contains information -// about a button. -type GoogleCloudDialogflowV2IntentMessageCardButton struct { - // Postback: Optional. The text to send back to the Dialogflow API or a - // URI to open. - Postback string `json:"postback,omitempty"` +// GoogleCloudDialogflowCxV3MatchIntentResponse: Response of +// MatchIntent. +type GoogleCloudDialogflowCxV3MatchIntentResponse struct { + // CurrentPage: The current Page. Some, not all fields are filled in + // this message, including but not limited to `name` and `display_name`. + CurrentPage *GoogleCloudDialogflowCxV3Page `json:"currentPage,omitempty"` - // Text: Optional. The text to show on the button. + // Matches: Match results, if more than one, ordered descendingly by the + // confidence we have that the particular intent matches the query. + Matches []*GoogleCloudDialogflowCxV3Match `json:"matches,omitempty"` + + // Text: If natural language text was provided as input, this field will + // contain a copy of the text. Text string `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. "Postback") to + // Transcript: If natural language speech audio was provided as input, + // this field will contain the trascript for the audio. + Transcript string `json:"transcript,omitempty"` + + // TriggerEvent: If an event was provided as input, this field will + // contain a copy of the event name. + TriggerEvent string `json:"triggerEvent,omitempty"` + + // TriggerIntent: If an intent was provided as input, this field will + // contain a copy of the intent identifier. + TriggerIntent string `json:"triggerIntent,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "CurrentPage") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -2014,66 +2561,128 @@ type GoogleCloudDialogflowV2IntentMessageCardButton struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Postback") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "CurrentPage") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageCardButton) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageCardButton +func (s *GoogleCloudDialogflowCxV3MatchIntentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3MatchIntentResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageCarouselSelect: The card for -// presenting a carousel of options to select from. -type GoogleCloudDialogflowV2IntentMessageCarouselSelect struct { - // Items: Required. Carousel items. - Items []*GoogleCloudDialogflowV2IntentMessageCarouselSelectItem `json:"items,omitempty"` +// GoogleCloudDialogflowCxV3NluSettings: Settings related to NLU. +type GoogleCloudDialogflowCxV3NluSettings struct { + // ClassificationThreshold: To filter out false positive results and + // still get variety in matched natural language inputs for your agent, + // you can tune the machine learning classification threshold. If the + // returned score value is less than the threshold value, then a + // no-match event will be triggered. The score values range from 0.0 + // (completely uncertain) to 1.0 (completely certain). If set to 0.0, + // the default of 0.3 is used. + ClassificationThreshold float64 `json:"classificationThreshold,omitempty"` - // ForceSendFields is a list of field names (e.g. "Items") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. + // ModelTrainingMode: Indicates NLU model training mode. + // + // Possible values: + // "MODEL_TRAINING_MODE_UNSPECIFIED" - Not specified. + // `MODEL_TRAINING_MODE_AUTOMATIC` will be used. + // "MODEL_TRAINING_MODE_AUTOMATIC" - NLU model training is + // automatically triggered when a flow gets modified. User can also + // manually trigger model training in this mode. + // "MODEL_TRAINING_MODE_MANUAL" - User needs to manually trigger NLU + // model training. Best for large flows whose models take long time to + // train. + ModelTrainingMode string `json:"modelTrainingMode,omitempty"` + + // ModelType: Indicates the type of NLU model. + // + // Possible values: + // "MODEL_TYPE_UNSPECIFIED" - Not specified. `MODEL_TYPE_STANDARD` + // will be used. + // "MODEL_TYPE_STANDARD" - Use standard NLU model. + // "MODEL_TYPE_ADVANCED" - Use advanced NLU model. + ModelType string `json:"modelType,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "ClassificationThreshold") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Items") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "ClassificationThreshold") + // to include in API requests with the JSON null value. By default, + // fields with empty values are omitted from API requests. However, any + // field with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageCarouselSelect) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageCarouselSelect +func (s *GoogleCloudDialogflowCxV3NluSettings) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3NluSettings raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageCarouselSelectItem: An item in -// the carousel. -type GoogleCloudDialogflowV2IntentMessageCarouselSelectItem struct { - // Description: Optional. The body text of the card. - Description string `json:"description,omitempty"` - - // Image: Optional. The image to display. - Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` - - // Info: Required. Additional info about the option item. - Info *GoogleCloudDialogflowV2IntentMessageSelectItemInfo `json:"info,omitempty"` - - // Title: Required. Title of the carousel item. - Title string `json:"title,omitempty"` +func (s *GoogleCloudDialogflowCxV3NluSettings) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowCxV3NluSettings + var s1 struct { + ClassificationThreshold gensupport.JSONFloat64 `json:"classificationThreshold"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.ClassificationThreshold = float64(s1.ClassificationThreshold) + return nil +} - // ForceSendFields is a list of field names (e.g. "Description") to +// GoogleCloudDialogflowCxV3OutputAudioConfig: Instructs the speech +// synthesizer how to generate the output audio content. +type GoogleCloudDialogflowCxV3OutputAudioConfig struct { + // AudioEncoding: Required. Audio encoding of the synthesized audio + // content. + // + // Possible values: + // "OUTPUT_AUDIO_ENCODING_UNSPECIFIED" - Not specified. + // "OUTPUT_AUDIO_ENCODING_LINEAR_16" - Uncompressed 16-bit signed + // little-endian samples (Linear PCM). Audio content returned as + // LINEAR16 also contains a WAV header. + // "OUTPUT_AUDIO_ENCODING_MP3" - MP3 audio at 32kbps. + // "OUTPUT_AUDIO_ENCODING_MP3_64_KBPS" - MP3 audio at 64kbps. + // "OUTPUT_AUDIO_ENCODING_OGG_OPUS" - Opus encoded audio wrapped in an + // ogg container. The result will be a file which can be played natively + // on Android, and in browsers (at least Chrome and Firefox). The + // quality of the encoding is considerably higher than MP3 while using + // approximately the same bitrate. + // "OUTPUT_AUDIO_ENCODING_MULAW" - 8-bit samples that compand 14-bit + // audio samples using G.711 PCMU/mu-law. + AudioEncoding string `json:"audioEncoding,omitempty"` + + // SampleRateHertz: Optional. The synthesis sample rate (in hertz) for + // this audio. If not provided, then the synthesizer will use the + // default sample rate based on the audio encoding. If this is different + // from the voice's natural sample rate, then the synthesizer will honor + // this request by converting to the desired sample rate (which might + // result in worse audio quality). + SampleRateHertz int64 `json:"sampleRateHertz,omitempty"` + + // SynthesizeSpeechConfig: Optional. Configuration of how speech should + // be synthesized. + SynthesizeSpeechConfig *GoogleCloudDialogflowCxV3SynthesizeSpeechConfig `json:"synthesizeSpeechConfig,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AudioEncoding") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -2081,7 +2690,7 @@ type GoogleCloudDialogflowV2IntentMessageCarouselSelectItem struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Description") to include + // NullFields is a list of field names (e.g. "AudioEncoding") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -2090,99 +2699,74 @@ type GoogleCloudDialogflowV2IntentMessageCarouselSelectItem struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageCarouselSelectItem) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageCarouselSelectItem - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleCloudDialogflowV2IntentMessageColumnProperties: Column -// properties for TableCard. -type GoogleCloudDialogflowV2IntentMessageColumnProperties struct { - // Header: Required. Column heading. - Header string `json:"header,omitempty"` - - // HorizontalAlignment: Optional. Defines text alignment for all cells - // in this column. - // - // Possible values: - // "HORIZONTAL_ALIGNMENT_UNSPECIFIED" - Text is aligned to the leading - // edge of the column. - // "LEADING" - Text is aligned to the leading edge of the column. - // "CENTER" - Text is centered in the column. - // "TRAILING" - Text is aligned to the trailing edge of the column. - HorizontalAlignment string `json:"horizontalAlignment,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Header") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Header") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GoogleCloudDialogflowV2IntentMessageColumnProperties) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageColumnProperties +func (s *GoogleCloudDialogflowCxV3OutputAudioConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3OutputAudioConfig raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageImage: The image response -// message. -type GoogleCloudDialogflowV2IntentMessageImage struct { - // AccessibilityText: Optional. A text description of the image to be - // used for accessibility, e.g., screen readers. - AccessibilityText string `json:"accessibilityText,omitempty"` +// GoogleCloudDialogflowCxV3Page: A Dialogflow CX conversation (session) +// can be described and visualized as a state machine. The states of a +// CX session are represented by pages. For each flow, you define many +// pages, where your combined pages can handle a complete conversation +// on the topics the flow is designed for. At any given moment, exactly +// one page is the current page, the current page is considered active, +// and the flow associated with that page is considered active. Every +// flow has a special start page. When a flow initially becomes active, +// the start page page becomes the current page. For each conversational +// turn, the current page will either stay the same or transition to +// another page. You configure each page to collect information from the +// end-user that is relevant for the conversational state represented by +// the page. For more information, see the [Page +// guide](https://cloud.google.com/dialogflow/cx/docs/concept/page). +type GoogleCloudDialogflowCxV3Page struct { + // DisplayName: Required. The human-readable name of the page, unique + // within the agent. + DisplayName string `json:"displayName,omitempty"` - // ImageUri: Optional. The public URI to an image file. - ImageUri string `json:"imageUri,omitempty"` + // EntryFulfillment: The fulfillment to call when the session is + // entering the page. + EntryFulfillment *GoogleCloudDialogflowCxV3Fulfillment `json:"entryFulfillment,omitempty"` - // ForceSendFields is a list of field names (e.g. "AccessibilityText") - // to unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` + // EventHandlers: Handlers associated with the page to handle events + // such as webhook errors, no match or no input. + EventHandlers []*GoogleCloudDialogflowCxV3EventHandler `json:"eventHandlers,omitempty"` - // NullFields is a list of field names (e.g. "AccessibilityText") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} + // Form: The form associated with the page, used for collecting + // parameters relevant to the page. + Form *GoogleCloudDialogflowCxV3Form `json:"form,omitempty"` -func (s *GoogleCloudDialogflowV2IntentMessageImage) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageImage - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // Name: The unique identifier of the page. Required for the + // Pages.UpdatePage method. Pages.CreatePage populates the name + // automatically. Format: `projects//locations//agents//flows//pages/`. + Name string `json:"name,omitempty"` -// GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion: The suggestion -// chip message that allows the user to jump out to the app or website -// associated with this agent. -type GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion struct { - // DestinationName: Required. The name of the app or site this chip is - // linking to. - DestinationName string `json:"destinationName,omitempty"` + // TransitionRouteGroups: Ordered list of `TransitionRouteGroups` + // associated with the page. Transition route groups must be unique + // within a page. * If multiple transition routes within a page scope + // refer to the same intent, then the precedence order is: page's + // transition route -> page's transition route group -> flow's + // transition routes. * If multiple transition route groups within a + // page contain the same intent, then the first group in the ordered + // list takes precedence. + // Format:`projects//locations//agents//flows//transitionRouteGroups/`. + TransitionRouteGroups []string `json:"transitionRouteGroups,omitempty"` + + // TransitionRoutes: A list of transitions for the transition rules of + // this page. They route the conversation to another page in the same + // flow, or another flow. When we are in a certain page, the + // TransitionRoutes are evalauted in the following order: * + // TransitionRoutes defined in the page with intent specified. * + // TransitionRoutes defined in the transition route groups. * + // TransitionRoutes defined in flow with intent specified. * + // TransitionRoutes defined in the page with only condition specified. + TransitionRoutes []*GoogleCloudDialogflowCxV3TransitionRoute `json:"transitionRoutes,omitempty"` - // Uri: Required. The URI of the app or site to open when the user taps - // the suggestion chip. - Uri string `json:"uri,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "DestinationName") to + // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -2190,35 +2774,34 @@ type GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DestinationName") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "DisplayName") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion +func (s *GoogleCloudDialogflowCxV3Page) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3Page raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageListSelect: The card for -// presenting a list of options to select from. -type GoogleCloudDialogflowV2IntentMessageListSelect struct { - // Items: Required. List items. - Items []*GoogleCloudDialogflowV2IntentMessageListSelectItem `json:"items,omitempty"` - - // Subtitle: Optional. Subtitle of the list. - Subtitle string `json:"subtitle,omitempty"` +// GoogleCloudDialogflowCxV3PageInfo: Represents page information +// communicated to and from the webhook. +type GoogleCloudDialogflowCxV3PageInfo struct { + // CurrentPage: Always present for WebhookRequest. Ignored for + // WebhookResponse. The unique identifier of the current page. Format: + // `projects//locations//agents//flows//pages/`. + CurrentPage string `json:"currentPage,omitempty"` - // Title: Optional. The overall title of the list. - Title string `json:"title,omitempty"` + // FormInfo: Optional for both WebhookRequest and WebhookResponse. + // Information about the form. + FormInfo *GoogleCloudDialogflowCxV3PageInfoFormInfo `json:"formInfo,omitempty"` - // ForceSendFields is a list of field names (e.g. "Items") to + // ForceSendFields is a list of field names (e.g. "CurrentPage") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -2226,37 +2809,30 @@ type GoogleCloudDialogflowV2IntentMessageListSelect struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Items") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "CurrentPage") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageListSelect) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageListSelect +func (s *GoogleCloudDialogflowCxV3PageInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3PageInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageListSelectItem: An item in the -// list. -type GoogleCloudDialogflowV2IntentMessageListSelectItem struct { - // Description: Optional. The main text describing the item. - Description string `json:"description,omitempty"` - - // Image: Optional. The image to display. - Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` - - // Info: Required. Additional information about this option. - Info *GoogleCloudDialogflowV2IntentMessageSelectItemInfo `json:"info,omitempty"` - - // Title: Required. The title of the list item. - Title string `json:"title,omitempty"` +// GoogleCloudDialogflowCxV3PageInfoFormInfo: Represents form +// information. +type GoogleCloudDialogflowCxV3PageInfoFormInfo struct { + // ParameterInfo: Optional for both WebhookRequest and WebhookResponse. + // The parameters contained in the form. Note that the webhook cannot + // add or remove any form parameter. + ParameterInfo []*GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo `json:"parameterInfo,omitempty"` - // ForceSendFields is a list of field names (e.g. "Description") to + // ForceSendFields is a list of field names (e.g. "ParameterInfo") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -2264,7 +2840,7 @@ type GoogleCloudDialogflowV2IntentMessageListSelectItem struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Description") to include + // NullFields is a list of field names (e.g. "ParameterInfo") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -2273,26 +2849,53 @@ type GoogleCloudDialogflowV2IntentMessageListSelectItem struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageListSelectItem) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageListSelectItem +func (s *GoogleCloudDialogflowCxV3PageInfoFormInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3PageInfoFormInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageMediaContent: The media content -// card for Actions on Google. -type GoogleCloudDialogflowV2IntentMessageMediaContent struct { - // MediaObjects: Required. List of media objects. - MediaObjects []*GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject `json:"mediaObjects,omitempty"` +// GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo: Represents +// parameter information. +type GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo struct { + // DisplayName: Always present for WebhookRequest. Required for + // WebhookResponse. The human-readable name of the parameter, unique + // within the form. This field cannot be modified by the webhook. + DisplayName string `json:"displayName,omitempty"` - // MediaType: Optional. What type of media is the content (ie "audio"). + // JustCollected: Optional for WebhookRequest. Ignored for + // WebhookResponse. Indicates if the parameter value was just collected + // on the last conversation turn. + JustCollected bool `json:"justCollected,omitempty"` + + // Required: Optional for both WebhookRequest and WebhookResponse. + // Indicates whether the parameter is required. Optional parameters will + // not trigger prompts; however, they are filled if the user specifies + // them. Required parameters must be filled before form filling + // concludes. + Required bool `json:"required,omitempty"` + + // State: Always present for WebhookRequest. Required for + // WebhookResponse. The state of the parameter. This field can be set to + // INVALID by the webhook to invalidate the parameter; other values set + // by the webhook will be ignored. // // Possible values: - // "RESPONSE_MEDIA_TYPE_UNSPECIFIED" - Unspecified. - // "AUDIO" - Response media type is audio. - MediaType string `json:"mediaType,omitempty"` + // "PARAMETER_STATE_UNSPECIFIED" - Not specified. This value should be + // never used. + // "EMPTY" - Indicates that the parameter does not have a value. + // "INVALID" - Indicates that the parameter value is invalid. This + // field can be used by the webhook to invalidate the parameter and ask + // the server to collect it from the user again. + // "FILLED" - Indicates that the parameter has a value. + State string `json:"state,omitempty"` - // ForceSendFields is a list of field names (e.g. "MediaObjects") to + // Value: Optional for both WebhookRequest and WebhookResponse. The + // value of the parameter. This field can be set by the webhook to + // change the parameter value. + Value interface{} `json:"value,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -2300,7 +2903,7 @@ type GoogleCloudDialogflowV2IntentMessageMediaContent struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "MediaObjects") to include + // NullFields is a list of field names (e.g. "DisplayName") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -2309,31 +2912,40 @@ type GoogleCloudDialogflowV2IntentMessageMediaContent struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageMediaContent) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageMediaContent +func (s *GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject: -// Response media object for media content card. -type GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject struct { - // ContentUrl: Required. Url where the media is stored. - ContentUrl string `json:"contentUrl,omitempty"` +// GoogleCloudDialogflowCxV3QueryInput: Represents the query input. It +// can contain one of: 1. A conversational query in the form of text. 2. +// An intent query that specifies which intent to trigger. 3. Natural +// language speech audio to be processed. 4. An event to be triggered. +type GoogleCloudDialogflowCxV3QueryInput struct { + // Audio: The natural language speech audio to be processed. + Audio *GoogleCloudDialogflowCxV3AudioInput `json:"audio,omitempty"` - // Description: Optional. Description of media card. - Description string `json:"description,omitempty"` + // Dtmf: The DTMF event to be handled. + Dtmf *GoogleCloudDialogflowCxV3DtmfInput `json:"dtmf,omitempty"` - // Icon: Optional. Icon to display above media content. - Icon *GoogleCloudDialogflowV2IntentMessageImage `json:"icon,omitempty"` + // Event: The event to be triggered. + Event *GoogleCloudDialogflowCxV3EventInput `json:"event,omitempty"` - // LargeImage: Optional. Image to display above media content. - LargeImage *GoogleCloudDialogflowV2IntentMessageImage `json:"largeImage,omitempty"` + // Intent: The intent to be triggered. + Intent *GoogleCloudDialogflowCxV3IntentInput `json:"intent,omitempty"` - // Name: Required. Name of media card. - Name string `json:"name,omitempty"` + // LanguageCode: Required. The language of the input. See [Language + // Support](https://cloud.google.com/dialogflow/docs/reference/language) + // for a list of the currently supported language codes. Note that + // queries in the same session do not necessarily need to specify the + // same language. + LanguageCode string `json:"languageCode,omitempty"` - // ForceSendFields is a list of field names (e.g. "ContentUrl") to + // Text: The natural language text to be processed. + Text *GoogleCloudDialogflowCxV3TextInput `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Audio") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -2341,8 +2953,8 @@ type GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject struct // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ContentUrl") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Audio") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -2350,94 +2962,170 @@ type GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject struct NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject +func (s *GoogleCloudDialogflowCxV3QueryInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3QueryInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageQuickReplies: The quick replies -// response message. -type GoogleCloudDialogflowV2IntentMessageQuickReplies struct { - // QuickReplies: Optional. The collection of quick replies. - QuickReplies []string `json:"quickReplies,omitempty"` +// GoogleCloudDialogflowCxV3QueryParameters: Represents the parameters +// of a conversational query. +type GoogleCloudDialogflowCxV3QueryParameters struct { + // AnalyzeQueryTextSentiment: Configures whether sentiment analysis + // should be performed. If not provided, sentiment analysis is not + // performed. + AnalyzeQueryTextSentiment bool `json:"analyzeQueryTextSentiment,omitempty"` + + // GeoLocation: The geo location of this conversational query. + GeoLocation *GoogleTypeLatLng `json:"geoLocation,omitempty"` + + // Parameters: Additional parameters to be put into session parameters. + // To remove a parameter from the session, clients should explicitly set + // the parameter value to null. Depending on your protocol or client + // library language, this is a map, associative array, symbol table, + // dictionary, or JSON object composed of a collection of (MapKey, + // MapValue) pairs: - MapKey type: string - MapKey value: parameter name + // - MapValue type: - If parameter's entity type is a composite entity: + // map - Else: string or number, depending on parameter value type - + // MapValue value: - If parameter's entity type is a composite entity: + // map from composite entity property names to property values - Else: + // parameter value + Parameters googleapi.RawMessage `json:"parameters,omitempty"` - // Title: Optional. The title of the collection of quick replies. - Title string `json:"title,omitempty"` + // Payload: This field can be used to pass custom data into the webhook + // associated with the agent. Arbitrary JSON objects are supported. + Payload googleapi.RawMessage `json:"payload,omitempty"` - // ForceSendFields is a list of field names (e.g. "QuickReplies") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. + // SessionEntityTypes: Additional session entity types to replace or + // extend developer entity types with. The entity synonyms apply to all + // languages and persist for the session of this query. + SessionEntityTypes []*GoogleCloudDialogflowCxV3SessionEntityType `json:"sessionEntityTypes,omitempty"` + + // TimeZone: The time zone of this conversational query from the [time + // zone database](https://www.iana.org/time-zones), e.g., + // America/New_York, Europe/Paris. If not provided, the time zone + // specified in the agent is used. + TimeZone string `json:"timeZone,omitempty"` + + // WebhookHeaders: This field can be used to pass HTTP headers for a + // webhook call. These headers will be sent to webhook along with the + // headers that have been configured through Dialogflow web console. The + // headers defined within this field will overwrite the headers + // configured through Dialogflow console if there is a conflict. Header + // names are case-insensitive. Google's specified headers are not + // allowed. Including: "Host", "Content-Length", "Connection", "From", + // "User-Agent", "Accept-Encoding", "If-Modified-Since", + // "If-None-Match", "X-Forwarded-For", etc. + WebhookHeaders map[string]string `json:"webhookHeaders,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AnalyzeQueryTextSentiment") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "QuickReplies") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. + // "AnalyzeQueryTextSentiment") to include in API requests with the JSON + // null value. By default, fields with empty values are omitted from API + // requests. However, any field with an empty value appearing in + // NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageQuickReplies) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageQuickReplies +func (s *GoogleCloudDialogflowCxV3QueryParameters) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3QueryParameters raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageSelectItemInfo: Additional info -// about the select item for when it is triggered in a dialog. -type GoogleCloudDialogflowV2IntentMessageSelectItemInfo struct { - // Key: Required. A unique key that will be sent back to the agent if - // this response is given. - Key string `json:"key,omitempty"` +// GoogleCloudDialogflowCxV3QueryResult: Represents the result of a +// conversational query. +type GoogleCloudDialogflowCxV3QueryResult struct { + // CurrentPage: The current Page. Some, not all fields are filled in + // this message, including but not limited to `name` and `display_name`. + CurrentPage *GoogleCloudDialogflowCxV3Page `json:"currentPage,omitempty"` - // Synonyms: Optional. A list of synonyms that can also be used to - // trigger this item in dialog. - Synonyms []string `json:"synonyms,omitempty"` + // DiagnosticInfo: The free-form diagnostic info. For example, this + // field could contain webhook call latency. The string keys of the + // Struct's fields map can change without notice. + DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` - // ForceSendFields is a list of field names (e.g. "Key") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` + // Intent: The Intent that matched the conversational query. Some, not + // all fields are filled in this message, including but not limited to: + // `name` and `display_name`. This field is deprecated, please use + // QueryResult.match instead. + Intent *GoogleCloudDialogflowCxV3Intent `json:"intent,omitempty"` - // NullFields is a list of field names (e.g. "Key") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} + // IntentDetectionConfidence: The intent detection confidence. Values + // range from 0.0 (completely uncertain) to 1.0 (completely certain). + // This value is for informational purpose only and is only used to help + // match the best intent within the classification threshold. This value + // may change for the same end-user expression at any time due to a + // model retraining or change in implementation. This field is + // deprecated, please use QueryResult.match instead. + IntentDetectionConfidence float64 `json:"intentDetectionConfidence,omitempty"` -func (s *GoogleCloudDialogflowV2IntentMessageSelectItemInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageSelectItemInfo - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // LanguageCode: The language that was triggered during intent + // detection. See [Language + // Support](https://cloud.google.com/dialogflow/docs/reference/language) + // for a list of the currently supported language codes. + LanguageCode string `json:"languageCode,omitempty"` -// GoogleCloudDialogflowV2IntentMessageSimpleResponse: The simple -// response message containing speech or text. -type GoogleCloudDialogflowV2IntentMessageSimpleResponse struct { - // DisplayText: Optional. The text to display. - DisplayText string `json:"displayText,omitempty"` + // Match: Intent match result, could be an intent or an event. + Match *GoogleCloudDialogflowCxV3Match `json:"match,omitempty"` - // Ssml: One of text_to_speech or ssml must be provided. Structured - // spoken response to the user in the SSML format. Mutually exclusive - // with text_to_speech. - Ssml string `json:"ssml,omitempty"` + // Parameters: The collected session parameters. Depending on your + // protocol or client library language, this is a map, associative + // array, symbol table, dictionary, or JSON object composed of a + // collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: string or number, depending + // on parameter value type - MapValue value: - If parameter's entity + // type is a composite entity: map from composite entity property names + // to property values - Else: parameter value + Parameters googleapi.RawMessage `json:"parameters,omitempty"` - // TextToSpeech: One of text_to_speech or ssml must be provided. The - // plain text of the speech output. Mutually exclusive with ssml. - TextToSpeech string `json:"textToSpeech,omitempty"` + // ResponseMessages: The list of rich messages returned to the client. + // Responses vary from simple text messages to more sophisticated, + // structured payloads used to drive complex logic. + ResponseMessages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"responseMessages,omitempty"` - // ForceSendFields is a list of field names (e.g. "DisplayText") to + // SentimentAnalysisResult: The sentiment analyss result, which depends + // on `analyze_query_text_sentiment`, specified in the request. + SentimentAnalysisResult *GoogleCloudDialogflowCxV3SentimentAnalysisResult `json:"sentimentAnalysisResult,omitempty"` + + // Text: If natural language text was provided as input, this field will + // contain a copy of the text. + Text string `json:"text,omitempty"` + + // Transcript: If natural language speech audio was provided as input, + // this field will contain the trascript for the audio. + Transcript string `json:"transcript,omitempty"` + + // TriggerEvent: If an event was provided as input, this field will + // contain the name of the event. + TriggerEvent string `json:"triggerEvent,omitempty"` + + // TriggerIntent: If an intent was provided as input, this field will + // contain a copy of the intent identifier. + TriggerIntent string `json:"triggerIntent,omitempty"` + + // WebhookPayloads: The list of webhook payload in + // WebhookResponse.payload, in the order of call sequence. If some + // webhook call fails or doesn't return any payload, an empty `Struct` + // would be used instead. + WebhookPayloads []googleapi.RawMessage `json:"webhookPayloads,omitempty"` + + // WebhookStatuses: The list of webhook call status in the order of call + // sequence. + WebhookStatuses []*GoogleRpcStatus `json:"webhookStatuses,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CurrentPage") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -2445,7 +3133,7 @@ type GoogleCloudDialogflowV2IntentMessageSimpleResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DisplayText") to include + // NullFields is a list of field names (e.g. "CurrentPage") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -2454,30 +3142,87 @@ type GoogleCloudDialogflowV2IntentMessageSimpleResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageSimpleResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageSimpleResponse +func (s *GoogleCloudDialogflowCxV3QueryResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3QueryResult raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageSimpleResponses: The collection -// of simple response candidates. This message in -// `QueryResult.fulfillment_messages` and -// `WebhookResponse.fulfillment_messages` should contain only one -// `SimpleResponse`. -type GoogleCloudDialogflowV2IntentMessageSimpleResponses struct { - // SimpleResponses: Required. The list of simple responses. - SimpleResponses []*GoogleCloudDialogflowV2IntentMessageSimpleResponse `json:"simpleResponses,omitempty"` +func (s *GoogleCloudDialogflowCxV3QueryResult) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowCxV3QueryResult + var s1 struct { + IntentDetectionConfidence gensupport.JSONFloat64 `json:"intentDetectionConfidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.IntentDetectionConfidence = float64(s1.IntentDetectionConfidence) + return nil +} - // ForceSendFields is a list of field names (e.g. "SimpleResponses") to - // unconditionally include in API requests. By default, fields with +// GoogleCloudDialogflowCxV3ResponseMessage: Represents a response +// message that can be returned by a conversational agent. Response +// messages are also used for output audio synthesis. The approach is as +// follows: * If at least one OutputAudioText response is present, then +// all OutputAudioText responses are linearly concatenated, and the +// result is used for output audio synthesis. * If the OutputAudioText +// responses are a mixture of text and SSML, then the concatenated +// result is treated as SSML; otherwise, the result is treated as either +// text or SSML as appropriate. The agent designer should ideally use +// either text or SSML consistently throughout the bot design. * +// Otherwise, all Text responses are linearly concatenated, and the +// result is used for output audio synthesis. This approach allows for +// more sophisticated user experience scenarios, where the text +// displayed to the user may differ from what is heard. +type GoogleCloudDialogflowCxV3ResponseMessage struct { + // ConversationSuccess: Indicates that the conversation succeeded. + ConversationSuccess *GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess `json:"conversationSuccess,omitempty"` + + // EndInteraction: Output only. A signal that indicates the interaction + // with the Dialogflow agent has ended. This message is generated by + // Dialogflow only when the conversation reaches `END_SESSION` or + // `END_PAGE` page. It is not supposed to be defined by the user. It's + // guaranteed that there is at most one such message in each response. + EndInteraction *GoogleCloudDialogflowCxV3ResponseMessageEndInteraction `json:"endInteraction,omitempty"` + + // LiveAgentHandoff: Hands off conversation to a human agent. + LiveAgentHandoff *GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff `json:"liveAgentHandoff,omitempty"` + + // MixedAudio: Output only. An audio response message composed of both + // the synthesized Dialogflow agent responses and responses defined via + // play_audio. This message is generated by Dialogflow only and not + // supposed to be defined by the user. + MixedAudio *GoogleCloudDialogflowCxV3ResponseMessageMixedAudio `json:"mixedAudio,omitempty"` + + // OutputAudioText: A text or ssml response that is preferentially used + // for TTS output audio synthesis, as described in the comment on the + // ResponseMessage message. + OutputAudioText *GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText `json:"outputAudioText,omitempty"` + + // Payload: Returns a response containing a custom, platform-specific + // payload. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // PlayAudio: Signal that the client should play an audio clip hosted at + // a client-specific URI. Dialogflow uses this to construct mixed_audio. + // However, Dialogflow itself does not try to read or process the URI in + // any way. + PlayAudio *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio `json:"playAudio,omitempty"` + + // Text: Returns a text response. + Text *GoogleCloudDialogflowCxV3ResponseMessageText `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConversationSuccess") + // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "SimpleResponses") to + // NullFields is a list of field names (e.g. "ConversationSuccess") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -2487,20 +3232,29 @@ type GoogleCloudDialogflowV2IntentMessageSimpleResponses struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageSimpleResponses) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageSimpleResponses +func (s *GoogleCloudDialogflowCxV3ResponseMessage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessage raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageSuggestion: The suggestion chip -// message that the user can tap to quickly post a reply to the -// conversation. -type GoogleCloudDialogflowV2IntentMessageSuggestion struct { - // Title: Required. The text shown the in the suggestion chip. - Title string `json:"title,omitempty"` +// GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess: +// Indicates that the conversation succeeded, i.e., the bot handled the +// issue that the customer talked to it about. Dialogflow only uses this +// to determine which conversations should be counted as successful and +// doesn't process the metadata in this message in any way. Note that +// Dialogflow also considers conversations that get to the conversation +// end page as successful even if they don't return ConversationSuccess. +// You may set this, for example: * In the entry_fulfillment of a Page +// if entering the page indicates that the conversation succeeded. * In +// a webhook response when you determine that you handled the customer +// issue. +type GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess struct { + // Metadata: Custom metadata. Dialogflow doesn't impose any structure on + // this. + Metadata googleapi.RawMessage `json:"metadata,omitempty"` - // ForceSendFields is a list of field names (e.g. "Title") to + // ForceSendFields is a list of field names (e.g. "Metadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -2508,8 +3262,8 @@ type GoogleCloudDialogflowV2IntentMessageSuggestion struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Title") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Metadata") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -2517,19 +3271,34 @@ type GoogleCloudDialogflowV2IntentMessageSuggestion struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageSuggestion) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageSuggestion +func (s *GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageSuggestions: The collection of -// suggestions. -type GoogleCloudDialogflowV2IntentMessageSuggestions struct { - // Suggestions: Required. The list of suggested replies. - Suggestions []*GoogleCloudDialogflowV2IntentMessageSuggestion `json:"suggestions,omitempty"` +// GoogleCloudDialogflowCxV3ResponseMessageEndInteraction: Indicates +// that interaction with the Dialogflow agent has ended. This message is +// generated by Dialogflow only and not supposed to be defined by the +// user. +type GoogleCloudDialogflowCxV3ResponseMessageEndInteraction struct { +} - // ForceSendFields is a list of field names (e.g. "Suggestions") to +// GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff: Indicates +// that the conversation should be handed off to a live agent. +// Dialogflow only uses this to determine which conversations were +// handed off to a human agent for measurement purposes. What else to do +// with this signal is up to you and your handoff procedures. You may +// set this, for example: * In the entry_fulfillment of a Page if +// entering the page indicates something went extremely wrong in the +// conversation. * In a webhook response when you determine that the +// customer issue can only be handled by a human. +type GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff struct { + // Metadata: Custom metadata for your handoff procedure. Dialogflow + // doesn't impose any structure on this. + Metadata googleapi.RawMessage `json:"metadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Metadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -2537,44 +3306,32 @@ type GoogleCloudDialogflowV2IntentMessageSuggestions struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Suggestions") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Metadata") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageSuggestions) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageSuggestions +func (s *GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageTableCard: Table card for Actions -// on Google. -type GoogleCloudDialogflowV2IntentMessageTableCard struct { - // Buttons: Optional. List of buttons for the card. - Buttons []*GoogleCloudDialogflowV2IntentMessageBasicCardButton `json:"buttons,omitempty"` - - // ColumnProperties: Optional. Display properties for the columns in - // this table. - ColumnProperties []*GoogleCloudDialogflowV2IntentMessageColumnProperties `json:"columnProperties,omitempty"` - - // Image: Optional. Image which should be displayed on the card. - Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` - - // Rows: Optional. Rows in this table of data. - Rows []*GoogleCloudDialogflowV2IntentMessageTableCardRow `json:"rows,omitempty"` - - // Subtitle: Optional. Subtitle to the title. - Subtitle string `json:"subtitle,omitempty"` - - // Title: Required. Title of the card. - Title string `json:"title,omitempty"` +// GoogleCloudDialogflowCxV3ResponseMessageMixedAudio: Represents an +// audio message that is composed of both segments synthesized from the +// Dialogflow agent prompts and ones hosted externally at the specified +// URIs. The external URIs are specified via play_audio. This message is +// generated by Dialogflow only and not supposed to be defined by the +// user. +type GoogleCloudDialogflowCxV3ResponseMessageMixedAudio struct { + // Segments: Segments this audio response is composed of. + Segments []*GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment `json:"segments,omitempty"` - // ForceSendFields is a list of field names (e.g. "Buttons") to + // ForceSendFields is a list of field names (e.g. "Segments") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -2582,7 +3339,7 @@ type GoogleCloudDialogflowV2IntentMessageTableCard struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Buttons") to include in + // NullFields is a list of field names (e.g. "Segments") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -2591,140 +3348,181 @@ type GoogleCloudDialogflowV2IntentMessageTableCard struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageTableCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageTableCard +func (s *GoogleCloudDialogflowCxV3ResponseMessageMixedAudio) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageMixedAudio raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageTableCardCell: Cell of -// TableCardRow. -type GoogleCloudDialogflowV2IntentMessageTableCardCell struct { - // Text: Required. Text in this cell. - Text string `json:"text,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Text") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` +// GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment: Represents +// one segment of audio. +type GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // segment can be interrupted by the end user's speech and the client + // should then start the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` - // NullFields is a list of field names (e.g. "Text") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // Audio: Raw audio synthesized from the Dialogflow agent's response + // using the output config specified in the request. + Audio string `json:"audio,omitempty"` + + // Uri: Client-specific URI that points to an audio clip accessible to + // the client. Dialogflow does not impose any validation on it. + Uri string `json:"uri,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to include in API requests with the JSON + // null value. By default, fields with empty values are omitted from API + // requests. However, any field with an empty value appearing in + // NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageTableCardCell) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageTableCardCell +func (s *GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageTableCardRow: Row of TableCard. -type GoogleCloudDialogflowV2IntentMessageTableCardRow struct { - // Cells: Optional. List of cells that make up this row. - Cells []*GoogleCloudDialogflowV2IntentMessageTableCardCell `json:"cells,omitempty"` +// GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText: A text or +// ssml response that is preferentially used for TTS output audio +// synthesis, as described in the comment on the ResponseMessage +// message. +type GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` - // DividerAfter: Optional. Whether to add a visual divider after this - // row. - DividerAfter bool `json:"dividerAfter,omitempty"` + // Ssml: The SSML text to be synthesized. For more information, see + // [SSML](/speech/text-to-speech/docs/ssml). + Ssml string `json:"ssml,omitempty"` - // ForceSendFields is a list of field names (e.g. "Cells") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. + // Text: The raw text to be synthesized. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Cells") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to include in API requests with the JSON + // null value. By default, fields with empty values are omitted from API + // requests. However, any field with an empty value appearing in + // NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageTableCardRow) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageTableCardRow +func (s *GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageText: The text response message. -type GoogleCloudDialogflowV2IntentMessageText struct { - // Text: Optional. The collection of the agent's responses. - Text []string `json:"text,omitempty"` +// GoogleCloudDialogflowCxV3ResponseMessagePlayAudio: Specifies an audio +// clip to be played by the client as part of the response. +type GoogleCloudDialogflowCxV3ResponseMessagePlayAudio struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` - // ForceSendFields is a list of field names (e.g. "Text") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. + // AudioUri: Required. URI of the audio clip. Dialogflow does not impose + // any validation on this value. It is specific to the client that reads + // it. + AudioUri string `json:"audioUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Text") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to include in API requests with the JSON + // null value. By default, fields with empty values are omitted from API + // requests. However, any field with an empty value appearing in + // NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageText) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageText +func (s *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessagePlayAudio raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentParameter: Represents intent parameters. -type GoogleCloudDialogflowV2IntentParameter struct { - // DefaultValue: Optional. The default value to use when the `value` - // yields an empty result. Default values can be extracted from contexts - // by using the following syntax: `#context_name.parameter_name`. - DefaultValue string `json:"defaultValue,omitempty"` - - // DisplayName: Required. The name of the parameter. - DisplayName string `json:"displayName,omitempty"` +// GoogleCloudDialogflowCxV3ResponseMessageText: The text response +// message. +type GoogleCloudDialogflowCxV3ResponseMessageText struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` - // EntityTypeDisplayName: Optional. The name of the entity type, - // prefixed with `@`, that describes values of the parameter. If the - // parameter is required, this must be provided. - EntityTypeDisplayName string `json:"entityTypeDisplayName,omitempty"` + // Text: Required. A collection of text responses. + Text []string `json:"text,omitempty"` - // IsList: Optional. Indicates whether the parameter represents a list - // of values. - IsList bool `json:"isList,omitempty"` + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` - // Mandatory: Optional. Indicates whether the parameter is required. - // That is, whether the intent cannot be completed without collecting - // the parameter value. - Mandatory bool `json:"mandatory,omitempty"` + // NullFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to include in API requests with the JSON + // null value. By default, fields with empty values are omitted from API + // requests. However, any field with an empty value appearing in + // NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. + NullFields []string `json:"-"` +} - // Name: The unique identifier of this parameter. - Name string `json:"name,omitempty"` +func (s *GoogleCloudDialogflowCxV3ResponseMessageText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageText + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // Prompts: Optional. The collection of prompts that the agent can - // present to the user in order to collect a value for the parameter. - Prompts []string `json:"prompts,omitempty"` +// GoogleCloudDialogflowCxV3RestoreAgentRequest: The request message for +// Agents.RestoreAgent. +type GoogleCloudDialogflowCxV3RestoreAgentRequest struct { + // AgentContent: Uncompressed raw byte content for agent. + AgentContent string `json:"agentContent,omitempty"` - // Value: Optional. The definition of the parameter value. It can be: - - // a constant string, - a parameter value defined as `$parameter_name`, - // - an original parameter value defined as `$parameter_name.original`, - // - a parameter value from some context defined as - // `#context_name.parameter_name`. - Value string `json:"value,omitempty"` + // AgentUri: The [Google Cloud + // Storage](https://cloud.google.com/storage/docs/) URI to restore agent + // from. The format of this URI must be `gs:///`. + AgentUri string `json:"agentUri,omitempty"` - // ForceSendFields is a list of field names (e.g. "DefaultValue") to + // ForceSendFields is a list of field names (e.g. "AgentContent") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -2732,7 +3530,7 @@ type GoogleCloudDialogflowV2IntentParameter struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DefaultValue") to include + // NullFields is a list of field names (e.g. "AgentContent") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -2741,53 +3539,71 @@ type GoogleCloudDialogflowV2IntentParameter struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentParameter) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentParameter +func (s *GoogleCloudDialogflowCxV3RestoreAgentRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3RestoreAgentRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentTrainingPhrase: Represents an example -// that the agent is trained on. -type GoogleCloudDialogflowV2IntentTrainingPhrase struct { - // Name: Output only. The unique identifier of this training phrase. - Name string `json:"name,omitempty"` +// GoogleCloudDialogflowCxV3SecuritySettings: Represents the settings +// related to security issues, such as data redaction and data +// retention. It may take hours for updates on the settings to propagate +// to all the related components and take effect. +type GoogleCloudDialogflowCxV3SecuritySettings struct { + // DisplayName: Required. The human-readable name of the security + // settings, unique within the location. + DisplayName string `json:"displayName,omitempty"` - // Parts: Required. The ordered list of training phrase parts. The parts - // are concatenated in order to form the training phrase. Note: The API - // does not automatically annotate training phrases like the Dialogflow - // Console does. Note: Do not forget to include whitespace at part - // boundaries, so the training phrase is well formatted when the parts - // are concatenated. If the training phrase does not need to be - // annotated with parameters, you just need a single part with only the - // Part.text field set. If you want to annotate the training phrase, you - // must create multiple parts, where the fields of each part are - // populated in one of two ways: - `Part.text` is set to a part of the - // phrase that has no parameters. - `Part.text` is set to a part of the - // phrase that you want to annotate, and the `entity_type`, `alias`, and - // `user_defined` fields are all set. - Parts []*GoogleCloudDialogflowV2IntentTrainingPhrasePart `json:"parts,omitempty"` + // InspectTemplate: DLP inspect template name. Use this template to + // define inspect base settings. If empty, we use the default DLP + // inspect config. The template name will have one of the following + // formats: `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR + // `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID` + InspectTemplate string `json:"inspectTemplate,omitempty"` - // TimesAddedCount: Optional. Indicates how many times this example was - // added to the intent. Each time a developer adds an existing sample by - // editing an intent or training, this counter is increased. - TimesAddedCount int64 `json:"timesAddedCount,omitempty"` + // Name: Required. Resource name of the settings. Format: + // `projects//locations//securitySettings/`. + Name string `json:"name,omitempty"` - // Type: Required. The type of the training phrase. + // PurgeDataTypes: List of types of data to remove when retention + // settings triggers purge. // // Possible values: - // "TYPE_UNSPECIFIED" - Not specified. This value should never be - // used. - // "EXAMPLE" - Examples do not contain @-prefixed entity type names, - // but example parts can be annotated with entity types. - // "TEMPLATE" - Templates are not annotated with entity types, but - // they can contain @-prefixed entity type names as substrings. Template - // mode has been deprecated. Example mode is the only supported way to - // create new training phrases. If you have existing training phrases - // that you've created in template mode, those will continue to work. - Type string `json:"type,omitempty"` + // "PURGE_DATA_TYPE_UNSPECIFIED" - Unspecified. Do not use. + // "DIALOGFLOW_HISTORY" - Dialogflow history. This does not include + // Stackdriver log, which is owned by the user not Dialogflow. + PurgeDataTypes []string `json:"purgeDataTypes,omitempty"` + + // RedactionScope: Defines on what data we apply redaction. Note that we + // don't redact data to which we don't have access, e.g., Stackdriver + // logs. + // + // Possible values: + // "REDACTION_SCOPE_UNSPECIFIED" - Don't redact any kind of data. + // "REDACT_DISK_STORAGE" - On data to be written to disk or similar + // devices that are capable of holding data even if power is + // disconnected. This includes data that are temporarily saved on disk. + RedactionScope string `json:"redactionScope,omitempty"` - // ForceSendFields is a list of field names (e.g. "Name") to + // RedactionStrategy: Strategy that defines how we do redaction. + // + // Possible values: + // "REDACTION_STRATEGY_UNSPECIFIED" - Do not redact. + // "REDACT_WITH_SERVICE" - Call redaction service to clean up the data + // to be persisted. + RedactionStrategy string `json:"redactionStrategy,omitempty"` + + // RetentionWindowDays: Retains the data for the specified number of + // days. User must Set a value lower than Dialogflow's default 30d TTL. + // Setting a value higher than that has no effect. A missing value or + // setting to 0 also means we use Dialogflow's default TTL. + RetentionWindowDays int64 `json:"retentionWindowDays,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -2795,43 +3611,36 @@ type GoogleCloudDialogflowV2IntentTrainingPhrase struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Name") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "DisplayName") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentTrainingPhrase) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentTrainingPhrase +func (s *GoogleCloudDialogflowCxV3SecuritySettings) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3SecuritySettings raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentTrainingPhrasePart: Represents a part of -// a training phrase. -type GoogleCloudDialogflowV2IntentTrainingPhrasePart struct { - // Alias: Optional. The parameter name for the value extracted from the - // annotated part of the example. This field is required for annotated - // parts of the training phrase. - Alias string `json:"alias,omitempty"` - - // EntityType: Optional. The entity type name prefixed with `@`. This - // field is required for annotated parts of the training phrase. - EntityType string `json:"entityType,omitempty"` - - // Text: Required. The text for this part. - Text string `json:"text,omitempty"` +// GoogleCloudDialogflowCxV3SentimentAnalysisResult: The result of +// sentiment analysis. Sentiment analysis inspects user input and +// identifies the prevailing subjective opinion, especially to determine +// a user's attitude as positive, negative, or neutral. +type GoogleCloudDialogflowCxV3SentimentAnalysisResult struct { + // Magnitude: A non-negative number in the [0, +inf) range, which + // represents the absolute magnitude of sentiment, regardless of score + // (positive or negative). + Magnitude float64 `json:"magnitude,omitempty"` - // UserDefined: Optional. Indicates whether the text was manually - // annotated. This field is set to true when the Dialogflow Console is - // used to manually annotate the part. When creating an annotated part - // with the API, you must set this to true. - UserDefined bool `json:"userDefined,omitempty"` + // Score: Sentiment score between -1.0 (negative sentiment) and 1.0 + // (positive sentiment). + Score float64 `json:"score,omitempty"` - // ForceSendFields is a list of field names (e.g. "Alias") to + // ForceSendFields is a list of field names (e.g. "Magnitude") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -2839,8 +3648,8 @@ type GoogleCloudDialogflowV2IntentTrainingPhrasePart struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Alias") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Magnitude") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -2848,48 +3657,115 @@ type GoogleCloudDialogflowV2IntentTrainingPhrasePart struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentTrainingPhrasePart) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentTrainingPhrasePart +func (s *GoogleCloudDialogflowCxV3SentimentAnalysisResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3SentimentAnalysisResult raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2Message: Represents a message posted into a -// conversation. -type GoogleCloudDialogflowV2Message struct { - // Content: Required. The message content. - Content string `json:"content,omitempty"` - - // CreateTime: Output only. The time when the message was created. - CreateTime string `json:"createTime,omitempty"` +func (s *GoogleCloudDialogflowCxV3SentimentAnalysisResult) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowCxV3SentimentAnalysisResult + var s1 struct { + Magnitude gensupport.JSONFloat64 `json:"magnitude"` + Score gensupport.JSONFloat64 `json:"score"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Magnitude = float64(s1.Magnitude) + s.Score = float64(s1.Score) + return nil +} - // LanguageCode: Optional. The message language. This should be a - // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. - // Example: "en-US". - LanguageCode string `json:"languageCode,omitempty"` +// GoogleCloudDialogflowCxV3SessionEntityType: Session entity types are +// referred to as **User** entity types and are entities that are built +// for an individual user such as favorites, preferences, playlists, and +// so on. You can redefine a session entity type at the session level to +// extend or replace a custom entity type at the user session level (we +// refer to the entity types defined at the agent level as "custom +// entity types"). Note: session entity types apply to all queries, +// regardless of the language. For more information about entity types, +// see the [Dialogflow +// documentation](https://cloud.google.com/dialogflow/docs/entities-overv +// iew). +type GoogleCloudDialogflowCxV3SessionEntityType struct { + // Entities: Required. The collection of entities to override or + // supplement the custom entity type. + Entities []*GoogleCloudDialogflowCxV3EntityTypeEntity `json:"entities,omitempty"` - // MessageAnnotation: Output only. The annotation for the message. - MessageAnnotation *GoogleCloudDialogflowV2MessageAnnotation `json:"messageAnnotation,omitempty"` + // EntityOverrideMode: Required. Indicates whether the additional data + // should override or supplement the custom entity type definition. + // + // Possible values: + // "ENTITY_OVERRIDE_MODE_UNSPECIFIED" - Not specified. This value + // should be never used. + // "ENTITY_OVERRIDE_MODE_OVERRIDE" - The collection of session + // entities overrides the collection of entities in the corresponding + // custom entity type. + // "ENTITY_OVERRIDE_MODE_SUPPLEMENT" - The collection of session + // entities extends the collection of entities in the corresponding + // custom entity type. Note: Even in this override mode calls to + // `ListSessionEntityTypes`, `GetSessionEntityType`, + // `CreateSessionEntityType` and `UpdateSessionEntityType` only return + // the additional entities added in this session entity type. If you + // want to get the supplemented list, please call + // EntityTypes.GetEntityType on the custom entity type and merge. + EntityOverrideMode string `json:"entityOverrideMode,omitempty"` - // Name: The unique identifier of the message. Format: - // `projects//locations//conversations//messages/`. + // Name: Required. The unique identifier of the session entity type. + // Format: `projects//locations//agents//sessions//entityTypes/` or + // `projects//locations//agents//environments//sessions//entityTypes/`. + // If `Environment ID` is not specified, we assume default 'draft' + // environment. Name string `json:"name,omitempty"` - // Participant: Output only. The participant that sends this message. - Participant string `json:"participant,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ParticipantRole: Output only. The role of the participant. - // - // Possible values: - // "ROLE_UNSPECIFIED" - Participant role not set. - // "HUMAN_AGENT" - Participant is a human agent. - // "AUTOMATED_AGENT" - Participant is an automated agent, such as a - // Dialogflow agent. - // "END_USER" - Participant is an end user that has called or chatted - // with Dialogflow services. - ParticipantRole string `json:"participantRole,omitempty"` + // ForceSendFields is a list of field names (e.g. "Entities") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` - // ForceSendFields is a list of field names (e.g. "Content") to + // NullFields is a list of field names (e.g. "Entities") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3SessionEntityType) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3SessionEntityType + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3SessionInfo: Represents session information +// communicated to and from the webhook. +type GoogleCloudDialogflowCxV3SessionInfo struct { + // Parameters: Optional for WebhookRequest. Optional for + // WebhookResponse. All parameters collected from forms and intents + // during the session. Parameters can be created, updated, or removed by + // the webhook. To remove a parameter from the session, the webhook + // should explicitly set the parameter value to null in WebhookResponse. + // The map is keyed by parameters' display names. + Parameters googleapi.RawMessage `json:"parameters,omitempty"` + + // Session: Always present for WebhookRequest. Ignored for + // WebhookResponse. The unique identifier of the session. This field can + // be used by the webhook to identify a user. Format: + // `projects//locations//agents//sessions/`. + Session string `json:"session,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Parameters") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -2897,7 +3773,7 @@ type GoogleCloudDialogflowV2Message struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Content") to include in + // NullFields is a list of field names (e.g. "Parameters") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -2906,25 +3782,80 @@ type GoogleCloudDialogflowV2Message struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2Message) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2Message +func (s *GoogleCloudDialogflowCxV3SessionInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3SessionInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2MessageAnnotation: Represents the result of -// annotation for the message. -type GoogleCloudDialogflowV2MessageAnnotation struct { - // ContainEntities: Indicates whether the text message contains - // entities. - ContainEntities bool `json:"containEntities,omitempty"` +// GoogleCloudDialogflowCxV3SpeechToTextSettings: Settings related to +// speech recognition. +type GoogleCloudDialogflowCxV3SpeechToTextSettings struct { + // EnableSpeechAdaptation: Whether to use speech adaptation for speech + // recognition. + EnableSpeechAdaptation bool `json:"enableSpeechAdaptation,omitempty"` - // Parts: The collection of annotated message parts ordered by their - // position in the message. You can recover the annotated message by - // concatenating [AnnotatedMessagePart.text]. - Parts []*GoogleCloudDialogflowV2AnnotatedMessagePart `json:"parts,omitempty"` + // ForceSendFields is a list of field names (e.g. + // "EnableSpeechAdaptation") to unconditionally include in API requests. + // By default, fields with empty values are omitted from API requests. + // However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` - // ForceSendFields is a list of field names (e.g. "ContainEntities") to + // NullFields is a list of field names (e.g. "EnableSpeechAdaptation") + // to include in API requests with the JSON null value. By default, + // fields with empty values are omitted from API requests. However, any + // field with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3SpeechToTextSettings) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3SpeechToTextSettings + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3SynthesizeSpeechConfig: Configuration of how +// speech should be synthesized. +type GoogleCloudDialogflowCxV3SynthesizeSpeechConfig struct { + // EffectsProfileId: Optional. An identifier which selects 'audio + // effects' profiles that are applied on (post synthesized) text to + // speech. Effects are applied on top of each other in the order they + // are given. + EffectsProfileId []string `json:"effectsProfileId,omitempty"` + + // Pitch: Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means + // increase 20 semitones from the original pitch. -20 means decrease 20 + // semitones from the original pitch. + Pitch float64 `json:"pitch,omitempty"` + + // SpeakingRate: Optional. Speaking rate/speed, in the range [0.25, + // 4.0]. 1.0 is the normal native speed supported by the specific voice. + // 2.0 is twice as fast, and 0.5 is half as fast. If unset(0.0), + // defaults to the native 1.0 speed. Any other values < 0.25 or > 4.0 + // will return an error. + SpeakingRate float64 `json:"speakingRate,omitempty"` + + // Voice: Optional. The desired voice of the synthesized audio. + Voice *GoogleCloudDialogflowCxV3VoiceSelectionParams `json:"voice,omitempty"` + + // VolumeGainDb: Optional. Volume gain (in dB) of the normal native + // volume supported by the specific voice, in the range [-96.0, 16.0]. + // If unset, or set to a value of 0.0 (dB), will play at normal native + // signal amplitude. A value of -6.0 (dB) will play at approximately + // half the amplitude of the normal native signal amplitude. A value of + // +6.0 (dB) will play at approximately twice the amplitude of the + // normal native signal amplitude. We strongly recommend not to exceed + // +10 (dB) as there's usually no effective increase in loudness for any + // value greater than that. + VolumeGainDb float64 `json:"volumeGainDb,omitempty"` + + // ForceSendFields is a list of field names (e.g. "EffectsProfileId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -2932,7 +3863,7 @@ type GoogleCloudDialogflowV2MessageAnnotation struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ContainEntities") to + // NullFields is a list of field names (e.g. "EffectsProfileId") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -2942,37 +3873,38 @@ type GoogleCloudDialogflowV2MessageAnnotation struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2MessageAnnotation) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2MessageAnnotation +func (s *GoogleCloudDialogflowCxV3SynthesizeSpeechConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3SynthesizeSpeechConfig raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2OriginalDetectIntentRequest: Represents the -// contents of the original request that was passed to the -// `[Streaming]DetectIntent` call. -type GoogleCloudDialogflowV2OriginalDetectIntentRequest struct { - // Payload: Optional. This field is set to the value of the - // `QueryParameters.payload` field passed in the request. Some - // integrations that query a Dialogflow agent may provide additional - // information in the payload. In particular, for the Dialogflow Phone - // Gateway integration, this field has the form: { "telephony": { - // "caller_id": "+18558363987" } } Note: The caller ID field - // (`caller_id`) will be redacted for Trial Edition agents and populated - // with the caller ID in [E.164 - // format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition - // agents. - Payload googleapi.RawMessage `json:"payload,omitempty"` - - // Source: The source of this request, e.g., `google`, `facebook`, - // `slack`. It is set by Dialogflow-owned servers. - Source string `json:"source,omitempty"` +func (s *GoogleCloudDialogflowCxV3SynthesizeSpeechConfig) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowCxV3SynthesizeSpeechConfig + var s1 struct { + Pitch gensupport.JSONFloat64 `json:"pitch"` + SpeakingRate gensupport.JSONFloat64 `json:"speakingRate"` + VolumeGainDb gensupport.JSONFloat64 `json:"volumeGainDb"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Pitch = float64(s1.Pitch) + s.SpeakingRate = float64(s1.SpeakingRate) + s.VolumeGainDb = float64(s1.VolumeGainDb) + return nil +} - // Version: Optional. The version of the protocol used for this request. - // This field is AoG-specific. - Version string `json:"version,omitempty"` +// GoogleCloudDialogflowCxV3TextInput: Represents the natural language +// text to be processed. +type GoogleCloudDialogflowCxV3TextInput struct { + // Text: Required. The UTF-8 encoded natural language text to be + // processed. Text length must not exceed 256 characters. + Text string `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. "Payload") to + // ForceSendFields is a list of field names (e.g. "Text") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -2980,8 +3912,8 @@ type GoogleCloudDialogflowV2OriginalDetectIntentRequest struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Payload") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Text") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -2989,111 +3921,170 @@ type GoogleCloudDialogflowV2OriginalDetectIntentRequest struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2OriginalDetectIntentRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2OriginalDetectIntentRequest +func (s *GoogleCloudDialogflowCxV3TextInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TextInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2QueryResult: Represents the result of -// conversational query or event processing. -type GoogleCloudDialogflowV2QueryResult struct { - // Action: The action name from the matched intent. - Action string `json:"action,omitempty"` +// GoogleCloudDialogflowCxV3TrainFlowRequest: The request message for +// Flows.TrainFlow. +type GoogleCloudDialogflowCxV3TrainFlowRequest struct { +} + +// GoogleCloudDialogflowCxV3TransitionRoute: A transition route +// specifies a intent that can be matched and/or a data condition that +// can be evaluated during a session. When a specified transition is +// matched, the following actions are taken in order: * If there is a +// `trigger_fulfillment` associated with the transition, it will be +// called. * If there is a `target_page` associated with the transition, +// the session will transition into the specified page. * If there is a +// `target_flow` associated with the transition, the session will +// transition into the specified flow. +type GoogleCloudDialogflowCxV3TransitionRoute struct { + // Condition: The condition to evaluate against form parameters or + // session parameters. See the [conditions + // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condi + // tion). At least one of `intent` or `condition` must be specified. + // When both `intent` and `condition` are specified, the transition can + // only happen when both are fulfilled. + Condition string `json:"condition,omitempty"` + + // Intent: The unique identifier of an Intent. Format: + // `projects//locations//agents//intents/`. Indicates that the + // transition can only happen when the given intent is matched. At least + // one of `intent` or `condition` must be specified. When both `intent` + // and `condition` are specified, the transition can only happen when + // both are fulfilled. + Intent string `json:"intent,omitempty"` + + // Name: Output only. The unique identifier of this transition route. + Name string `json:"name,omitempty"` - // AllRequiredParamsPresent: This field is set to: - `false` if the - // matched intent has required parameters and not all of the required - // parameter values have been collected. - `true` if all required - // parameter values have been collected, or if the matched intent - // doesn't contain any required parameters. - AllRequiredParamsPresent bool `json:"allRequiredParamsPresent,omitempty"` + // TargetFlow: The target flow to transition to. Format: + // `projects//locations//agents//flows/`. + TargetFlow string `json:"targetFlow,omitempty"` - // DiagnosticInfo: Free-form diagnostic information for the associated - // detect intent request. The fields of this data can change without - // notice, so you should not write code that depends on its structure. - // The data may contain: - webhook call latency - webhook errors - DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` + // TargetPage: The target page to transition to. Format: + // `projects//locations//agents//flows//pages/`. + TargetPage string `json:"targetPage,omitempty"` - // FulfillmentMessages: The collection of rich messages to present to - // the user. - FulfillmentMessages []*GoogleCloudDialogflowV2IntentMessage `json:"fulfillmentMessages,omitempty"` + // TriggerFulfillment: The fulfillment to call when the condition is + // satisfied. At least one of `trigger_fulfillment` and `target` must be + // specified. When both are defined, `trigger_fulfillment` is executed + // first. + TriggerFulfillment *GoogleCloudDialogflowCxV3Fulfillment `json:"triggerFulfillment,omitempty"` - // FulfillmentText: The text to be pronounced to the user or shown on - // the screen. Note: This is a legacy field, `fulfillment_messages` - // should be preferred. - FulfillmentText string `json:"fulfillmentText,omitempty"` + // ForceSendFields is a list of field names (e.g. "Condition") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` - // Intent: The intent that matched the conversational query. Some, not - // all fields are filled in this message, including but not limited to: - // `name`, `display_name`, `end_interaction` and `is_fallback`. - Intent *GoogleCloudDialogflowV2Intent `json:"intent,omitempty"` + // NullFields is a list of field names (e.g. "Condition") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} - // IntentDetectionConfidence: The intent detection confidence. Values - // range from 0.0 (completely uncertain) to 1.0 (completely certain). - // This value is for informational purpose only and is only used to help - // match the best intent within the classification threshold. This value - // may change for the same end-user expression at any time due to a - // model retraining or change in implementation. If there are `multiple - // knowledge_answers` messages, this value is set to the greatest - // `knowledgeAnswers.match_confidence` value in the list. - IntentDetectionConfidence float64 `json:"intentDetectionConfidence,omitempty"` +func (s *GoogleCloudDialogflowCxV3TransitionRoute) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TransitionRoute + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // LanguageCode: The language that was triggered during intent - // detection. See [Language - // Support](https://cloud.google.com/dialogflow/docs/reference/language) - // for a list of the currently supported language codes. - LanguageCode string `json:"languageCode,omitempty"` +// GoogleCloudDialogflowCxV3TransitionRouteGroup: An +// TransitionRouteGroup represents a group of `TransitionRoutes` to be +// used by a Page. +type GoogleCloudDialogflowCxV3TransitionRouteGroup struct { + // DisplayName: Required. The human-readable name of the transition + // route group, unique within the Agent. The display name can be no + // longer than 30 characters. + DisplayName string `json:"displayName,omitempty"` - // OutputContexts: The collection of output contexts. If applicable, - // `output_contexts.parameters` contains entries with name `.original` - // containing the original parameter values before the query. - OutputContexts []*GoogleCloudDialogflowV2Context `json:"outputContexts,omitempty"` + // Name: The unique identifier of the transition route group. + // TransitionRouteGroups.CreateTransitionRouteGroup populates the name + // automatically. Format: + // `projects//locations//agents//flows//transitionRouteGroups/`. + Name string `json:"name,omitempty"` - // Parameters: The collection of extracted parameters. Depending on your - // protocol or client library language, this is a map, associative - // array, symbol table, dictionary, or JSON object composed of a - // collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: string or number, depending - // on parameter value type - MapValue value: - If parameter's entity - // type is a composite entity: map from composite entity property names - // to property values - Else: parameter value - Parameters googleapi.RawMessage `json:"parameters,omitempty"` + // TransitionRoutes: Transition routes associated with the + // TransitionRouteGroup. Duplicate transition routes (i.e. using the + // same `intent`) are not allowed. Note that the `name` field is not + // used in the transition route group scope. + TransitionRoutes []*GoogleCloudDialogflowCxV3TransitionRoute `json:"transitionRoutes,omitempty"` - // QueryText: The original conversational query text: - If natural - // language text was provided as input, `query_text` contains a copy of - // the input. - If natural language speech audio was provided as input, - // `query_text` contains the speech recognition result. If speech - // recognizer produced multiple alternatives, a particular one is - // picked. - If automatic spell correction is enabled, `query_text` will - // contain the corrected user input. - QueryText string `json:"queryText,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // SentimentAnalysisResult: The sentiment analysis result, which depends - // on the `sentiment_analysis_request_config` specified in the request. - SentimentAnalysisResult *GoogleCloudDialogflowV2SentimentAnalysisResult `json:"sentimentAnalysisResult,omitempty"` + // ForceSendFields is a list of field names (e.g. "DisplayName") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` - // SpeechRecognitionConfidence: The Speech recognition confidence - // between 0.0 and 1.0. A higher number indicates an estimated greater - // likelihood that the recognized words are correct. The default of 0.0 - // is a sentinel value indicating that confidence was not set. This - // field is not guaranteed to be accurate or set. In particular this - // field isn't set for StreamingDetectIntent since the streaming - // endpoint has separate confidence estimates per portion of the audio - // in StreamingRecognitionResult. - SpeechRecognitionConfidence float64 `json:"speechRecognitionConfidence,omitempty"` + // NullFields is a list of field names (e.g. "DisplayName") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} - // WebhookPayload: If the query was fulfilled by a webhook call, this - // field is set to the value of the `payload` field returned in the - // webhook response. - WebhookPayload googleapi.RawMessage `json:"webhookPayload,omitempty"` +func (s *GoogleCloudDialogflowCxV3TransitionRouteGroup) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TransitionRouteGroup + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // WebhookSource: If the query was fulfilled by a webhook call, this - // field is set to the value of the `source` field returned in the - // webhook response. - WebhookSource string `json:"webhookSource,omitempty"` +// GoogleCloudDialogflowCxV3Version: Represents a version of a flow. +type GoogleCloudDialogflowCxV3Version struct { + // CreateTime: Output only. Create time of the version. + CreateTime string `json:"createTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "Action") to + // Description: The description of the version. The maximum length is + // 500 characters. If exceeded, the request is rejected. + Description string `json:"description,omitempty"` + + // DisplayName: Required. The human-readable name of the version. Limit + // of 64 characters. + DisplayName string `json:"displayName,omitempty"` + + // Name: Format: projects//locations//agents//flows//versions/. Version + // ID is a self-increasing number generated by Dialogflow upon version + // creation. + Name string `json:"name,omitempty"` + + // NluSettings: Output only. The NLU settings of the flow at version + // creation. + NluSettings *GoogleCloudDialogflowCxV3NluSettings `json:"nluSettings,omitempty"` + + // State: Output only. The state of this version. This field is + // read-only and cannot be set by create and update methods. + // + // Possible values: + // "STATE_UNSPECIFIED" - Not specified. This value is not used. + // "RUNNING" - Version is not ready to serve (e.g. training is + // running). + // "SUCCEEDED" - Training has succeeded and this version is ready to + // serve. + // "FAILED" - Version training failed. + State string `json:"state,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -3101,8 +4092,8 @@ type GoogleCloudDialogflowV2QueryResult struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Action") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "CreateTime") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -3110,42 +4101,37 @@ type GoogleCloudDialogflowV2QueryResult struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2QueryResult) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2QueryResult +func (s *GoogleCloudDialogflowCxV3Version) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3Version raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -func (s *GoogleCloudDialogflowV2QueryResult) UnmarshalJSON(data []byte) error { - type NoMethod GoogleCloudDialogflowV2QueryResult - var s1 struct { - IntentDetectionConfidence gensupport.JSONFloat64 `json:"intentDetectionConfidence"` - SpeechRecognitionConfidence gensupport.JSONFloat64 `json:"speechRecognitionConfidence"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.IntentDetectionConfidence = float64(s1.IntentDetectionConfidence) - s.SpeechRecognitionConfidence = float64(s1.SpeechRecognitionConfidence) - return nil -} - -// GoogleCloudDialogflowV2Sentiment: The sentiment, such as -// positive/negative feeling or association, for a unit of analysis, -// such as the query text. -type GoogleCloudDialogflowV2Sentiment struct { - // Magnitude: A non-negative number in the [0, +inf) range, which - // represents the absolute magnitude of sentiment, regardless of score - // (positive or negative). - Magnitude float64 `json:"magnitude,omitempty"` +// GoogleCloudDialogflowCxV3VoiceSelectionParams: Description of which +// voice to use for speech synthesis. +type GoogleCloudDialogflowCxV3VoiceSelectionParams struct { + // Name: Optional. The name of the voice. If not set, the service will + // choose a voice based on the other parameters such as language_code + // and ssml_gender. + Name string `json:"name,omitempty"` - // Score: Sentiment score between -1.0 (negative sentiment) and 1.0 - // (positive sentiment). - Score float64 `json:"score,omitempty"` + // SsmlGender: Optional. The preferred gender of the voice. If not set, + // the service will choose a voice based on the other parameters such as + // language_code and name. Note that this is only a preference, not + // requirement. If a voice of the appropriate gender is not available, + // the synthesizer should substitute a voice with a different gender + // rather than failing the request. + // + // Possible values: + // "SSML_VOICE_GENDER_UNSPECIFIED" - An unspecified gender, which + // means that the client doesn't care which gender the selected voice + // will have. + // "SSML_VOICE_GENDER_MALE" - A male voice. + // "SSML_VOICE_GENDER_FEMALE" - A female voice. + // "SSML_VOICE_GENDER_NEUTRAL" - A gender-neutral voice. + SsmlGender string `json:"ssmlGender,omitempty"` - // ForceSendFields is a list of field names (e.g. "Magnitude") to + // ForceSendFields is a list of field names (e.g. "Name") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -3153,8 +4139,8 @@ type GoogleCloudDialogflowV2Sentiment struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Magnitude") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Name") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -3162,109 +4148,84 @@ type GoogleCloudDialogflowV2Sentiment struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2Sentiment) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2Sentiment +func (s *GoogleCloudDialogflowCxV3VoiceSelectionParams) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3VoiceSelectionParams raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -func (s *GoogleCloudDialogflowV2Sentiment) UnmarshalJSON(data []byte) error { - type NoMethod GoogleCloudDialogflowV2Sentiment - var s1 struct { - Magnitude gensupport.JSONFloat64 `json:"magnitude"` - Score gensupport.JSONFloat64 `json:"score"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.Magnitude = float64(s1.Magnitude) - s.Score = float64(s1.Score) - return nil -} +// GoogleCloudDialogflowCxV3Webhook: Webhooks host the developer's +// business logic. During a session, webhooks allow the developer to use +// the data extracted by Dialogflow's natural language processing to +// generate dynamic responses, validate collected data, or trigger +// actions on the backend. +type GoogleCloudDialogflowCxV3Webhook struct { + // Disabled: Indicates whether the webhook is disabled. + Disabled bool `json:"disabled,omitempty"` -// GoogleCloudDialogflowV2SentimentAnalysisResult: The result of -// sentiment analysis. Sentiment analysis inspects user input and -// identifies the prevailing subjective opinion, especially to determine -// a user's attitude as positive, negative, or neutral. For -// Participants.DetectIntent, it needs to be configured in -// DetectIntentRequest.query_params. For -// Participants.StreamingDetectIntent, it needs to be configured in -// StreamingDetectIntentRequest.query_params. And for -// Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, -// it needs to be configured in -// ConversationProfile.human_agent_assistant_config -type GoogleCloudDialogflowV2SentimentAnalysisResult struct { - // QueryTextSentiment: The sentiment analysis result for `query_text`. - QueryTextSentiment *GoogleCloudDialogflowV2Sentiment `json:"queryTextSentiment,omitempty"` + // DisplayName: Required. The human-readable name of the webhook, unique + // within the agent. + DisplayName string `json:"displayName,omitempty"` - // ForceSendFields is a list of field names (e.g. "QueryTextSentiment") - // to unconditionally include in API requests. By default, fields with + // GenericWebService: Configuration for a generic web service. + GenericWebService *GoogleCloudDialogflowCxV3WebhookGenericWebService `json:"genericWebService,omitempty"` + + // Name: The unique identifier of the webhook. Required for the + // Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the + // name automatically. Format: `projects//locations//agents//webhooks/`. + Name string `json:"name,omitempty"` + + // Timeout: Webhook execution timeout. Execution is considered failed if + // Dialogflow doesn't receive a response from webhook at the end of the + // timeout period. Defaults to 5 seconds, maximum allowed timeout is 30 + // seconds. + Timeout string `json:"timeout,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Disabled") to + // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "QueryTextSentiment") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "Disabled") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2SentimentAnalysisResult) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2SentimentAnalysisResult +func (s *GoogleCloudDialogflowCxV3Webhook) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3Webhook raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2SessionEntityType: A session represents a -// conversation between a Dialogflow agent and an end-user. You can -// create special entities, called session entities, during a session. -// Session entities can extend or replace custom entity types and only -// exist during the session that they were created for. All session -// data, including session entities, is stored by Dialogflow for 20 -// minutes. For more information, see the [session entity -// guide](https://cloud.google.com/dialogflow/docs/entities-session). -type GoogleCloudDialogflowV2SessionEntityType struct { - // Entities: Required. The collection of entities associated with this - // session entity type. - Entities []*GoogleCloudDialogflowV2EntityTypeEntity `json:"entities,omitempty"` +// GoogleCloudDialogflowCxV3WebhookGenericWebService: Represents +// configuration for a generic web service. +type GoogleCloudDialogflowCxV3WebhookGenericWebService struct { + // Password: The password for HTTP Basic authentication. + Password string `json:"password,omitempty"` - // EntityOverrideMode: Required. Indicates whether the additional data - // should override or supplement the custom entity type definition. - // - // Possible values: - // "ENTITY_OVERRIDE_MODE_UNSPECIFIED" - Not specified. This value - // should be never used. - // "ENTITY_OVERRIDE_MODE_OVERRIDE" - The collection of session - // entities overrides the collection of entities in the corresponding - // custom entity type. - // "ENTITY_OVERRIDE_MODE_SUPPLEMENT" - The collection of session - // entities extends the collection of entities in the corresponding - // custom entity type. Note: Even in this override mode calls to - // `ListSessionEntityTypes`, `GetSessionEntityType`, - // `CreateSessionEntityType` and `UpdateSessionEntityType` only return - // the additional entities added in this session entity type. If you - // want to get the supplemented list, please call - // EntityTypes.GetEntityType on the custom entity type and merge. - EntityOverrideMode string `json:"entityOverrideMode,omitempty"` + // RequestHeaders: The HTTP request headers to send together with + // webhook requests. + RequestHeaders map[string]string `json:"requestHeaders,omitempty"` - // Name: Required. The unique identifier of this session entity type. - // Format: `projects//agent/sessions//entityTypes/`, or - // `projects//agent/environments//users//sessions//entityTypes/`. If - // `Environment ID` is not specified, we assume default 'draft' - // environment. If `User ID` is not specified, we assume default '-' - // user. `` must be the display name of an existing entity type in the - // same agent that will be overridden or supplemented. - Name string `json:"name,omitempty"` + // Uri: Required. The webhook URI for receiving POST requests. It must + // use https protocol. + Uri string `json:"uri,omitempty"` - // ForceSendFields is a list of field names (e.g. "Entities") to + // Username: The user name for HTTP Basic authentication. + Username string `json:"username,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Password") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -3272,7 +4233,7 @@ type GoogleCloudDialogflowV2SessionEntityType struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Entities") to include in + // NullFields is a list of field names (e.g. "Password") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -3281,121 +4242,110 @@ type GoogleCloudDialogflowV2SessionEntityType struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2SessionEntityType) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2SessionEntityType +func (s *GoogleCloudDialogflowCxV3WebhookGenericWebService) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookGenericWebService raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2WebhookRequest: The request message for a +// GoogleCloudDialogflowCxV3WebhookRequest: The request message for a // webhook call. -type GoogleCloudDialogflowV2WebhookRequest struct { - // OriginalDetectIntentRequest: Optional. The contents of the original - // request that was passed to `[Streaming]DetectIntent` call. - OriginalDetectIntentRequest *GoogleCloudDialogflowV2OriginalDetectIntentRequest `json:"originalDetectIntentRequest,omitempty"` +type GoogleCloudDialogflowCxV3WebhookRequest struct { + // DetectIntentResponseId: Always present. The unique identifier of the + // DetectIntentResponse that will be returned to the API caller. + DetectIntentResponseId string `json:"detectIntentResponseId,omitempty"` - // QueryResult: The result of the conversational query or event - // processing. Contains the same value as - // `[Streaming]DetectIntentResponse.query_result`. - QueryResult *GoogleCloudDialogflowV2QueryResult `json:"queryResult,omitempty"` + // FulfillmentInfo: Always present. Information about the fulfillment + // that triggered this webhook call. + FulfillmentInfo *GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo `json:"fulfillmentInfo,omitempty"` - // ResponseId: The unique identifier of the response. Contains the same - // value as `[Streaming]DetectIntentResponse.response_id`. - ResponseId string `json:"responseId,omitempty"` + // IntentInfo: Information about the last matched intent. + IntentInfo *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo `json:"intentInfo,omitempty"` - // Session: The unique identifier of detectIntent request session. Can - // be used to identify end-user inside webhook implementation. Format: - // `projects//agent/sessions/`, or - // `projects//agent/environments//users//sessions/`. - Session string `json:"session,omitempty"` + // Messages: The list of rich message responses to present to the user. + // Webhook can choose to append or replace this list in + // WebhookResponse.fulfillment_response; + Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"` + + // PageInfo: Information about page status. + PageInfo *GoogleCloudDialogflowCxV3PageInfo `json:"pageInfo,omitempty"` + + // Payload: Custom data set in QueryParameters.payload. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // SessionInfo: Information about session status. + SessionInfo *GoogleCloudDialogflowCxV3SessionInfo `json:"sessionInfo,omitempty"` // ForceSendFields is a list of field names (e.g. - // "OriginalDetectIntentRequest") to unconditionally include in API - // requests. By default, fields with empty values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in + // "DetectIntentResponseId") to unconditionally include in API requests. + // By default, fields with empty values are omitted from API requests. + // However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. - // "OriginalDetectIntentRequest") to include in API requests with the - // JSON null value. By default, fields with empty values are omitted - // from API requests. However, any field with an empty value appearing - // in NullFields will be sent to the server as null. It is an error if a - // field in this list has a non-empty value. This may be used to include - // null fields in Patch requests. + // NullFields is a list of field names (e.g. "DetectIntentResponseId") + // to include in API requests with the JSON null value. By default, + // fields with empty values are omitted from API requests. However, any + // field with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2WebhookRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2WebhookRequest +func (s *GoogleCloudDialogflowCxV3WebhookRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2WebhookResponse: The response message for a -// webhook call. This response is validated by the Dialogflow server. If -// validation fails, an error will be returned in the -// QueryResult.diagnostic_info field. Setting JSON fields to an empty -// value with the wrong type is a common error. To avoid this error: - -// Use "" for empty strings - Use `{}` or `null` for empty objects - -// Use `[]` or `null` for empty arrays For more information, see the -// [Protocol Buffers Language -// Guide](https://developers.google.com/protocol-buffers/docs/proto3#json -// ). -type GoogleCloudDialogflowV2WebhookResponse struct { - // FollowupEventInput: Optional. Invokes the supplied events. When this - // field is set, Dialogflow ignores the `fulfillment_text`, - // `fulfillment_messages`, and `payload` fields. - FollowupEventInput *GoogleCloudDialogflowV2EventInput `json:"followupEventInput,omitempty"` - - // FulfillmentMessages: Optional. The rich response messages intended - // for the end-user. When provided, Dialogflow uses this field to - // populate QueryResult.fulfillment_messages sent to the integration or - // API caller. - FulfillmentMessages []*GoogleCloudDialogflowV2IntentMessage `json:"fulfillmentMessages,omitempty"` +// GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo: Represents +// fulfillment information communicated to the webhook. +type GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo struct { + // Tag: Always present. The tag used to identify which fulfillment is + // being called. + Tag string `json:"tag,omitempty"` - // FulfillmentText: Optional. The text response message intended for the - // end-user. It is recommended to use - // `fulfillment_messages.text.text[0]` instead. When provided, - // Dialogflow uses this field to populate QueryResult.fulfillment_text - // sent to the integration or API caller. - FulfillmentText string `json:"fulfillmentText,omitempty"` + // ForceSendFields is a list of field names (e.g. "Tag") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` - // OutputContexts: Optional. The collection of output contexts that will - // overwrite currently active contexts for the session and reset their - // lifespans. When provided, Dialogflow uses this field to populate - // QueryResult.output_contexts sent to the integration or API caller. - OutputContexts []*GoogleCloudDialogflowV2Context `json:"outputContexts,omitempty"` + // NullFields is a list of field names (e.g. "Tag") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} - // Payload: Optional. This field can be used to pass custom data from - // your webhook to the integration or API caller. Arbitrary JSON objects - // are supported. When provided, Dialogflow uses this field to populate - // QueryResult.webhook_payload sent to the integration or API caller. - // This field is also used by the [Google Assistant - // integration](https://cloud.google.com/dialogflow/docs/integrations/aog - // ) for rich response messages. See the format definition at [Google - // Assistant Dialogflow webhook - // format](https://developers.google.com/assistant/actions/build/json/dia - // logflow-webhook-json) - Payload googleapi.RawMessage `json:"payload,omitempty"` +func (s *GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // SessionEntityTypes: Optional. Additional session entity types to - // replace or extend developer entity types with. The entity synonyms - // apply to all languages and persist for the session. Setting this data - // from a webhook overwrites the session entity types that have been set - // using `detectIntent`, `streamingDetectIntent` or SessionEntityType - // management methods. - SessionEntityTypes []*GoogleCloudDialogflowV2SessionEntityType `json:"sessionEntityTypes,omitempty"` +// GoogleCloudDialogflowCxV3WebhookRequestIntentInfo: Represents intent +// information communicated to the webhook. +type GoogleCloudDialogflowCxV3WebhookRequestIntentInfo struct { + // LastMatchedIntent: Always present. The unique identifier of the last + // matched intent. Format: `projects//locations//agents//intents/`. + LastMatchedIntent string `json:"lastMatchedIntent,omitempty"` - // Source: Optional. A custom field used to identify the webhook source. - // Arbitrary strings are supported. When provided, Dialogflow uses this - // field to populate QueryResult.webhook_source sent to the integration - // or API caller. - Source string `json:"source,omitempty"` + // Parameters: Parameters identified as a result of intent matching. + // This is a map of the name of the identified parameter to the value of + // the parameter identified from the user's utterance. All parameters + // defined in the matched intent that are identified will be surfaced + // here. + Parameters map[string]GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue `json:"parameters,omitempty"` - // ForceSendFields is a list of field names (e.g. "FollowupEventInput") + // ForceSendFields is a list of field names (e.g. "LastMatchedIntent") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -3403,7 +4353,7 @@ type GoogleCloudDialogflowV2WebhookResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "FollowupEventInput") to + // NullFields is a list of field names (e.g. "LastMatchedIntent") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -3413,19 +4363,24 @@ type GoogleCloudDialogflowV2WebhookResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2WebhookResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2WebhookResponse +func (s *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequestIntentInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse: The -// response message for EntityTypes.BatchUpdateEntityTypes. -type GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse struct { - // EntityTypes: The collection of updated or created entity types. - EntityTypes []*GoogleCloudDialogflowV2beta1EntityType `json:"entityTypes,omitempty"` +// GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue: +// Represents a value for an intent parameter. +type GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue struct { + // OriginalValue: Always present. Original text value extracted from + // user utterance. + OriginalValue string `json:"originalValue,omitempty"` - // ForceSendFields is a list of field names (e.g. "EntityTypes") to + // ResolvedValue: Always present. Structured value for the parameter + // extracted from user utterance. + ResolvedValue interface{} `json:"resolvedValue,omitempty"` + + // ForceSendFields is a list of field names (e.g. "OriginalValue") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -3433,7 +4388,7 @@ type GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "EntityTypes") to include + // NullFields is a list of field names (e.g. "OriginalValue") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -3442,89 +4397,82 @@ type GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse +func (s *GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse: The response -// message for Intents.BatchUpdateIntents. -type GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse struct { - // Intents: The collection of updated or created intents. - Intents []*GoogleCloudDialogflowV2beta1Intent `json:"intents,omitempty"` +// GoogleCloudDialogflowCxV3WebhookResponse: The response message for a +// webhook call. +type GoogleCloudDialogflowCxV3WebhookResponse struct { + // FulfillmentResponse: The fulfillment response to send to the user. + // This field can be omitted by the webhook if it does not intend to + // send any response to the user. + FulfillmentResponse *GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse `json:"fulfillmentResponse,omitempty"` - // ForceSendFields is a list of field names (e.g. "Intents") to - // unconditionally include in API requests. By default, fields with + // PageInfo: Information about page status. This field can be omitted by + // the webhook if it does not intend to modify page status. + PageInfo *GoogleCloudDialogflowCxV3PageInfo `json:"pageInfo,omitempty"` + + // Payload: Value to append directly to QueryResult.webhook_payloads. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // SessionInfo: Information about session status. This field can be + // omitted by the webhook if it does not intend to modify session + // status. + SessionInfo *GoogleCloudDialogflowCxV3SessionInfo `json:"sessionInfo,omitempty"` + + // TargetFlow: The target flow to transition to. Format: + // `projects//locations//agents//flows/`. + TargetFlow string `json:"targetFlow,omitempty"` + + // TargetPage: The target page to transition to. Format: + // `projects//locations//agents//flows//pages/`. + TargetPage string `json:"targetPage,omitempty"` + + // ForceSendFields is a list of field names (e.g. "FulfillmentResponse") + // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Intents") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "FulfillmentResponse") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse +func (s *GoogleCloudDialogflowCxV3WebhookResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1Context: Dialogflow contexts are similar -// to natural language context. If a person says to you "they are -// orange", you need context in order to understand what "they" is -// referring to. Similarly, for Dialogflow to handle an end-user -// expression like that, it needs to be provided with context in order -// to correctly match an intent. Using contexts, you can control the -// flow of a conversation. You can configure contexts for an intent by -// setting input and output contexts, which are identified by string -// names. When an intent is matched, any configured output contexts for -// that intent become active. While any contexts are active, Dialogflow -// is more likely to match intents that are configured with input -// contexts that correspond to the currently active contexts. For more -// information about context, see the [Contexts -// guide](https://cloud.google.com/dialogflow/docs/contexts-overview). -type GoogleCloudDialogflowV2beta1Context struct { - // LifespanCount: Optional. The number of conversational query requests - // after which the context expires. The default is `0`. If set to `0`, - // the context expires immediately. Contexts expire automatically after - // 20 minutes if there are no matching queries. - LifespanCount int64 `json:"lifespanCount,omitempty"` - - // Name: Required. The unique identifier of the context. Supported - // formats: - `projects//agent/sessions//contexts/`, - - // `projects//locations//agent/sessions//contexts/`, - - // `projects//agent/environments//users//sessions//contexts/`, - - // `projects//locations//agent/environments//users//sessions//contexts/`, - // The `Context ID` is always converted to lowercase, may only contain - // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If - // `Environment ID` is not specified, we assume default 'draft' - // environment. If `User ID` is not specified, we assume default '-' - // user. The following context names are reserved for internal use by - // Dialogflow. You should not use these contexts or create contexts with - // these names: * `__system_counters__` * `*_id_dialog_context` * - // `*_dialog_params_size` - Name string `json:"name,omitempty"` +// GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse: +// Represents a fulfillment response to the user. +type GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse struct { + // MergeBehavior: Merge behavior for `messages`. + // + // Possible values: + // "MERGE_BEHAVIOR_UNSPECIFIED" - Not specified. `APPEND` will be + // used. + // "APPEND" - `messages` will be appended to the list of messages + // waiting to be sent to the user. + // "REPLACE" - `messages` will replace the list of messages waiting to + // be sent to the user. + MergeBehavior string `json:"mergeBehavior,omitempty"` - // Parameters: Optional. The collection of parameters associated with - // this context. Depending on your protocol or client library language, - // this is a map, associative array, symbol table, dictionary, or JSON - // object composed of a collection of (MapKey, MapValue) pairs: - MapKey - // type: string - MapKey value: parameter name - MapValue type: - If - // parameter's entity type is a composite entity: map - Else: string or - // number, depending on parameter value type - MapValue value: - If - // parameter's entity type is a composite entity: map from composite - // entity property names to property values - Else: parameter value - Parameters googleapi.RawMessage `json:"parameters,omitempty"` + // Messages: The list of rich message responses to present to the user. + Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"` - // ForceSendFields is a list of field names (e.g. "LifespanCount") to + // ForceSendFields is a list of field names (e.g. "MergeBehavior") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -3532,7 +4480,7 @@ type GoogleCloudDialogflowV2beta1Context struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "LifespanCount") to include + // NullFields is a list of field names (e.g. "MergeBehavior") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -3541,107 +4489,54 @@ type GoogleCloudDialogflowV2beta1Context struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1Context) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1Context +func (s *GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1EntityType: Each intent parameter has a -// type, called the entity type, which dictates exactly how data from an -// end-user expression is extracted. Dialogflow provides predefined -// system entities that can match many common types of data. For -// example, there are system entities for matching dates, times, colors, -// email addresses, and so on. You can also create your own custom -// entities for matching custom data. For example, you could define a -// vegetable entity that can match the types of vegetables available for -// purchase with a grocery store agent. For more information, see the -// [Entity -// guide](https://cloud.google.com/dialogflow/docs/entities-overview). -type GoogleCloudDialogflowV2beta1EntityType struct { - // AutoExpansionMode: Optional. Indicates whether the entity type can be - // automatically expanded. - // - // Possible values: - // "AUTO_EXPANSION_MODE_UNSPECIFIED" - Auto expansion disabled for the - // entity. - // "AUTO_EXPANSION_MODE_DEFAULT" - Allows an agent to recognize values - // that have not been explicitly listed in the entity. - AutoExpansionMode string `json:"autoExpansionMode,omitempty"` - - // DisplayName: Required. The name of the entity type. - DisplayName string `json:"displayName,omitempty"` - - // EnableFuzzyExtraction: Optional. Enables fuzzy entity extraction - // during classification. - EnableFuzzyExtraction bool `json:"enableFuzzyExtraction,omitempty"` - - // Entities: Optional. The collection of entity entries associated with - // the entity type. - Entities []*GoogleCloudDialogflowV2beta1EntityTypeEntity `json:"entities,omitempty"` - - // Kind: Required. Indicates the kind of entity type. - // - // Possible values: - // "KIND_UNSPECIFIED" - Not specified. This value should be never - // used. - // "KIND_MAP" - Map entity types allow mapping of a group of synonyms - // to a reference value. - // "KIND_LIST" - List entity types contain a set of entries that do - // not map to reference values. However, list entity types can contain - // references to other entity types (with or without aliases). - // "KIND_REGEXP" - Regexp entity types allow to specify regular - // expressions in entries values. - Kind string `json:"kind,omitempty"` - - // Name: The unique identifier of the entity type. Required for - // EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes - // methods. Supported formats: - `projects//agent/entityTypes/` - - // `projects//locations//agent/entityTypes/` - Name string `json:"name,omitempty"` +// GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata: +// Metadata associated with the long running operation for +// Versions.CreateVersion. +type GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata struct { + // Version: Name of the created version. Format: + // `projects//locations//agents//flows//versions/`. + Version string `json:"version,omitempty"` - // ForceSendFields is a list of field names (e.g. "AutoExpansionMode") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "Version") to + // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AutoExpansionMode") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "Version") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1EntityType) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1EntityType +func (s *GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1EntityTypeEntity: An **entity entry** for -// an associated entity type. -type GoogleCloudDialogflowV2beta1EntityTypeEntity struct { - // Synonyms: Required. A collection of value synonyms. For example, if - // the entity type is *vegetable*, and `value` is *scallions*, a synonym - // could be *green onions*. For `KIND_LIST` entity types: * This - // collection must contain exactly one synonym equal to `value`. - Synonyms []string `json:"synonyms,omitempty"` +// GoogleCloudDialogflowCxV3beta1ExportAgentResponse: The response +// message for Agents.ExportAgent. +type GoogleCloudDialogflowCxV3beta1ExportAgentResponse struct { + // AgentContent: Uncompressed raw byte content for agent. + AgentContent string `json:"agentContent,omitempty"` - // Value: Required. The primary value associated with this entity entry. - // For example, if the entity type is *vegetable*, the value could be - // *scallions*. For `KIND_MAP` entity types: * A reference value to be - // used in place of synonyms. For `KIND_LIST` entity types: * A string - // that can contain references to other entity types (with or without - // aliases). - Value string `json:"value,omitempty"` + // AgentUri: The URI to a file containing the exported agent. This field + // is populated only if `agent_uri` is specified in ExportAgentRequest. + AgentUri string `json:"agentUri,omitempty"` - // ForceSendFields is a list of field names (e.g. "Synonyms") to + // ForceSendFields is a list of field names (e.g. "AgentContent") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -3649,49 +4544,34 @@ type GoogleCloudDialogflowV2beta1EntityTypeEntity struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Synonyms") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "AgentContent") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1EntityTypeEntity) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1EntityTypeEntity +func (s *GoogleCloudDialogflowCxV3beta1ExportAgentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ExportAgentResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1EventInput: Events allow for matching -// intents by event name instead of the natural language input. For -// instance, input `` can trigger a personalized welcome response. The -// parameter `name` may be used by the agent in the response: "Hello -// #welcome_event.name! What can I do for you today?". -type GoogleCloudDialogflowV2beta1EventInput struct { - // LanguageCode: Required. The language of this query. See [Language - // Support](https://cloud.google.com/dialogflow/docs/reference/language) - // for a list of the currently supported language codes. Note that - // queries in the same session do not necessarily need to specify the - // same language. - LanguageCode string `json:"languageCode,omitempty"` - - // Name: Required. The unique identifier of the event. - Name string `json:"name,omitempty"` +// GoogleCloudDialogflowCxV3beta1PageInfo: Represents page information +// communicated to and from the webhook. +type GoogleCloudDialogflowCxV3beta1PageInfo struct { + // CurrentPage: Always present for WebhookRequest. Ignored for + // WebhookResponse. The unique identifier of the current page. Format: + // `projects//locations//agents//flows//pages/`. + CurrentPage string `json:"currentPage,omitempty"` - // Parameters: The collection of parameters associated with the event. - // Depending on your protocol or client library language, this is a map, - // associative array, symbol table, dictionary, or JSON object composed - // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: string or number, depending - // on parameter value type - MapValue value: - If parameter's entity - // type is a composite entity: map from composite entity property names - // to property values - Else: parameter value - Parameters googleapi.RawMessage `json:"parameters,omitempty"` + // FormInfo: Optional for both WebhookRequest and WebhookResponse. + // Information about the form. + FormInfo *GoogleCloudDialogflowCxV3beta1PageInfoFormInfo `json:"formInfo,omitempty"` - // ForceSendFields is a list of field names (e.g. "LanguageCode") to + // ForceSendFields is a list of field names (e.g. "CurrentPage") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -3699,7 +4579,7 @@ type GoogleCloudDialogflowV2beta1EventInput struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "LanguageCode") to include + // NullFields is a list of field names (e.g. "CurrentPage") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -3708,24 +4588,21 @@ type GoogleCloudDialogflowV2beta1EventInput struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1EventInput) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1EventInput +func (s *GoogleCloudDialogflowCxV3beta1PageInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1PageInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1ExportAgentResponse: The response message -// for Agents.ExportAgent. -type GoogleCloudDialogflowV2beta1ExportAgentResponse struct { - // AgentContent: Zip compressed raw byte content for agent. - AgentContent string `json:"agentContent,omitempty"` - - // AgentUri: The URI to a file containing the exported agent. This field - // is populated only if `agent_uri` is specified in - // `ExportAgentRequest`. - AgentUri string `json:"agentUri,omitempty"` +// GoogleCloudDialogflowCxV3beta1PageInfoFormInfo: Represents form +// information. +type GoogleCloudDialogflowCxV3beta1PageInfoFormInfo struct { + // ParameterInfo: Optional for both WebhookRequest and WebhookResponse. + // The parameters contained in the form. Note that the webhook cannot + // add or remove any form parameter. + ParameterInfo []*GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo `json:"parameterInfo,omitempty"` - // ForceSendFields is a list of field names (e.g. "AgentContent") to + // ForceSendFields is a list of field names (e.g. "ParameterInfo") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -3733,7 +4610,7 @@ type GoogleCloudDialogflowV2beta1ExportAgentResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AgentContent") to include + // NullFields is a list of field names (e.g. "ParameterInfo") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -3742,156 +4619,168 @@ type GoogleCloudDialogflowV2beta1ExportAgentResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1ExportAgentResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1ExportAgentResponse +func (s *GoogleCloudDialogflowCxV3beta1PageInfoFormInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1PageInfoFormInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1Intent: An intent categorizes an -// end-user's intention for one conversation turn. For each agent, you -// define many intents, where your combined intents can handle a -// complete conversation. When an end-user writes or says something, -// referred to as an end-user expression or end-user input, Dialogflow -// matches the end-user input to the best intent in your agent. Matching -// an intent is also known as intent classification. For more -// information, see the [intent -// guide](https://cloud.google.com/dialogflow/docs/intents-overview). -type GoogleCloudDialogflowV2beta1Intent struct { - // Action: Optional. The name of the action associated with the intent. - // Note: The action name must not contain whitespaces. - Action string `json:"action,omitempty"` +// GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo: +// Represents parameter information. +type GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo struct { + // DisplayName: Always present for WebhookRequest. Required for + // WebhookResponse. The human-readable name of the parameter, unique + // within the form. This field cannot be modified by the webhook. + DisplayName string `json:"displayName,omitempty"` - // DefaultResponsePlatforms: Optional. The list of platforms for which - // the first responses will be copied from the messages in - // PLATFORM_UNSPECIFIED (i.e. default platform). + // JustCollected: Optional for WebhookRequest. Ignored for + // WebhookResponse. Indicates if the parameter value was just collected + // on the last conversation turn. + JustCollected bool `json:"justCollected,omitempty"` + + // Required: Optional for both WebhookRequest and WebhookResponse. + // Indicates whether the parameter is required. Optional parameters will + // not trigger prompts; however, they are filled if the user specifies + // them. Required parameters must be filled before form filling + // concludes. + Required bool `json:"required,omitempty"` + + // State: Always present for WebhookRequest. Required for + // WebhookResponse. The state of the parameter. This field can be set to + // INVALID by the webhook to invalidate the parameter; other values set + // by the webhook will be ignored. // // Possible values: - // "PLATFORM_UNSPECIFIED" - Not specified. - // "FACEBOOK" - Facebook. - // "SLACK" - Slack. - // "TELEGRAM" - Telegram. - // "KIK" - Kik. - // "SKYPE" - Skype. - // "LINE" - Line. - // "VIBER" - Viber. - // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook - // format](https://developers.google.com/assistant/actions/build/json/dia - // logflow-webhook-json) - // "TELEPHONY" - Telephony Gateway. - // "GOOGLE_HANGOUTS" - Google Hangouts. - DefaultResponsePlatforms []string `json:"defaultResponsePlatforms,omitempty"` - - // DisplayName: Required. The name of this intent. - DisplayName string `json:"displayName,omitempty"` + // "PARAMETER_STATE_UNSPECIFIED" - Not specified. This value should be + // never used. + // "EMPTY" - Indicates that the parameter does not have a value. + // "INVALID" - Indicates that the parameter value is invalid. This + // field can be used by the webhook to invalidate the parameter and ask + // the server to collect it from the user again. + // "FILLED" - Indicates that the parameter has a value. + State string `json:"state,omitempty"` - // EndInteraction: Optional. Indicates that this intent ends an - // interaction. Some integrations (e.g., Actions on Google or Dialogflow - // phone gateway) use this information to close interaction with an end - // user. Default is false. - EndInteraction bool `json:"endInteraction,omitempty"` + // Value: Optional for both WebhookRequest and WebhookResponse. The + // value of the parameter. This field can be set by the webhook to + // change the parameter value. + Value interface{} `json:"value,omitempty"` - // Events: Optional. The collection of event names that trigger the - // intent. If the collection of input contexts is not empty, all of the - // contexts must be present in the active user session for an event to - // trigger this intent. Event names are limited to 150 characters. - Events []string `json:"events,omitempty"` - - // FollowupIntentInfo: Output only. Information about all followup - // intents that have this intent as a direct or indirect parent. We - // populate this field only in the output. - FollowupIntentInfo []*GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo `json:"followupIntentInfo,omitempty"` + // ForceSendFields is a list of field names (e.g. "DisplayName") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` - // InputContextNames: Optional. The list of context names required for - // this intent to be triggered. Formats: - - // `projects//agent/sessions/-/contexts/` - - // `projects//locations//agent/sessions/-/contexts/` - InputContextNames []string `json:"inputContextNames,omitempty"` + // NullFields is a list of field names (e.g. "DisplayName") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} - // IsFallback: Optional. Indicates whether this is a fallback intent. - IsFallback bool `json:"isFallback,omitempty"` +func (s *GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // Messages: Optional. The collection of rich messages corresponding to - // the `Response` field in the Dialogflow console. - Messages []*GoogleCloudDialogflowV2beta1IntentMessage `json:"messages,omitempty"` +// GoogleCloudDialogflowCxV3beta1ResponseMessage: Represents a response +// message that can be returned by a conversational agent. Response +// messages are also used for output audio synthesis. The approach is as +// follows: * If at least one OutputAudioText response is present, then +// all OutputAudioText responses are linearly concatenated, and the +// result is used for output audio synthesis. * If the OutputAudioText +// responses are a mixture of text and SSML, then the concatenated +// result is treated as SSML; otherwise, the result is treated as either +// text or SSML as appropriate. The agent designer should ideally use +// either text or SSML consistently throughout the bot design. * +// Otherwise, all Text responses are linearly concatenated, and the +// result is used for output audio synthesis. This approach allows for +// more sophisticated user experience scenarios, where the text +// displayed to the user may differ from what is heard. +type GoogleCloudDialogflowCxV3beta1ResponseMessage struct { + // ConversationSuccess: Indicates that the conversation succeeded. + ConversationSuccess *GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess `json:"conversationSuccess,omitempty"` - // MlDisabled: Optional. Indicates whether Machine Learning is disabled - // for the intent. Note: If `ml_disabled` setting is set to true, then - // this intent is not taken into account during inference in `ML ONLY` - // match mode. Also, auto-markup in the UI is turned off. - MlDisabled bool `json:"mlDisabled,omitempty"` + // EndInteraction: Output only. A signal that indicates the interaction + // with the Dialogflow agent has ended. This message is generated by + // Dialogflow only when the conversation reaches `END_SESSION` or + // `END_PAGE` page. It is not supposed to be defined by the user. It's + // guaranteed that there is at most one such message in each response. + EndInteraction *GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction `json:"endInteraction,omitempty"` - // MlEnabled: Optional. Indicates whether Machine Learning is enabled - // for the intent. Note: If `ml_enabled` setting is set to false, then - // this intent is not taken into account during inference in `ML ONLY` - // match mode. Also, auto-markup in the UI is turned off. DEPRECATED! - // Please use `ml_disabled` field instead. NOTE: If both `ml_enabled` - // and `ml_disabled` are either not set or false, then the default value - // is determined as follows: - Before April 15th, 2018 the default is: - // ml_enabled = false / ml_disabled = true. - After April 15th, 2018 the - // default is: ml_enabled = true / ml_disabled = false. - MlEnabled bool `json:"mlEnabled,omitempty"` + // LiveAgentHandoff: Hands off conversation to a human agent. + LiveAgentHandoff *GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff `json:"liveAgentHandoff,omitempty"` - // Name: Optional. The unique identifier of this intent. Required for - // Intents.UpdateIntent and Intents.BatchUpdateIntents methods. - // Supported formats: - `projects//agent/intents/` - - // `projects//locations//agent/intents/` - Name string `json:"name,omitempty"` + // MixedAudio: Output only. An audio response message composed of both + // the synthesized Dialogflow agent responses and responses defined via + // play_audio. This message is generated by Dialogflow only and not + // supposed to be defined by the user. + MixedAudio *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio `json:"mixedAudio,omitempty"` - // OutputContexts: Optional. The collection of contexts that are - // activated when the intent is matched. Context messages in this - // collection should not set the parameters field. Setting the - // `lifespan_count` to 0 will reset the context when the intent is - // matched. Format: `projects//agent/sessions/-/contexts/`. - OutputContexts []*GoogleCloudDialogflowV2beta1Context `json:"outputContexts,omitempty"` + // OutputAudioText: A text or ssml response that is preferentially used + // for TTS output audio synthesis, as described in the comment on the + // ResponseMessage message. + OutputAudioText *GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText `json:"outputAudioText,omitempty"` - // Parameters: Optional. The collection of parameters associated with - // the intent. - Parameters []*GoogleCloudDialogflowV2beta1IntentParameter `json:"parameters,omitempty"` + // Payload: Returns a response containing a custom, platform-specific + // payload. + Payload googleapi.RawMessage `json:"payload,omitempty"` - // ParentFollowupIntentName: Optional. The unique identifier of the - // parent intent in the chain of followup intents. You can set this - // field when creating an intent, for example with CreateIntent or - // BatchUpdateIntents, in order to make this intent a followup intent. - // It identifies the parent followup intent. Format: - // `projects//agent/intents/`. - ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` + // PlayAudio: Signal that the client should play an audio clip hosted at + // a client-specific URI. Dialogflow uses this to construct mixed_audio. + // However, Dialogflow itself does not try to read or process the URI in + // any way. + PlayAudio *GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio `json:"playAudio,omitempty"` - // Priority: Optional. The priority of this intent. Higher numbers - // represent higher priorities. - If the supplied value is unspecified - // or 0, the service translates the value to 500,000, which corresponds - // to the `Normal` priority in the console. - If the supplied value is - // negative, the intent is ignored in runtime detect intent requests. - Priority int64 `json:"priority,omitempty"` + // Text: Returns a text response. + Text *GoogleCloudDialogflowCxV3beta1ResponseMessageText `json:"text,omitempty"` - // ResetContexts: Optional. Indicates whether to delete all contexts in - // the current session when this intent is matched. - ResetContexts bool `json:"resetContexts,omitempty"` + // ForceSendFields is a list of field names (e.g. "ConversationSuccess") + // to unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` - // RootFollowupIntentName: Output only. The unique identifier of the - // root intent in the chain of followup intents. It identifies the - // correct followup intents chain for this intent. Format: - // `projects//agent/intents/`. - RootFollowupIntentName string `json:"rootFollowupIntentName,omitempty"` + // NullFields is a list of field names (e.g. "ConversationSuccess") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} - // TrainingPhrases: Optional. The collection of examples that the agent - // is trained on. - TrainingPhrases []*GoogleCloudDialogflowV2beta1IntentTrainingPhrase `json:"trainingPhrases,omitempty"` +func (s *GoogleCloudDialogflowCxV3beta1ResponseMessage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessage + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // WebhookState: Optional. Indicates whether webhooks are enabled for - // the intent. - // - // Possible values: - // "WEBHOOK_STATE_UNSPECIFIED" - Webhook is disabled in the agent and - // in the intent. - // "WEBHOOK_STATE_ENABLED" - Webhook is enabled in the agent and in - // the intent. - // "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING" - Webhook is enabled in - // the agent and in the intent. Also, each slot filling prompt is - // forwarded to the webhook. - WebhookState string `json:"webhookState,omitempty"` +// GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess: +// Indicates that the conversation succeeded, i.e., the bot handled the +// issue that the customer talked to it about. Dialogflow only uses this +// to determine which conversations should be counted as successful and +// doesn't process the metadata in this message in any way. Note that +// Dialogflow also considers conversations that get to the conversation +// end page as successful even if they don't return ConversationSuccess. +// You may set this, for example: * In the entry_fulfillment of a Page +// if entering the page indicates that the conversation succeeded. * In +// a webhook response when you determine that you handled the customer +// issue. +type GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess struct { + // Metadata: Custom metadata. Dialogflow doesn't impose any structure on + // this. + Metadata googleapi.RawMessage `json:"metadata,omitempty"` - // ForceSendFields is a list of field names (e.g. "Action") to + // ForceSendFields is a list of field names (e.g. "Metadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -3899,8 +4788,8 @@ type GoogleCloudDialogflowV2beta1Intent struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Action") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Metadata") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -3908,135 +4797,67 @@ type GoogleCloudDialogflowV2beta1Intent struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1Intent) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1Intent +func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo: Represents a -// single followup intent in the chain. -type GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo struct { - // FollowupIntentName: The unique identifier of the followup intent. - // Format: `projects//agent/intents/`. - FollowupIntentName string `json:"followupIntentName,omitempty"` +// GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction: +// Indicates that interaction with the Dialogflow agent has ended. This +// message is generated by Dialogflow only and not supposed to be +// defined by the user. +type GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction struct { +} - // ParentFollowupIntentName: The unique identifier of the followup - // intent's parent. Format: `projects//agent/intents/`. - ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` +// GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff: +// Indicates that the conversation should be handed off to a live agent. +// Dialogflow only uses this to determine which conversations were +// handed off to a human agent for measurement purposes. What else to do +// with this signal is up to you and your handoff procedures. You may +// set this, for example: * In the entry_fulfillment of a Page if +// entering the page indicates something went extremely wrong in the +// conversation. * In a webhook response when you determine that the +// customer issue can only be handled by a human. +type GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff struct { + // Metadata: Custom metadata for your handoff procedure. Dialogflow + // doesn't impose any structure on this. + Metadata googleapi.RawMessage `json:"metadata,omitempty"` - // ForceSendFields is a list of field names (e.g. "FollowupIntentName") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "Metadata") to + // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "FollowupIntentName") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "Metadata") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo +func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessage: Corresponds to the -// `Response` field in the Dialogflow console. -type GoogleCloudDialogflowV2beta1IntentMessage struct { - // BasicCard: Displays a basic card for Actions on Google. - BasicCard *GoogleCloudDialogflowV2beta1IntentMessageBasicCard `json:"basicCard,omitempty"` - - // BrowseCarouselCard: Browse carousel card for Actions on Google. - BrowseCarouselCard *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard `json:"browseCarouselCard,omitempty"` +// GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio: Represents +// an audio message that is composed of both segments synthesized from +// the Dialogflow agent prompts and ones hosted externally at the +// specified URIs. The external URIs are specified via play_audio. This +// message is generated by Dialogflow only and not supposed to be +// defined by the user. +type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio struct { + // Segments: Segments this audio response is composed of. + Segments []*GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment `json:"segments,omitempty"` - // Card: Displays a card. - Card *GoogleCloudDialogflowV2beta1IntentMessageCard `json:"card,omitempty"` - - // CarouselSelect: Displays a carousel card for Actions on Google. - CarouselSelect *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect `json:"carouselSelect,omitempty"` - - // Image: Displays an image. - Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` - - // LinkOutSuggestion: Displays a link out suggestion chip for Actions on - // Google. - LinkOutSuggestion *GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion `json:"linkOutSuggestion,omitempty"` - - // ListSelect: Displays a list card for Actions on Google. - ListSelect *GoogleCloudDialogflowV2beta1IntentMessageListSelect `json:"listSelect,omitempty"` - - // MediaContent: The media content card for Actions on Google. - MediaContent *GoogleCloudDialogflowV2beta1IntentMessageMediaContent `json:"mediaContent,omitempty"` - - // Payload: A custom platform-specific response. - Payload googleapi.RawMessage `json:"payload,omitempty"` - - // Platform: Optional. The platform that this message is intended for. - // - // Possible values: - // "PLATFORM_UNSPECIFIED" - Not specified. - // "FACEBOOK" - Facebook. - // "SLACK" - Slack. - // "TELEGRAM" - Telegram. - // "KIK" - Kik. - // "SKYPE" - Skype. - // "LINE" - Line. - // "VIBER" - Viber. - // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook - // format](https://developers.google.com/assistant/actions/build/json/dia - // logflow-webhook-json) - // "TELEPHONY" - Telephony Gateway. - // "GOOGLE_HANGOUTS" - Google Hangouts. - Platform string `json:"platform,omitempty"` - - // QuickReplies: Displays quick replies. - QuickReplies *GoogleCloudDialogflowV2beta1IntentMessageQuickReplies `json:"quickReplies,omitempty"` - - // RbmCarouselRichCard: Rich Business Messaging (RBM) carousel rich card - // response. - RbmCarouselRichCard *GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard `json:"rbmCarouselRichCard,omitempty"` - - // RbmStandaloneRichCard: Standalone Rich Business Messaging (RBM) rich - // card response. - RbmStandaloneRichCard *GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard `json:"rbmStandaloneRichCard,omitempty"` - - // RbmText: Rich Business Messaging (RBM) text response. RBM allows - // businesses to send enriched and branded versions of SMS. See - // https://jibe.google.com/business-messaging. - RbmText *GoogleCloudDialogflowV2beta1IntentMessageRbmText `json:"rbmText,omitempty"` - - // SimpleResponses: Returns a voice or text-only response for Actions on - // Google. - SimpleResponses *GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses `json:"simpleResponses,omitempty"` - - // Suggestions: Displays suggestion chips for Actions on Google. - Suggestions *GoogleCloudDialogflowV2beta1IntentMessageSuggestions `json:"suggestions,omitempty"` - - // TableCard: Table card for Actions on Google. - TableCard *GoogleCloudDialogflowV2beta1IntentMessageTableCard `json:"tableCard,omitempty"` - - // TelephonyPlayAudio: Plays audio from a file in Telephony Gateway. - TelephonyPlayAudio *GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio `json:"telephonyPlayAudio,omitempty"` - - // TelephonySynthesizeSpeech: Synthesizes speech in Telephony Gateway. - TelephonySynthesizeSpeech *GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech `json:"telephonySynthesizeSpeech,omitempty"` - - // TelephonyTransferCall: Transfers the call in Telephony Gateway. - TelephonyTransferCall *GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall `json:"telephonyTransferCall,omitempty"` - - // Text: Returns a text response. - Text *GoogleCloudDialogflowV2beta1IntentMessageText `json:"text,omitempty"` - - // ForceSendFields is a list of field names (e.g. "BasicCard") to + // ForceSendFields is a list of field names (e.g. "Segments") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -4044,7 +4865,7 @@ type GoogleCloudDialogflowV2beta1IntentMessage struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "BasicCard") to include in + // NullFields is a list of field names (e.g. "Segments") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -4053,190 +4874,187 @@ type GoogleCloudDialogflowV2beta1IntentMessage struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessage) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessage +func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageBasicCard: The basic card -// message. Useful for displaying information. -type GoogleCloudDialogflowV2beta1IntentMessageBasicCard struct { - // Buttons: Optional. The collection of card buttons. - Buttons []*GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton `json:"buttons,omitempty"` - - // FormattedText: Required, unless image is present. The body text of - // the card. - FormattedText string `json:"formattedText,omitempty"` - - // Image: Optional. The image for the card. - Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` +// GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment: +// Represents one segment of audio. +type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // segment can be interrupted by the end user's speech and the client + // should then start the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` - // Subtitle: Optional. The subtitle of the card. - Subtitle string `json:"subtitle,omitempty"` + // Audio: Raw audio synthesized from the Dialogflow agent's response + // using the output config specified in the request. + Audio string `json:"audio,omitempty"` - // Title: Optional. The title of the card. - Title string `json:"title,omitempty"` + // Uri: Client-specific URI that points to an audio clip accessible to + // the client. Dialogflow does not impose any validation on it. + Uri string `json:"uri,omitempty"` - // ForceSendFields is a list of field names (e.g. "Buttons") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Buttons") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to include in API requests with the JSON + // null value. By default, fields with empty values are omitted from API + // requests. However, any field with an empty value appearing in + // NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageBasicCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBasicCard +func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton: The button -// object that appears at the bottom of a card. -type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton struct { - // OpenUriAction: Required. Action to take when a user taps on the - // button. - OpenUriAction *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction `json:"openUriAction,omitempty"` +// GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText: A text +// or ssml response that is preferentially used for TTS output audio +// synthesis, as described in the comment on the ResponseMessage +// message. +type GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` - // Title: Required. The title of the button. - Title string `json:"title,omitempty"` + // Ssml: The SSML text to be synthesized. For more information, see + // [SSML](/speech/text-to-speech/docs/ssml). + Ssml string `json:"ssml,omitempty"` - // ForceSendFields is a list of field names (e.g. "OpenUriAction") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. + // Text: The raw text to be synthesized. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "OpenUriAction") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to include in API requests with the JSON + // null value. By default, fields with empty values are omitted from API + // requests. However, any field with an empty value appearing in + // NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton +func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction: -// Opens the given URI. -type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction struct { - // Uri: Required. The HTTP or HTTPS scheme URI. - Uri string `json:"uri,omitempty"` +// GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio: Specifies an +// audio clip to be played by the client as part of the response. +type GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` - // ForceSendFields is a list of field names (e.g. "Uri") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. + // AudioUri: Required. URI of the audio clip. Dialogflow does not impose + // any validation on this value. It is specific to the client that reads + // it. + AudioUri string `json:"audioUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Uri") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to include in API requests with the JSON + // null value. By default, fields with empty values are omitted from API + // requests. However, any field with an empty value appearing in + // NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction +func (s *GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard: Browse -// Carousel Card for Actions on Google. -// https://developers.google.com/actions/assistant/responses#browsing_carousel -type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard struct { - // ImageDisplayOptions: Optional. Settings for displaying the image. - // Applies to every image in items. - // - // Possible values: - // "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED" - Fill the gaps between the - // image and the image container with gray bars. - // "GRAY" - Fill the gaps between the image and the image container - // with gray bars. - // "WHITE" - Fill the gaps between the image and the image container - // with white bars. - // "CROPPED" - Image is scaled such that the image width and height - // match or exceed the container dimensions. This may crop the top and - // bottom of the image if the scaled image height is greater than the - // container height, or crop the left and right of the image if the - // scaled image width is greater than the container width. This is - // similar to "Zoom Mode" on a widescreen TV when playing a 4:3 video. - // "BLURRED_BACKGROUND" - Pad the gaps between image and image frame - // with a blurred copy of the same image. - ImageDisplayOptions string `json:"imageDisplayOptions,omitempty"` +// GoogleCloudDialogflowCxV3beta1ResponseMessageText: The text response +// message. +type GoogleCloudDialogflowCxV3beta1ResponseMessageText struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` - // Items: Required. List of items in the Browse Carousel Card. Minimum - // of two items, maximum of ten. - Items []*GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem `json:"items,omitempty"` + // Text: Required. A collection of text responses. + Text []string `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. "ImageDisplayOptions") - // to unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ImageDisplayOptions") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to include in API requests with the JSON + // null value. By default, fields with empty values are omitted from API + // requests. However, any field with an empty value appearing in + // NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard +func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageText raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarou -// selCardItem: Browsing carousel tile -type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem struct { - // Description: Optional. Description of the carousel item. Maximum of - // four lines of text. - Description string `json:"description,omitempty"` - - // Footer: Optional. Text that appears at the bottom of the Browse - // Carousel Card. Maximum of one line of text. - Footer string `json:"footer,omitempty"` - - // Image: Optional. Hero image for the carousel item. - Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` - - // OpenUriAction: Required. Action to present to the user. - OpenUriAction *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction `json:"openUriAction,omitempty"` +// GoogleCloudDialogflowCxV3beta1SessionInfo: Represents session +// information communicated to and from the webhook. +type GoogleCloudDialogflowCxV3beta1SessionInfo struct { + // Parameters: Optional for WebhookRequest. Optional for + // WebhookResponse. All parameters collected from forms and intents + // during the session. Parameters can be created, updated, or removed by + // the webhook. To remove a parameter from the session, the webhook + // should explicitly set the parameter value to null in WebhookResponse. + // The map is keyed by parameters' display names. + Parameters googleapi.RawMessage `json:"parameters,omitempty"` - // Title: Required. Title of the carousel item. Maximum of two lines of - // text. - Title string `json:"title,omitempty"` + // Session: Always present for WebhookRequest. Ignored for + // WebhookResponse. The unique identifier of the session. This field can + // be used by the webhook to identify a user. Format: + // `projects//locations//agents//sessions/`. + Session string `json:"session,omitempty"` - // ForceSendFields is a list of field names (e.g. "Description") to + // ForceSendFields is a list of field names (e.g. "Parameters") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -4244,77 +5062,82 @@ type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCa // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Description") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Parameters") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem +func (s *GoogleCloudDialogflowCxV3beta1SessionInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1SessionInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarou -// selCardItemOpenUrlAction: Actions on Google action to open a given -// url. -type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction struct { - // Url: Required. URL - Url string `json:"url,omitempty"` +// GoogleCloudDialogflowCxV3beta1WebhookRequest: The request message for +// a webhook call. +type GoogleCloudDialogflowCxV3beta1WebhookRequest struct { + // DetectIntentResponseId: Always present. The unique identifier of the + // DetectIntentResponse that will be returned to the API caller. + DetectIntentResponseId string `json:"detectIntentResponseId,omitempty"` - // UrlTypeHint: Optional. Specifies the type of viewer that is used when - // opening the URL. Defaults to opening via web browser. - // - // Possible values: - // "URL_TYPE_HINT_UNSPECIFIED" - Unspecified - // "AMP_ACTION" - Url would be an amp action - // "AMP_CONTENT" - URL that points directly to AMP content, or to a - // canonical URL which refers to AMP content via . - UrlTypeHint string `json:"urlTypeHint,omitempty"` + // FulfillmentInfo: Always present. Information about the fulfillment + // that triggered this webhook call. + FulfillmentInfo *GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo `json:"fulfillmentInfo,omitempty"` - // ForceSendFields is a list of field names (e.g. "Url") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. + // IntentInfo: Information about the last matched intent. + IntentInfo *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo `json:"intentInfo,omitempty"` + + // Messages: The list of rich message responses to present to the user. + // Webhook can choose to append or replace this list in + // WebhookResponse.fulfillment_response; + Messages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"messages,omitempty"` + + // PageInfo: Information about page status. + PageInfo *GoogleCloudDialogflowCxV3beta1PageInfo `json:"pageInfo,omitempty"` + + // Payload: Custom data set in QueryParameters.payload. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // SessionInfo: Information about session status. + SessionInfo *GoogleCloudDialogflowCxV3beta1SessionInfo `json:"sessionInfo,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "DetectIntentResponseId") to unconditionally include in API requests. + // By default, fields with empty values are omitted from API requests. + // However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Url") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "DetectIntentResponseId") + // to include in API requests with the JSON null value. By default, + // fields with empty values are omitted from API requests. However, any + // field with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction +func (s *GoogleCloudDialogflowCxV3beta1WebhookRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageCard: The card response -// message. -type GoogleCloudDialogflowV2beta1IntentMessageCard struct { - // Buttons: Optional. The collection of card buttons. - Buttons []*GoogleCloudDialogflowV2beta1IntentMessageCardButton `json:"buttons,omitempty"` - - // ImageUri: Optional. The public URI to an image file for the card. - ImageUri string `json:"imageUri,omitempty"` - - // Subtitle: Optional. The subtitle of the card. - Subtitle string `json:"subtitle,omitempty"` - - // Title: Optional. The title of the card. - Title string `json:"title,omitempty"` +// GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo: +// Represents fulfillment information communicated to the webhook. +type GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo struct { + // Tag: Always present. The tag used to identify which fulfillment is + // being called. + Tag string `json:"tag,omitempty"` - // ForceSendFields is a list of field names (e.g. "Buttons") to + // ForceSendFields is a list of field names (e.g. "Tag") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -4322,8 +5145,8 @@ type GoogleCloudDialogflowV2beta1IntentMessageCard struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Buttons") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Tag") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -4331,90 +5154,62 @@ type GoogleCloudDialogflowV2beta1IntentMessageCard struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCard +func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageCardButton: Optional. -// Contains information about a button. -type GoogleCloudDialogflowV2beta1IntentMessageCardButton struct { - // Postback: Optional. The text to send back to the Dialogflow API or a - // URI to open. - Postback string `json:"postback,omitempty"` +// GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo: Represents +// intent information communicated to the webhook. +type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo struct { + // LastMatchedIntent: Always present. The unique identifier of the last + // matched intent. Format: `projects//locations//agents//intents/`. + LastMatchedIntent string `json:"lastMatchedIntent,omitempty"` - // Text: Optional. The text to show on the button. - Text string `json:"text,omitempty"` + // Parameters: Parameters identified as a result of intent matching. + // This is a map of the name of the identified parameter to the value of + // the parameter identified from the user's utterance. All parameters + // defined in the matched intent that are identified will be surfaced + // here. + Parameters map[string]GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue `json:"parameters,omitempty"` - // ForceSendFields is a list of field names (e.g. "Postback") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "LastMatchedIntent") + // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Postback") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "LastMatchedIntent") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageCardButton) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCardButton +func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect: The card for -// presenting a carousel of options to select from. -type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect struct { - // Items: Required. Carousel items. - Items []*GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem `json:"items,omitempty"` +// GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterV +// alue: Represents a value for an intent parameter. +type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue struct { + // OriginalValue: Always present. Original text value extracted from + // user utterance. + OriginalValue string `json:"originalValue,omitempty"` - // ForceSendFields is a list of field names (e.g. "Items") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Items") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem: An item -// in the carousel. -type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem struct { - // Description: Optional. The body text of the card. - Description string `json:"description,omitempty"` - - // Image: Optional. The image to display. - Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` - - // Info: Required. Additional info about the option item. - Info *GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo `json:"info,omitempty"` - - // Title: Required. Title of the carousel item. - Title string `json:"title,omitempty"` + // ResolvedValue: Always present. Structured value for the parameter + // extracted from user utterance. + ResolvedValue interface{} `json:"resolvedValue,omitempty"` - // ForceSendFields is a list of field names (e.g. "Description") to + // ForceSendFields is a list of field names (e.g. "OriginalValue") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -4422,7 +5217,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Description") to include + // NullFields is a list of field names (e.g. "OriginalValue") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -4431,64 +5226,41 @@ type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem +func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageColumnProperties: Column -// properties for TableCard. -type GoogleCloudDialogflowV2beta1IntentMessageColumnProperties struct { - // Header: Required. Column heading. - Header string `json:"header,omitempty"` - - // HorizontalAlignment: Optional. Defines text alignment for all cells - // in this column. - // - // Possible values: - // "HORIZONTAL_ALIGNMENT_UNSPECIFIED" - Text is aligned to the leading - // edge of the column. - // "LEADING" - Text is aligned to the leading edge of the column. - // "CENTER" - Text is centered in the column. - // "TRAILING" - Text is aligned to the trailing edge of the column. - HorizontalAlignment string `json:"horizontalAlignment,omitempty"` +// GoogleCloudDialogflowCxV3beta1WebhookResponse: The response message +// for a webhook call. +type GoogleCloudDialogflowCxV3beta1WebhookResponse struct { + // FulfillmentResponse: The fulfillment response to send to the user. + // This field can be omitted by the webhook if it does not intend to + // send any response to the user. + FulfillmentResponse *GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse `json:"fulfillmentResponse,omitempty"` - // ForceSendFields is a list of field names (e.g. "Header") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` + // PageInfo: Information about page status. This field can be omitted by + // the webhook if it does not intend to modify page status. + PageInfo *GoogleCloudDialogflowCxV3beta1PageInfo `json:"pageInfo,omitempty"` - // NullFields is a list of field names (e.g. "Header") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} + // Payload: Value to append directly to QueryResult.webhook_payloads. + Payload googleapi.RawMessage `json:"payload,omitempty"` -func (s *GoogleCloudDialogflowV2beta1IntentMessageColumnProperties) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageColumnProperties - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // SessionInfo: Information about session status. This field can be + // omitted by the webhook if it does not intend to modify session + // status. + SessionInfo *GoogleCloudDialogflowCxV3beta1SessionInfo `json:"sessionInfo,omitempty"` -// GoogleCloudDialogflowV2beta1IntentMessageImage: The image response -// message. -type GoogleCloudDialogflowV2beta1IntentMessageImage struct { - // AccessibilityText: A text description of the image to be used for - // accessibility, e.g., screen readers. Required if image_uri is set for - // CarouselSelect. - AccessibilityText string `json:"accessibilityText,omitempty"` + // TargetFlow: The target flow to transition to. Format: + // `projects//locations//agents//flows/`. + TargetFlow string `json:"targetFlow,omitempty"` - // ImageUri: Optional. The public URI to an image file. - ImageUri string `json:"imageUri,omitempty"` + // TargetPage: The target page to transition to. Format: + // `projects//locations//agents//flows//pages/`. + TargetPage string `json:"targetPage,omitempty"` - // ForceSendFields is a list of field names (e.g. "AccessibilityText") + // ForceSendFields is a list of field names (e.g. "FulfillmentResponse") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -4496,7 +5268,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageImage struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AccessibilityText") to + // NullFields is a list of field names (e.g. "FulfillmentResponse") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -4506,25 +5278,30 @@ type GoogleCloudDialogflowV2beta1IntentMessageImage struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageImage) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageImage +func (s *GoogleCloudDialogflowCxV3beta1WebhookResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1WebhookResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion: The -// suggestion chip message that allows the user to jump out to the app -// or website associated with this agent. -type GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion struct { - // DestinationName: Required. The name of the app or site this chip is - // linking to. - DestinationName string `json:"destinationName,omitempty"` +// GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse: +// Represents a fulfillment response to the user. +type GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse struct { + // MergeBehavior: Merge behavior for `messages`. + // + // Possible values: + // "MERGE_BEHAVIOR_UNSPECIFIED" - Not specified. `APPEND` will be + // used. + // "APPEND" - `messages` will be appended to the list of messages + // waiting to be sent to the user. + // "REPLACE" - `messages` will replace the list of messages waiting to + // be sent to the user. + MergeBehavior string `json:"mergeBehavior,omitempty"` - // Uri: Required. The URI of the app or site to open when the user taps - // the suggestion chip. - Uri string `json:"uri,omitempty"` + // Messages: The list of rich message responses to present to the user. + Messages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"messages,omitempty"` - // ForceSendFields is a list of field names (e.g. "DestinationName") to + // ForceSendFields is a list of field names (e.g. "MergeBehavior") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -4532,35 +5309,43 @@ type GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DestinationName") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "MergeBehavior") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion +func (s *GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageListSelect: The card for -// presenting a list of options to select from. -type GoogleCloudDialogflowV2beta1IntentMessageListSelect struct { - // Items: Required. List items. - Items []*GoogleCloudDialogflowV2beta1IntentMessageListSelectItem `json:"items,omitempty"` +// GoogleCloudDialogflowV2AnnotatedMessagePart: Represents a part of a +// message possibly annotated with an entity. The part can be an entity +// or purely a part of the message between two entities or message +// start/end. +type GoogleCloudDialogflowV2AnnotatedMessagePart struct { + // EntityType: The [Dialogflow system entity + // type](https://cloud.google.com/dialogflow/docs/reference/system-entiti + // es) of this message part. If this is empty, Dialogflow could not + // annotate the phrase part with a system entity. + EntityType string `json:"entityType,omitempty"` - // Subtitle: Optional. Subtitle of the list. - Subtitle string `json:"subtitle,omitempty"` + // FormattedValue: The [Dialogflow system entity formatted value + // ](https://cloud.google.com/dialogflow/docs/reference/system-entities) + // of this message part. For example for a system entity of type + // `@sys.unit-currency`, this may contain: { "amount": 5, "currency": + // "USD" } + FormattedValue interface{} `json:"formattedValue,omitempty"` - // Title: Optional. The overall title of the list. - Title string `json:"title,omitempty"` + // Text: A part of a message possibly annotated with an entity. + Text string `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. "Items") to + // ForceSendFields is a list of field names (e.g. "EntityType") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -4568,8 +5353,8 @@ type GoogleCloudDialogflowV2beta1IntentMessageListSelect struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Items") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "EntityType") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -4577,28 +5362,19 @@ type GoogleCloudDialogflowV2beta1IntentMessageListSelect struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageListSelect) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageListSelect +func (s *GoogleCloudDialogflowV2AnnotatedMessagePart) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2AnnotatedMessagePart raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageListSelectItem: An item in -// the list. -type GoogleCloudDialogflowV2beta1IntentMessageListSelectItem struct { - // Description: Optional. The main text describing the item. - Description string `json:"description,omitempty"` - - // Image: Optional. The image to display. - Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` - - // Info: Required. Additional information about this option. - Info *GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo `json:"info,omitempty"` - - // Title: Required. The title of the list item. - Title string `json:"title,omitempty"` +// GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse: The response +// message for EntityTypes.BatchUpdateEntityTypes. +type GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse struct { + // EntityTypes: The collection of updated or created entity types. + EntityTypes []*GoogleCloudDialogflowV2EntityType `json:"entityTypes,omitempty"` - // ForceSendFields is a list of field names (e.g. "Description") to + // ForceSendFields is a list of field names (e.g. "EntityTypes") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -4606,7 +5382,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageListSelectItem struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Description") to include + // NullFields is a list of field names (e.g. "EntityTypes") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -4615,26 +5391,19 @@ type GoogleCloudDialogflowV2beta1IntentMessageListSelectItem struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageListSelectItem) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageListSelectItem +func (s *GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageMediaContent: The media -// content card for Actions on Google. -type GoogleCloudDialogflowV2beta1IntentMessageMediaContent struct { - // MediaObjects: Required. List of media objects. - MediaObjects []*GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject `json:"mediaObjects,omitempty"` - - // MediaType: Optional. What type of media is the content (ie "audio"). - // - // Possible values: - // "RESPONSE_MEDIA_TYPE_UNSPECIFIED" - Unspecified. - // "AUDIO" - Response media type is audio. - MediaType string `json:"mediaType,omitempty"` +// GoogleCloudDialogflowV2BatchUpdateIntentsResponse: The response +// message for Intents.BatchUpdateIntents. +type GoogleCloudDialogflowV2BatchUpdateIntentsResponse struct { + // Intents: The collection of updated or created intents. + Intents []*GoogleCloudDialogflowV2Intent `json:"intents,omitempty"` - // ForceSendFields is a list of field names (e.g. "MediaObjects") to + // ForceSendFields is a list of field names (e.g. "Intents") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -4642,48 +5411,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageMediaContent struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "MediaObjects") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GoogleCloudDialogflowV2beta1IntentMessageMediaContent) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageMediaContent - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObje -// ct: Response media object for media content card. -type GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject struct { - // ContentUrl: Required. Url where the media is stored. - ContentUrl string `json:"contentUrl,omitempty"` - - // Description: Optional. Description of media card. - Description string `json:"description,omitempty"` - - // Icon: Optional. Icon to display above media content. - Icon *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"icon,omitempty"` - - // LargeImage: Optional. Image to display above media content. - LargeImage *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"largeImage,omitempty"` - - // Name: Required. Name of media card. - Name string `json:"name,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ContentUrl") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ContentUrl") to include in + // NullFields is a list of field names (e.g. "Intents") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -4692,22 +5420,58 @@ type GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject st NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject +func (s *GoogleCloudDialogflowV2BatchUpdateIntentsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2BatchUpdateIntentsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageQuickReplies: The quick -// replies response message. -type GoogleCloudDialogflowV2beta1IntentMessageQuickReplies struct { - // QuickReplies: Optional. The collection of quick replies. - QuickReplies []string `json:"quickReplies,omitempty"` +// GoogleCloudDialogflowV2Context: Dialogflow contexts are similar to +// natural language context. If a person says to you "they are orange", +// you need context in order to understand what "they" is referring to. +// Similarly, for Dialogflow to handle an end-user expression like that, +// it needs to be provided with context in order to correctly match an +// intent. Using contexts, you can control the flow of a conversation. +// You can configure contexts for an intent by setting input and output +// contexts, which are identified by string names. When an intent is +// matched, any configured output contexts for that intent become +// active. While any contexts are active, Dialogflow is more likely to +// match intents that are configured with input contexts that correspond +// to the currently active contexts. For more information about context, +// see the [Contexts +// guide](https://cloud.google.com/dialogflow/docs/contexts-overview). +type GoogleCloudDialogflowV2Context struct { + // LifespanCount: Optional. The number of conversational query requests + // after which the context expires. The default is `0`. If set to `0`, + // the context expires immediately. Contexts expire automatically after + // 20 minutes if there are no matching queries. + LifespanCount int64 `json:"lifespanCount,omitempty"` - // Title: Optional. The title of the collection of quick replies. - Title string `json:"title,omitempty"` + // Name: Required. The unique identifier of the context. Format: + // `projects//agent/sessions//contexts/`, or + // `projects//agent/environments//users//sessions//contexts/`. The + // `Context ID` is always converted to lowercase, may only contain + // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If + // `Environment ID` is not specified, we assume default 'draft' + // environment. If `User ID` is not specified, we assume default '-' + // user. The following context names are reserved for internal use by + // Dialogflow. You should not use these contexts or create contexts with + // these names: * `__system_counters__` * `*_id_dialog_context` * + // `*_dialog_params_size` + Name string `json:"name,omitempty"` - // ForceSendFields is a list of field names (e.g. "QuickReplies") to + // Parameters: Optional. The collection of parameters associated with + // this context. Depending on your protocol or client library language, + // this is a map, associative array, symbol table, dictionary, or JSON + // object composed of a collection of (MapKey, MapValue) pairs: - MapKey + // type: string - MapKey value: parameter name - MapValue type: - If + // parameter's entity type is a composite entity: map - Else: string or + // number, depending on parameter value type - MapValue value: - If + // parameter's entity type is a composite entity: map from composite + // entity property names to property values - Else: parameter value + Parameters googleapi.RawMessage `json:"parameters,omitempty"` + + // ForceSendFields is a list of field names (e.g. "LifespanCount") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -4715,7 +5479,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageQuickReplies struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "QuickReplies") to include + // NullFields is a list of field names (e.g. "LifespanCount") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -4724,32 +5488,50 @@ type GoogleCloudDialogflowV2beta1IntentMessageQuickReplies struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageQuickReplies) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageQuickReplies +func (s *GoogleCloudDialogflowV2Context) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2Context raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent: Rich -// Business Messaging (RBM) Card content -type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent struct { - // Description: Optional. Description of the card (at most 2000 bytes). - // At least one of the title, description or media must be set. - Description string `json:"description,omitempty"` +// GoogleCloudDialogflowV2ConversationEvent: Represents a notification +// sent to Pub/Sub subscribers for conversation lifecycle events. +type GoogleCloudDialogflowV2ConversationEvent struct { + // Conversation: The unique identifier of the conversation this + // notification refers to. Format: `projects//conversations/`. + Conversation string `json:"conversation,omitempty"` - // Media: Optional. However at least one of the title, description or - // media must be set. Media (image, GIF or a video) to include in the - // card. - Media *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia `json:"media,omitempty"` + // ErrorStatus: More detailed information about an error. Only set for + // type UNRECOVERABLE_ERROR_IN_PHONE_CALL. + ErrorStatus *GoogleRpcStatus `json:"errorStatus,omitempty"` - // Suggestions: Optional. List of suggestions to include in the card. - Suggestions []*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion `json:"suggestions,omitempty"` + // NewMessagePayload: Payload of NEW_MESSAGE event. + NewMessagePayload *GoogleCloudDialogflowV2Message `json:"newMessagePayload,omitempty"` - // Title: Optional. Title of the card (at most 200 bytes). At least one - // of the title, description or media must be set. - Title string `json:"title,omitempty"` + // Type: The type of the event that this notification refers to. + // + // Possible values: + // "TYPE_UNSPECIFIED" - Type not set. + // "CONVERSATION_STARTED" - A new conversation has been opened. This + // is fired when a telephone call is answered, or a conversation is + // created via the API. + // "CONVERSATION_FINISHED" - An existing conversation has closed. This + // is fired when a telephone call is terminated, or a conversation is + // closed via the API. + // "HUMAN_INTERVENTION_NEEDED" - An existing conversation has received + // notification from Dialogflow that human intervention is required. + // "NEW_MESSAGE" - An existing conversation has received a new + // message, either from API or telephony. It is configured in + // ConversationProfile.new_message_event_notification_config + // "UNRECOVERABLE_ERROR" - Unrecoverable error during a telephone + // call. In general non-recoverable errors only occur if something was + // misconfigured in the ConversationProfile corresponding to the call. + // After a non-recoverable error, Dialogflow may stop responding. We + // don't fire this event: * in an API call because we can directly + // return the error, or, * when we can recover from an error. + Type string `json:"type,omitempty"` - // ForceSendFields is a list of field names (e.g. "Description") to + // ForceSendFields is a list of field names (e.g. "Conversation") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -4757,7 +5539,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Description") to include + // NullFields is a list of field names (e.g. "Conversation") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -4766,87 +5548,106 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent +func (s *GoogleCloudDialogflowV2ConversationEvent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2ConversationEvent raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia: Rich -// Business Messaging (RBM) Media displayed in Cards The following -// media-types are currently supported: Image Types * image/jpeg * -// image/jpg' * image/gif * image/png Video Types * video/h263 * -// video/m4v * video/mp4 * video/mpeg * video/mpeg4 * video/webm -type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia struct { - // FileUri: Required. Publicly reachable URI of the file. The RBM - // platform determines the MIME type of the file from the content-type - // field in the HTTP headers when the platform fetches the file. The - // content-type field must be present and accurate in the HTTP response - // from the URL. - FileUri string `json:"fileUri,omitempty"` +// GoogleCloudDialogflowV2EntityType: Each intent parameter has a type, +// called the entity type, which dictates exactly how data from an +// end-user expression is extracted. Dialogflow provides predefined +// system entities that can match many common types of data. For +// example, there are system entities for matching dates, times, colors, +// email addresses, and so on. You can also create your own custom +// entities for matching custom data. For example, you could define a +// vegetable entity that can match the types of vegetables available for +// purchase with a grocery store agent. For more information, see the +// [Entity +// guide](https://cloud.google.com/dialogflow/docs/entities-overview). +type GoogleCloudDialogflowV2EntityType struct { + // AutoExpansionMode: Optional. Indicates whether the entity type can be + // automatically expanded. + // + // Possible values: + // "AUTO_EXPANSION_MODE_UNSPECIFIED" - Auto expansion disabled for the + // entity. + // "AUTO_EXPANSION_MODE_DEFAULT" - Allows an agent to recognize values + // that have not been explicitly listed in the entity. + AutoExpansionMode string `json:"autoExpansionMode,omitempty"` - // Height: Required for cards with vertical orientation. The height of - // the media within a rich card with a vertical layout. For a standalone - // card with horizontal layout, height is not customizable, and this - // field is ignored. + // DisplayName: Required. The name of the entity type. + DisplayName string `json:"displayName,omitempty"` + + // EnableFuzzyExtraction: Optional. Enables fuzzy entity extraction + // during classification. + EnableFuzzyExtraction bool `json:"enableFuzzyExtraction,omitempty"` + + // Entities: Optional. The collection of entity entries associated with + // the entity type. + Entities []*GoogleCloudDialogflowV2EntityTypeEntity `json:"entities,omitempty"` + + // Kind: Required. Indicates the kind of entity type. // // Possible values: - // "HEIGHT_UNSPECIFIED" - Not specified. - // "SHORT" - 112 DP. - // "MEDIUM" - 168 DP. - // "TALL" - 264 DP. Not available for rich card carousels when the - // card width is set to small. - Height string `json:"height,omitempty"` + // "KIND_UNSPECIFIED" - Not specified. This value should be never + // used. + // "KIND_MAP" - Map entity types allow mapping of a group of synonyms + // to a reference value. + // "KIND_LIST" - List entity types contain a set of entries that do + // not map to reference values. However, list entity types can contain + // references to other entity types (with or without aliases). + // "KIND_REGEXP" - Regexp entity types allow to specify regular + // expressions in entries values. + Kind string `json:"kind,omitempty"` - // ThumbnailUri: Optional. Publicly reachable URI of the thumbnail.If - // you don't provide a thumbnail URI, the RBM platform displays a blank - // placeholder thumbnail until the user's device downloads the file. - // Depending on the user's setting, the file may not download - // automatically and may require the user to tap a download button. - ThumbnailUri string `json:"thumbnailUri,omitempty"` + // Name: The unique identifier of the entity type. Required for + // EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes + // methods. Format: `projects//agent/entityTypes/`. + Name string `json:"name,omitempty"` - // ForceSendFields is a list of field names (e.g. "FileUri") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "AutoExpansionMode") + // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "FileUri") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "AutoExpansionMode") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia +func (s *GoogleCloudDialogflowV2EntityType) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2EntityType raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard: Carousel -// Rich Business Messaging (RBM) rich card. Rich cards allow you to -// respond to users with more vivid content, e.g. with media and -// suggestions. If you want to show a single card with more control over -// the layout, please use RbmStandaloneCard instead. -type GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard struct { - // CardContents: Required. The cards in the carousel. A carousel must - // have at least 2 cards and at most 10. - CardContents []*GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent `json:"cardContents,omitempty"` +// GoogleCloudDialogflowV2EntityTypeEntity: An **entity entry** for an +// associated entity type. +type GoogleCloudDialogflowV2EntityTypeEntity struct { + // Synonyms: Required. A collection of value synonyms. For example, if + // the entity type is *vegetable*, and `value` is *scallions*, a synonym + // could be *green onions*. For `KIND_LIST` entity types: * This + // collection must contain exactly one synonym equal to `value`. + Synonyms []string `json:"synonyms,omitempty"` - // CardWidth: Required. The width of the cards in the carousel. - // - // Possible values: - // "CARD_WIDTH_UNSPECIFIED" - Not specified. - // "SMALL" - 120 DP. Note that tall media cannot be used. - // "MEDIUM" - 232 DP. - CardWidth string `json:"cardWidth,omitempty"` + // Value: Required. The primary value associated with this entity entry. + // For example, if the entity type is *vegetable*, the value could be + // *scallions*. For `KIND_MAP` entity types: * A reference value to be + // used in place of synonyms. For `KIND_LIST` entity types: * A string + // that can contain references to other entity types (with or without + // aliases). + Value string `json:"value,omitempty"` - // ForceSendFields is a list of field names (e.g. "CardContents") to + // ForceSendFields is a list of field names (e.g. "Synonyms") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -4854,49 +5655,49 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CardContents") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Synonyms") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard +func (s *GoogleCloudDialogflowV2EntityTypeEntity) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2EntityTypeEntity raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard: -// Standalone Rich Business Messaging (RBM) rich card. Rich cards allow -// you to respond to users with more vivid content, e.g. with media and -// suggestions. You can group multiple rich cards into one using -// RbmCarouselCard but carousel cards will give you less control over -// the card layout. -type GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard struct { - // CardContent: Required. Card content. - CardContent *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent `json:"cardContent,omitempty"` +// GoogleCloudDialogflowV2EventInput: Events allow for matching intents +// by event name instead of the natural language input. For instance, +// input `` can trigger a personalized welcome response. The parameter +// `name` may be used by the agent in the response: "Hello +// #welcome_event.name! What can I do for you today?". +type GoogleCloudDialogflowV2EventInput struct { + // LanguageCode: Required. The language of this query. See [Language + // Support](https://cloud.google.com/dialogflow/docs/reference/language) + // for a list of the currently supported language codes. Note that + // queries in the same session do not necessarily need to specify the + // same language. + LanguageCode string `json:"languageCode,omitempty"` - // CardOrientation: Required. Orientation of the card. - // - // Possible values: - // "CARD_ORIENTATION_UNSPECIFIED" - Not specified. - // "HORIZONTAL" - Horizontal layout. - // "VERTICAL" - Vertical layout. - CardOrientation string `json:"cardOrientation,omitempty"` + // Name: Required. The unique identifier of the event. + Name string `json:"name,omitempty"` - // ThumbnailImageAlignment: Required if orientation is horizontal. Image - // preview alignment for standalone cards with horizontal layout. - // - // Possible values: - // "THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED" - Not specified. - // "LEFT" - Thumbnail preview is left-aligned. - // "RIGHT" - Thumbnail preview is right-aligned. - ThumbnailImageAlignment string `json:"thumbnailImageAlignment,omitempty"` + // Parameters: The collection of parameters associated with the event. + // Depending on your protocol or client library language, this is a map, + // associative array, symbol table, dictionary, or JSON object composed + // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: string or number, depending + // on parameter value type - MapValue value: - If parameter's entity + // type is a composite entity: map from composite entity property names + // to property values - Else: parameter value + Parameters googleapi.RawMessage `json:"parameters,omitempty"` - // ForceSendFields is a list of field names (e.g. "CardContent") to + // ForceSendFields is a list of field names (e.g. "LanguageCode") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -4904,7 +5705,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CardContent") to include + // NullFields is a list of field names (e.g. "LanguageCode") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -4913,67 +5714,24 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard +func (s *GoogleCloudDialogflowV2EventInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2EventInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction: Rich -// Business Messaging (RBM) suggested client-side action that the user -// can choose from the card. -type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction struct { - // Dial: Suggested client side action: Dial a phone number - Dial *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial `json:"dial,omitempty"` - - // OpenUrl: Suggested client side action: Open a URI on device - OpenUrl *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri `json:"openUrl,omitempty"` - - // PostbackData: Opaque payload that the Dialogflow receives in a user - // event when the user taps the suggested action. This data will be also - // forwarded to webhook to allow performing custom business logic. - PostbackData string `json:"postbackData,omitempty"` - - // ShareLocation: Suggested client side action: Share user location - ShareLocation *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation `json:"shareLocation,omitempty"` - - // Text: Text to display alongside the action. - Text string `json:"text,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Dial") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Dial") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} +// GoogleCloudDialogflowV2ExportAgentResponse: The response message for +// Agents.ExportAgent. +type GoogleCloudDialogflowV2ExportAgentResponse struct { + // AgentContent: Zip compressed raw byte content for agent. + AgentContent string `json:"agentContent,omitempty"` -// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggeste -// dActionDial: Opens the user's default dialer app with the specified -// phone number but does not dial automatically. -type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial struct { - // PhoneNumber: Required. The phone number to fill in the default dialer - // app. This field should be in - // [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a - // correctly formatted phone number: +15556767888. - PhoneNumber string `json:"phoneNumber,omitempty"` + // AgentUri: The URI to a file containing the exported agent. This field + // is populated only if `agent_uri` is specified in + // `ExportAgentRequest`. + AgentUri string `json:"agentUri,omitempty"` - // ForceSendFields is a list of field names (e.g. "PhoneNumber") to + // ForceSendFields is a list of field names (e.g. "AgentContent") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -4981,7 +5739,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActi // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "PhoneNumber") to include + // NullFields is a list of field names (e.g. "AgentContent") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -4990,95 +5748,134 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActi NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial +func (s *GoogleCloudDialogflowV2ExportAgentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2ExportAgentResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggeste -// dActionOpenUri: Opens the user's default web browser app to the -// specified uri If the user has an app installed that is registered as -// the default handler for the URL, then this app will be opened -// instead, and its icon will be used in the suggested action UI. -type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri struct { - // Uri: Required. The uri to open on the user device - Uri string `json:"uri,omitempty"` +// GoogleCloudDialogflowV2Intent: An intent categorizes an end-user's +// intention for one conversation turn. For each agent, you define many +// intents, where your combined intents can handle a complete +// conversation. When an end-user writes or says something, referred to +// as an end-user expression or end-user input, Dialogflow matches the +// end-user input to the best intent in your agent. Matching an intent +// is also known as intent classification. For more information, see the +// [intent +// guide](https://cloud.google.com/dialogflow/docs/intents-overview). +type GoogleCloudDialogflowV2Intent struct { + // Action: Optional. The name of the action associated with the intent. + // Note: The action name must not contain whitespaces. + Action string `json:"action,omitempty"` - // ForceSendFields is a list of field names (e.g. "Uri") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` + // DefaultResponsePlatforms: Optional. The list of platforms for which + // the first responses will be copied from the messages in + // PLATFORM_UNSPECIFIED (i.e. default platform). + // + // Possible values: + // "PLATFORM_UNSPECIFIED" - Default platform. + // "FACEBOOK" - Facebook. + // "SLACK" - Slack. + // "TELEGRAM" - Telegram. + // "KIK" - Kik. + // "SKYPE" - Skype. + // "LINE" - Line. + // "VIBER" - Viber. + // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook + // format](https://developers.google.com/assistant/actions/build/json/dia + // logflow-webhook-json) + // "GOOGLE_HANGOUTS" - Google Hangouts. + DefaultResponsePlatforms []string `json:"defaultResponsePlatforms,omitempty"` - // NullFields is a list of field names (e.g. "Uri") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} + // DisplayName: Required. The name of this intent. + DisplayName string `json:"displayName,omitempty"` -func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // Events: Optional. The collection of event names that trigger the + // intent. If the collection of input contexts is not empty, all of the + // contexts must be present in the active user session for an event to + // trigger this intent. Event names are limited to 150 characters. + Events []string `json:"events,omitempty"` -// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggeste -// dActionShareLocation: Opens the device's location chooser so the user -// can pick a location to send back to the agent. -type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation struct { -} + // FollowupIntentInfo: Read-only. Information about all followup intents + // that have this intent as a direct or indirect parent. We populate + // this field only in the output. + FollowupIntentInfo []*GoogleCloudDialogflowV2IntentFollowupIntentInfo `json:"followupIntentInfo,omitempty"` -// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply: Rich -// Business Messaging (RBM) suggested reply that the user can click -// instead of typing in their own response. -type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply struct { - // PostbackData: Opaque payload that the Dialogflow receives in a user - // event when the user taps the suggested reply. This data will be also - // forwarded to webhook to allow performing custom business logic. - PostbackData string `json:"postbackData,omitempty"` + // InputContextNames: Optional. The list of context names required for + // this intent to be triggered. Format: + // `projects//agent/sessions/-/contexts/`. + InputContextNames []string `json:"inputContextNames,omitempty"` - // Text: Suggested reply text. - Text string `json:"text,omitempty"` + // IsFallback: Optional. Indicates whether this is a fallback intent. + IsFallback bool `json:"isFallback,omitempty"` - // ForceSendFields is a list of field names (e.g. "PostbackData") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` + // Messages: Optional. The collection of rich messages corresponding to + // the `Response` field in the Dialogflow console. + Messages []*GoogleCloudDialogflowV2IntentMessage `json:"messages,omitempty"` - // NullFields is a list of field names (e.g. "PostbackData") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} + // MlDisabled: Optional. Indicates whether Machine Learning is disabled + // for the intent. Note: If `ml_disabled` setting is set to true, then + // this intent is not taken into account during inference in `ML ONLY` + // match mode. Also, auto-markup in the UI is turned off. + MlDisabled bool `json:"mlDisabled,omitempty"` -func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // Name: Optional. The unique identifier of this intent. Required for + // Intents.UpdateIntent and Intents.BatchUpdateIntents methods. Format: + // `projects//agent/intents/`. + Name string `json:"name,omitempty"` -// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion: Rich Business -// Messaging (RBM) suggestion. Suggestions allow user to easily -// select/click a predefined response or perform an action (like opening -// a web uri). -type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion struct { - // Action: Predefined client side actions that user can choose - Action *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction `json:"action,omitempty"` + // OutputContexts: Optional. The collection of contexts that are + // activated when the intent is matched. Context messages in this + // collection should not set the parameters field. Setting the + // `lifespan_count` to 0 will reset the context when the intent is + // matched. Format: `projects//agent/sessions/-/contexts/`. + OutputContexts []*GoogleCloudDialogflowV2Context `json:"outputContexts,omitempty"` - // Reply: Predefined replies for user to select instead of typing - Reply *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply `json:"reply,omitempty"` + // Parameters: Optional. The collection of parameters associated with + // the intent. + Parameters []*GoogleCloudDialogflowV2IntentParameter `json:"parameters,omitempty"` + + // ParentFollowupIntentName: Read-only after creation. The unique + // identifier of the parent intent in the chain of followup intents. You + // can set this field when creating an intent, for example with + // CreateIntent or BatchUpdateIntents, in order to make this intent a + // followup intent. It identifies the parent followup intent. Format: + // `projects//agent/intents/`. + ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` + + // Priority: Optional. The priority of this intent. Higher numbers + // represent higher priorities. - If the supplied value is unspecified + // or 0, the service translates the value to 500,000, which corresponds + // to the `Normal` priority in the console. - If the supplied value is + // negative, the intent is ignored in runtime detect intent requests. + Priority int64 `json:"priority,omitempty"` + + // ResetContexts: Optional. Indicates whether to delete all contexts in + // the current session when this intent is matched. + ResetContexts bool `json:"resetContexts,omitempty"` + + // RootFollowupIntentName: Read-only. The unique identifier of the root + // intent in the chain of followup intents. It identifies the correct + // followup intents chain for this intent. We populate this field only + // in the output. Format: `projects//agent/intents/`. + RootFollowupIntentName string `json:"rootFollowupIntentName,omitempty"` + + // TrainingPhrases: Optional. The collection of examples that the agent + // is trained on. + TrainingPhrases []*GoogleCloudDialogflowV2IntentTrainingPhrase `json:"trainingPhrases,omitempty"` + + // WebhookState: Optional. Indicates whether webhooks are enabled for + // the intent. + // + // Possible values: + // "WEBHOOK_STATE_UNSPECIFIED" - Webhook is disabled in the agent and + // in the intent. + // "WEBHOOK_STATE_ENABLED" - Webhook is enabled in the agent and in + // the intent. + // "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING" - Webhook is enabled in + // the agent and in the intent. Also, each slot filling prompt is + // forwarded to the webhook. + WebhookState string `json:"webhookState,omitempty"` // ForceSendFields is a list of field names (e.g. "Action") to // unconditionally include in API requests. By default, fields with @@ -5097,56 +5894,115 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion +func (s *GoogleCloudDialogflowV2Intent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2Intent raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageRbmText: Rich Business -// Messaging (RBM) text response with suggestions. -type GoogleCloudDialogflowV2beta1IntentMessageRbmText struct { - // RbmSuggestion: Optional. One or more suggestions to show to the user. - RbmSuggestion []*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion `json:"rbmSuggestion,omitempty"` +// GoogleCloudDialogflowV2IntentFollowupIntentInfo: Represents a single +// followup intent in the chain. +type GoogleCloudDialogflowV2IntentFollowupIntentInfo struct { + // FollowupIntentName: The unique identifier of the followup intent. + // Format: `projects//agent/intents/`. + FollowupIntentName string `json:"followupIntentName,omitempty"` - // Text: Required. Text sent and displayed to the user. - Text string `json:"text,omitempty"` + // ParentFollowupIntentName: The unique identifier of the followup + // intent's parent. Format: `projects//agent/intents/`. + ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` - // ForceSendFields is a list of field names (e.g. "RbmSuggestion") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "FollowupIntentName") + // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "RbmSuggestion") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "FollowupIntentName") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmText) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmText +func (s *GoogleCloudDialogflowV2IntentFollowupIntentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentFollowupIntentInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo: Additional -// info about the select item for when it is triggered in a dialog. -type GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo struct { - // Key: Required. A unique key that will be sent back to the agent if - // this response is given. - Key string `json:"key,omitempty"` +// GoogleCloudDialogflowV2IntentMessage: A rich response message. +// Corresponds to the intent `Response` field in the Dialogflow console. +// For more information, see [Rich response +// messages](https://cloud.google.com/dialogflow/docs/intents-rich-messag +// es). +type GoogleCloudDialogflowV2IntentMessage struct { + // BasicCard: The basic card response for Actions on Google. + BasicCard *GoogleCloudDialogflowV2IntentMessageBasicCard `json:"basicCard,omitempty"` - // Synonyms: Optional. A list of synonyms that can also be used to - // trigger this item in dialog. - Synonyms []string `json:"synonyms,omitempty"` + // BrowseCarouselCard: Browse carousel card for Actions on Google. + BrowseCarouselCard *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard `json:"browseCarouselCard,omitempty"` - // ForceSendFields is a list of field names (e.g. "Key") to + // Card: The card response. + Card *GoogleCloudDialogflowV2IntentMessageCard `json:"card,omitempty"` + + // CarouselSelect: The carousel card response for Actions on Google. + CarouselSelect *GoogleCloudDialogflowV2IntentMessageCarouselSelect `json:"carouselSelect,omitempty"` + + // Image: The image response. + Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` + + // LinkOutSuggestion: The link out suggestion chip for Actions on + // Google. + LinkOutSuggestion *GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion `json:"linkOutSuggestion,omitempty"` + + // ListSelect: The list card response for Actions on Google. + ListSelect *GoogleCloudDialogflowV2IntentMessageListSelect `json:"listSelect,omitempty"` + + // MediaContent: The media content card for Actions on Google. + MediaContent *GoogleCloudDialogflowV2IntentMessageMediaContent `json:"mediaContent,omitempty"` + + // Payload: A custom platform-specific response. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // Platform: Optional. The platform that this message is intended for. + // + // Possible values: + // "PLATFORM_UNSPECIFIED" - Default platform. + // "FACEBOOK" - Facebook. + // "SLACK" - Slack. + // "TELEGRAM" - Telegram. + // "KIK" - Kik. + // "SKYPE" - Skype. + // "LINE" - Line. + // "VIBER" - Viber. + // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook + // format](https://developers.google.com/assistant/actions/build/json/dia + // logflow-webhook-json) + // "GOOGLE_HANGOUTS" - Google Hangouts. + Platform string `json:"platform,omitempty"` + + // QuickReplies: The quick replies response. + QuickReplies *GoogleCloudDialogflowV2IntentMessageQuickReplies `json:"quickReplies,omitempty"` + + // SimpleResponses: The voice and text-only responses for Actions on + // Google. + SimpleResponses *GoogleCloudDialogflowV2IntentMessageSimpleResponses `json:"simpleResponses,omitempty"` + + // Suggestions: The suggestion chips for Actions on Google. + Suggestions *GoogleCloudDialogflowV2IntentMessageSuggestions `json:"suggestions,omitempty"` + + // TableCard: Table card for Actions on Google. + TableCard *GoogleCloudDialogflowV2IntentMessageTableCard `json:"tableCard,omitempty"` + + // Text: The text response. + Text *GoogleCloudDialogflowV2IntentMessageText `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "BasicCard") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5154,8 +6010,8 @@ type GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Key") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "BasicCard") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -5163,28 +6019,32 @@ type GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo +func (s *GoogleCloudDialogflowV2IntentMessage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessage raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse: The simple -// response message containing speech or text. -type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse struct { - // DisplayText: Optional. The text to display. - DisplayText string `json:"displayText,omitempty"` +// GoogleCloudDialogflowV2IntentMessageBasicCard: The basic card +// message. Useful for displaying information. +type GoogleCloudDialogflowV2IntentMessageBasicCard struct { + // Buttons: Optional. The collection of card buttons. + Buttons []*GoogleCloudDialogflowV2IntentMessageBasicCardButton `json:"buttons,omitempty"` - // Ssml: One of text_to_speech or ssml must be provided. Structured - // spoken response to the user in the SSML format. Mutually exclusive - // with text_to_speech. - Ssml string `json:"ssml,omitempty"` + // FormattedText: Required, unless image is present. The body text of + // the card. + FormattedText string `json:"formattedText,omitempty"` - // TextToSpeech: One of text_to_speech or ssml must be provided. The - // plain text of the speech output. Mutually exclusive with ssml. - TextToSpeech string `json:"textToSpeech,omitempty"` + // Image: Optional. The image for the card. + Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` - // ForceSendFields is a list of field names (e.g. "DisplayText") to + // Subtitle: Optional. The subtitle of the card. + Subtitle string `json:"subtitle,omitempty"` + + // Title: Optional. The title of the card. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Buttons") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5192,31 +6052,32 @@ type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DisplayText") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Buttons") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse +func (s *GoogleCloudDialogflowV2IntentMessageBasicCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageBasicCard raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses: The -// collection of simple response candidates. This message in -// `QueryResult.fulfillment_messages` and -// `WebhookResponse.fulfillment_messages` should contain only one -// `SimpleResponse`. -type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses struct { - // SimpleResponses: Required. The list of simple responses. - SimpleResponses []*GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse `json:"simpleResponses,omitempty"` +// GoogleCloudDialogflowV2IntentMessageBasicCardButton: The button +// object that appears at the bottom of a card. +type GoogleCloudDialogflowV2IntentMessageBasicCardButton struct { + // OpenUriAction: Required. Action to take when a user taps on the + // button. + OpenUriAction *GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction `json:"openUriAction,omitempty"` - // ForceSendFields is a list of field names (e.g. "SimpleResponses") to + // Title: Required. The title of the button. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "OpenUriAction") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5224,30 +6085,28 @@ type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "SimpleResponses") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "OpenUriAction") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses +func (s *GoogleCloudDialogflowV2IntentMessageBasicCardButton) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageBasicCardButton raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageSuggestion: The suggestion -// chip message that the user can tap to quickly post a reply to the -// conversation. -type GoogleCloudDialogflowV2beta1IntentMessageSuggestion struct { - // Title: Required. The text shown the in the suggestion chip. - Title string `json:"title,omitempty"` +// GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction: +// Opens the given URI. +type GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction struct { + // Uri: Required. The HTTP or HTTPS scheme URI. + Uri string `json:"uri,omitempty"` - // ForceSendFields is a list of field names (e.g. "Title") to + // ForceSendFields is a list of field names (e.g. "Uri") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5255,7 +6114,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageSuggestion struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Title") to include in API + // NullFields is a list of field names (e.g. "Uri") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -5264,64 +6123,86 @@ type GoogleCloudDialogflowV2beta1IntentMessageSuggestion struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageSuggestion) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSuggestion +func (s *GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageSuggestions: The collection -// of suggestions. -type GoogleCloudDialogflowV2beta1IntentMessageSuggestions struct { - // Suggestions: Required. The list of suggested replies. - Suggestions []*GoogleCloudDialogflowV2beta1IntentMessageSuggestion `json:"suggestions,omitempty"` +// GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard: Browse +// Carousel Card for Actions on Google. +// https://developers.google.com/actions/assistant/responses#browsing_carousel +type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard struct { + // ImageDisplayOptions: Optional. Settings for displaying the image. + // Applies to every image in items. + // + // Possible values: + // "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED" - Fill the gaps between the + // image and the image container with gray bars. + // "GRAY" - Fill the gaps between the image and the image container + // with gray bars. + // "WHITE" - Fill the gaps between the image and the image container + // with white bars. + // "CROPPED" - Image is scaled such that the image width and height + // match or exceed the container dimensions. This may crop the top and + // bottom of the image if the scaled image height is greater than the + // container height, or crop the left and right of the image if the + // scaled image width is greater than the container width. This is + // similar to "Zoom Mode" on a widescreen TV when playing a 4:3 video. + // "BLURRED_BACKGROUND" - Pad the gaps between image and image frame + // with a blurred copy of the same image. + ImageDisplayOptions string `json:"imageDisplayOptions,omitempty"` - // ForceSendFields is a list of field names (e.g. "Suggestions") to - // unconditionally include in API requests. By default, fields with + // Items: Required. List of items in the Browse Carousel Card. Minimum + // of two items, maximum of ten. + Items []*GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem `json:"items,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ImageDisplayOptions") + // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Suggestions") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "ImageDisplayOptions") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageSuggestions) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSuggestions +func (s *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageTableCard: Table card for -// Actions on Google. -type GoogleCloudDialogflowV2beta1IntentMessageTableCard struct { - // Buttons: Optional. List of buttons for the card. - Buttons []*GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton `json:"buttons,omitempty"` - - // ColumnProperties: Optional. Display properties for the columns in - // this table. - ColumnProperties []*GoogleCloudDialogflowV2beta1IntentMessageColumnProperties `json:"columnProperties,omitempty"` +// GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCa +// rdItem: Browsing carousel tile +type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem struct { + // Description: Optional. Description of the carousel item. Maximum of + // four lines of text. + Description string `json:"description,omitempty"` - // Image: Optional. Image which should be displayed on the card. - Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` + // Footer: Optional. Text that appears at the bottom of the Browse + // Carousel Card. Maximum of one line of text. + Footer string `json:"footer,omitempty"` - // Rows: Optional. Rows in this table of data. - Rows []*GoogleCloudDialogflowV2beta1IntentMessageTableCardRow `json:"rows,omitempty"` + // Image: Optional. Hero image for the carousel item. + Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` - // Subtitle: Optional. Subtitle to the title. - Subtitle string `json:"subtitle,omitempty"` + // OpenUriAction: Required. Action to present to the user. + OpenUriAction *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction `json:"openUriAction,omitempty"` - // Title: Required. Title of the card. + // Title: Required. Title of the carousel item. Maximum of two lines of + // text. Title string `json:"title,omitempty"` - // ForceSendFields is a list of field names (e.g. "Buttons") to + // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5329,28 +6210,38 @@ type GoogleCloudDialogflowV2beta1IntentMessageTableCard struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Buttons") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Description") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageTableCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTableCard +func (s *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageTableCardCell: Cell of -// TableCardRow. -type GoogleCloudDialogflowV2beta1IntentMessageTableCardCell struct { - // Text: Required. Text in this cell. - Text string `json:"text,omitempty"` +// GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCa +// rdItemOpenUrlAction: Actions on Google action to open a given url. +type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction struct { + // Url: Required. URL + Url string `json:"url,omitempty"` - // ForceSendFields is a list of field names (e.g. "Text") to + // UrlTypeHint: Optional. Specifies the type of viewer that is used when + // opening the URL. Defaults to opening via web browser. + // + // Possible values: + // "URL_TYPE_HINT_UNSPECIFIED" - Unspecified + // "AMP_ACTION" - Url would be an amp action + // "AMP_CONTENT" - URL that points directly to AMP content, or to a + // canonical URL which refers to AMP content via . + UrlTypeHint string `json:"urlTypeHint,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Url") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5358,7 +6249,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageTableCardCell struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Text") to include in API + // NullFields is a list of field names (e.g. "Url") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -5367,23 +6258,27 @@ type GoogleCloudDialogflowV2beta1IntentMessageTableCardCell struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageTableCardCell) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTableCardCell +func (s *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageTableCardRow: Row of -// TableCard. -type GoogleCloudDialogflowV2beta1IntentMessageTableCardRow struct { - // Cells: Optional. List of cells that make up this row. - Cells []*GoogleCloudDialogflowV2beta1IntentMessageTableCardCell `json:"cells,omitempty"` +// GoogleCloudDialogflowV2IntentMessageCard: The card response message. +type GoogleCloudDialogflowV2IntentMessageCard struct { + // Buttons: Optional. The collection of card buttons. + Buttons []*GoogleCloudDialogflowV2IntentMessageCardButton `json:"buttons,omitempty"` - // DividerAfter: Optional. Whether to add a visual divider after this - // row. - DividerAfter bool `json:"dividerAfter,omitempty"` + // ImageUri: Optional. The public URI to an image file for the card. + ImageUri string `json:"imageUri,omitempty"` - // ForceSendFields is a list of field names (e.g. "Cells") to + // Subtitle: Optional. The subtitle of the card. + Subtitle string `json:"subtitle,omitempty"` + + // Title: Optional. The title of the card. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Buttons") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5391,8 +6286,8 @@ type GoogleCloudDialogflowV2beta1IntentMessageTableCardRow struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Cells") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Buttons") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -5400,29 +6295,23 @@ type GoogleCloudDialogflowV2beta1IntentMessageTableCardRow struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageTableCardRow) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTableCardRow +func (s *GoogleCloudDialogflowV2IntentMessageCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageCard raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio: Plays -// audio from a file in Telephony Gateway. -type GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio struct { - // AudioUri: Required. URI to a Google Cloud Storage object containing - // the audio to play, e.g., "gs://bucket/object". The object must - // contain a single channel (mono) of linear PCM audio (2 bytes / - // sample) at 8kHz. This object must be readable by the - // `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` service account - // where is the number of the Telephony Gateway project (usually the - // same as the Dialogflow agent project). If the Google Cloud Storage - // bucket is in the Telephony Gateway project, this permission is added - // by default when enabling the Dialogflow V2 API. For audio from other - // sources, consider using the `TelephonySynthesizeSpeech` message with - // SSML. - AudioUri string `json:"audioUri,omitempty"` +// GoogleCloudDialogflowV2IntentMessageCardButton: Contains information +// about a button. +type GoogleCloudDialogflowV2IntentMessageCardButton struct { + // Postback: Optional. The text to send back to the Dialogflow API or a + // URI to open. + Postback string `json:"postback,omitempty"` - // ForceSendFields is a list of field names (e.g. "AudioUri") to + // Text: Optional. The text to show on the button. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Postback") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5430,7 +6319,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AudioUri") to include in + // NullFields is a list of field names (e.g. "Postback") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -5439,27 +6328,19 @@ type GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio +func (s *GoogleCloudDialogflowV2IntentMessageCardButton) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageCardButton raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech: -// Synthesizes speech and plays back the synthesized audio to the caller -// in Telephony Gateway. Telephony Gateway takes the synthesizer -// settings from `DetectIntentResponse.output_audio_config` which can -// either be set at request-level or can come from the agent-level -// synthesizer config. -type GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech struct { - // Ssml: The SSML to be synthesized. For more information, see - // [SSML](https://developers.google.com/actions/reference/ssml). - Ssml string `json:"ssml,omitempty"` - - // Text: The raw text to be synthesized. - Text string `json:"text,omitempty"` +// GoogleCloudDialogflowV2IntentMessageCarouselSelect: The card for +// presenting a carousel of options to select from. +type GoogleCloudDialogflowV2IntentMessageCarouselSelect struct { + // Items: Required. Carousel items. + Items []*GoogleCloudDialogflowV2IntentMessageCarouselSelectItem `json:"items,omitempty"` - // ForceSendFields is a list of field names (e.g. "Ssml") to + // ForceSendFields is a list of field names (e.g. "Items") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5467,7 +6348,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Ssml") to include in API + // NullFields is a list of field names (e.g. "Items") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -5476,21 +6357,28 @@ type GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech +func (s *GoogleCloudDialogflowV2IntentMessageCarouselSelect) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageCarouselSelect raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall: -// Transfers the call in Telephony Gateway. -type GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall struct { - // PhoneNumber: Required. The phone number to transfer the call to in - // [E.164 format](https://en.wikipedia.org/wiki/E.164). We currently - // only allow transferring to US numbers (+1xxxyyyzzzz). - PhoneNumber string `json:"phoneNumber,omitempty"` +// GoogleCloudDialogflowV2IntentMessageCarouselSelectItem: An item in +// the carousel. +type GoogleCloudDialogflowV2IntentMessageCarouselSelectItem struct { + // Description: Optional. The body text of the card. + Description string `json:"description,omitempty"` - // ForceSendFields is a list of field names (e.g. "PhoneNumber") to + // Image: Optional. The image to display. + Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` + + // Info: Required. Additional info about the option item. + Info *GoogleCloudDialogflowV2IntentMessageSelectItemInfo `json:"info,omitempty"` + + // Title: Required. Title of the carousel item. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5498,7 +6386,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "PhoneNumber") to include + // NullFields is a list of field names (e.g. "Description") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -5507,19 +6395,30 @@ type GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall +func (s *GoogleCloudDialogflowV2IntentMessageCarouselSelectItem) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageCarouselSelectItem raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageText: The text response -// message. -type GoogleCloudDialogflowV2beta1IntentMessageText struct { - // Text: Optional. The collection of the agent's responses. - Text []string `json:"text,omitempty"` +// GoogleCloudDialogflowV2IntentMessageColumnProperties: Column +// properties for TableCard. +type GoogleCloudDialogflowV2IntentMessageColumnProperties struct { + // Header: Required. Column heading. + Header string `json:"header,omitempty"` - // ForceSendFields is a list of field names (e.g. "Text") to + // HorizontalAlignment: Optional. Defines text alignment for all cells + // in this column. + // + // Possible values: + // "HORIZONTAL_ALIGNMENT_UNSPECIFIED" - Text is aligned to the leading + // edge of the column. + // "LEADING" - Text is aligned to the leading edge of the column. + // "CENTER" - Text is centered in the column. + // "TRAILING" - Text is aligned to the trailing edge of the column. + HorizontalAlignment string `json:"horizontalAlignment,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Header") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5527,7 +6426,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageText struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Text") to include in API + // NullFields is a list of field names (e.g. "Header") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -5536,52 +6435,59 @@ type GoogleCloudDialogflowV2beta1IntentMessageText struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageText) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageText +func (s *GoogleCloudDialogflowV2IntentMessageColumnProperties) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageColumnProperties raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentParameter: Represents intent -// parameters. -type GoogleCloudDialogflowV2beta1IntentParameter struct { - // DefaultValue: Optional. The default value to use when the `value` - // yields an empty result. Default values can be extracted from contexts - // by using the following syntax: `#context_name.parameter_name`. - DefaultValue string `json:"defaultValue,omitempty"` - - // DisplayName: Required. The name of the parameter. - DisplayName string `json:"displayName,omitempty"` +// GoogleCloudDialogflowV2IntentMessageImage: The image response +// message. +type GoogleCloudDialogflowV2IntentMessageImage struct { + // AccessibilityText: Optional. A text description of the image to be + // used for accessibility, e.g., screen readers. + AccessibilityText string `json:"accessibilityText,omitempty"` - // EntityTypeDisplayName: Optional. The name of the entity type, - // prefixed with `@`, that describes values of the parameter. If the - // parameter is required, this must be provided. - EntityTypeDisplayName string `json:"entityTypeDisplayName,omitempty"` + // ImageUri: Optional. The public URI to an image file. + ImageUri string `json:"imageUri,omitempty"` - // IsList: Optional. Indicates whether the parameter represents a list - // of values. - IsList bool `json:"isList,omitempty"` + // ForceSendFields is a list of field names (e.g. "AccessibilityText") + // to unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` - // Mandatory: Optional. Indicates whether the parameter is required. - // That is, whether the intent cannot be completed without collecting - // the parameter value. - Mandatory bool `json:"mandatory,omitempty"` + // NullFields is a list of field names (e.g. "AccessibilityText") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} - // Name: The unique identifier of this parameter. - Name string `json:"name,omitempty"` +func (s *GoogleCloudDialogflowV2IntentMessageImage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageImage + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // Prompts: Optional. The collection of prompts that the agent can - // present to the user in order to collect a value for the parameter. - Prompts []string `json:"prompts,omitempty"` +// GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion: The suggestion +// chip message that allows the user to jump out to the app or website +// associated with this agent. +type GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion struct { + // DestinationName: Required. The name of the app or site this chip is + // linking to. + DestinationName string `json:"destinationName,omitempty"` - // Value: Optional. The definition of the parameter value. It can be: - - // a constant string, - a parameter value defined as `$parameter_name`, - // - an original parameter value defined as `$parameter_name.original`, - // - a parameter value from some context defined as - // `#context_name.parameter_name`. - Value string `json:"value,omitempty"` + // Uri: Required. The URI of the app or site to open when the user taps + // the suggestion chip. + Uri string `json:"uri,omitempty"` - // ForceSendFields is a list of field names (e.g. "DefaultValue") to + // ForceSendFields is a list of field names (e.g. "DestinationName") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5589,62 +6495,35 @@ type GoogleCloudDialogflowV2beta1IntentParameter struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DefaultValue") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "DestinationName") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentParameter) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentParameter +func (s *GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentTrainingPhrase: Represents an -// example that the agent is trained on. -type GoogleCloudDialogflowV2beta1IntentTrainingPhrase struct { - // Name: Output only. The unique identifier of this training phrase. - Name string `json:"name,omitempty"` - - // Parts: Required. The ordered list of training phrase parts. The parts - // are concatenated in order to form the training phrase. Note: The API - // does not automatically annotate training phrases like the Dialogflow - // Console does. Note: Do not forget to include whitespace at part - // boundaries, so the training phrase is well formatted when the parts - // are concatenated. If the training phrase does not need to be - // annotated with parameters, you just need a single part with only the - // Part.text field set. If you want to annotate the training phrase, you - // must create multiple parts, where the fields of each part are - // populated in one of two ways: - `Part.text` is set to a part of the - // phrase that has no parameters. - `Part.text` is set to a part of the - // phrase that you want to annotate, and the `entity_type`, `alias`, and - // `user_defined` fields are all set. - Parts []*GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart `json:"parts,omitempty"` +// GoogleCloudDialogflowV2IntentMessageListSelect: The card for +// presenting a list of options to select from. +type GoogleCloudDialogflowV2IntentMessageListSelect struct { + // Items: Required. List items. + Items []*GoogleCloudDialogflowV2IntentMessageListSelectItem `json:"items,omitempty"` - // TimesAddedCount: Optional. Indicates how many times this example was - // added to the intent. Each time a developer adds an existing sample by - // editing an intent or training, this counter is increased. - TimesAddedCount int64 `json:"timesAddedCount,omitempty"` + // Subtitle: Optional. Subtitle of the list. + Subtitle string `json:"subtitle,omitempty"` - // Type: Required. The type of the training phrase. - // - // Possible values: - // "TYPE_UNSPECIFIED" - Not specified. This value should never be - // used. - // "EXAMPLE" - Examples do not contain @-prefixed entity type names, - // but example parts can be annotated with entity types. - // "TEMPLATE" - Templates are not annotated with entity types, but - // they can contain @-prefixed entity type names as substrings. Template - // mode has been deprecated. Example mode is the only supported way to - // create new training phrases. If you have existing training phrases - // that you've created in template mode, those will continue to work. - Type string `json:"type,omitempty"` + // Title: Optional. The overall title of the list. + Title string `json:"title,omitempty"` - // ForceSendFields is a list of field names (e.g. "Name") to + // ForceSendFields is a list of field names (e.g. "Items") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5652,7 +6531,7 @@ type GoogleCloudDialogflowV2beta1IntentTrainingPhrase struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Name") to include in API + // NullFields is a list of field names (e.g. "Items") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -5661,34 +6540,28 @@ type GoogleCloudDialogflowV2beta1IntentTrainingPhrase struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentTrainingPhrase) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentTrainingPhrase +func (s *GoogleCloudDialogflowV2IntentMessageListSelect) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageListSelect raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart: Represents a -// part of a training phrase. -type GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart struct { - // Alias: Optional. The parameter name for the value extracted from the - // annotated part of the example. This field is required for annotated - // parts of the training phrase. - Alias string `json:"alias,omitempty"` +// GoogleCloudDialogflowV2IntentMessageListSelectItem: An item in the +// list. +type GoogleCloudDialogflowV2IntentMessageListSelectItem struct { + // Description: Optional. The main text describing the item. + Description string `json:"description,omitempty"` - // EntityType: Optional. The entity type name prefixed with `@`. This - // field is required for annotated parts of the training phrase. - EntityType string `json:"entityType,omitempty"` + // Image: Optional. The image to display. + Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` - // Text: Required. The text for this part. - Text string `json:"text,omitempty"` + // Info: Required. Additional information about this option. + Info *GoogleCloudDialogflowV2IntentMessageSelectItemInfo `json:"info,omitempty"` - // UserDefined: Optional. Indicates whether the text was manually - // annotated. This field is set to true when the Dialogflow Console is - // used to manually annotate the part. When creating an annotated part - // with the API, you must set this to true. - UserDefined bool `json:"userDefined,omitempty"` + // Title: Required. The title of the list item. + Title string `json:"title,omitempty"` - // ForceSendFields is a list of field names (e.g. "Alias") to + // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5696,28 +6569,35 @@ type GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Alias") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Description") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart +func (s *GoogleCloudDialogflowV2IntentMessageListSelectItem) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageListSelectItem raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1KnowledgeAnswers: Represents the result -// of querying a Knowledge base. -type GoogleCloudDialogflowV2beta1KnowledgeAnswers struct { - // Answers: A list of answers from Knowledge Connector. - Answers []*GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer `json:"answers,omitempty"` +// GoogleCloudDialogflowV2IntentMessageMediaContent: The media content +// card for Actions on Google. +type GoogleCloudDialogflowV2IntentMessageMediaContent struct { + // MediaObjects: Required. List of media objects. + MediaObjects []*GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject `json:"mediaObjects,omitempty"` - // ForceSendFields is a list of field names (e.g. "Answers") to + // MediaType: Optional. What type of media is the content (ie "audio"). + // + // Possible values: + // "RESPONSE_MEDIA_TYPE_UNSPECIFIED" - Unspecified. + // "AUDIO" - Response media type is audio. + MediaType string `json:"mediaType,omitempty"` + + // ForceSendFields is a list of field names (e.g. "MediaObjects") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5725,60 +6605,40 @@ type GoogleCloudDialogflowV2beta1KnowledgeAnswers struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Answers") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "MediaObjects") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1KnowledgeAnswers) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1KnowledgeAnswers +func (s *GoogleCloudDialogflowV2IntentMessageMediaContent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageMediaContent raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer: An answer from -// Knowledge Connector. -type GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer struct { - // Answer: The piece of text from the `source` knowledge base document - // that answers this conversational query. - Answer string `json:"answer,omitempty"` +// GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject: +// Response media object for media content card. +type GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject struct { + // ContentUrl: Required. Url where the media is stored. + ContentUrl string `json:"contentUrl,omitempty"` - // FaqQuestion: The corresponding FAQ question if the answer was - // extracted from a FAQ Document, empty otherwise. - FaqQuestion string `json:"faqQuestion,omitempty"` + // Description: Optional. Description of media card. + Description string `json:"description,omitempty"` - // MatchConfidence: The system's confidence score that this Knowledge - // answer is a good match for this conversational query. The range is - // from 0.0 (completely uncertain) to 1.0 (completely certain). Note: - // The confidence score is likely to vary somewhat (possibly even for - // identical requests), as the underlying model is under constant - // improvement. It may be deprecated in the future. We recommend using - // `match_confidence_level` which should be generally more stable. - MatchConfidence float64 `json:"matchConfidence,omitempty"` + // Icon: Optional. Icon to display above media content. + Icon *GoogleCloudDialogflowV2IntentMessageImage `json:"icon,omitempty"` - // MatchConfidenceLevel: The system's confidence level that this - // knowledge answer is a good match for this conversational query. NOTE: - // The confidence level for a given `` pair may change without notice, - // as it depends on models that are constantly being improved. However, - // it will change less frequently than the confidence score below, and - // should be preferred for referencing the quality of an answer. - // - // Possible values: - // "MATCH_CONFIDENCE_LEVEL_UNSPECIFIED" - Not specified. - // "LOW" - Indicates that the confidence is low. - // "MEDIUM" - Indicates our confidence is medium. - // "HIGH" - Indicates our confidence is high. - MatchConfidenceLevel string `json:"matchConfidenceLevel,omitempty"` + // LargeImage: Optional. Image to display above media content. + LargeImage *GoogleCloudDialogflowV2IntentMessageImage `json:"largeImage,omitempty"` - // Source: Indicates which Knowledge Document this answer was extracted - // from. Format: `projects//knowledgeBases//documents/`. - Source string `json:"source,omitempty"` + // Name: Required. Name of media card. + Name string `json:"name,omitempty"` - // ForceSendFields is a list of field names (e.g. "Answer") to + // ForceSendFields is a list of field names (e.g. "ContentUrl") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5786,8 +6646,8 @@ type GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Answer") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "ContentUrl") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -5795,39 +6655,22 @@ type GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer +func (s *GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -func (s *GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer) UnmarshalJSON(data []byte) error { - type NoMethod GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer - var s1 struct { - MatchConfidence gensupport.JSONFloat64 `json:"matchConfidence"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.MatchConfidence = float64(s1.MatchConfidence) - return nil -} +// GoogleCloudDialogflowV2IntentMessageQuickReplies: The quick replies +// response message. +type GoogleCloudDialogflowV2IntentMessageQuickReplies struct { + // QuickReplies: Optional. The collection of quick replies. + QuickReplies []string `json:"quickReplies,omitempty"` -// GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata: Metadata in -// google::longrunning::Operation for Knowledge operations. -type GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata struct { - // State: Required. Output only. The current state of this operation. - // - // Possible values: - // "STATE_UNSPECIFIED" - State unspecified. - // "PENDING" - The operation has been created. - // "RUNNING" - The operation is currently running. - // "DONE" - The operation is done, either cancelled or completed. - State string `json:"state,omitempty"` + // Title: Optional. The title of the collection of quick replies. + Title string `json:"title,omitempty"` - // ForceSendFields is a list of field names (e.g. "State") to + // ForceSendFields is a list of field names (e.g. "QuickReplies") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5835,46 +6678,33 @@ type GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "State") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "QuickReplies") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata +func (s *GoogleCloudDialogflowV2IntentMessageQuickReplies) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageQuickReplies raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest: Represents -// the contents of the original request that was passed to the -// `[Streaming]DetectIntent` call. -type GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest struct { - // Payload: Optional. This field is set to the value of the - // `QueryParameters.payload` field passed in the request. Some - // integrations that query a Dialogflow agent may provide additional - // information in the payload. In particular, for the Dialogflow Phone - // Gateway integration, this field has the form: { "telephony": { - // "caller_id": "+18558363987" } } Note: The caller ID field - // (`caller_id`) will be redacted for Trial Edition agents and populated - // with the caller ID in [E.164 - // format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition - // agents. - Payload googleapi.RawMessage `json:"payload,omitempty"` - - // Source: The source of this request, e.g., `google`, `facebook`, - // `slack`. It is set by Dialogflow-owned servers. - Source string `json:"source,omitempty"` +// GoogleCloudDialogflowV2IntentMessageSelectItemInfo: Additional info +// about the select item for when it is triggered in a dialog. +type GoogleCloudDialogflowV2IntentMessageSelectItemInfo struct { + // Key: Required. A unique key that will be sent back to the agent if + // this response is given. + Key string `json:"key,omitempty"` - // Version: Optional. The version of the protocol used for this request. - // This field is AoG-specific. - Version string `json:"version,omitempty"` + // Synonyms: Optional. A list of synonyms that can also be used to + // trigger this item in dialog. + Synonyms []string `json:"synonyms,omitempty"` - // ForceSendFields is a list of field names (e.g. "Payload") to + // ForceSendFields is a list of field names (e.g. "Key") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5882,8 +6712,8 @@ type GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Payload") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Key") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -5891,115 +6721,60 @@ type GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest +func (s *GoogleCloudDialogflowV2IntentMessageSelectItemInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageSelectItemInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1QueryResult: Represents the result of -// conversational query or event processing. -type GoogleCloudDialogflowV2beta1QueryResult struct { - // Action: The action name from the matched intent. - Action string `json:"action,omitempty"` +// GoogleCloudDialogflowV2IntentMessageSimpleResponse: The simple +// response message containing speech or text. +type GoogleCloudDialogflowV2IntentMessageSimpleResponse struct { + // DisplayText: Optional. The text to display. + DisplayText string `json:"displayText,omitempty"` - // AllRequiredParamsPresent: This field is set to: - `false` if the - // matched intent has required parameters and not all of the required - // parameter values have been collected. - `true` if all required - // parameter values have been collected, or if the matched intent - // doesn't contain any required parameters. - AllRequiredParamsPresent bool `json:"allRequiredParamsPresent,omitempty"` + // Ssml: One of text_to_speech or ssml must be provided. Structured + // spoken response to the user in the SSML format. Mutually exclusive + // with text_to_speech. + Ssml string `json:"ssml,omitempty"` - // DiagnosticInfo: Free-form diagnostic information for the associated - // detect intent request. The fields of this data can change without - // notice, so you should not write code that depends on its structure. - // The data may contain: - webhook call latency - webhook errors - DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` + // TextToSpeech: One of text_to_speech or ssml must be provided. The + // plain text of the speech output. Mutually exclusive with ssml. + TextToSpeech string `json:"textToSpeech,omitempty"` - // FulfillmentMessages: The collection of rich messages to present to - // the user. - FulfillmentMessages []*GoogleCloudDialogflowV2beta1IntentMessage `json:"fulfillmentMessages,omitempty"` + // ForceSendFields is a list of field names (e.g. "DisplayText") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` - // FulfillmentText: The text to be pronounced to the user or shown on - // the screen. Note: This is a legacy field, `fulfillment_messages` - // should be preferred. - FulfillmentText string `json:"fulfillmentText,omitempty"` + // NullFields is a list of field names (e.g. "DisplayText") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} - // Intent: The intent that matched the conversational query. Some, not - // all fields are filled in this message, including but not limited to: - // `name`, `display_name`, `end_interaction` and `is_fallback`. - Intent *GoogleCloudDialogflowV2beta1Intent `json:"intent,omitempty"` +func (s *GoogleCloudDialogflowV2IntentMessageSimpleResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageSimpleResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // IntentDetectionConfidence: The intent detection confidence. Values - // range from 0.0 (completely uncertain) to 1.0 (completely certain). - // This value is for informational purpose only and is only used to help - // match the best intent within the classification threshold. This value - // may change for the same end-user expression at any time due to a - // model retraining or change in implementation. If there are `multiple - // knowledge_answers` messages, this value is set to the greatest - // `knowledgeAnswers.match_confidence` value in the list. - IntentDetectionConfidence float64 `json:"intentDetectionConfidence,omitempty"` +// GoogleCloudDialogflowV2IntentMessageSimpleResponses: The collection +// of simple response candidates. This message in +// `QueryResult.fulfillment_messages` and +// `WebhookResponse.fulfillment_messages` should contain only one +// `SimpleResponse`. +type GoogleCloudDialogflowV2IntentMessageSimpleResponses struct { + // SimpleResponses: Required. The list of simple responses. + SimpleResponses []*GoogleCloudDialogflowV2IntentMessageSimpleResponse `json:"simpleResponses,omitempty"` - // KnowledgeAnswers: The result from Knowledge Connector (if any), - // ordered by decreasing `KnowledgeAnswers.match_confidence`. - KnowledgeAnswers *GoogleCloudDialogflowV2beta1KnowledgeAnswers `json:"knowledgeAnswers,omitempty"` - - // LanguageCode: The language that was triggered during intent - // detection. See [Language - // Support](https://cloud.google.com/dialogflow/docs/reference/language) - // for a list of the currently supported language codes. - LanguageCode string `json:"languageCode,omitempty"` - - // OutputContexts: The collection of output contexts. If applicable, - // `output_contexts.parameters` contains entries with name `.original` - // containing the original parameter values before the query. - OutputContexts []*GoogleCloudDialogflowV2beta1Context `json:"outputContexts,omitempty"` - - // Parameters: The collection of extracted parameters. Depending on your - // protocol or client library language, this is a map, associative - // array, symbol table, dictionary, or JSON object composed of a - // collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: string or number, depending - // on parameter value type - MapValue value: - If parameter's entity - // type is a composite entity: map from composite entity property names - // to property values - Else: parameter value - Parameters googleapi.RawMessage `json:"parameters,omitempty"` - - // QueryText: The original conversational query text: - If natural - // language text was provided as input, `query_text` contains a copy of - // the input. - If natural language speech audio was provided as input, - // `query_text` contains the speech recognition result. If speech - // recognizer produced multiple alternatives, a particular one is - // picked. - If automatic spell correction is enabled, `query_text` will - // contain the corrected user input. - QueryText string `json:"queryText,omitempty"` - - // SentimentAnalysisResult: The sentiment analysis result, which depends - // on the `sentiment_analysis_request_config` specified in the request. - SentimentAnalysisResult *GoogleCloudDialogflowV2beta1SentimentAnalysisResult `json:"sentimentAnalysisResult,omitempty"` - - // SpeechRecognitionConfidence: The Speech recognition confidence - // between 0.0 and 1.0. A higher number indicates an estimated greater - // likelihood that the recognized words are correct. The default of 0.0 - // is a sentinel value indicating that confidence was not set. This - // field is not guaranteed to be accurate or set. In particular this - // field isn't set for StreamingDetectIntent since the streaming - // endpoint has separate confidence estimates per portion of the audio - // in StreamingRecognitionResult. - SpeechRecognitionConfidence float64 `json:"speechRecognitionConfidence,omitempty"` - - // WebhookPayload: If the query was fulfilled by a webhook call, this - // field is set to the value of the `payload` field returned in the - // webhook response. - WebhookPayload googleapi.RawMessage `json:"webhookPayload,omitempty"` - - // WebhookSource: If the query was fulfilled by a webhook call, this - // field is set to the value of the `source` field returned in the - // webhook response. - WebhookSource string `json:"webhookSource,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Action") to + // ForceSendFields is a list of field names (e.g. "SimpleResponses") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -6007,51 +6782,30 @@ type GoogleCloudDialogflowV2beta1QueryResult struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Action") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "SimpleResponses") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1QueryResult) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1QueryResult +func (s *GoogleCloudDialogflowV2IntentMessageSimpleResponses) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageSimpleResponses raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -func (s *GoogleCloudDialogflowV2beta1QueryResult) UnmarshalJSON(data []byte) error { - type NoMethod GoogleCloudDialogflowV2beta1QueryResult - var s1 struct { - IntentDetectionConfidence gensupport.JSONFloat64 `json:"intentDetectionConfidence"` - SpeechRecognitionConfidence gensupport.JSONFloat64 `json:"speechRecognitionConfidence"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.IntentDetectionConfidence = float64(s1.IntentDetectionConfidence) - s.SpeechRecognitionConfidence = float64(s1.SpeechRecognitionConfidence) - return nil -} - -// GoogleCloudDialogflowV2beta1Sentiment: The sentiment, such as -// positive/negative feeling or association, for a unit of analysis, -// such as the query text. -type GoogleCloudDialogflowV2beta1Sentiment struct { - // Magnitude: A non-negative number in the [0, +inf) range, which - // represents the absolute magnitude of sentiment, regardless of score - // (positive or negative). - Magnitude float64 `json:"magnitude,omitempty"` - - // Score: Sentiment score between -1.0 (negative sentiment) and 1.0 - // (positive sentiment). - Score float64 `json:"score,omitempty"` +// GoogleCloudDialogflowV2IntentMessageSuggestion: The suggestion chip +// message that the user can tap to quickly post a reply to the +// conversation. +type GoogleCloudDialogflowV2IntentMessageSuggestion struct { + // Title: Required. The text shown the in the suggestion chip. + Title string `json:"title,omitempty"` - // ForceSendFields is a list of field names (e.g. "Magnitude") to + // ForceSendFields is a list of field names (e.g. "Title") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -6059,8 +6813,8 @@ type GoogleCloudDialogflowV2beta1Sentiment struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Magnitude") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Title") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -6068,113 +6822,64 @@ type GoogleCloudDialogflowV2beta1Sentiment struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1Sentiment) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1Sentiment +func (s *GoogleCloudDialogflowV2IntentMessageSuggestion) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageSuggestion raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -func (s *GoogleCloudDialogflowV2beta1Sentiment) UnmarshalJSON(data []byte) error { - type NoMethod GoogleCloudDialogflowV2beta1Sentiment - var s1 struct { - Magnitude gensupport.JSONFloat64 `json:"magnitude"` - Score gensupport.JSONFloat64 `json:"score"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.Magnitude = float64(s1.Magnitude) - s.Score = float64(s1.Score) - return nil -} - -// GoogleCloudDialogflowV2beta1SentimentAnalysisResult: The result of -// sentiment analysis. Sentiment analysis inspects user input and -// identifies the prevailing subjective opinion, especially to determine -// a user's attitude as positive, negative, or neutral. For -// Participants.DetectIntent, it needs to be configured in -// DetectIntentRequest.query_params. For -// Participants.StreamingDetectIntent, it needs to be configured in -// StreamingDetectIntentRequest.query_params. And for -// Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, -// it needs to be configured in -// ConversationProfile.human_agent_assistant_config -type GoogleCloudDialogflowV2beta1SentimentAnalysisResult struct { - // QueryTextSentiment: The sentiment analysis result for `query_text`. - QueryTextSentiment *GoogleCloudDialogflowV2beta1Sentiment `json:"queryTextSentiment,omitempty"` +// GoogleCloudDialogflowV2IntentMessageSuggestions: The collection of +// suggestions. +type GoogleCloudDialogflowV2IntentMessageSuggestions struct { + // Suggestions: Required. The list of suggested replies. + Suggestions []*GoogleCloudDialogflowV2IntentMessageSuggestion `json:"suggestions,omitempty"` - // ForceSendFields is a list of field names (e.g. "QueryTextSentiment") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "Suggestions") to + // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "QueryTextSentiment") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "Suggestions") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1SentimentAnalysisResult) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1SentimentAnalysisResult +func (s *GoogleCloudDialogflowV2IntentMessageSuggestions) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageSuggestions raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1SessionEntityType: A session represents a -// conversation between a Dialogflow agent and an end-user. You can -// create special entities, called session entities, during a session. -// Session entities can extend or replace custom entity types and only -// exist during the session that they were created for. All session -// data, including session entities, is stored by Dialogflow for 20 -// minutes. For more information, see the [session entity -// guide](https://cloud.google.com/dialogflow/docs/entities-session). -type GoogleCloudDialogflowV2beta1SessionEntityType struct { - // Entities: Required. The collection of entities associated with this - // session entity type. - Entities []*GoogleCloudDialogflowV2beta1EntityTypeEntity `json:"entities,omitempty"` +// GoogleCloudDialogflowV2IntentMessageTableCard: Table card for Actions +// on Google. +type GoogleCloudDialogflowV2IntentMessageTableCard struct { + // Buttons: Optional. List of buttons for the card. + Buttons []*GoogleCloudDialogflowV2IntentMessageBasicCardButton `json:"buttons,omitempty"` - // EntityOverrideMode: Required. Indicates whether the additional data - // should override or supplement the custom entity type definition. - // - // Possible values: - // "ENTITY_OVERRIDE_MODE_UNSPECIFIED" - Not specified. This value - // should be never used. - // "ENTITY_OVERRIDE_MODE_OVERRIDE" - The collection of session - // entities overrides the collection of entities in the corresponding - // custom entity type. - // "ENTITY_OVERRIDE_MODE_SUPPLEMENT" - The collection of session - // entities extends the collection of entities in the corresponding - // custom entity type. Note: Even in this override mode calls to - // `ListSessionEntityTypes`, `GetSessionEntityType`, - // `CreateSessionEntityType` and `UpdateSessionEntityType` only return - // the additional entities added in this session entity type. If you - // want to get the supplemented list, please call - // EntityTypes.GetEntityType on the custom entity type and merge. - EntityOverrideMode string `json:"entityOverrideMode,omitempty"` + // ColumnProperties: Optional. Display properties for the columns in + // this table. + ColumnProperties []*GoogleCloudDialogflowV2IntentMessageColumnProperties `json:"columnProperties,omitempty"` - // Name: Required. The unique identifier of this session entity type. - // Supported formats: - `projects//agent/sessions//entityTypes/` - - // `projects//locations//agent/sessions//entityTypes/` - - // `projects//agent/environments//users//sessions//entityTypes/` - - // `projects//locations//agent/environments/ - // /users//sessions//entityTypes/` If `Location ID` is not specified we - // assume default 'us' location. If `Environment ID` is not specified, - // we assume default 'draft' environment. If `User ID` is not specified, - // we assume default '-' user. `` must be the display name of an - // existing entity type in the same agent that will be overridden or - // supplemented. - Name string `json:"name,omitempty"` + // Image: Optional. Image which should be displayed on the card. + Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` - // ForceSendFields is a list of field names (e.g. "Entities") to + // Rows: Optional. Rows in this table of data. + Rows []*GoogleCloudDialogflowV2IntentMessageTableCardRow `json:"rows,omitempty"` + + // Subtitle: Optional. Subtitle to the title. + Subtitle string `json:"subtitle,omitempty"` + + // Title: Required. Title of the card. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Buttons") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -6182,7 +6887,7 @@ type GoogleCloudDialogflowV2beta1SessionEntityType struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Entities") to include in + // NullFields is a list of field names (e.g. "Buttons") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -6191,133 +6896,51 @@ type GoogleCloudDialogflowV2beta1SessionEntityType struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1SessionEntityType) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1SessionEntityType +func (s *GoogleCloudDialogflowV2IntentMessageTableCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageTableCard raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1WebhookRequest: The request message for a -// webhook call. -type GoogleCloudDialogflowV2beta1WebhookRequest struct { - // AlternativeQueryResults: Alternative query results from - // KnowledgeService. - AlternativeQueryResults []*GoogleCloudDialogflowV2beta1QueryResult `json:"alternativeQueryResults,omitempty"` +// GoogleCloudDialogflowV2IntentMessageTableCardCell: Cell of +// TableCardRow. +type GoogleCloudDialogflowV2IntentMessageTableCardCell struct { + // Text: Required. Text in this cell. + Text string `json:"text,omitempty"` - // OriginalDetectIntentRequest: Optional. The contents of the original - // request that was passed to `[Streaming]DetectIntent` call. - OriginalDetectIntentRequest *GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest `json:"originalDetectIntentRequest,omitempty"` - - // QueryResult: The result of the conversational query or event - // processing. Contains the same value as - // `[Streaming]DetectIntentResponse.query_result`. - QueryResult *GoogleCloudDialogflowV2beta1QueryResult `json:"queryResult,omitempty"` - - // ResponseId: The unique identifier of the response. Contains the same - // value as `[Streaming]DetectIntentResponse.response_id`. - ResponseId string `json:"responseId,omitempty"` - - // Session: The unique identifier of detectIntent request session. Can - // be used to identify end-user inside webhook implementation. Supported - // formats: - `projects//agent/sessions/, - - // `projects//locations//agent/sessions/`, - - // `projects//agent/environments//users//sessions/`, - - // `projects//locations//agent/environments//users//sessions/`, - Session string `json:"session,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "AlternativeQueryResults") to unconditionally include in API - // requests. By default, fields with empty values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. + // ForceSendFields is a list of field names (e.g. "Text") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AlternativeQueryResults") - // to include in API requests with the JSON null value. By default, - // fields with empty values are omitted from API requests. However, any - // field with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "Text") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1WebhookRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1WebhookRequest +func (s *GoogleCloudDialogflowV2IntentMessageTableCardCell) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageTableCardCell raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1WebhookResponse: The response message for -// a webhook call. This response is validated by the Dialogflow server. -// If validation fails, an error will be returned in the -// QueryResult.diagnostic_info field. Setting JSON fields to an empty -// value with the wrong type is a common error. To avoid this error: - -// Use "" for empty strings - Use `{}` or `null` for empty objects - -// Use `[]` or `null` for empty arrays For more information, see the -// [Protocol Buffers Language -// Guide](https://developers.google.com/protocol-buffers/docs/proto3#json -// ). -type GoogleCloudDialogflowV2beta1WebhookResponse struct { - // EndInteraction: Optional. Indicates that this intent ends an - // interaction. Some integrations (e.g., Actions on Google or Dialogflow - // phone gateway) use this information to close interaction with an end - // user. Default is false. - EndInteraction bool `json:"endInteraction,omitempty"` - - // FollowupEventInput: Optional. Invokes the supplied events. When this - // field is set, Dialogflow ignores the `fulfillment_text`, - // `fulfillment_messages`, and `payload` fields. - FollowupEventInput *GoogleCloudDialogflowV2beta1EventInput `json:"followupEventInput,omitempty"` - - // FulfillmentMessages: Optional. The rich response messages intended - // for the end-user. When provided, Dialogflow uses this field to - // populate QueryResult.fulfillment_messages sent to the integration or - // API caller. - FulfillmentMessages []*GoogleCloudDialogflowV2beta1IntentMessage `json:"fulfillmentMessages,omitempty"` - - // FulfillmentText: Optional. The text response message intended for the - // end-user. It is recommended to use - // `fulfillment_messages.text.text[0]` instead. When provided, - // Dialogflow uses this field to populate QueryResult.fulfillment_text - // sent to the integration or API caller. - FulfillmentText string `json:"fulfillmentText,omitempty"` - - // OutputContexts: Optional. The collection of output contexts that will - // overwrite currently active contexts for the session and reset their - // lifespans. When provided, Dialogflow uses this field to populate - // QueryResult.output_contexts sent to the integration or API caller. - OutputContexts []*GoogleCloudDialogflowV2beta1Context `json:"outputContexts,omitempty"` - - // Payload: Optional. This field can be used to pass custom data from - // your webhook to the integration or API caller. Arbitrary JSON objects - // are supported. When provided, Dialogflow uses this field to populate - // QueryResult.webhook_payload sent to the integration or API caller. - // This field is also used by the [Google Assistant - // integration](https://cloud.google.com/dialogflow/docs/integrations/aog - // ) for rich response messages. See the format definition at [Google - // Assistant Dialogflow webhook - // format](https://developers.google.com/assistant/actions/build/json/dia - // logflow-webhook-json) - Payload googleapi.RawMessage `json:"payload,omitempty"` - - // SessionEntityTypes: Optional. Additional session entity types to - // replace or extend developer entity types with. The entity synonyms - // apply to all languages and persist for the session. Setting this data - // from a webhook overwrites the session entity types that have been set - // using `detectIntent`, `streamingDetectIntent` or SessionEntityType - // management methods. - SessionEntityTypes []*GoogleCloudDialogflowV2beta1SessionEntityType `json:"sessionEntityTypes,omitempty"` +// GoogleCloudDialogflowV2IntentMessageTableCardRow: Row of TableCard. +type GoogleCloudDialogflowV2IntentMessageTableCardRow struct { + // Cells: Optional. List of cells that make up this row. + Cells []*GoogleCloudDialogflowV2IntentMessageTableCardCell `json:"cells,omitempty"` - // Source: Optional. A custom field used to identify the webhook source. - // Arbitrary strings are supported. When provided, Dialogflow uses this - // field to populate QueryResult.webhook_source sent to the integration - // or API caller. - Source string `json:"source,omitempty"` + // DividerAfter: Optional. Whether to add a visual divider after this + // row. + DividerAfter bool `json:"dividerAfter,omitempty"` - // ForceSendFields is a list of field names (e.g. "EndInteraction") to + // ForceSendFields is a list of field names (e.g. "Cells") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -6325,37 +6948,27 @@ type GoogleCloudDialogflowV2beta1WebhookResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "EndInteraction") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "Cells") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1WebhookResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1WebhookResponse +func (s *GoogleCloudDialogflowV2IntentMessageTableCardRow) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageTableCardRow raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleLongrunningListOperationsResponse: The response message for -// Operations.ListOperations. -type GoogleLongrunningListOperationsResponse struct { - // NextPageToken: The standard List next-page token. - NextPageToken string `json:"nextPageToken,omitempty"` - - // Operations: A list of operations that matches the specified filter in - // the request. - Operations []*GoogleLongrunningOperation `json:"operations,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` +// GoogleCloudDialogflowV2IntentMessageText: The text response message. +type GoogleCloudDialogflowV2IntentMessageText struct { + // Text: Optional. The collection of the agent's responses. + Text []string `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. "NextPageToken") to + // ForceSendFields is a list of field names (e.g. "Text") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -6363,61 +6976,60 @@ type GoogleLongrunningListOperationsResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "NextPageToken") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Text") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleLongrunningListOperationsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleLongrunningListOperationsResponse +func (s *GoogleCloudDialogflowV2IntentMessageText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageText raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleLongrunningOperation: This resource represents a long-running -// operation that is the result of a network API call. -type GoogleLongrunningOperation struct { - // Done: If the value is `false`, it means the operation is still in - // progress. If `true`, the operation is completed, and either `error` - // or `response` is available. - Done bool `json:"done,omitempty"` +// GoogleCloudDialogflowV2IntentParameter: Represents intent parameters. +type GoogleCloudDialogflowV2IntentParameter struct { + // DefaultValue: Optional. The default value to use when the `value` + // yields an empty result. Default values can be extracted from contexts + // by using the following syntax: `#context_name.parameter_name`. + DefaultValue string `json:"defaultValue,omitempty"` - // Error: The error result of the operation in case of failure or - // cancellation. - Error *GoogleRpcStatus `json:"error,omitempty"` + // DisplayName: Required. The name of the parameter. + DisplayName string `json:"displayName,omitempty"` - // Metadata: Service-specific metadata associated with the operation. It - // typically contains progress information and common metadata such as - // create time. Some services might not provide such metadata. Any - // method that returns a long-running operation should document the - // metadata type, if any. - Metadata googleapi.RawMessage `json:"metadata,omitempty"` + // EntityTypeDisplayName: Optional. The name of the entity type, + // prefixed with `@`, that describes values of the parameter. If the + // parameter is required, this must be provided. + EntityTypeDisplayName string `json:"entityTypeDisplayName,omitempty"` - // Name: The server-assigned name, which is only unique within the same - // service that originally returns it. If you use the default HTTP - // mapping, the `name` should be a resource name ending with - // `operations/{unique_id}`. + // IsList: Optional. Indicates whether the parameter represents a list + // of values. + IsList bool `json:"isList,omitempty"` + + // Mandatory: Optional. Indicates whether the parameter is required. + // That is, whether the intent cannot be completed without collecting + // the parameter value. + Mandatory bool `json:"mandatory,omitempty"` + + // Name: The unique identifier of this parameter. Name string `json:"name,omitempty"` - // Response: The normal response of the operation in case of success. If - // the original method returns no data on success, such as `Delete`, the - // response is `google.protobuf.Empty`. If the original method is - // standard `Get`/`Create`/`Update`, the response should be the - // resource. For other methods, the response should have the type - // `XxxResponse`, where `Xxx` is the original method name. For example, - // if the original method name is `TakeSnapshot()`, the inferred - // response type is `TakeSnapshotResponse`. - Response googleapi.RawMessage `json:"response,omitempty"` + // Prompts: Optional. The collection of prompts that the agent can + // present to the user in order to collect a value for the parameter. + Prompts []string `json:"prompts,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // Value: Optional. The definition of the parameter value. It can be: - + // a constant string, - a parameter value defined as `$parameter_name`, + // - an original parameter value defined as `$parameter_name.original`, + // - a parameter value from some context defined as + // `#context_name.parameter_name`. + Value string `json:"value,omitempty"` - // ForceSendFields is a list of field names (e.g. "Done") to + // ForceSendFields is a list of field names (e.g. "DefaultValue") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -6425,55 +7037,106 @@ type GoogleLongrunningOperation struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Done") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "DefaultValue") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleLongrunningOperation) MarshalJSON() ([]byte, error) { - type NoMethod GoogleLongrunningOperation +func (s *GoogleCloudDialogflowV2IntentParameter) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentParameter raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleProtobufEmpty: A generic empty message that you can re-use to -// avoid defining duplicated empty messages in your APIs. A typical -// example is to use it as the request or the response type of an API -// method. For instance: service Foo { rpc Bar(google.protobuf.Empty) -// returns (google.protobuf.Empty); } The JSON representation for -// `Empty` is empty JSON object `{}`. -type GoogleProtobufEmpty struct { - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` +// GoogleCloudDialogflowV2IntentTrainingPhrase: Represents an example +// that the agent is trained on. +type GoogleCloudDialogflowV2IntentTrainingPhrase struct { + // Name: Output only. The unique identifier of this training phrase. + Name string `json:"name,omitempty"` + + // Parts: Required. The ordered list of training phrase parts. The parts + // are concatenated in order to form the training phrase. Note: The API + // does not automatically annotate training phrases like the Dialogflow + // Console does. Note: Do not forget to include whitespace at part + // boundaries, so the training phrase is well formatted when the parts + // are concatenated. If the training phrase does not need to be + // annotated with parameters, you just need a single part with only the + // Part.text field set. If you want to annotate the training phrase, you + // must create multiple parts, where the fields of each part are + // populated in one of two ways: - `Part.text` is set to a part of the + // phrase that has no parameters. - `Part.text` is set to a part of the + // phrase that you want to annotate, and the `entity_type`, `alias`, and + // `user_defined` fields are all set. + Parts []*GoogleCloudDialogflowV2IntentTrainingPhrasePart `json:"parts,omitempty"` + + // TimesAddedCount: Optional. Indicates how many times this example was + // added to the intent. Each time a developer adds an existing sample by + // editing an intent or training, this counter is increased. + TimesAddedCount int64 `json:"timesAddedCount,omitempty"` + + // Type: Required. The type of the training phrase. + // + // Possible values: + // "TYPE_UNSPECIFIED" - Not specified. This value should never be + // used. + // "EXAMPLE" - Examples do not contain @-prefixed entity type names, + // but example parts can be annotated with entity types. + // "TEMPLATE" - Templates are not annotated with entity types, but + // they can contain @-prefixed entity type names as substrings. Template + // mode has been deprecated. Example mode is the only supported way to + // create new training phrases. If you have existing training phrases + // that you've created in template mode, those will continue to work. + Type string `json:"type,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Name") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Name") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` } -// GoogleRpcStatus: 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). -type GoogleRpcStatus struct { - // Code: The status code, which should be an enum value of - // google.rpc.Code. - Code int64 `json:"code,omitempty"` +func (s *GoogleCloudDialogflowV2IntentTrainingPhrase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentTrainingPhrase + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // Details: A list of messages that carry the error details. There is a - // common set of message types for APIs to use. - Details []googleapi.RawMessage `json:"details,omitempty"` +// GoogleCloudDialogflowV2IntentTrainingPhrasePart: Represents a part of +// a training phrase. +type GoogleCloudDialogflowV2IntentTrainingPhrasePart struct { + // Alias: Optional. The parameter name for the value extracted from the + // annotated part of the example. This field is required for annotated + // parts of the training phrase. + Alias string `json:"alias,omitempty"` - // Message: A developer-facing error message, which should be in - // English. Any user-facing error message should be localized and sent - // in the google.rpc.Status.details field, or localized by the client. - Message string `json:"message,omitempty"` + // EntityType: Optional. The entity type name prefixed with `@`. This + // field is required for annotated parts of the training phrase. + EntityType string `json:"entityType,omitempty"` - // ForceSendFields is a list of field names (e.g. "Code") to + // Text: Required. The text for this part. + Text string `json:"text,omitempty"` + + // UserDefined: Optional. Indicates whether the text was manually + // annotated. This field is set to true when the Dialogflow Console is + // used to manually annotate the part. When creating an annotated part + // with the API, you must set this to true. + UserDefined bool `json:"userDefined,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Alias") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -6481,7 +7144,7 @@ type GoogleRpcStatus struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Code") to include in API + // NullFields is a list of field names (e.g. "Alias") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -6490,15 +7153,14914 @@ type GoogleRpcStatus struct { NullFields []string `json:"-"` } -func (s *GoogleRpcStatus) MarshalJSON() ([]byte, error) { - type NoMethod GoogleRpcStatus - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +func (s *GoogleCloudDialogflowV2IntentTrainingPhrasePart) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentTrainingPhrasePart + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2Message: Represents a message posted into a +// conversation. +type GoogleCloudDialogflowV2Message struct { + // Content: Required. The message content. + Content string `json:"content,omitempty"` + + // CreateTime: Output only. The time when the message was created. + CreateTime string `json:"createTime,omitempty"` + + // LanguageCode: Optional. The message language. This should be a + // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. + // Example: "en-US". + LanguageCode string `json:"languageCode,omitempty"` + + // MessageAnnotation: Output only. The annotation for the message. + MessageAnnotation *GoogleCloudDialogflowV2MessageAnnotation `json:"messageAnnotation,omitempty"` + + // Name: The unique identifier of the message. Format: + // `projects//locations//conversations//messages/`. + Name string `json:"name,omitempty"` + + // Participant: Output only. The participant that sends this message. + Participant string `json:"participant,omitempty"` + + // ParticipantRole: Output only. The role of the participant. + // + // Possible values: + // "ROLE_UNSPECIFIED" - Participant role not set. + // "HUMAN_AGENT" - Participant is a human agent. + // "AUTOMATED_AGENT" - Participant is an automated agent, such as a + // Dialogflow agent. + // "END_USER" - Participant is an end user that has called or chatted + // with Dialogflow services. + ParticipantRole string `json:"participantRole,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Content") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Content") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2Message) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2Message + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2MessageAnnotation: Represents the result of +// annotation for the message. +type GoogleCloudDialogflowV2MessageAnnotation struct { + // ContainEntities: Indicates whether the text message contains + // entities. + ContainEntities bool `json:"containEntities,omitempty"` + + // Parts: The collection of annotated message parts ordered by their + // position in the message. You can recover the annotated message by + // concatenating [AnnotatedMessagePart.text]. + Parts []*GoogleCloudDialogflowV2AnnotatedMessagePart `json:"parts,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ContainEntities") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "ContainEntities") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2MessageAnnotation) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2MessageAnnotation + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2OriginalDetectIntentRequest: Represents the +// contents of the original request that was passed to the +// `[Streaming]DetectIntent` call. +type GoogleCloudDialogflowV2OriginalDetectIntentRequest struct { + // Payload: Optional. This field is set to the value of the + // `QueryParameters.payload` field passed in the request. Some + // integrations that query a Dialogflow agent may provide additional + // information in the payload. In particular, for the Dialogflow Phone + // Gateway integration, this field has the form: { "telephony": { + // "caller_id": "+18558363987" } } Note: The caller ID field + // (`caller_id`) will be redacted for Trial Edition agents and populated + // with the caller ID in [E.164 + // format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition + // agents. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // Source: The source of this request, e.g., `google`, `facebook`, + // `slack`. It is set by Dialogflow-owned servers. + Source string `json:"source,omitempty"` + + // Version: Optional. The version of the protocol used for this request. + // This field is AoG-specific. + Version string `json:"version,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Payload") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Payload") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2OriginalDetectIntentRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2OriginalDetectIntentRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2QueryResult: Represents the result of +// conversational query or event processing. +type GoogleCloudDialogflowV2QueryResult struct { + // Action: The action name from the matched intent. + Action string `json:"action,omitempty"` + + // AllRequiredParamsPresent: This field is set to: - `false` if the + // matched intent has required parameters and not all of the required + // parameter values have been collected. - `true` if all required + // parameter values have been collected, or if the matched intent + // doesn't contain any required parameters. + AllRequiredParamsPresent bool `json:"allRequiredParamsPresent,omitempty"` + + // DiagnosticInfo: Free-form diagnostic information for the associated + // detect intent request. The fields of this data can change without + // notice, so you should not write code that depends on its structure. + // The data may contain: - webhook call latency - webhook errors + DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` + + // FulfillmentMessages: The collection of rich messages to present to + // the user. + FulfillmentMessages []*GoogleCloudDialogflowV2IntentMessage `json:"fulfillmentMessages,omitempty"` + + // FulfillmentText: The text to be pronounced to the user or shown on + // the screen. Note: This is a legacy field, `fulfillment_messages` + // should be preferred. + FulfillmentText string `json:"fulfillmentText,omitempty"` + + // Intent: The intent that matched the conversational query. Some, not + // all fields are filled in this message, including but not limited to: + // `name`, `display_name`, `end_interaction` and `is_fallback`. + Intent *GoogleCloudDialogflowV2Intent `json:"intent,omitempty"` + + // IntentDetectionConfidence: The intent detection confidence. Values + // range from 0.0 (completely uncertain) to 1.0 (completely certain). + // This value is for informational purpose only and is only used to help + // match the best intent within the classification threshold. This value + // may change for the same end-user expression at any time due to a + // model retraining or change in implementation. If there are `multiple + // knowledge_answers` messages, this value is set to the greatest + // `knowledgeAnswers.match_confidence` value in the list. + IntentDetectionConfidence float64 `json:"intentDetectionConfidence,omitempty"` + + // LanguageCode: The language that was triggered during intent + // detection. See [Language + // Support](https://cloud.google.com/dialogflow/docs/reference/language) + // for a list of the currently supported language codes. + LanguageCode string `json:"languageCode,omitempty"` + + // OutputContexts: The collection of output contexts. If applicable, + // `output_contexts.parameters` contains entries with name `.original` + // containing the original parameter values before the query. + OutputContexts []*GoogleCloudDialogflowV2Context `json:"outputContexts,omitempty"` + + // Parameters: The collection of extracted parameters. Depending on your + // protocol or client library language, this is a map, associative + // array, symbol table, dictionary, or JSON object composed of a + // collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: string or number, depending + // on parameter value type - MapValue value: - If parameter's entity + // type is a composite entity: map from composite entity property names + // to property values - Else: parameter value + Parameters googleapi.RawMessage `json:"parameters,omitempty"` + + // QueryText: The original conversational query text: - If natural + // language text was provided as input, `query_text` contains a copy of + // the input. - If natural language speech audio was provided as input, + // `query_text` contains the speech recognition result. If speech + // recognizer produced multiple alternatives, a particular one is + // picked. - If automatic spell correction is enabled, `query_text` will + // contain the corrected user input. + QueryText string `json:"queryText,omitempty"` + + // SentimentAnalysisResult: The sentiment analysis result, which depends + // on the `sentiment_analysis_request_config` specified in the request. + SentimentAnalysisResult *GoogleCloudDialogflowV2SentimentAnalysisResult `json:"sentimentAnalysisResult,omitempty"` + + // SpeechRecognitionConfidence: The Speech recognition confidence + // between 0.0 and 1.0. A higher number indicates an estimated greater + // likelihood that the recognized words are correct. The default of 0.0 + // is a sentinel value indicating that confidence was not set. This + // field is not guaranteed to be accurate or set. In particular this + // field isn't set for StreamingDetectIntent since the streaming + // endpoint has separate confidence estimates per portion of the audio + // in StreamingRecognitionResult. + SpeechRecognitionConfidence float64 `json:"speechRecognitionConfidence,omitempty"` + + // WebhookPayload: If the query was fulfilled by a webhook call, this + // field is set to the value of the `payload` field returned in the + // webhook response. + WebhookPayload googleapi.RawMessage `json:"webhookPayload,omitempty"` + + // WebhookSource: If the query was fulfilled by a webhook call, this + // field is set to the value of the `source` field returned in the + // webhook response. + WebhookSource string `json:"webhookSource,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Action") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Action") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2QueryResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2QueryResult + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *GoogleCloudDialogflowV2QueryResult) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowV2QueryResult + var s1 struct { + IntentDetectionConfidence gensupport.JSONFloat64 `json:"intentDetectionConfidence"` + SpeechRecognitionConfidence gensupport.JSONFloat64 `json:"speechRecognitionConfidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.IntentDetectionConfidence = float64(s1.IntentDetectionConfidence) + s.SpeechRecognitionConfidence = float64(s1.SpeechRecognitionConfidence) + return nil +} + +// GoogleCloudDialogflowV2Sentiment: The sentiment, such as +// positive/negative feeling or association, for a unit of analysis, +// such as the query text. +type GoogleCloudDialogflowV2Sentiment struct { + // Magnitude: A non-negative number in the [0, +inf) range, which + // represents the absolute magnitude of sentiment, regardless of score + // (positive or negative). + Magnitude float64 `json:"magnitude,omitempty"` + + // Score: Sentiment score between -1.0 (negative sentiment) and 1.0 + // (positive sentiment). + Score float64 `json:"score,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Magnitude") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Magnitude") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2Sentiment) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2Sentiment + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *GoogleCloudDialogflowV2Sentiment) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowV2Sentiment + var s1 struct { + Magnitude gensupport.JSONFloat64 `json:"magnitude"` + Score gensupport.JSONFloat64 `json:"score"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Magnitude = float64(s1.Magnitude) + s.Score = float64(s1.Score) + return nil +} + +// GoogleCloudDialogflowV2SentimentAnalysisResult: The result of +// sentiment analysis. Sentiment analysis inspects user input and +// identifies the prevailing subjective opinion, especially to determine +// a user's attitude as positive, negative, or neutral. For +// Participants.DetectIntent, it needs to be configured in +// DetectIntentRequest.query_params. For +// Participants.StreamingDetectIntent, it needs to be configured in +// StreamingDetectIntentRequest.query_params. And for +// Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, +// it needs to be configured in +// ConversationProfile.human_agent_assistant_config +type GoogleCloudDialogflowV2SentimentAnalysisResult struct { + // QueryTextSentiment: The sentiment analysis result for `query_text`. + QueryTextSentiment *GoogleCloudDialogflowV2Sentiment `json:"queryTextSentiment,omitempty"` + + // ForceSendFields is a list of field names (e.g. "QueryTextSentiment") + // to unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "QueryTextSentiment") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2SentimentAnalysisResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2SentimentAnalysisResult + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2SessionEntityType: A session represents a +// conversation between a Dialogflow agent and an end-user. You can +// create special entities, called session entities, during a session. +// Session entities can extend or replace custom entity types and only +// exist during the session that they were created for. All session +// data, including session entities, is stored by Dialogflow for 20 +// minutes. For more information, see the [session entity +// guide](https://cloud.google.com/dialogflow/docs/entities-session). +type GoogleCloudDialogflowV2SessionEntityType struct { + // Entities: Required. The collection of entities associated with this + // session entity type. + Entities []*GoogleCloudDialogflowV2EntityTypeEntity `json:"entities,omitempty"` + + // EntityOverrideMode: Required. Indicates whether the additional data + // should override or supplement the custom entity type definition. + // + // Possible values: + // "ENTITY_OVERRIDE_MODE_UNSPECIFIED" - Not specified. This value + // should be never used. + // "ENTITY_OVERRIDE_MODE_OVERRIDE" - The collection of session + // entities overrides the collection of entities in the corresponding + // custom entity type. + // "ENTITY_OVERRIDE_MODE_SUPPLEMENT" - The collection of session + // entities extends the collection of entities in the corresponding + // custom entity type. Note: Even in this override mode calls to + // `ListSessionEntityTypes`, `GetSessionEntityType`, + // `CreateSessionEntityType` and `UpdateSessionEntityType` only return + // the additional entities added in this session entity type. If you + // want to get the supplemented list, please call + // EntityTypes.GetEntityType on the custom entity type and merge. + EntityOverrideMode string `json:"entityOverrideMode,omitempty"` + + // Name: Required. The unique identifier of this session entity type. + // Format: `projects//agent/sessions//entityTypes/`, or + // `projects//agent/environments//users//sessions//entityTypes/`. If + // `Environment ID` is not specified, we assume default 'draft' + // environment. If `User ID` is not specified, we assume default '-' + // user. `` must be the display name of an existing entity type in the + // same agent that will be overridden or supplemented. + Name string `json:"name,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Entities") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Entities") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2SessionEntityType) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2SessionEntityType + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2WebhookRequest: The request message for a +// webhook call. +type GoogleCloudDialogflowV2WebhookRequest struct { + // OriginalDetectIntentRequest: Optional. The contents of the original + // request that was passed to `[Streaming]DetectIntent` call. + OriginalDetectIntentRequest *GoogleCloudDialogflowV2OriginalDetectIntentRequest `json:"originalDetectIntentRequest,omitempty"` + + // QueryResult: The result of the conversational query or event + // processing. Contains the same value as + // `[Streaming]DetectIntentResponse.query_result`. + QueryResult *GoogleCloudDialogflowV2QueryResult `json:"queryResult,omitempty"` + + // ResponseId: The unique identifier of the response. Contains the same + // value as `[Streaming]DetectIntentResponse.response_id`. + ResponseId string `json:"responseId,omitempty"` + + // Session: The unique identifier of detectIntent request session. Can + // be used to identify end-user inside webhook implementation. Format: + // `projects//agent/sessions/`, or + // `projects//agent/environments//users//sessions/`. + Session string `json:"session,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "OriginalDetectIntentRequest") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. + // "OriginalDetectIntentRequest") to include in API requests with the + // JSON null value. By default, fields with empty values are omitted + // from API requests. However, any field with an empty value appearing + // in NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2WebhookRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2WebhookRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2WebhookResponse: The response message for a +// webhook call. This response is validated by the Dialogflow server. If +// validation fails, an error will be returned in the +// QueryResult.diagnostic_info field. Setting JSON fields to an empty +// value with the wrong type is a common error. To avoid this error: - +// Use "" for empty strings - Use `{}` or `null` for empty objects - +// Use `[]` or `null` for empty arrays For more information, see the +// [Protocol Buffers Language +// Guide](https://developers.google.com/protocol-buffers/docs/proto3#json +// ). +type GoogleCloudDialogflowV2WebhookResponse struct { + // FollowupEventInput: Optional. Invokes the supplied events. When this + // field is set, Dialogflow ignores the `fulfillment_text`, + // `fulfillment_messages`, and `payload` fields. + FollowupEventInput *GoogleCloudDialogflowV2EventInput `json:"followupEventInput,omitempty"` + + // FulfillmentMessages: Optional. The rich response messages intended + // for the end-user. When provided, Dialogflow uses this field to + // populate QueryResult.fulfillment_messages sent to the integration or + // API caller. + FulfillmentMessages []*GoogleCloudDialogflowV2IntentMessage `json:"fulfillmentMessages,omitempty"` + + // FulfillmentText: Optional. The text response message intended for the + // end-user. It is recommended to use + // `fulfillment_messages.text.text[0]` instead. When provided, + // Dialogflow uses this field to populate QueryResult.fulfillment_text + // sent to the integration or API caller. + FulfillmentText string `json:"fulfillmentText,omitempty"` + + // OutputContexts: Optional. The collection of output contexts that will + // overwrite currently active contexts for the session and reset their + // lifespans. When provided, Dialogflow uses this field to populate + // QueryResult.output_contexts sent to the integration or API caller. + OutputContexts []*GoogleCloudDialogflowV2Context `json:"outputContexts,omitempty"` + + // Payload: Optional. This field can be used to pass custom data from + // your webhook to the integration or API caller. Arbitrary JSON objects + // are supported. When provided, Dialogflow uses this field to populate + // QueryResult.webhook_payload sent to the integration or API caller. + // This field is also used by the [Google Assistant + // integration](https://cloud.google.com/dialogflow/docs/integrations/aog + // ) for rich response messages. See the format definition at [Google + // Assistant Dialogflow webhook + // format](https://developers.google.com/assistant/actions/build/json/dia + // logflow-webhook-json) + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // SessionEntityTypes: Optional. Additional session entity types to + // replace or extend developer entity types with. The entity synonyms + // apply to all languages and persist for the session. Setting this data + // from a webhook overwrites the session entity types that have been set + // using `detectIntent`, `streamingDetectIntent` or SessionEntityType + // management methods. + SessionEntityTypes []*GoogleCloudDialogflowV2SessionEntityType `json:"sessionEntityTypes,omitempty"` + + // Source: Optional. A custom field used to identify the webhook source. + // Arbitrary strings are supported. When provided, Dialogflow uses this + // field to populate QueryResult.webhook_source sent to the integration + // or API caller. + Source string `json:"source,omitempty"` + + // ForceSendFields is a list of field names (e.g. "FollowupEventInput") + // to unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "FollowupEventInput") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2WebhookResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2WebhookResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse: The +// response message for EntityTypes.BatchUpdateEntityTypes. +type GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse struct { + // EntityTypes: The collection of updated or created entity types. + EntityTypes []*GoogleCloudDialogflowV2beta1EntityType `json:"entityTypes,omitempty"` + + // ForceSendFields is a list of field names (e.g. "EntityTypes") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "EntityTypes") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse: The response +// message for Intents.BatchUpdateIntents. +type GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse struct { + // Intents: The collection of updated or created intents. + Intents []*GoogleCloudDialogflowV2beta1Intent `json:"intents,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Intents") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Intents") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1Context: Dialogflow contexts are similar +// to natural language context. If a person says to you "they are +// orange", you need context in order to understand what "they" is +// referring to. Similarly, for Dialogflow to handle an end-user +// expression like that, it needs to be provided with context in order +// to correctly match an intent. Using contexts, you can control the +// flow of a conversation. You can configure contexts for an intent by +// setting input and output contexts, which are identified by string +// names. When an intent is matched, any configured output contexts for +// that intent become active. While any contexts are active, Dialogflow +// is more likely to match intents that are configured with input +// contexts that correspond to the currently active contexts. For more +// information about context, see the [Contexts +// guide](https://cloud.google.com/dialogflow/docs/contexts-overview). +type GoogleCloudDialogflowV2beta1Context struct { + // LifespanCount: Optional. The number of conversational query requests + // after which the context expires. The default is `0`. If set to `0`, + // the context expires immediately. Contexts expire automatically after + // 20 minutes if there are no matching queries. + LifespanCount int64 `json:"lifespanCount,omitempty"` + + // Name: Required. The unique identifier of the context. Supported + // formats: - `projects//agent/sessions//contexts/`, - + // `projects//locations//agent/sessions//contexts/`, - + // `projects//agent/environments//users//sessions//contexts/`, - + // `projects//locations//agent/environments//users//sessions//contexts/`, + // The `Context ID` is always converted to lowercase, may only contain + // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If + // `Environment ID` is not specified, we assume default 'draft' + // environment. If `User ID` is not specified, we assume default '-' + // user. The following context names are reserved for internal use by + // Dialogflow. You should not use these contexts or create contexts with + // these names: * `__system_counters__` * `*_id_dialog_context` * + // `*_dialog_params_size` + Name string `json:"name,omitempty"` + + // Parameters: Optional. The collection of parameters associated with + // this context. Depending on your protocol or client library language, + // this is a map, associative array, symbol table, dictionary, or JSON + // object composed of a collection of (MapKey, MapValue) pairs: - MapKey + // type: string - MapKey value: parameter name - MapValue type: - If + // parameter's entity type is a composite entity: map - Else: string or + // number, depending on parameter value type - MapValue value: - If + // parameter's entity type is a composite entity: map from composite + // entity property names to property values - Else: parameter value + Parameters googleapi.RawMessage `json:"parameters,omitempty"` + + // ForceSendFields is a list of field names (e.g. "LifespanCount") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "LifespanCount") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1Context) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1Context + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1EntityType: Each intent parameter has a +// type, called the entity type, which dictates exactly how data from an +// end-user expression is extracted. Dialogflow provides predefined +// system entities that can match many common types of data. For +// example, there are system entities for matching dates, times, colors, +// email addresses, and so on. You can also create your own custom +// entities for matching custom data. For example, you could define a +// vegetable entity that can match the types of vegetables available for +// purchase with a grocery store agent. For more information, see the +// [Entity +// guide](https://cloud.google.com/dialogflow/docs/entities-overview). +type GoogleCloudDialogflowV2beta1EntityType struct { + // AutoExpansionMode: Optional. Indicates whether the entity type can be + // automatically expanded. + // + // Possible values: + // "AUTO_EXPANSION_MODE_UNSPECIFIED" - Auto expansion disabled for the + // entity. + // "AUTO_EXPANSION_MODE_DEFAULT" - Allows an agent to recognize values + // that have not been explicitly listed in the entity. + AutoExpansionMode string `json:"autoExpansionMode,omitempty"` + + // DisplayName: Required. The name of the entity type. + DisplayName string `json:"displayName,omitempty"` + + // EnableFuzzyExtraction: Optional. Enables fuzzy entity extraction + // during classification. + EnableFuzzyExtraction bool `json:"enableFuzzyExtraction,omitempty"` + + // Entities: Optional. The collection of entity entries associated with + // the entity type. + Entities []*GoogleCloudDialogflowV2beta1EntityTypeEntity `json:"entities,omitempty"` + + // Kind: Required. Indicates the kind of entity type. + // + // Possible values: + // "KIND_UNSPECIFIED" - Not specified. This value should be never + // used. + // "KIND_MAP" - Map entity types allow mapping of a group of synonyms + // to a reference value. + // "KIND_LIST" - List entity types contain a set of entries that do + // not map to reference values. However, list entity types can contain + // references to other entity types (with or without aliases). + // "KIND_REGEXP" - Regexp entity types allow to specify regular + // expressions in entries values. + Kind string `json:"kind,omitempty"` + + // Name: The unique identifier of the entity type. Required for + // EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes + // methods. Supported formats: - `projects//agent/entityTypes/` - + // `projects//locations//agent/entityTypes/` + Name string `json:"name,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AutoExpansionMode") + // to unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "AutoExpansionMode") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1EntityType) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1EntityType + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1EntityTypeEntity: An **entity entry** for +// an associated entity type. +type GoogleCloudDialogflowV2beta1EntityTypeEntity struct { + // Synonyms: Required. A collection of value synonyms. For example, if + // the entity type is *vegetable*, and `value` is *scallions*, a synonym + // could be *green onions*. For `KIND_LIST` entity types: * This + // collection must contain exactly one synonym equal to `value`. + Synonyms []string `json:"synonyms,omitempty"` + + // Value: Required. The primary value associated with this entity entry. + // For example, if the entity type is *vegetable*, the value could be + // *scallions*. For `KIND_MAP` entity types: * A reference value to be + // used in place of synonyms. For `KIND_LIST` entity types: * A string + // that can contain references to other entity types (with or without + // aliases). + Value string `json:"value,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Synonyms") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Synonyms") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1EntityTypeEntity) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1EntityTypeEntity + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1EventInput: Events allow for matching +// intents by event name instead of the natural language input. For +// instance, input `` can trigger a personalized welcome response. The +// parameter `name` may be used by the agent in the response: "Hello +// #welcome_event.name! What can I do for you today?". +type GoogleCloudDialogflowV2beta1EventInput struct { + // LanguageCode: Required. The language of this query. See [Language + // Support](https://cloud.google.com/dialogflow/docs/reference/language) + // for a list of the currently supported language codes. Note that + // queries in the same session do not necessarily need to specify the + // same language. + LanguageCode string `json:"languageCode,omitempty"` + + // Name: Required. The unique identifier of the event. + Name string `json:"name,omitempty"` + + // Parameters: The collection of parameters associated with the event. + // Depending on your protocol or client library language, this is a map, + // associative array, symbol table, dictionary, or JSON object composed + // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: string or number, depending + // on parameter value type - MapValue value: - If parameter's entity + // type is a composite entity: map from composite entity property names + // to property values - Else: parameter value + Parameters googleapi.RawMessage `json:"parameters,omitempty"` + + // ForceSendFields is a list of field names (e.g. "LanguageCode") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "LanguageCode") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1EventInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1EventInput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1ExportAgentResponse: The response message +// for Agents.ExportAgent. +type GoogleCloudDialogflowV2beta1ExportAgentResponse struct { + // AgentContent: Zip compressed raw byte content for agent. + AgentContent string `json:"agentContent,omitempty"` + + // AgentUri: The URI to a file containing the exported agent. This field + // is populated only if `agent_uri` is specified in + // `ExportAgentRequest`. + AgentUri string `json:"agentUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AgentContent") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "AgentContent") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1ExportAgentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1ExportAgentResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1Intent: An intent categorizes an +// end-user's intention for one conversation turn. For each agent, you +// define many intents, where your combined intents can handle a +// complete conversation. When an end-user writes or says something, +// referred to as an end-user expression or end-user input, Dialogflow +// matches the end-user input to the best intent in your agent. Matching +// an intent is also known as intent classification. For more +// information, see the [intent +// guide](https://cloud.google.com/dialogflow/docs/intents-overview). +type GoogleCloudDialogflowV2beta1Intent struct { + // Action: Optional. The name of the action associated with the intent. + // Note: The action name must not contain whitespaces. + Action string `json:"action,omitempty"` + + // DefaultResponsePlatforms: Optional. The list of platforms for which + // the first responses will be copied from the messages in + // PLATFORM_UNSPECIFIED (i.e. default platform). + // + // Possible values: + // "PLATFORM_UNSPECIFIED" - Not specified. + // "FACEBOOK" - Facebook. + // "SLACK" - Slack. + // "TELEGRAM" - Telegram. + // "KIK" - Kik. + // "SKYPE" - Skype. + // "LINE" - Line. + // "VIBER" - Viber. + // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook + // format](https://developers.google.com/assistant/actions/build/json/dia + // logflow-webhook-json) + // "TELEPHONY" - Telephony Gateway. + // "GOOGLE_HANGOUTS" - Google Hangouts. + DefaultResponsePlatforms []string `json:"defaultResponsePlatforms,omitempty"` + + // DisplayName: Required. The name of this intent. + DisplayName string `json:"displayName,omitempty"` + + // EndInteraction: Optional. Indicates that this intent ends an + // interaction. Some integrations (e.g., Actions on Google or Dialogflow + // phone gateway) use this information to close interaction with an end + // user. Default is false. + EndInteraction bool `json:"endInteraction,omitempty"` + + // Events: Optional. The collection of event names that trigger the + // intent. If the collection of input contexts is not empty, all of the + // contexts must be present in the active user session for an event to + // trigger this intent. Event names are limited to 150 characters. + Events []string `json:"events,omitempty"` + + // FollowupIntentInfo: Output only. Information about all followup + // intents that have this intent as a direct or indirect parent. We + // populate this field only in the output. + FollowupIntentInfo []*GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo `json:"followupIntentInfo,omitempty"` + + // InputContextNames: Optional. The list of context names required for + // this intent to be triggered. Formats: - + // `projects//agent/sessions/-/contexts/` - + // `projects//locations//agent/sessions/-/contexts/` + InputContextNames []string `json:"inputContextNames,omitempty"` + + // IsFallback: Optional. Indicates whether this is a fallback intent. + IsFallback bool `json:"isFallback,omitempty"` + + // Messages: Optional. The collection of rich messages corresponding to + // the `Response` field in the Dialogflow console. + Messages []*GoogleCloudDialogflowV2beta1IntentMessage `json:"messages,omitempty"` + + // MlDisabled: Optional. Indicates whether Machine Learning is disabled + // for the intent. Note: If `ml_disabled` setting is set to true, then + // this intent is not taken into account during inference in `ML ONLY` + // match mode. Also, auto-markup in the UI is turned off. + MlDisabled bool `json:"mlDisabled,omitempty"` + + // MlEnabled: Optional. Indicates whether Machine Learning is enabled + // for the intent. Note: If `ml_enabled` setting is set to false, then + // this intent is not taken into account during inference in `ML ONLY` + // match mode. Also, auto-markup in the UI is turned off. DEPRECATED! + // Please use `ml_disabled` field instead. NOTE: If both `ml_enabled` + // and `ml_disabled` are either not set or false, then the default value + // is determined as follows: - Before April 15th, 2018 the default is: + // ml_enabled = false / ml_disabled = true. - After April 15th, 2018 the + // default is: ml_enabled = true / ml_disabled = false. + MlEnabled bool `json:"mlEnabled,omitempty"` + + // Name: Optional. The unique identifier of this intent. Required for + // Intents.UpdateIntent and Intents.BatchUpdateIntents methods. + // Supported formats: - `projects//agent/intents/` - + // `projects//locations//agent/intents/` + Name string `json:"name,omitempty"` + + // OutputContexts: Optional. The collection of contexts that are + // activated when the intent is matched. Context messages in this + // collection should not set the parameters field. Setting the + // `lifespan_count` to 0 will reset the context when the intent is + // matched. Format: `projects//agent/sessions/-/contexts/`. + OutputContexts []*GoogleCloudDialogflowV2beta1Context `json:"outputContexts,omitempty"` + + // Parameters: Optional. The collection of parameters associated with + // the intent. + Parameters []*GoogleCloudDialogflowV2beta1IntentParameter `json:"parameters,omitempty"` + + // ParentFollowupIntentName: Optional. The unique identifier of the + // parent intent in the chain of followup intents. You can set this + // field when creating an intent, for example with CreateIntent or + // BatchUpdateIntents, in order to make this intent a followup intent. + // It identifies the parent followup intent. Format: + // `projects//agent/intents/`. + ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` + + // Priority: Optional. The priority of this intent. Higher numbers + // represent higher priorities. - If the supplied value is unspecified + // or 0, the service translates the value to 500,000, which corresponds + // to the `Normal` priority in the console. - If the supplied value is + // negative, the intent is ignored in runtime detect intent requests. + Priority int64 `json:"priority,omitempty"` + + // ResetContexts: Optional. Indicates whether to delete all contexts in + // the current session when this intent is matched. + ResetContexts bool `json:"resetContexts,omitempty"` + + // RootFollowupIntentName: Output only. The unique identifier of the + // root intent in the chain of followup intents. It identifies the + // correct followup intents chain for this intent. Format: + // `projects//agent/intents/`. + RootFollowupIntentName string `json:"rootFollowupIntentName,omitempty"` + + // TrainingPhrases: Optional. The collection of examples that the agent + // is trained on. + TrainingPhrases []*GoogleCloudDialogflowV2beta1IntentTrainingPhrase `json:"trainingPhrases,omitempty"` + + // WebhookState: Optional. Indicates whether webhooks are enabled for + // the intent. + // + // Possible values: + // "WEBHOOK_STATE_UNSPECIFIED" - Webhook is disabled in the agent and + // in the intent. + // "WEBHOOK_STATE_ENABLED" - Webhook is enabled in the agent and in + // the intent. + // "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING" - Webhook is enabled in + // the agent and in the intent. Also, each slot filling prompt is + // forwarded to the webhook. + WebhookState string `json:"webhookState,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Action") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Action") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1Intent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1Intent + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo: Represents a +// single followup intent in the chain. +type GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo struct { + // FollowupIntentName: The unique identifier of the followup intent. + // Format: `projects//agent/intents/`. + FollowupIntentName string `json:"followupIntentName,omitempty"` + + // ParentFollowupIntentName: The unique identifier of the followup + // intent's parent. Format: `projects//agent/intents/`. + ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` + + // ForceSendFields is a list of field names (e.g. "FollowupIntentName") + // to unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "FollowupIntentName") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessage: Corresponds to the +// `Response` field in the Dialogflow console. +type GoogleCloudDialogflowV2beta1IntentMessage struct { + // BasicCard: Displays a basic card for Actions on Google. + BasicCard *GoogleCloudDialogflowV2beta1IntentMessageBasicCard `json:"basicCard,omitempty"` + + // BrowseCarouselCard: Browse carousel card for Actions on Google. + BrowseCarouselCard *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard `json:"browseCarouselCard,omitempty"` + + // Card: Displays a card. + Card *GoogleCloudDialogflowV2beta1IntentMessageCard `json:"card,omitempty"` + + // CarouselSelect: Displays a carousel card for Actions on Google. + CarouselSelect *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect `json:"carouselSelect,omitempty"` + + // Image: Displays an image. + Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` + + // LinkOutSuggestion: Displays a link out suggestion chip for Actions on + // Google. + LinkOutSuggestion *GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion `json:"linkOutSuggestion,omitempty"` + + // ListSelect: Displays a list card for Actions on Google. + ListSelect *GoogleCloudDialogflowV2beta1IntentMessageListSelect `json:"listSelect,omitempty"` + + // MediaContent: The media content card for Actions on Google. + MediaContent *GoogleCloudDialogflowV2beta1IntentMessageMediaContent `json:"mediaContent,omitempty"` + + // Payload: A custom platform-specific response. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // Platform: Optional. The platform that this message is intended for. + // + // Possible values: + // "PLATFORM_UNSPECIFIED" - Not specified. + // "FACEBOOK" - Facebook. + // "SLACK" - Slack. + // "TELEGRAM" - Telegram. + // "KIK" - Kik. + // "SKYPE" - Skype. + // "LINE" - Line. + // "VIBER" - Viber. + // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook + // format](https://developers.google.com/assistant/actions/build/json/dia + // logflow-webhook-json) + // "TELEPHONY" - Telephony Gateway. + // "GOOGLE_HANGOUTS" - Google Hangouts. + Platform string `json:"platform,omitempty"` + + // QuickReplies: Displays quick replies. + QuickReplies *GoogleCloudDialogflowV2beta1IntentMessageQuickReplies `json:"quickReplies,omitempty"` + + // RbmCarouselRichCard: Rich Business Messaging (RBM) carousel rich card + // response. + RbmCarouselRichCard *GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard `json:"rbmCarouselRichCard,omitempty"` + + // RbmStandaloneRichCard: Standalone Rich Business Messaging (RBM) rich + // card response. + RbmStandaloneRichCard *GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard `json:"rbmStandaloneRichCard,omitempty"` + + // RbmText: Rich Business Messaging (RBM) text response. RBM allows + // businesses to send enriched and branded versions of SMS. See + // https://jibe.google.com/business-messaging. + RbmText *GoogleCloudDialogflowV2beta1IntentMessageRbmText `json:"rbmText,omitempty"` + + // SimpleResponses: Returns a voice or text-only response for Actions on + // Google. + SimpleResponses *GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses `json:"simpleResponses,omitempty"` + + // Suggestions: Displays suggestion chips for Actions on Google. + Suggestions *GoogleCloudDialogflowV2beta1IntentMessageSuggestions `json:"suggestions,omitempty"` + + // TableCard: Table card for Actions on Google. + TableCard *GoogleCloudDialogflowV2beta1IntentMessageTableCard `json:"tableCard,omitempty"` + + // TelephonyPlayAudio: Plays audio from a file in Telephony Gateway. + TelephonyPlayAudio *GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio `json:"telephonyPlayAudio,omitempty"` + + // TelephonySynthesizeSpeech: Synthesizes speech in Telephony Gateway. + TelephonySynthesizeSpeech *GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech `json:"telephonySynthesizeSpeech,omitempty"` + + // TelephonyTransferCall: Transfers the call in Telephony Gateway. + TelephonyTransferCall *GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall `json:"telephonyTransferCall,omitempty"` + + // Text: Returns a text response. + Text *GoogleCloudDialogflowV2beta1IntentMessageText `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "BasicCard") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "BasicCard") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessage + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageBasicCard: The basic card +// message. Useful for displaying information. +type GoogleCloudDialogflowV2beta1IntentMessageBasicCard struct { + // Buttons: Optional. The collection of card buttons. + Buttons []*GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton `json:"buttons,omitempty"` + + // FormattedText: Required, unless image is present. The body text of + // the card. + FormattedText string `json:"formattedText,omitempty"` + + // Image: Optional. The image for the card. + Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` + + // Subtitle: Optional. The subtitle of the card. + Subtitle string `json:"subtitle,omitempty"` + + // Title: Optional. The title of the card. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Buttons") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Buttons") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageBasicCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBasicCard + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton: The button +// object that appears at the bottom of a card. +type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton struct { + // OpenUriAction: Required. Action to take when a user taps on the + // button. + OpenUriAction *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction `json:"openUriAction,omitempty"` + + // Title: Required. The title of the button. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "OpenUriAction") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "OpenUriAction") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction: +// Opens the given URI. +type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction struct { + // Uri: Required. The HTTP or HTTPS scheme URI. + Uri string `json:"uri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Uri") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Uri") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard: Browse +// Carousel Card for Actions on Google. +// https://developers.google.com/actions/assistant/responses#browsing_carousel +type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard struct { + // ImageDisplayOptions: Optional. Settings for displaying the image. + // Applies to every image in items. + // + // Possible values: + // "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED" - Fill the gaps between the + // image and the image container with gray bars. + // "GRAY" - Fill the gaps between the image and the image container + // with gray bars. + // "WHITE" - Fill the gaps between the image and the image container + // with white bars. + // "CROPPED" - Image is scaled such that the image width and height + // match or exceed the container dimensions. This may crop the top and + // bottom of the image if the scaled image height is greater than the + // container height, or crop the left and right of the image if the + // scaled image width is greater than the container width. This is + // similar to "Zoom Mode" on a widescreen TV when playing a 4:3 video. + // "BLURRED_BACKGROUND" - Pad the gaps between image and image frame + // with a blurred copy of the same image. + ImageDisplayOptions string `json:"imageDisplayOptions,omitempty"` + + // Items: Required. List of items in the Browse Carousel Card. Minimum + // of two items, maximum of ten. + Items []*GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem `json:"items,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ImageDisplayOptions") + // to unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "ImageDisplayOptions") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarou +// selCardItem: Browsing carousel tile +type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem struct { + // Description: Optional. Description of the carousel item. Maximum of + // four lines of text. + Description string `json:"description,omitempty"` + + // Footer: Optional. Text that appears at the bottom of the Browse + // Carousel Card. Maximum of one line of text. + Footer string `json:"footer,omitempty"` + + // Image: Optional. Hero image for the carousel item. + Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` + + // OpenUriAction: Required. Action to present to the user. + OpenUriAction *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction `json:"openUriAction,omitempty"` + + // Title: Required. Title of the carousel item. Maximum of two lines of + // text. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Description") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Description") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarou +// selCardItemOpenUrlAction: Actions on Google action to open a given +// url. +type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction struct { + // Url: Required. URL + Url string `json:"url,omitempty"` + + // UrlTypeHint: Optional. Specifies the type of viewer that is used when + // opening the URL. Defaults to opening via web browser. + // + // Possible values: + // "URL_TYPE_HINT_UNSPECIFIED" - Unspecified + // "AMP_ACTION" - Url would be an amp action + // "AMP_CONTENT" - URL that points directly to AMP content, or to a + // canonical URL which refers to AMP content via . + UrlTypeHint string `json:"urlTypeHint,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Url") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Url") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageCard: The card response +// message. +type GoogleCloudDialogflowV2beta1IntentMessageCard struct { + // Buttons: Optional. The collection of card buttons. + Buttons []*GoogleCloudDialogflowV2beta1IntentMessageCardButton `json:"buttons,omitempty"` + + // ImageUri: Optional. The public URI to an image file for the card. + ImageUri string `json:"imageUri,omitempty"` + + // Subtitle: Optional. The subtitle of the card. + Subtitle string `json:"subtitle,omitempty"` + + // Title: Optional. The title of the card. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Buttons") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Buttons") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCard + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageCardButton: Optional. +// Contains information about a button. +type GoogleCloudDialogflowV2beta1IntentMessageCardButton struct { + // Postback: Optional. The text to send back to the Dialogflow API or a + // URI to open. + Postback string `json:"postback,omitempty"` + + // Text: Optional. The text to show on the button. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Postback") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Postback") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageCardButton) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCardButton + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect: The card for +// presenting a carousel of options to select from. +type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect struct { + // Items: Required. Carousel items. + Items []*GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem `json:"items,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Items") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Items") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem: An item +// in the carousel. +type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem struct { + // Description: Optional. The body text of the card. + Description string `json:"description,omitempty"` + + // Image: Optional. The image to display. + Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` + + // Info: Required. Additional info about the option item. + Info *GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo `json:"info,omitempty"` + + // Title: Required. Title of the carousel item. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Description") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Description") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageColumnProperties: Column +// properties for TableCard. +type GoogleCloudDialogflowV2beta1IntentMessageColumnProperties struct { + // Header: Required. Column heading. + Header string `json:"header,omitempty"` + + // HorizontalAlignment: Optional. Defines text alignment for all cells + // in this column. + // + // Possible values: + // "HORIZONTAL_ALIGNMENT_UNSPECIFIED" - Text is aligned to the leading + // edge of the column. + // "LEADING" - Text is aligned to the leading edge of the column. + // "CENTER" - Text is centered in the column. + // "TRAILING" - Text is aligned to the trailing edge of the column. + HorizontalAlignment string `json:"horizontalAlignment,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Header") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Header") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageColumnProperties) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageColumnProperties + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageImage: The image response +// message. +type GoogleCloudDialogflowV2beta1IntentMessageImage struct { + // AccessibilityText: A text description of the image to be used for + // accessibility, e.g., screen readers. Required if image_uri is set for + // CarouselSelect. + AccessibilityText string `json:"accessibilityText,omitempty"` + + // ImageUri: Optional. The public URI to an image file. + ImageUri string `json:"imageUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AccessibilityText") + // to unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "AccessibilityText") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageImage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageImage + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion: The +// suggestion chip message that allows the user to jump out to the app +// or website associated with this agent. +type GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion struct { + // DestinationName: Required. The name of the app or site this chip is + // linking to. + DestinationName string `json:"destinationName,omitempty"` + + // Uri: Required. The URI of the app or site to open when the user taps + // the suggestion chip. + Uri string `json:"uri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DestinationName") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "DestinationName") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageListSelect: The card for +// presenting a list of options to select from. +type GoogleCloudDialogflowV2beta1IntentMessageListSelect struct { + // Items: Required. List items. + Items []*GoogleCloudDialogflowV2beta1IntentMessageListSelectItem `json:"items,omitempty"` + + // Subtitle: Optional. Subtitle of the list. + Subtitle string `json:"subtitle,omitempty"` + + // Title: Optional. The overall title of the list. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Items") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Items") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageListSelect) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageListSelect + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageListSelectItem: An item in +// the list. +type GoogleCloudDialogflowV2beta1IntentMessageListSelectItem struct { + // Description: Optional. The main text describing the item. + Description string `json:"description,omitempty"` + + // Image: Optional. The image to display. + Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` + + // Info: Required. Additional information about this option. + Info *GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo `json:"info,omitempty"` + + // Title: Required. The title of the list item. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Description") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Description") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageListSelectItem) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageListSelectItem + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageMediaContent: The media +// content card for Actions on Google. +type GoogleCloudDialogflowV2beta1IntentMessageMediaContent struct { + // MediaObjects: Required. List of media objects. + MediaObjects []*GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject `json:"mediaObjects,omitempty"` + + // MediaType: Optional. What type of media is the content (ie "audio"). + // + // Possible values: + // "RESPONSE_MEDIA_TYPE_UNSPECIFIED" - Unspecified. + // "AUDIO" - Response media type is audio. + MediaType string `json:"mediaType,omitempty"` + + // ForceSendFields is a list of field names (e.g. "MediaObjects") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "MediaObjects") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageMediaContent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageMediaContent + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObje +// ct: Response media object for media content card. +type GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject struct { + // ContentUrl: Required. Url where the media is stored. + ContentUrl string `json:"contentUrl,omitempty"` + + // Description: Optional. Description of media card. + Description string `json:"description,omitempty"` + + // Icon: Optional. Icon to display above media content. + Icon *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"icon,omitempty"` + + // LargeImage: Optional. Image to display above media content. + LargeImage *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"largeImage,omitempty"` + + // Name: Required. Name of media card. + Name string `json:"name,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ContentUrl") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "ContentUrl") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageQuickReplies: The quick +// replies response message. +type GoogleCloudDialogflowV2beta1IntentMessageQuickReplies struct { + // QuickReplies: Optional. The collection of quick replies. + QuickReplies []string `json:"quickReplies,omitempty"` + + // Title: Optional. The title of the collection of quick replies. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "QuickReplies") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "QuickReplies") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageQuickReplies) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageQuickReplies + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent: Rich +// Business Messaging (RBM) Card content +type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent struct { + // Description: Optional. Description of the card (at most 2000 bytes). + // At least one of the title, description or media must be set. + Description string `json:"description,omitempty"` + + // Media: Optional. However at least one of the title, description or + // media must be set. Media (image, GIF or a video) to include in the + // card. + Media *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia `json:"media,omitempty"` + + // Suggestions: Optional. List of suggestions to include in the card. + Suggestions []*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion `json:"suggestions,omitempty"` + + // Title: Optional. Title of the card (at most 200 bytes). At least one + // of the title, description or media must be set. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Description") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Description") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia: Rich +// Business Messaging (RBM) Media displayed in Cards The following +// media-types are currently supported: Image Types * image/jpeg * +// image/jpg' * image/gif * image/png Video Types * video/h263 * +// video/m4v * video/mp4 * video/mpeg * video/mpeg4 * video/webm +type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia struct { + // FileUri: Required. Publicly reachable URI of the file. The RBM + // platform determines the MIME type of the file from the content-type + // field in the HTTP headers when the platform fetches the file. The + // content-type field must be present and accurate in the HTTP response + // from the URL. + FileUri string `json:"fileUri,omitempty"` + + // Height: Required for cards with vertical orientation. The height of + // the media within a rich card with a vertical layout. For a standalone + // card with horizontal layout, height is not customizable, and this + // field is ignored. + // + // Possible values: + // "HEIGHT_UNSPECIFIED" - Not specified. + // "SHORT" - 112 DP. + // "MEDIUM" - 168 DP. + // "TALL" - 264 DP. Not available for rich card carousels when the + // card width is set to small. + Height string `json:"height,omitempty"` + + // ThumbnailUri: Optional. Publicly reachable URI of the thumbnail.If + // you don't provide a thumbnail URI, the RBM platform displays a blank + // placeholder thumbnail until the user's device downloads the file. + // Depending on the user's setting, the file may not download + // automatically and may require the user to tap a download button. + ThumbnailUri string `json:"thumbnailUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "FileUri") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "FileUri") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard: Carousel +// Rich Business Messaging (RBM) rich card. Rich cards allow you to +// respond to users with more vivid content, e.g. with media and +// suggestions. If you want to show a single card with more control over +// the layout, please use RbmStandaloneCard instead. +type GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard struct { + // CardContents: Required. The cards in the carousel. A carousel must + // have at least 2 cards and at most 10. + CardContents []*GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent `json:"cardContents,omitempty"` + + // CardWidth: Required. The width of the cards in the carousel. + // + // Possible values: + // "CARD_WIDTH_UNSPECIFIED" - Not specified. + // "SMALL" - 120 DP. Note that tall media cannot be used. + // "MEDIUM" - 232 DP. + CardWidth string `json:"cardWidth,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CardContents") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "CardContents") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard: +// Standalone Rich Business Messaging (RBM) rich card. Rich cards allow +// you to respond to users with more vivid content, e.g. with media and +// suggestions. You can group multiple rich cards into one using +// RbmCarouselCard but carousel cards will give you less control over +// the card layout. +type GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard struct { + // CardContent: Required. Card content. + CardContent *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent `json:"cardContent,omitempty"` + + // CardOrientation: Required. Orientation of the card. + // + // Possible values: + // "CARD_ORIENTATION_UNSPECIFIED" - Not specified. + // "HORIZONTAL" - Horizontal layout. + // "VERTICAL" - Vertical layout. + CardOrientation string `json:"cardOrientation,omitempty"` + + // ThumbnailImageAlignment: Required if orientation is horizontal. Image + // preview alignment for standalone cards with horizontal layout. + // + // Possible values: + // "THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED" - Not specified. + // "LEFT" - Thumbnail preview is left-aligned. + // "RIGHT" - Thumbnail preview is right-aligned. + ThumbnailImageAlignment string `json:"thumbnailImageAlignment,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CardContent") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "CardContent") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction: Rich +// Business Messaging (RBM) suggested client-side action that the user +// can choose from the card. +type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction struct { + // Dial: Suggested client side action: Dial a phone number + Dial *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial `json:"dial,omitempty"` + + // OpenUrl: Suggested client side action: Open a URI on device + OpenUrl *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri `json:"openUrl,omitempty"` + + // PostbackData: Opaque payload that the Dialogflow receives in a user + // event when the user taps the suggested action. This data will be also + // forwarded to webhook to allow performing custom business logic. + PostbackData string `json:"postbackData,omitempty"` + + // ShareLocation: Suggested client side action: Share user location + ShareLocation *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation `json:"shareLocation,omitempty"` + + // Text: Text to display alongside the action. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Dial") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Dial") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggeste +// dActionDial: Opens the user's default dialer app with the specified +// phone number but does not dial automatically. +type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial struct { + // PhoneNumber: Required. The phone number to fill in the default dialer + // app. This field should be in + // [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a + // correctly formatted phone number: +15556767888. + PhoneNumber string `json:"phoneNumber,omitempty"` + + // ForceSendFields is a list of field names (e.g. "PhoneNumber") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "PhoneNumber") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggeste +// dActionOpenUri: Opens the user's default web browser app to the +// specified uri If the user has an app installed that is registered as +// the default handler for the URL, then this app will be opened +// instead, and its icon will be used in the suggested action UI. +type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri struct { + // Uri: Required. The uri to open on the user device + Uri string `json:"uri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Uri") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Uri") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggeste +// dActionShareLocation: Opens the device's location chooser so the user +// can pick a location to send back to the agent. +type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation struct { +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply: Rich +// Business Messaging (RBM) suggested reply that the user can click +// instead of typing in their own response. +type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply struct { + // PostbackData: Opaque payload that the Dialogflow receives in a user + // event when the user taps the suggested reply. This data will be also + // forwarded to webhook to allow performing custom business logic. + PostbackData string `json:"postbackData,omitempty"` + + // Text: Suggested reply text. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "PostbackData") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "PostbackData") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion: Rich Business +// Messaging (RBM) suggestion. Suggestions allow user to easily +// select/click a predefined response or perform an action (like opening +// a web uri). +type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion struct { + // Action: Predefined client side actions that user can choose + Action *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction `json:"action,omitempty"` + + // Reply: Predefined replies for user to select instead of typing + Reply *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply `json:"reply,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Action") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Action") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmText: Rich Business +// Messaging (RBM) text response with suggestions. +type GoogleCloudDialogflowV2beta1IntentMessageRbmText struct { + // RbmSuggestion: Optional. One or more suggestions to show to the user. + RbmSuggestion []*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion `json:"rbmSuggestion,omitempty"` + + // Text: Required. Text sent and displayed to the user. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "RbmSuggestion") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "RbmSuggestion") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmText + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo: Additional +// info about the select item for when it is triggered in a dialog. +type GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo struct { + // Key: Required. A unique key that will be sent back to the agent if + // this response is given. + Key string `json:"key,omitempty"` + + // Synonyms: Optional. A list of synonyms that can also be used to + // trigger this item in dialog. + Synonyms []string `json:"synonyms,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Key") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Key") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse: The simple +// response message containing speech or text. +type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse struct { + // DisplayText: Optional. The text to display. + DisplayText string `json:"displayText,omitempty"` + + // Ssml: One of text_to_speech or ssml must be provided. Structured + // spoken response to the user in the SSML format. Mutually exclusive + // with text_to_speech. + Ssml string `json:"ssml,omitempty"` + + // TextToSpeech: One of text_to_speech or ssml must be provided. The + // plain text of the speech output. Mutually exclusive with ssml. + TextToSpeech string `json:"textToSpeech,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DisplayText") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "DisplayText") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses: The +// collection of simple response candidates. This message in +// `QueryResult.fulfillment_messages` and +// `WebhookResponse.fulfillment_messages` should contain only one +// `SimpleResponse`. +type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses struct { + // SimpleResponses: Required. The list of simple responses. + SimpleResponses []*GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse `json:"simpleResponses,omitempty"` + + // ForceSendFields is a list of field names (e.g. "SimpleResponses") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "SimpleResponses") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageSuggestion: The suggestion +// chip message that the user can tap to quickly post a reply to the +// conversation. +type GoogleCloudDialogflowV2beta1IntentMessageSuggestion struct { + // Title: Required. The text shown the in the suggestion chip. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Title") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Title") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageSuggestion) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSuggestion + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageSuggestions: The collection +// of suggestions. +type GoogleCloudDialogflowV2beta1IntentMessageSuggestions struct { + // Suggestions: Required. The list of suggested replies. + Suggestions []*GoogleCloudDialogflowV2beta1IntentMessageSuggestion `json:"suggestions,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Suggestions") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Suggestions") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageSuggestions) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSuggestions + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageTableCard: Table card for +// Actions on Google. +type GoogleCloudDialogflowV2beta1IntentMessageTableCard struct { + // Buttons: Optional. List of buttons for the card. + Buttons []*GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton `json:"buttons,omitempty"` + + // ColumnProperties: Optional. Display properties for the columns in + // this table. + ColumnProperties []*GoogleCloudDialogflowV2beta1IntentMessageColumnProperties `json:"columnProperties,omitempty"` + + // Image: Optional. Image which should be displayed on the card. + Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` + + // Rows: Optional. Rows in this table of data. + Rows []*GoogleCloudDialogflowV2beta1IntentMessageTableCardRow `json:"rows,omitempty"` + + // Subtitle: Optional. Subtitle to the title. + Subtitle string `json:"subtitle,omitempty"` + + // Title: Required. Title of the card. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Buttons") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Buttons") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageTableCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTableCard + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageTableCardCell: Cell of +// TableCardRow. +type GoogleCloudDialogflowV2beta1IntentMessageTableCardCell struct { + // Text: Required. Text in this cell. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Text") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Text") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageTableCardCell) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTableCardCell + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageTableCardRow: Row of +// TableCard. +type GoogleCloudDialogflowV2beta1IntentMessageTableCardRow struct { + // Cells: Optional. List of cells that make up this row. + Cells []*GoogleCloudDialogflowV2beta1IntentMessageTableCardCell `json:"cells,omitempty"` + + // DividerAfter: Optional. Whether to add a visual divider after this + // row. + DividerAfter bool `json:"dividerAfter,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Cells") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Cells") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageTableCardRow) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTableCardRow + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio: Plays +// audio from a file in Telephony Gateway. +type GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio struct { + // AudioUri: Required. URI to a Google Cloud Storage object containing + // the audio to play, e.g., "gs://bucket/object". The object must + // contain a single channel (mono) of linear PCM audio (2 bytes / + // sample) at 8kHz. This object must be readable by the + // `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` service account + // where is the number of the Telephony Gateway project (usually the + // same as the Dialogflow agent project). If the Google Cloud Storage + // bucket is in the Telephony Gateway project, this permission is added + // by default when enabling the Dialogflow V2 API. For audio from other + // sources, consider using the `TelephonySynthesizeSpeech` message with + // SSML. + AudioUri string `json:"audioUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AudioUri") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "AudioUri") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech: +// Synthesizes speech and plays back the synthesized audio to the caller +// in Telephony Gateway. Telephony Gateway takes the synthesizer +// settings from `DetectIntentResponse.output_audio_config` which can +// either be set at request-level or can come from the agent-level +// synthesizer config. +type GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech struct { + // Ssml: The SSML to be synthesized. For more information, see + // [SSML](https://developers.google.com/actions/reference/ssml). + Ssml string `json:"ssml,omitempty"` + + // Text: The raw text to be synthesized. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Ssml") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Ssml") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall: +// Transfers the call in Telephony Gateway. +type GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall struct { + // PhoneNumber: Required. The phone number to transfer the call to in + // [E.164 format](https://en.wikipedia.org/wiki/E.164). We currently + // only allow transferring to US numbers (+1xxxyyyzzzz). + PhoneNumber string `json:"phoneNumber,omitempty"` + + // ForceSendFields is a list of field names (e.g. "PhoneNumber") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "PhoneNumber") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageText: The text response +// message. +type GoogleCloudDialogflowV2beta1IntentMessageText struct { + // Text: Optional. The collection of the agent's responses. + Text []string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Text") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Text") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageText + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentParameter: Represents intent +// parameters. +type GoogleCloudDialogflowV2beta1IntentParameter struct { + // DefaultValue: Optional. The default value to use when the `value` + // yields an empty result. Default values can be extracted from contexts + // by using the following syntax: `#context_name.parameter_name`. + DefaultValue string `json:"defaultValue,omitempty"` + + // DisplayName: Required. The name of the parameter. + DisplayName string `json:"displayName,omitempty"` + + // EntityTypeDisplayName: Optional. The name of the entity type, + // prefixed with `@`, that describes values of the parameter. If the + // parameter is required, this must be provided. + EntityTypeDisplayName string `json:"entityTypeDisplayName,omitempty"` + + // IsList: Optional. Indicates whether the parameter represents a list + // of values. + IsList bool `json:"isList,omitempty"` + + // Mandatory: Optional. Indicates whether the parameter is required. + // That is, whether the intent cannot be completed without collecting + // the parameter value. + Mandatory bool `json:"mandatory,omitempty"` + + // Name: The unique identifier of this parameter. + Name string `json:"name,omitempty"` + + // Prompts: Optional. The collection of prompts that the agent can + // present to the user in order to collect a value for the parameter. + Prompts []string `json:"prompts,omitempty"` + + // Value: Optional. The definition of the parameter value. It can be: - + // a constant string, - a parameter value defined as `$parameter_name`, + // - an original parameter value defined as `$parameter_name.original`, + // - a parameter value from some context defined as + // `#context_name.parameter_name`. + Value string `json:"value,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DefaultValue") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "DefaultValue") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentParameter) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentParameter + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentTrainingPhrase: Represents an +// example that the agent is trained on. +type GoogleCloudDialogflowV2beta1IntentTrainingPhrase struct { + // Name: Output only. The unique identifier of this training phrase. + Name string `json:"name,omitempty"` + + // Parts: Required. The ordered list of training phrase parts. The parts + // are concatenated in order to form the training phrase. Note: The API + // does not automatically annotate training phrases like the Dialogflow + // Console does. Note: Do not forget to include whitespace at part + // boundaries, so the training phrase is well formatted when the parts + // are concatenated. If the training phrase does not need to be + // annotated with parameters, you just need a single part with only the + // Part.text field set. If you want to annotate the training phrase, you + // must create multiple parts, where the fields of each part are + // populated in one of two ways: - `Part.text` is set to a part of the + // phrase that has no parameters. - `Part.text` is set to a part of the + // phrase that you want to annotate, and the `entity_type`, `alias`, and + // `user_defined` fields are all set. + Parts []*GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart `json:"parts,omitempty"` + + // TimesAddedCount: Optional. Indicates how many times this example was + // added to the intent. Each time a developer adds an existing sample by + // editing an intent or training, this counter is increased. + TimesAddedCount int64 `json:"timesAddedCount,omitempty"` + + // Type: Required. The type of the training phrase. + // + // Possible values: + // "TYPE_UNSPECIFIED" - Not specified. This value should never be + // used. + // "EXAMPLE" - Examples do not contain @-prefixed entity type names, + // but example parts can be annotated with entity types. + // "TEMPLATE" - Templates are not annotated with entity types, but + // they can contain @-prefixed entity type names as substrings. Template + // mode has been deprecated. Example mode is the only supported way to + // create new training phrases. If you have existing training phrases + // that you've created in template mode, those will continue to work. + Type string `json:"type,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Name") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Name") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentTrainingPhrase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentTrainingPhrase + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart: Represents a +// part of a training phrase. +type GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart struct { + // Alias: Optional. The parameter name for the value extracted from the + // annotated part of the example. This field is required for annotated + // parts of the training phrase. + Alias string `json:"alias,omitempty"` + + // EntityType: Optional. The entity type name prefixed with `@`. This + // field is required for annotated parts of the training phrase. + EntityType string `json:"entityType,omitempty"` + + // Text: Required. The text for this part. + Text string `json:"text,omitempty"` + + // UserDefined: Optional. Indicates whether the text was manually + // annotated. This field is set to true when the Dialogflow Console is + // used to manually annotate the part. When creating an annotated part + // with the API, you must set this to true. + UserDefined bool `json:"userDefined,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Alias") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Alias") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1KnowledgeAnswers: Represents the result +// of querying a Knowledge base. +type GoogleCloudDialogflowV2beta1KnowledgeAnswers struct { + // Answers: A list of answers from Knowledge Connector. + Answers []*GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer `json:"answers,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Answers") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Answers") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1KnowledgeAnswers) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1KnowledgeAnswers + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer: An answer from +// Knowledge Connector. +type GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer struct { + // Answer: The piece of text from the `source` knowledge base document + // that answers this conversational query. + Answer string `json:"answer,omitempty"` + + // FaqQuestion: The corresponding FAQ question if the answer was + // extracted from a FAQ Document, empty otherwise. + FaqQuestion string `json:"faqQuestion,omitempty"` + + // MatchConfidence: The system's confidence score that this Knowledge + // answer is a good match for this conversational query. The range is + // from 0.0 (completely uncertain) to 1.0 (completely certain). Note: + // The confidence score is likely to vary somewhat (possibly even for + // identical requests), as the underlying model is under constant + // improvement. It may be deprecated in the future. We recommend using + // `match_confidence_level` which should be generally more stable. + MatchConfidence float64 `json:"matchConfidence,omitempty"` + + // MatchConfidenceLevel: The system's confidence level that this + // knowledge answer is a good match for this conversational query. NOTE: + // The confidence level for a given `` pair may change without notice, + // as it depends on models that are constantly being improved. However, + // it will change less frequently than the confidence score below, and + // should be preferred for referencing the quality of an answer. + // + // Possible values: + // "MATCH_CONFIDENCE_LEVEL_UNSPECIFIED" - Not specified. + // "LOW" - Indicates that the confidence is low. + // "MEDIUM" - Indicates our confidence is medium. + // "HIGH" - Indicates our confidence is high. + MatchConfidenceLevel string `json:"matchConfidenceLevel,omitempty"` + + // Source: Indicates which Knowledge Document this answer was extracted + // from. Format: `projects//knowledgeBases//documents/`. + Source string `json:"source,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Answer") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Answer") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer + var s1 struct { + MatchConfidence gensupport.JSONFloat64 `json:"matchConfidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.MatchConfidence = float64(s1.MatchConfidence) + return nil +} + +// GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata: Metadata in +// google::longrunning::Operation for Knowledge operations. +type GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata struct { + // State: Required. Output only. The current state of this operation. + // + // Possible values: + // "STATE_UNSPECIFIED" - State unspecified. + // "PENDING" - The operation has been created. + // "RUNNING" - The operation is currently running. + // "DONE" - The operation is done, either cancelled or completed. + State string `json:"state,omitempty"` + + // ForceSendFields is a list of field names (e.g. "State") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "State") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest: Represents +// the contents of the original request that was passed to the +// `[Streaming]DetectIntent` call. +type GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest struct { + // Payload: Optional. This field is set to the value of the + // `QueryParameters.payload` field passed in the request. Some + // integrations that query a Dialogflow agent may provide additional + // information in the payload. In particular, for the Dialogflow Phone + // Gateway integration, this field has the form: { "telephony": { + // "caller_id": "+18558363987" } } Note: The caller ID field + // (`caller_id`) will be redacted for Trial Edition agents and populated + // with the caller ID in [E.164 + // format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition + // agents. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // Source: The source of this request, e.g., `google`, `facebook`, + // `slack`. It is set by Dialogflow-owned servers. + Source string `json:"source,omitempty"` + + // Version: Optional. The version of the protocol used for this request. + // This field is AoG-specific. + Version string `json:"version,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Payload") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Payload") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1QueryResult: Represents the result of +// conversational query or event processing. +type GoogleCloudDialogflowV2beta1QueryResult struct { + // Action: The action name from the matched intent. + Action string `json:"action,omitempty"` + + // AllRequiredParamsPresent: This field is set to: - `false` if the + // matched intent has required parameters and not all of the required + // parameter values have been collected. - `true` if all required + // parameter values have been collected, or if the matched intent + // doesn't contain any required parameters. + AllRequiredParamsPresent bool `json:"allRequiredParamsPresent,omitempty"` + + // DiagnosticInfo: Free-form diagnostic information for the associated + // detect intent request. The fields of this data can change without + // notice, so you should not write code that depends on its structure. + // The data may contain: - webhook call latency - webhook errors + DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` + + // FulfillmentMessages: The collection of rich messages to present to + // the user. + FulfillmentMessages []*GoogleCloudDialogflowV2beta1IntentMessage `json:"fulfillmentMessages,omitempty"` + + // FulfillmentText: The text to be pronounced to the user or shown on + // the screen. Note: This is a legacy field, `fulfillment_messages` + // should be preferred. + FulfillmentText string `json:"fulfillmentText,omitempty"` + + // Intent: The intent that matched the conversational query. Some, not + // all fields are filled in this message, including but not limited to: + // `name`, `display_name`, `end_interaction` and `is_fallback`. + Intent *GoogleCloudDialogflowV2beta1Intent `json:"intent,omitempty"` + + // IntentDetectionConfidence: The intent detection confidence. Values + // range from 0.0 (completely uncertain) to 1.0 (completely certain). + // This value is for informational purpose only and is only used to help + // match the best intent within the classification threshold. This value + // may change for the same end-user expression at any time due to a + // model retraining or change in implementation. If there are `multiple + // knowledge_answers` messages, this value is set to the greatest + // `knowledgeAnswers.match_confidence` value in the list. + IntentDetectionConfidence float64 `json:"intentDetectionConfidence,omitempty"` + + // KnowledgeAnswers: The result from Knowledge Connector (if any), + // ordered by decreasing `KnowledgeAnswers.match_confidence`. + KnowledgeAnswers *GoogleCloudDialogflowV2beta1KnowledgeAnswers `json:"knowledgeAnswers,omitempty"` + + // LanguageCode: The language that was triggered during intent + // detection. See [Language + // Support](https://cloud.google.com/dialogflow/docs/reference/language) + // for a list of the currently supported language codes. + LanguageCode string `json:"languageCode,omitempty"` + + // OutputContexts: The collection of output contexts. If applicable, + // `output_contexts.parameters` contains entries with name `.original` + // containing the original parameter values before the query. + OutputContexts []*GoogleCloudDialogflowV2beta1Context `json:"outputContexts,omitempty"` + + // Parameters: The collection of extracted parameters. Depending on your + // protocol or client library language, this is a map, associative + // array, symbol table, dictionary, or JSON object composed of a + // collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: string or number, depending + // on parameter value type - MapValue value: - If parameter's entity + // type is a composite entity: map from composite entity property names + // to property values - Else: parameter value + Parameters googleapi.RawMessage `json:"parameters,omitempty"` + + // QueryText: The original conversational query text: - If natural + // language text was provided as input, `query_text` contains a copy of + // the input. - If natural language speech audio was provided as input, + // `query_text` contains the speech recognition result. If speech + // recognizer produced multiple alternatives, a particular one is + // picked. - If automatic spell correction is enabled, `query_text` will + // contain the corrected user input. + QueryText string `json:"queryText,omitempty"` + + // SentimentAnalysisResult: The sentiment analysis result, which depends + // on the `sentiment_analysis_request_config` specified in the request. + SentimentAnalysisResult *GoogleCloudDialogflowV2beta1SentimentAnalysisResult `json:"sentimentAnalysisResult,omitempty"` + + // SpeechRecognitionConfidence: The Speech recognition confidence + // between 0.0 and 1.0. A higher number indicates an estimated greater + // likelihood that the recognized words are correct. The default of 0.0 + // is a sentinel value indicating that confidence was not set. This + // field is not guaranteed to be accurate or set. In particular this + // field isn't set for StreamingDetectIntent since the streaming + // endpoint has separate confidence estimates per portion of the audio + // in StreamingRecognitionResult. + SpeechRecognitionConfidence float64 `json:"speechRecognitionConfidence,omitempty"` + + // WebhookPayload: If the query was fulfilled by a webhook call, this + // field is set to the value of the `payload` field returned in the + // webhook response. + WebhookPayload googleapi.RawMessage `json:"webhookPayload,omitempty"` + + // WebhookSource: If the query was fulfilled by a webhook call, this + // field is set to the value of the `source` field returned in the + // webhook response. + WebhookSource string `json:"webhookSource,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Action") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Action") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1QueryResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1QueryResult + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *GoogleCloudDialogflowV2beta1QueryResult) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowV2beta1QueryResult + var s1 struct { + IntentDetectionConfidence gensupport.JSONFloat64 `json:"intentDetectionConfidence"` + SpeechRecognitionConfidence gensupport.JSONFloat64 `json:"speechRecognitionConfidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.IntentDetectionConfidence = float64(s1.IntentDetectionConfidence) + s.SpeechRecognitionConfidence = float64(s1.SpeechRecognitionConfidence) + return nil +} + +// GoogleCloudDialogflowV2beta1Sentiment: The sentiment, such as +// positive/negative feeling or association, for a unit of analysis, +// such as the query text. +type GoogleCloudDialogflowV2beta1Sentiment struct { + // Magnitude: A non-negative number in the [0, +inf) range, which + // represents the absolute magnitude of sentiment, regardless of score + // (positive or negative). + Magnitude float64 `json:"magnitude,omitempty"` + + // Score: Sentiment score between -1.0 (negative sentiment) and 1.0 + // (positive sentiment). + Score float64 `json:"score,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Magnitude") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Magnitude") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1Sentiment) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1Sentiment + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *GoogleCloudDialogflowV2beta1Sentiment) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowV2beta1Sentiment + var s1 struct { + Magnitude gensupport.JSONFloat64 `json:"magnitude"` + Score gensupport.JSONFloat64 `json:"score"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Magnitude = float64(s1.Magnitude) + s.Score = float64(s1.Score) + return nil +} + +// GoogleCloudDialogflowV2beta1SentimentAnalysisResult: The result of +// sentiment analysis. Sentiment analysis inspects user input and +// identifies the prevailing subjective opinion, especially to determine +// a user's attitude as positive, negative, or neutral. For +// Participants.DetectIntent, it needs to be configured in +// DetectIntentRequest.query_params. For +// Participants.StreamingDetectIntent, it needs to be configured in +// StreamingDetectIntentRequest.query_params. And for +// Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, +// it needs to be configured in +// ConversationProfile.human_agent_assistant_config +type GoogleCloudDialogflowV2beta1SentimentAnalysisResult struct { + // QueryTextSentiment: The sentiment analysis result for `query_text`. + QueryTextSentiment *GoogleCloudDialogflowV2beta1Sentiment `json:"queryTextSentiment,omitempty"` + + // ForceSendFields is a list of field names (e.g. "QueryTextSentiment") + // to unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "QueryTextSentiment") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1SentimentAnalysisResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1SentimentAnalysisResult + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1SessionEntityType: A session represents a +// conversation between a Dialogflow agent and an end-user. You can +// create special entities, called session entities, during a session. +// Session entities can extend or replace custom entity types and only +// exist during the session that they were created for. All session +// data, including session entities, is stored by Dialogflow for 20 +// minutes. For more information, see the [session entity +// guide](https://cloud.google.com/dialogflow/docs/entities-session). +type GoogleCloudDialogflowV2beta1SessionEntityType struct { + // Entities: Required. The collection of entities associated with this + // session entity type. + Entities []*GoogleCloudDialogflowV2beta1EntityTypeEntity `json:"entities,omitempty"` + + // EntityOverrideMode: Required. Indicates whether the additional data + // should override or supplement the custom entity type definition. + // + // Possible values: + // "ENTITY_OVERRIDE_MODE_UNSPECIFIED" - Not specified. This value + // should be never used. + // "ENTITY_OVERRIDE_MODE_OVERRIDE" - The collection of session + // entities overrides the collection of entities in the corresponding + // custom entity type. + // "ENTITY_OVERRIDE_MODE_SUPPLEMENT" - The collection of session + // entities extends the collection of entities in the corresponding + // custom entity type. Note: Even in this override mode calls to + // `ListSessionEntityTypes`, `GetSessionEntityType`, + // `CreateSessionEntityType` and `UpdateSessionEntityType` only return + // the additional entities added in this session entity type. If you + // want to get the supplemented list, please call + // EntityTypes.GetEntityType on the custom entity type and merge. + EntityOverrideMode string `json:"entityOverrideMode,omitempty"` + + // Name: Required. The unique identifier of this session entity type. + // Supported formats: - `projects//agent/sessions//entityTypes/` - + // `projects//locations//agent/sessions//entityTypes/` - + // `projects//agent/environments//users//sessions//entityTypes/` - + // `projects//locations//agent/environments/ + // /users//sessions//entityTypes/` If `Location ID` is not specified we + // assume default 'us' location. If `Environment ID` is not specified, + // we assume default 'draft' environment. If `User ID` is not specified, + // we assume default '-' user. `` must be the display name of an + // existing entity type in the same agent that will be overridden or + // supplemented. + Name string `json:"name,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Entities") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Entities") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1SessionEntityType) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1SessionEntityType + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1WebhookRequest: The request message for a +// webhook call. +type GoogleCloudDialogflowV2beta1WebhookRequest struct { + // AlternativeQueryResults: Alternative query results from + // KnowledgeService. + AlternativeQueryResults []*GoogleCloudDialogflowV2beta1QueryResult `json:"alternativeQueryResults,omitempty"` + + // OriginalDetectIntentRequest: Optional. The contents of the original + // request that was passed to `[Streaming]DetectIntent` call. + OriginalDetectIntentRequest *GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest `json:"originalDetectIntentRequest,omitempty"` + + // QueryResult: The result of the conversational query or event + // processing. Contains the same value as + // `[Streaming]DetectIntentResponse.query_result`. + QueryResult *GoogleCloudDialogflowV2beta1QueryResult `json:"queryResult,omitempty"` + + // ResponseId: The unique identifier of the response. Contains the same + // value as `[Streaming]DetectIntentResponse.response_id`. + ResponseId string `json:"responseId,omitempty"` + + // Session: The unique identifier of detectIntent request session. Can + // be used to identify end-user inside webhook implementation. Supported + // formats: - `projects//agent/sessions/, - + // `projects//locations//agent/sessions/`, - + // `projects//agent/environments//users//sessions/`, - + // `projects//locations//agent/environments//users//sessions/`, + Session string `json:"session,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AlternativeQueryResults") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "AlternativeQueryResults") + // to include in API requests with the JSON null value. By default, + // fields with empty values are omitted from API requests. However, any + // field with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1WebhookRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1WebhookRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1WebhookResponse: The response message for +// a webhook call. This response is validated by the Dialogflow server. +// If validation fails, an error will be returned in the +// QueryResult.diagnostic_info field. Setting JSON fields to an empty +// value with the wrong type is a common error. To avoid this error: - +// Use "" for empty strings - Use `{}` or `null` for empty objects - +// Use `[]` or `null` for empty arrays For more information, see the +// [Protocol Buffers Language +// Guide](https://developers.google.com/protocol-buffers/docs/proto3#json +// ). +type GoogleCloudDialogflowV2beta1WebhookResponse struct { + // EndInteraction: Optional. Indicates that this intent ends an + // interaction. Some integrations (e.g., Actions on Google or Dialogflow + // phone gateway) use this information to close interaction with an end + // user. Default is false. + EndInteraction bool `json:"endInteraction,omitempty"` + + // FollowupEventInput: Optional. Invokes the supplied events. When this + // field is set, Dialogflow ignores the `fulfillment_text`, + // `fulfillment_messages`, and `payload` fields. + FollowupEventInput *GoogleCloudDialogflowV2beta1EventInput `json:"followupEventInput,omitempty"` + + // FulfillmentMessages: Optional. The rich response messages intended + // for the end-user. When provided, Dialogflow uses this field to + // populate QueryResult.fulfillment_messages sent to the integration or + // API caller. + FulfillmentMessages []*GoogleCloudDialogflowV2beta1IntentMessage `json:"fulfillmentMessages,omitempty"` + + // FulfillmentText: Optional. The text response message intended for the + // end-user. It is recommended to use + // `fulfillment_messages.text.text[0]` instead. When provided, + // Dialogflow uses this field to populate QueryResult.fulfillment_text + // sent to the integration or API caller. + FulfillmentText string `json:"fulfillmentText,omitempty"` + + // OutputContexts: Optional. The collection of output contexts that will + // overwrite currently active contexts for the session and reset their + // lifespans. When provided, Dialogflow uses this field to populate + // QueryResult.output_contexts sent to the integration or API caller. + OutputContexts []*GoogleCloudDialogflowV2beta1Context `json:"outputContexts,omitempty"` + + // Payload: Optional. This field can be used to pass custom data from + // your webhook to the integration or API caller. Arbitrary JSON objects + // are supported. When provided, Dialogflow uses this field to populate + // QueryResult.webhook_payload sent to the integration or API caller. + // This field is also used by the [Google Assistant + // integration](https://cloud.google.com/dialogflow/docs/integrations/aog + // ) for rich response messages. See the format definition at [Google + // Assistant Dialogflow webhook + // format](https://developers.google.com/assistant/actions/build/json/dia + // logflow-webhook-json) + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // SessionEntityTypes: Optional. Additional session entity types to + // replace or extend developer entity types with. The entity synonyms + // apply to all languages and persist for the session. Setting this data + // from a webhook overwrites the session entity types that have been set + // using `detectIntent`, `streamingDetectIntent` or SessionEntityType + // management methods. + SessionEntityTypes []*GoogleCloudDialogflowV2beta1SessionEntityType `json:"sessionEntityTypes,omitempty"` + + // Source: Optional. A custom field used to identify the webhook source. + // Arbitrary strings are supported. When provided, Dialogflow uses this + // field to populate QueryResult.webhook_source sent to the integration + // or API caller. + Source string `json:"source,omitempty"` + + // ForceSendFields is a list of field names (e.g. "EndInteraction") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "EndInteraction") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1WebhookResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1WebhookResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleLongrunningListOperationsResponse: The response message for +// Operations.ListOperations. +type GoogleLongrunningListOperationsResponse struct { + // NextPageToken: The standard List next-page token. + NextPageToken string `json:"nextPageToken,omitempty"` + + // Operations: A list of operations that matches the specified filter in + // the request. + Operations []*GoogleLongrunningOperation `json:"operations,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "NextPageToken") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "NextPageToken") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleLongrunningListOperationsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleLongrunningListOperationsResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleLongrunningOperation: This resource represents a long-running +// operation that is the result of a network API call. +type GoogleLongrunningOperation struct { + // Done: If the value is `false`, it means the operation is still in + // progress. If `true`, the operation is completed, and either `error` + // or `response` is available. + Done bool `json:"done,omitempty"` + + // Error: The error result of the operation in case of failure or + // cancellation. + Error *GoogleRpcStatus `json:"error,omitempty"` + + // Metadata: Service-specific metadata associated with the operation. It + // typically contains progress information and common metadata such as + // create time. Some services might not provide such metadata. Any + // method that returns a long-running operation should document the + // metadata type, if any. + Metadata googleapi.RawMessage `json:"metadata,omitempty"` + + // Name: The server-assigned name, which is only unique within the same + // service that originally returns it. If you use the default HTTP + // mapping, the `name` should be a resource name ending with + // `operations/{unique_id}`. + Name string `json:"name,omitempty"` + + // Response: The normal response of the operation in case of success. If + // the original method returns no data on success, such as `Delete`, the + // response is `google.protobuf.Empty`. If the original method is + // standard `Get`/`Create`/`Update`, the response should be the + // resource. For other methods, the response should have the type + // `XxxResponse`, where `Xxx` is the original method name. For example, + // if the original method name is `TakeSnapshot()`, the inferred + // response type is `TakeSnapshotResponse`. + Response googleapi.RawMessage `json:"response,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Done") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Done") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleLongrunningOperation) MarshalJSON() ([]byte, error) { + type NoMethod GoogleLongrunningOperation + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleProtobufEmpty: A generic empty message that you can re-use to +// avoid defining duplicated empty messages in your APIs. A typical +// example is to use it as the request or the response type of an API +// method. For instance: service Foo { rpc Bar(google.protobuf.Empty) +// returns (google.protobuf.Empty); } The JSON representation for +// `Empty` is empty JSON object `{}`. +type GoogleProtobufEmpty struct { + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` +} + +// GoogleRpcStatus: 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). +type GoogleRpcStatus struct { + // Code: The status code, which should be an enum value of + // google.rpc.Code. + Code int64 `json:"code,omitempty"` + + // Details: A list of messages that carry the error details. There is a + // common set of message types for APIs to use. + Details []googleapi.RawMessage `json:"details,omitempty"` + + // Message: A developer-facing error message, which should be in + // English. Any user-facing error message should be localized and sent + // in the google.rpc.Status.details field, or localized by the client. + Message string `json:"message,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Code") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Code") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleRpcStatus) MarshalJSON() ([]byte, error) { + type NoMethod GoogleRpcStatus + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleTypeLatLng: An object that represents a latitude/longitude +// pair. This is expressed as a pair of doubles to represent degrees +// latitude and degrees longitude. Unless specified otherwise, this must +// conform to the WGS84 standard. Values must be within normalized +// ranges. +type GoogleTypeLatLng struct { + // Latitude: The latitude in degrees. It must be in the range [-90.0, + // +90.0]. + Latitude float64 `json:"latitude,omitempty"` + + // Longitude: The longitude in degrees. It must be in the range [-180.0, + // +180.0]. + Longitude float64 `json:"longitude,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Latitude") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Latitude") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleTypeLatLng) MarshalJSON() ([]byte, error) { + type NoMethod GoogleTypeLatLng + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *GoogleTypeLatLng) UnmarshalJSON(data []byte) error { + type NoMethod GoogleTypeLatLng + var s1 struct { + Latitude gensupport.JSONFloat64 `json:"latitude"` + Longitude gensupport.JSONFloat64 `json:"longitude"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Latitude = float64(s1.Latitude) + s.Longitude = float64(s1.Longitude) + return nil +} + +// method id "dialogflow.projects.locations.agents.create": + +type ProjectsLocationsAgentsCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3agent *GoogleCloudDialogflowCxV3Agent + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Create: Creates an agent in the specified location. +func (r *ProjectsLocationsAgentsService) Create(parent string, googleclouddialogflowcxv3agent *GoogleCloudDialogflowCxV3Agent) *ProjectsLocationsAgentsCreateCall { + c := &ProjectsLocationsAgentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3agent = googleclouddialogflowcxv3agent + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsCreateCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsCreateCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsCreateCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsCreateCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3agent) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/agents") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3Agent or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3Agent.ServerResponse.Header or (if a +// response was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Agent, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3Agent{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Creates an agent in the specified location.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.create", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "parent": { + // "description": "Required. The location to create a agent for. Format: `projects//locations/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+parent}/agents", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3Agent" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3Agent" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.delete": + +type ProjectsLocationsAgentsDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Delete: Deletes the specified agent. +func (r *ProjectsLocationsAgentsService) Delete(name string) *ProjectsLocationsAgentsDeleteCall { + c := &ProjectsLocationsAgentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsDeleteCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsDeleteCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsDeleteCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsDeleteCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("DELETE", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleProtobufEmpty{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Deletes the specified agent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.delete", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The name of the agent to delete. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "response": { + // "$ref": "GoogleProtobufEmpty" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.export": + +type ProjectsLocationsAgentsExportCall struct { + s *Service + name string + googleclouddialogflowcxv3exportagentrequest *GoogleCloudDialogflowCxV3ExportAgentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Export: Exports the specified agent to a binary file. +func (r *ProjectsLocationsAgentsService) Export(name string, googleclouddialogflowcxv3exportagentrequest *GoogleCloudDialogflowCxV3ExportAgentRequest) *ProjectsLocationsAgentsExportCall { + c := &ProjectsLocationsAgentsExportCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.googleclouddialogflowcxv3exportagentrequest = googleclouddialogflowcxv3exportagentrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsExportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsExportCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsExportCall) Context(ctx context.Context) *ProjectsLocationsAgentsExportCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsExportCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsExportCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3exportagentrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}:export") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.export" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsExportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleLongrunningOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Exports the specified agent to a binary file.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}:export", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.export", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The name of the agent to export. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}:export", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3ExportAgentRequest" + // }, + // "response": { + // "$ref": "GoogleLongrunningOperation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.get": + +type ProjectsLocationsAgentsGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Retrieves the specified agent. +func (r *ProjectsLocationsAgentsService) Get(name string) *ProjectsLocationsAgentsGetCall { + c := &ProjectsLocationsAgentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsGetCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3Agent or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3Agent.ServerResponse.Header or (if a +// response was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Agent, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3Agent{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Retrieves the specified agent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.get", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The name of the agent. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3Agent" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.list": + +type ProjectsLocationsAgentsListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Returns the list of all agents in the specified location. +func (r *ProjectsLocationsAgentsService) List(parent string) *ProjectsLocationsAgentsListCall { + c := &ProjectsLocationsAgentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 100 and at most 1000. +func (c *ProjectsLocationsAgentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsListCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsListCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/agents") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3ListAgentsResponse or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3ListAgentsResponse.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListAgentsResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3ListAgentsResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Returns the list of all agents in the specified location.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.list", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The location to list all agents for. Format: `projects//locations/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+parent}/agents", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3ListAgentsResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListAgentsResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + +// method id "dialogflow.projects.locations.agents.patch": + +type ProjectsLocationsAgentsPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3agent *GoogleCloudDialogflowCxV3Agent + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Patch: Updates the specified agent. +func (r *ProjectsLocationsAgentsService) Patch(nameid string, googleclouddialogflowcxv3agent *GoogleCloudDialogflowCxV3Agent) *ProjectsLocationsAgentsPatchCall { + c := &ProjectsLocationsAgentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.nameid = nameid + c.googleclouddialogflowcxv3agent = googleclouddialogflowcxv3agent + return c +} + +// UpdateMask sets the optional parameter "updateMask": The mask to +// control which fields get updated. If the mask is not present, all +// fields will be updated. +func (c *ProjectsLocationsAgentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsPatchCall { + c.urlParams_.Set("updateMask", updateMask) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsPatchCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsPatchCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsPatchCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsPatchCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3agent) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("PATCH", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.nameid, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3Agent or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3Agent.ServerResponse.Header or (if a +// response was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Agent, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3Agent{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Updates the specified agent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.patch", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // }, + // "updateMask": { + // "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3Agent" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3Agent" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.restore": + +type ProjectsLocationsAgentsRestoreCall struct { + s *Service + name string + googleclouddialogflowcxv3restoreagentrequest *GoogleCloudDialogflowCxV3RestoreAgentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Restore: Restores the specified agent from a binary file. Replaces +// the current agent with a new one. Note that all existing resources in +// agent (e.g. intents, entity types, flows) will be removed. +func (r *ProjectsLocationsAgentsService) Restore(name string, googleclouddialogflowcxv3restoreagentrequest *GoogleCloudDialogflowCxV3RestoreAgentRequest) *ProjectsLocationsAgentsRestoreCall { + c := &ProjectsLocationsAgentsRestoreCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.googleclouddialogflowcxv3restoreagentrequest = googleclouddialogflowcxv3restoreagentrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsRestoreCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsRestoreCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsRestoreCall) Context(ctx context.Context) *ProjectsLocationsAgentsRestoreCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsRestoreCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsRestoreCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3restoreagentrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}:restore") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.restore" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsRestoreCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleLongrunningOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Restores the specified agent from a binary file. Replaces the current agent with a new one. Note that all existing resources in agent (e.g. intents, entity types, flows) will be removed.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}:restore", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.restore", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The name of the agent to restore into. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}:restore", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3RestoreAgentRequest" + // }, + // "response": { + // "$ref": "GoogleLongrunningOperation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.entityTypes.create": + +type ProjectsLocationsAgentsEntityTypesCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3entitytype *GoogleCloudDialogflowCxV3EntityType + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Create: Creates an entity type in the specified agent. +func (r *ProjectsLocationsAgentsEntityTypesService) Create(parent string, googleclouddialogflowcxv3entitytype *GoogleCloudDialogflowCxV3EntityType) *ProjectsLocationsAgentsEntityTypesCreateCall { + c := &ProjectsLocationsAgentsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3entitytype = googleclouddialogflowcxv3entitytype + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// of the following fields in `entity_type`: * +// `EntityType.entities.value` * `EntityType.entities.synonyms` * +// `EntityType.excluded_phrases.value` If not specified, the agent's +// default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsEntityTypesCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesCreateCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesCreateCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesCreateCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3entitytype) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/entityTypes") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.entityTypes.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3EntityType or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3EntityType.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3EntityType, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3EntityType{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Creates an entity type in the specified agent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.entityTypes.create", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "languageCode": { + // "description": "The language of the following fields in `entity_type`: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The agent to create a entity type for. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+parent}/entityTypes", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3EntityType" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3EntityType" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.entityTypes.delete": + +type ProjectsLocationsAgentsEntityTypesDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Delete: Deletes the specified entity type. +func (r *ProjectsLocationsAgentsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsEntityTypesDeleteCall { + c := &ProjectsLocationsAgentsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Force sets the optional parameter "force": This field has no effect +// for entity type not being used. For entity types that are used by +// intents or pages: * If `force` is set to false, an error will be +// returned with message indicating the referencing resources. * If +// `force` is set to true, Dialogflow will remove the entity type, as +// well as any references to the entity type (i.e. Page parameter of the +// entity type will be changed to '@sys.any' and intent parameter of the +// entity type will be removed). +func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Force(force bool) *ProjectsLocationsAgentsEntityTypesDeleteCall { + c.urlParams_.Set("force", fmt.Sprint(force)) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesDeleteCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesDeleteCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("DELETE", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.entityTypes.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleProtobufEmpty{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Deletes the specified entity type.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes/{entityTypesId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.entityTypes.delete", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "force": { + // "description": "This field has no effect for entity type not being used. For entity types that are used by intents or pages: * If `force` is set to false, an error will be returned with message indicating the referencing resources. * If `force` is set to true, Dialogflow will remove the entity type, as well as any references to the entity type (i.e. Page parameter of the entity type will be changed to '@sys.any' and intent parameter of the entity type will be removed).", + // "location": "query", + // "type": "boolean" + // }, + // "name": { + // "description": "Required. The name of the entity type to delete. Format: `projects//locations//agents//entityTypes/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/entityTypes/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "response": { + // "$ref": "GoogleProtobufEmpty" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.entityTypes.get": + +type ProjectsLocationsAgentsEntityTypesGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Retrieves the specified entity type. +func (r *ProjectsLocationsAgentsEntityTypesService) Get(name string) *ProjectsLocationsAgentsEntityTypesGetCall { + c := &ProjectsLocationsAgentsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// to retrieve the entity type for. The following fields are language +// dependent: * `EntityType.entities.value` * +// `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` +// If not specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsEntityTypesGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesGetCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEntityTypesGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesGetCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsEntityTypesGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.entityTypes.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3EntityType or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3EntityType.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3EntityType, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3EntityType{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Retrieves the specified entity type.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes/{entityTypesId}", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.entityTypes.get", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "languageCode": { + // "description": "The language to retrieve the entity type for. The following fields are language dependent: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "name": { + // "description": "Required. The name of the entity type. Format: `projects//locations//agents//entityTypes/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/entityTypes/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3EntityType" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.entityTypes.list": + +type ProjectsLocationsAgentsEntityTypesListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Returns the list of all entity types in the specified agent. +func (r *ProjectsLocationsAgentsEntityTypesService) List(parent string) *ProjectsLocationsAgentsEntityTypesListCall { + c := &ProjectsLocationsAgentsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// to list entity types for. The following fields are language +// dependent: * `EntityType.entities.value` * +// `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` +// If not specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsEntityTypesListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesListCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 100 and at most 1000. +func (c *ProjectsLocationsAgentsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEntityTypesListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEntityTypesListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesListCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEntityTypesListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesListCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsEntityTypesListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/entityTypes") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.entityTypes.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3ListEntityTypesResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3ListEntityTypesResponse.ServerResponse.Heade +// r or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListEntityTypesResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3ListEntityTypesResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Returns the list of all entity types in the specified agent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.entityTypes.list", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "languageCode": { + // "description": "The language to list entity types for. The following fields are language dependent: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The agent to list all entity types for. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+parent}/entityTypes", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3ListEntityTypesResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListEntityTypesResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + +// method id "dialogflow.projects.locations.agents.entityTypes.patch": + +type ProjectsLocationsAgentsEntityTypesPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3entitytype *GoogleCloudDialogflowCxV3EntityType + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Patch: Updates the specified entity type. +func (r *ProjectsLocationsAgentsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3entitytype *GoogleCloudDialogflowCxV3EntityType) *ProjectsLocationsAgentsEntityTypesPatchCall { + c := &ProjectsLocationsAgentsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.nameid = nameid + c.googleclouddialogflowcxv3entitytype = googleclouddialogflowcxv3entitytype + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// of the following fields in `entity_type`: * +// `EntityType.entities.value` * `EntityType.entities.synonyms` * +// `EntityType.excluded_phrases.value` If not specified, the agent's +// default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsEntityTypesPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesPatchCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// UpdateMask sets the optional parameter "updateMask": The mask to +// control which fields get updated. +func (c *ProjectsLocationsAgentsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEntityTypesPatchCall { + c.urlParams_.Set("updateMask", updateMask) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesPatchCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesPatchCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3entitytype) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("PATCH", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.nameid, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.entityTypes.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3EntityType or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3EntityType.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3EntityType, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3EntityType{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Updates the specified entity type.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes/{entityTypesId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.entityTypes.patch", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "languageCode": { + // "description": "The language of the following fields in `entity_type`: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "name": { + // "description": "The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType. Format: `projects//locations//agents//entityTypes/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/entityTypes/[^/]+$", + // "required": true, + // "type": "string" + // }, + // "updateMask": { + // "description": "The mask to control which fields get updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3EntityType" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3EntityType" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.environments.create": + +type ProjectsLocationsAgentsEnvironmentsCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3environment *GoogleCloudDialogflowCxV3Environment + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Create: Creates an Environment in the specified Agent. +func (r *ProjectsLocationsAgentsEnvironmentsService) Create(parent string, googleclouddialogflowcxv3environment *GoogleCloudDialogflowCxV3Environment) *ProjectsLocationsAgentsEnvironmentsCreateCall { + c := &ProjectsLocationsAgentsEnvironmentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3environment = googleclouddialogflowcxv3environment + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsCreateCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsCreateCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3environment) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/environments") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.environments.create" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleLongrunningOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Creates an Environment in the specified Agent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.environments.create", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "parent": { + // "description": "Required. The Agent to create an Environment for. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+parent}/environments", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3Environment" + // }, + // "response": { + // "$ref": "GoogleLongrunningOperation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.environments.delete": + +type ProjectsLocationsAgentsEnvironmentsDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Delete: Deletes the specified Environment. +func (r *ProjectsLocationsAgentsEnvironmentsService) Delete(name string) *ProjectsLocationsAgentsEnvironmentsDeleteCall { + c := &ProjectsLocationsAgentsEnvironmentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsDeleteCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsDeleteCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("DELETE", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.environments.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleProtobufEmpty{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Deletes the specified Environment.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.environments.delete", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The name of the Environment to delete. Format: `projects//locations//agents//environments/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "response": { + // "$ref": "GoogleProtobufEmpty" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.environments.get": + +type ProjectsLocationsAgentsEnvironmentsGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Retrieves the specified Environment. +func (r *ProjectsLocationsAgentsEnvironmentsService) Get(name string) *ProjectsLocationsAgentsEnvironmentsGetCall { + c := &ProjectsLocationsAgentsEnvironmentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsEnvironmentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsGetCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsEnvironmentsGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.environments.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3Environment or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3Environment.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Environment, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3Environment{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Retrieves the specified Environment.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.environments.get", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The name of the Environment. Format: `projects//locations//agents//environments/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3Environment" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.environments.list": + +type ProjectsLocationsAgentsEnvironmentsListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Returns the list of all environments in the specified Agent. +func (r *ProjectsLocationsAgentsEnvironmentsService) List(parent string) *ProjectsLocationsAgentsEnvironmentsListCall { + c := &ProjectsLocationsAgentsEnvironmentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 20 and at most 100. +func (c *ProjectsLocationsAgentsEnvironmentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsEnvironmentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsEnvironmentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsListCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsEnvironmentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsEnvironmentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsListCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsEnvironmentsListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsEnvironmentsListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/environments") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.environments.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3ListEnvironmentsResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3ListEnvironmentsResponse.ServerResponse.Head +// er or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsEnvironmentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListEnvironmentsResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3ListEnvironmentsResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Returns the list of all environments in the specified Agent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.environments.list", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 20 and at most 100.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The Agent to list all environments for. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+parent}/environments", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3ListEnvironmentsResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsEnvironmentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListEnvironmentsResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + +// method id "dialogflow.projects.locations.agents.environments.lookupEnvironmentHistory": + +type ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// LookupEnvironmentHistory: Looks up the history of the specified +// Environment. +func (r *ProjectsLocationsAgentsEnvironmentsService) LookupEnvironmentHistory(name string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { + c := &ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 100 and at most 1000. +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}:lookupEnvironmentHistory") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.environments.lookupEnvironmentHistory" call. +// Exactly one of +// *GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse.ServerRespo +// nse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Looks up the history of the specified Environment.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}:lookupEnvironmentHistory", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.environments.lookupEnvironmentHistory", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. Resource name of the environment to look up the history for. Format: `projects//locations//agents//environments/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", + // "required": true, + // "type": "string" + // }, + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", + // "location": "query", + // "type": "string" + // } + // }, + // "path": "v3/{+name}:lookupEnvironmentHistory", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + +// method id "dialogflow.projects.locations.agents.environments.patch": + +type ProjectsLocationsAgentsEnvironmentsPatchCall struct { + s *Service + name string + googleclouddialogflowcxv3environment *GoogleCloudDialogflowCxV3Environment + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Patch: Updates the specified Environment. +func (r *ProjectsLocationsAgentsEnvironmentsService) Patch(name string, googleclouddialogflowcxv3environment *GoogleCloudDialogflowCxV3Environment) *ProjectsLocationsAgentsEnvironmentsPatchCall { + c := &ProjectsLocationsAgentsEnvironmentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.googleclouddialogflowcxv3environment = googleclouddialogflowcxv3environment + return c +} + +// UpdateMask sets the optional parameter "updateMask": Required. The +// mask to control which fields get updated. +func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEnvironmentsPatchCall { + c.urlParams_.Set("updateMask", updateMask) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsPatchCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsPatchCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3environment) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("PATCH", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.environments.patch" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleLongrunningOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Updates the specified Environment.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.environments.patch", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "The name of the environment. Format: `projects//locations//agents//environments/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", + // "required": true, + // "type": "string" + // }, + // "updateMask": { + // "description": "Required. The mask to control which fields get updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3Environment" + // }, + // "response": { + // "$ref": "GoogleLongrunningOperation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.environments.sessions.detectIntent": + +type ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall struct { + s *Service + sessionid string + googleclouddialogflowcxv3detectintentrequest *GoogleCloudDialogflowCxV3DetectIntentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// DetectIntent: Processes a natural language query and returns +// structured, actionable data as a result. This method is not +// idempotent, because it may cause session entity types to be updated, +// which in turn might affect results of future queries. Note: Always +// use agent versions for production traffic. See [Versions and +// environments](https://cloud.google.com/dialogflow/cx/docs/concept/vers +// ion). +func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) DetectIntent(sessionid string, googleclouddialogflowcxv3detectintentrequest *GoogleCloudDialogflowCxV3DetectIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.sessionid = sessionid + c.googleclouddialogflowcxv3detectintentrequest = googleclouddialogflowcxv3detectintentrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3detectintentrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+session}:detectIntent") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "session": c.sessionid, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.detectIntent" call. +// Exactly one of *GoogleCloudDialogflowCxV3DetectIntentResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3DetectIntentResponse.ServerResponse.Header +// or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3DetectIntentResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3DetectIntentResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause session entity types to be updated, which in turn might affect results of future queries. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:detectIntent", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.environments.sessions.detectIntent", + // "parameterOrder": [ + // "session" + // ], + // "parameters": { + // "session": { + // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+session}:detectIntent", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3DetectIntentRequest" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3DetectIntentResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.environments.sessions.fulfillIntent": + +type ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall struct { + s *Service + sessionid string + googleclouddialogflowcxv3fulfillintentrequest *GoogleCloudDialogflowCxV3FulfillIntentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// FulfillIntent: Fulfills a matched intent returned by MatchIntent. +// Must be called after MatchIntent, with input from +// MatchIntentResponse. Otherwise, the behavior is undefined. +func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) FulfillIntent(sessionid string, googleclouddialogflowcxv3fulfillintentrequest *GoogleCloudDialogflowCxV3FulfillIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.sessionid = sessionid + c.googleclouddialogflowcxv3fulfillintentrequest = googleclouddialogflowcxv3fulfillintentrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3fulfillintentrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+session}:fulfillIntent") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "session": c.sessionid, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.fulfillIntent" call. +// Exactly one of *GoogleCloudDialogflowCxV3FulfillIntentResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3FulfillIntentResponse.ServerResponse.Header +// or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3FulfillIntentResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3FulfillIntentResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Fulfills a matched intent returned by MatchIntent. Must be called after MatchIntent, with input from MatchIntentResponse. Otherwise, the behavior is undefined.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:fulfillIntent", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.environments.sessions.fulfillIntent", + // "parameterOrder": [ + // "session" + // ], + // "parameters": { + // "session": { + // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+session}:fulfillIntent", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3FulfillIntentRequest" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3FulfillIntentResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.environments.sessions.matchIntent": + +type ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall struct { + s *Service + sessionid string + googleclouddialogflowcxv3matchintentrequest *GoogleCloudDialogflowCxV3MatchIntentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// MatchIntent: Returns preliminary intent match results, doesn't change +// the session status. +func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) MatchIntent(sessionid string, googleclouddialogflowcxv3matchintentrequest *GoogleCloudDialogflowCxV3MatchIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.sessionid = sessionid + c.googleclouddialogflowcxv3matchintentrequest = googleclouddialogflowcxv3matchintentrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3matchintentrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+session}:matchIntent") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "session": c.sessionid, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.matchIntent" call. +// Exactly one of *GoogleCloudDialogflowCxV3MatchIntentResponse or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3MatchIntentResponse.ServerResponse.Header +// or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3MatchIntentResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3MatchIntentResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Returns preliminary intent match results, doesn't change the session status.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:matchIntent", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.environments.sessions.matchIntent", + // "parameterOrder": [ + // "session" + // ], + // "parameters": { + // "session": { + // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+session}:matchIntent", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3MatchIntentRequest" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3MatchIntentResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.create": + +type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Create: Creates a session entity type. If the specified session +// entity type already exists, overrides the session entity type. +func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Create(parent string, googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3sessionentitytype = googleclouddialogflowcxv3sessionentitytype + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3sessionentitytype) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/entityTypes") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3SessionEntityType or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3SessionEntityType.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3SessionEntityType, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3SessionEntityType{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Creates a session entity type. If the specified session entity type already exists, overrides the session entity type.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.create", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "parent": { + // "description": "Required. The session to create a session entity type for. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+parent}/entityTypes", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.delete": + +type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Delete: Deletes the specified session entity type. +func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("DELETE", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleProtobufEmpty{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Deletes the specified session entity type.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.delete", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The name of the session entity type to delete. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "response": { + // "$ref": "GoogleProtobufEmpty" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.get": + +type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Retrieves the specified session entity type. +func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3SessionEntityType or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3SessionEntityType.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3SessionEntityType, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3SessionEntityType{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Retrieves the specified session entity type.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.get", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The name of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.list": + +type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Returns the list of all session entity types in the specified +// session. +func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 100 and at most 1000. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/entityTypes") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.list" call. +// Exactly one of +// *GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse.ServerRespons +// e.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Returns the list of all session entity types in the specified session.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.list", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The session to list all session entity types from. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+parent}/entityTypes", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + +// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.patch": + +type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Patch: Updates the specified session entity type. +func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.nameid = nameid + c.googleclouddialogflowcxv3sessionentitytype = googleclouddialogflowcxv3sessionentitytype + return c +} + +// UpdateMask sets the optional parameter "updateMask": The mask to +// control which fields get updated. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall { + c.urlParams_.Set("updateMask", updateMask) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3sessionentitytype) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("PATCH", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.nameid, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3SessionEntityType or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3SessionEntityType.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3SessionEntityType, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3SessionEntityType{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Updates the specified session entity type.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.patch", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The unique identifier of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", + // "required": true, + // "type": "string" + // }, + // "updateMask": { + // "description": "The mask to control which fields get updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.flows.create": + +type ProjectsLocationsAgentsFlowsCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3flow *GoogleCloudDialogflowCxV3Flow + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Create: Creates a flow in the specified agent. +func (r *ProjectsLocationsAgentsFlowsService) Create(parent string, googleclouddialogflowcxv3flow *GoogleCloudDialogflowCxV3Flow) *ProjectsLocationsAgentsFlowsCreateCall { + c := &ProjectsLocationsAgentsFlowsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3flow = googleclouddialogflowcxv3flow + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// of the following fields in `flow`: * +// `Flow.event_handlers.trigger_fulfillment.messages` * +// `Flow.transition_routes.trigger_fulfillment.messages` If not +// specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsCreateCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsFlowsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsCreateCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsFlowsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsCreateCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsFlowsCreateCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsFlowsCreateCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3flow) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/flows") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.flows.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3Flow or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3Flow.ServerResponse.Header or (if a +// response was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Flow, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3Flow{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Creates a flow in the specified agent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.flows.create", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "languageCode": { + // "description": "The language of the following fields in `flow`: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The agent to create a flow for. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+parent}/flows", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3Flow" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3Flow" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.flows.delete": + +type ProjectsLocationsAgentsFlowsDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Delete: Deletes a specified flow. +func (r *ProjectsLocationsAgentsFlowsService) Delete(name string) *ProjectsLocationsAgentsFlowsDeleteCall { + c := &ProjectsLocationsAgentsFlowsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Force sets the optional parameter "force": This field has no effect +// for flows with no incoming transitions. For flows with incoming +// transitions: * If `force` is set to false, an error will be returned +// with message indicating the incoming transitions. * If `force` is set +// to true, Dialogflow will remove the flow, as well as any transitions +// to the flow (i.e. Target flow in event handlers or Target flow in +// transition routes that point to this flow will be cleared). +func (c *ProjectsLocationsAgentsFlowsDeleteCall) Force(force bool) *ProjectsLocationsAgentsFlowsDeleteCall { + c.urlParams_.Set("force", fmt.Sprint(force)) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsFlowsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsDeleteCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsFlowsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsDeleteCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsFlowsDeleteCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsFlowsDeleteCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("DELETE", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.flows.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleProtobufEmpty{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Deletes a specified flow.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.flows.delete", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "force": { + // "description": "This field has no effect for flows with no incoming transitions. For flows with incoming transitions: * If `force` is set to false, an error will be returned with message indicating the incoming transitions. * If `force` is set to true, Dialogflow will remove the flow, as well as any transitions to the flow (i.e. Target flow in event handlers or Target flow in transition routes that point to this flow will be cleared).", + // "location": "query", + // "type": "boolean" + // }, + // "name": { + // "description": "Required. The name of the flow to delete. Format: `projects//locations//agents//flows/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "response": { + // "$ref": "GoogleProtobufEmpty" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.flows.get": + +type ProjectsLocationsAgentsFlowsGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Retrieves the specified flow. +func (r *ProjectsLocationsAgentsFlowsService) Get(name string) *ProjectsLocationsAgentsFlowsGetCall { + c := &ProjectsLocationsAgentsFlowsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// to retrieve the flow for. The following fields are language +// dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * +// `Flow.transition_routes.trigger_fulfillment.messages` If not +// specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsGetCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsFlowsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsFlowsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsFlowsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsGetCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsFlowsGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsFlowsGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.flows.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3Flow or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3Flow.ServerResponse.Header or (if a +// response was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Flow, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3Flow{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Retrieves the specified flow.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.flows.get", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "languageCode": { + // "description": "The language to retrieve the flow for. The following fields are language dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "name": { + // "description": "Required. The name of the flow to get. Format: `projects//locations//agents//flows/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3Flow" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.flows.list": + +type ProjectsLocationsAgentsFlowsListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Returns the list of all flows in the specified agent. +func (r *ProjectsLocationsAgentsFlowsService) List(parent string) *ProjectsLocationsAgentsFlowsListCall { + c := &ProjectsLocationsAgentsFlowsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// to list flows for. The following fields are language dependent: * +// `Flow.event_handlers.trigger_fulfillment.messages` * +// `Flow.transition_routes.trigger_fulfillment.messages` If not +// specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsListCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 100 and at most 1000. +func (c *ProjectsLocationsAgentsFlowsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsFlowsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsFlowsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsListCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsFlowsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsFlowsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsListCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsFlowsListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsFlowsListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/flows") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.flows.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3ListFlowsResponse or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3ListFlowsResponse.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsFlowsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListFlowsResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3ListFlowsResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Returns the list of all flows in the specified agent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.flows.list", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "languageCode": { + // "description": "The language to list flows for. The following fields are language dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The agent containing the flows. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+parent}/flows", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3ListFlowsResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsFlowsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListFlowsResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + +// method id "dialogflow.projects.locations.agents.flows.patch": + +type ProjectsLocationsAgentsFlowsPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3flow *GoogleCloudDialogflowCxV3Flow + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Patch: Updates the specified flow. +func (r *ProjectsLocationsAgentsFlowsService) Patch(nameid string, googleclouddialogflowcxv3flow *GoogleCloudDialogflowCxV3Flow) *ProjectsLocationsAgentsFlowsPatchCall { + c := &ProjectsLocationsAgentsFlowsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.nameid = nameid + c.googleclouddialogflowcxv3flow = googleclouddialogflowcxv3flow + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// of the following fields in `flow`: * +// `Flow.event_handlers.trigger_fulfillment.messages` * +// `Flow.transition_routes.trigger_fulfillment.messages` If not +// specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPatchCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// UpdateMask sets the optional parameter "updateMask": Required. The +// mask to control which fields get updated. If `update_mask` is not +// specified, an error will be returned. +func (c *ProjectsLocationsAgentsFlowsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsPatchCall { + c.urlParams_.Set("updateMask", updateMask) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsFlowsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPatchCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsFlowsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPatchCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsFlowsPatchCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsFlowsPatchCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3flow) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("PATCH", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.nameid, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.flows.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3Flow or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3Flow.ServerResponse.Header or (if a +// response was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Flow, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3Flow{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Updates the specified flow.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.flows.patch", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "languageCode": { + // "description": "The language of the following fields in `flow`: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "name": { + // "description": "The unique identifier of the flow. Format: `projects//locations//agents//flows/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + // "required": true, + // "type": "string" + // }, + // "updateMask": { + // "description": "Required. The mask to control which fields get updated. If `update_mask` is not specified, an error will be returned.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3Flow" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3Flow" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.flows.train": + +type ProjectsLocationsAgentsFlowsTrainCall struct { + s *Service + name string + googleclouddialogflowcxv3trainflowrequest *GoogleCloudDialogflowCxV3TrainFlowRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Train: Trains the specified flow. Note that only the flow in 'draft' +// environment is trained. +func (r *ProjectsLocationsAgentsFlowsService) Train(name string, googleclouddialogflowcxv3trainflowrequest *GoogleCloudDialogflowCxV3TrainFlowRequest) *ProjectsLocationsAgentsFlowsTrainCall { + c := &ProjectsLocationsAgentsFlowsTrainCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.googleclouddialogflowcxv3trainflowrequest = googleclouddialogflowcxv3trainflowrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsFlowsTrainCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTrainCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsFlowsTrainCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTrainCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsFlowsTrainCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsFlowsTrainCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3trainflowrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}:train") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.flows.train" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsTrainCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleLongrunningOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Trains the specified flow. Note that only the flow in 'draft' environment is trained.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}:train", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.flows.train", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The flow to train. Format: `projects//locations//agents//flows/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}:train", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3TrainFlowRequest" + // }, + // "response": { + // "$ref": "GoogleLongrunningOperation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.flows.pages.create": + +type ProjectsLocationsAgentsFlowsPagesCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3page *GoogleCloudDialogflowCxV3Page + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Create: Creates a page in the specified flow. +func (r *ProjectsLocationsAgentsFlowsPagesService) Create(parent string, googleclouddialogflowcxv3page *GoogleCloudDialogflowCxV3Page) *ProjectsLocationsAgentsFlowsPagesCreateCall { + c := &ProjectsLocationsAgentsFlowsPagesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3page = googleclouddialogflowcxv3page + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// of the following fields in `page`: * +// `Page.entry_fulfillment.messages` * +// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message +// s` * +// `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` +// * `Page.transition_routes.trigger_fulfillment.messages` * +// `Page.transition_route_groups.transition_routes.trigger_fulfillment.me +// ssages` If not specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesCreateCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesCreateCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesCreateCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3page) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/pages") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.flows.pages.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3Page or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3Page.ServerResponse.Header or (if a +// response was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Page, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3Page{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Creates a page in the specified flow.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.flows.pages.create", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "languageCode": { + // "description": "The language of the following fields in `page`: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The flow to create a page for. Format: `projects//locations//agents//flows/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+parent}/pages", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3Page" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3Page" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.flows.pages.delete": + +type ProjectsLocationsAgentsFlowsPagesDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Delete: Deletes the specified page. +func (r *ProjectsLocationsAgentsFlowsPagesService) Delete(name string) *ProjectsLocationsAgentsFlowsPagesDeleteCall { + c := &ProjectsLocationsAgentsFlowsPagesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Force sets the optional parameter "force": This field has no effect +// for pages with no incoming transitions. For pages with incoming +// transitions: * If `force` is set to false, an error will be returned +// with message indicating the incoming transitions. * If `force` is set +// to true, Dialogflow will remove the page, as well as any transitions +// to the page (i.e. Target page in event handlers or Target page in +// transition routes that point to this page will be cleared). +func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Force(force bool) *ProjectsLocationsAgentsFlowsPagesDeleteCall { + c.urlParams_.Set("force", fmt.Sprint(force)) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesDeleteCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesDeleteCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("DELETE", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.flows.pages.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleProtobufEmpty{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Deletes the specified page.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages/{pagesId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.flows.pages.delete", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "force": { + // "description": "This field has no effect for pages with no incoming transitions. For pages with incoming transitions: * If `force` is set to false, an error will be returned with message indicating the incoming transitions. * If `force` is set to true, Dialogflow will remove the page, as well as any transitions to the page (i.e. Target page in event handlers or Target page in transition routes that point to this page will be cleared).", + // "location": "query", + // "type": "boolean" + // }, + // "name": { + // "description": "Required. The name of the page to delete. Format: `projects//locations//agents//Flows//pages/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/pages/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "response": { + // "$ref": "GoogleProtobufEmpty" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.flows.pages.get": + +type ProjectsLocationsAgentsFlowsPagesGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Retrieves the specified page. +func (r *ProjectsLocationsAgentsFlowsPagesService) Get(name string) *ProjectsLocationsAgentsFlowsPagesGetCall { + c := &ProjectsLocationsAgentsFlowsPagesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// to retrieve the page for. The following fields are language +// dependent: * `Page.entry_fulfillment.messages` * +// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message +// s` * +// `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` +// * `Page.transition_routes.trigger_fulfillment.messages` * +// `Page.transition_route_groups.transition_routes.trigger_fulfillment.me +// ssages` If not specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsPagesGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesGetCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsFlowsPagesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsPagesGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesGetCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsFlowsPagesGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.flows.pages.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3Page or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3Page.ServerResponse.Header or (if a +// response was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Page, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3Page{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Retrieves the specified page.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages/{pagesId}", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.flows.pages.get", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "languageCode": { + // "description": "The language to retrieve the page for. The following fields are language dependent: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "name": { + // "description": "Required. The name of the page. Format: `projects//locations//agents//flows//pages/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/pages/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3Page" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.flows.pages.list": + +type ProjectsLocationsAgentsFlowsPagesListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Returns the list of all pages in the specified flow. +func (r *ProjectsLocationsAgentsFlowsPagesService) List(parent string) *ProjectsLocationsAgentsFlowsPagesListCall { + c := &ProjectsLocationsAgentsFlowsPagesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// to list pages for. The following fields are language dependent: * +// `Page.entry_fulfillment.messages` * +// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message +// s` * +// `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` +// * `Page.transition_routes.trigger_fulfillment.messages` * +// `Page.transition_route_groups.transition_routes.trigger_fulfillment.me +// ssages` If not specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsPagesListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesListCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 100 and at most 1000. +func (c *ProjectsLocationsAgentsFlowsPagesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsPagesListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsFlowsPagesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsPagesListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsFlowsPagesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesListCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsFlowsPagesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsPagesListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsFlowsPagesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesListCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsFlowsPagesListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsFlowsPagesListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/pages") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.flows.pages.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3ListPagesResponse or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3ListPagesResponse.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsFlowsPagesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListPagesResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3ListPagesResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Returns the list of all pages in the specified flow.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.flows.pages.list", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "languageCode": { + // "description": "The language to list pages for. The following fields are language dependent: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The flow to list all pages for. Format: `projects//locations//agents//flows/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+parent}/pages", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3ListPagesResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsFlowsPagesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListPagesResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + +// method id "dialogflow.projects.locations.agents.flows.pages.patch": + +type ProjectsLocationsAgentsFlowsPagesPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3page *GoogleCloudDialogflowCxV3Page + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Patch: Updates the specified page. +func (r *ProjectsLocationsAgentsFlowsPagesService) Patch(nameid string, googleclouddialogflowcxv3page *GoogleCloudDialogflowCxV3Page) *ProjectsLocationsAgentsFlowsPagesPatchCall { + c := &ProjectsLocationsAgentsFlowsPagesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.nameid = nameid + c.googleclouddialogflowcxv3page = googleclouddialogflowcxv3page + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// of the following fields in `page`: * +// `Page.entry_fulfillment.messages` * +// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message +// s` * +// `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` +// * `Page.transition_routes.trigger_fulfillment.messages` * +// `Page.transition_route_groups.transition_routes.trigger_fulfillment.me +// ssages` If not specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesPatchCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// UpdateMask sets the optional parameter "updateMask": The mask to +// control which fields get updated. If the mask is not present, all +// fields will be updated. +func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsPagesPatchCall { + c.urlParams_.Set("updateMask", updateMask) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesPatchCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesPatchCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3page) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("PATCH", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.nameid, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.flows.pages.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3Page or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3Page.ServerResponse.Header or (if a +// response was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Page, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3Page{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Updates the specified page.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages/{pagesId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.flows.pages.patch", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "languageCode": { + // "description": "The language of the following fields in `page`: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "name": { + // "description": "The unique identifier of the page. Required for the Pages.UpdatePage method. Pages.CreatePage populates the name automatically. Format: `projects//locations//agents//flows//pages/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/pages/[^/]+$", + // "required": true, + // "type": "string" + // }, + // "updateMask": { + // "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3Page" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3Page" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.create": + +type ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3transitionroutegroup *GoogleCloudDialogflowCxV3TransitionRouteGroup + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Create: Creates an TransitionRouteGroup in the specified flow. +func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Create(parent string, googleclouddialogflowcxv3transitionroutegroup *GoogleCloudDialogflowCxV3TransitionRouteGroup) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall { + c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3transitionroutegroup = googleclouddialogflowcxv3transitionroutegroup + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// to list transition route groups for. The field `messages` in +// TransitionRoute is language dependent. If not specified, the agent's +// default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3transitionroutegroup) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/transitionRouteGroups") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3TransitionRouteGroup or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3TransitionRouteGroup.ServerResponse.Header +// or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3TransitionRouteGroup, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3TransitionRouteGroup{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Creates an TransitionRouteGroup in the specified flow.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.create", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "languageCode": { + // "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The flow to create an TransitionRouteGroup for. Format: `projects//locations//agents//flows/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+parent}/transitionRouteGroups", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.delete": + +type ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Delete: Deletes the specified TransitionRouteGroup. +func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Delete(name string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall { + c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Force sets the optional parameter "force": This field has no effect +// for transition route group that no page is using. If the transition +// route group is referenced by any page: * If `force` is set to false, +// an error will be returned with message indicating pages that +// reference the transition route group. * If `force` is set to true, +// Dialogflow will remove the transition route group, as well as any +// reference to it. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Force(force bool) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall { + c.urlParams_.Set("force", fmt.Sprint(force)) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("DELETE", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleProtobufEmpty{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Deletes the specified TransitionRouteGroup.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups/{transitionRouteGroupsId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.delete", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "force": { + // "description": "This field has no effect for transition route group that no page is using. If the transition route group is referenced by any page: * If `force` is set to false, an error will be returned with message indicating pages that reference the transition route group. * If `force` is set to true, Dialogflow will remove the transition route group, as well as any reference to it.", + // "location": "query", + // "type": "boolean" + // }, + // "name": { + // "description": "Required. The name of the TransitionRouteGroup to delete. Format: `projects//locations//agents//flows//transitionRouteGroups/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "response": { + // "$ref": "GoogleProtobufEmpty" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.get": + +type ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Retrieves the specified TransitionRouteGroup. +func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Get(name string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { + c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// to list transition route groups for. The field `messages` in +// TransitionRoute is language dependent. If not specified, the agent's +// default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3TransitionRouteGroup or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3TransitionRouteGroup.ServerResponse.Header +// or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3TransitionRouteGroup, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3TransitionRouteGroup{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Retrieves the specified TransitionRouteGroup.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups/{transitionRouteGroupsId}", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.get", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "languageCode": { + // "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "name": { + // "description": "Required. The name of the TransitionRouteGroup. Format: `projects//locations//agents//flows//transitionRouteGroups/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.list": + +type ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Returns the list of all transition route groups in the +// specified flow. +func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) List(parent string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { + c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// to list transition route groups for. The field `messages` in +// TransitionRoute is language dependent. If not specified, the agent's +// default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 100 and at most 1000. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/transitionRouteGroups") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.list" call. +// Exactly one of +// *GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse.ServerResp +// onse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Returns the list of all transition route groups in the specified flow.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.list", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "languageCode": { + // "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The flow to list all transition route groups for. Format: `projects//locations//agents//flows/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+parent}/transitionRouteGroups", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + +// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch": + +type ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3transitionroutegroup *GoogleCloudDialogflowCxV3TransitionRouteGroup + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Patch: Updates the specified TransitionRouteGroup. +func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Patch(nameid string, googleclouddialogflowcxv3transitionroutegroup *GoogleCloudDialogflowCxV3TransitionRouteGroup) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { + c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.nameid = nameid + c.googleclouddialogflowcxv3transitionroutegroup = googleclouddialogflowcxv3transitionroutegroup + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// to list transition route groups for. The field `messages` in +// TransitionRoute is language dependent. If not specified, the agent's +// default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// UpdateMask sets the optional parameter "updateMask": The mask to +// control which fields get updated. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { + c.urlParams_.Set("updateMask", updateMask) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3transitionroutegroup) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("PATCH", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.nameid, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3TransitionRouteGroup or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3TransitionRouteGroup.ServerResponse.Header +// or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3TransitionRouteGroup, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3TransitionRouteGroup{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Updates the specified TransitionRouteGroup.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups/{transitionRouteGroupsId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "languageCode": { + // "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "name": { + // "description": "The unique identifier of the transition route group. TransitionRouteGroups.CreateTransitionRouteGroup populates the name automatically. Format: `projects//locations//agents//flows//transitionRouteGroups/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+$", + // "required": true, + // "type": "string" + // }, + // "updateMask": { + // "description": "The mask to control which fields get updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.flows.versions.create": + +type ProjectsLocationsAgentsFlowsVersionsCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3version *GoogleCloudDialogflowCxV3Version + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Create: Creates a Version in the specified Flow. +func (r *ProjectsLocationsAgentsFlowsVersionsService) Create(parent string, googleclouddialogflowcxv3version *GoogleCloudDialogflowCxV3Version) *ProjectsLocationsAgentsFlowsVersionsCreateCall { + c := &ProjectsLocationsAgentsFlowsVersionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3version = googleclouddialogflowcxv3version + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsCreateCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsCreateCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3version) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/versions") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.flows.versions.create" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleLongrunningOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Creates a Version in the specified Flow.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.flows.versions.create", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "parent": { + // "description": "Required. The Flow to create an Version for. Format: `projects//locations//agents//flows/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+parent}/versions", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3Version" + // }, + // "response": { + // "$ref": "GoogleLongrunningOperation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.flows.versions.delete": + +type ProjectsLocationsAgentsFlowsVersionsDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Delete: Deletes the specified Version. +func (r *ProjectsLocationsAgentsFlowsVersionsService) Delete(name string) *ProjectsLocationsAgentsFlowsVersionsDeleteCall { + c := &ProjectsLocationsAgentsFlowsVersionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsDeleteCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsDeleteCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("DELETE", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.flows.versions.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleProtobufEmpty{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Deletes the specified Version.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.flows.versions.delete", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The name of the Version to delete. Format: `projects//locations//agents//flows//versions/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "response": { + // "$ref": "GoogleProtobufEmpty" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.flows.versions.get": + +type ProjectsLocationsAgentsFlowsVersionsGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Retrieves the specified Version. +func (r *ProjectsLocationsAgentsFlowsVersionsService) Get(name string) *ProjectsLocationsAgentsFlowsVersionsGetCall { + c := &ProjectsLocationsAgentsFlowsVersionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsVersionsGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsGetCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.flows.versions.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3Version or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3Version.ServerResponse.Header or (if +// a response was returned at all) in error.(*googleapi.Error).Header. +// Use googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Version, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3Version{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Retrieves the specified Version.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.flows.versions.get", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The name of the Version. Format: `projects//locations//agents//flows//versions/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3Version" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.flows.versions.list": + +type ProjectsLocationsAgentsFlowsVersionsListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Returns the list of all versions in the specified Flow. +func (r *ProjectsLocationsAgentsFlowsVersionsService) List(parent string) *ProjectsLocationsAgentsFlowsVersionsListCall { + c := &ProjectsLocationsAgentsFlowsVersionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 20 and at most 100. +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsVersionsListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsVersionsListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsListCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsVersionsListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsListCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/versions") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.flows.versions.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3ListVersionsResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3ListVersionsResponse.ServerResponse.Header +// or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListVersionsResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3ListVersionsResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Returns the list of all versions in the specified Flow.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.flows.versions.list", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 20 and at most 100.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The Flow to list all versions for. Format: `projects//locations//agents//flows/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+parent}/versions", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3ListVersionsResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListVersionsResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + +// method id "dialogflow.projects.locations.agents.flows.versions.load": + +type ProjectsLocationsAgentsFlowsVersionsLoadCall struct { + s *Service + name string + googleclouddialogflowcxv3loadversionrequest *GoogleCloudDialogflowCxV3LoadVersionRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Load: Loads a specified version to draft version. +func (r *ProjectsLocationsAgentsFlowsVersionsService) Load(name string, googleclouddialogflowcxv3loadversionrequest *GoogleCloudDialogflowCxV3LoadVersionRequest) *ProjectsLocationsAgentsFlowsVersionsLoadCall { + c := &ProjectsLocationsAgentsFlowsVersionsLoadCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.googleclouddialogflowcxv3loadversionrequest = googleclouddialogflowcxv3loadversionrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsLoadCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsLoadCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3loadversionrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}:load") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.flows.versions.load" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleLongrunningOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Loads a specified version to draft version.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}:load", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.flows.versions.load", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The Version to be loaded to draft version. Format: `projects//locations//agents//flows//versions/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}:load", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3LoadVersionRequest" + // }, + // "response": { + // "$ref": "GoogleLongrunningOperation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.flows.versions.patch": + +type ProjectsLocationsAgentsFlowsVersionsPatchCall struct { + s *Service + name string + googleclouddialogflowcxv3version *GoogleCloudDialogflowCxV3Version + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Patch: Updates the specified Version. +func (r *ProjectsLocationsAgentsFlowsVersionsService) Patch(name string, googleclouddialogflowcxv3version *GoogleCloudDialogflowCxV3Version) *ProjectsLocationsAgentsFlowsVersionsPatchCall { + c := &ProjectsLocationsAgentsFlowsVersionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.googleclouddialogflowcxv3version = googleclouddialogflowcxv3version + return c +} + +// UpdateMask sets the optional parameter "updateMask": Required. The +// mask to control which fields get updated. Currently only +// `description` and `display_name` can be updated. +func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsVersionsPatchCall { + c.urlParams_.Set("updateMask", updateMask) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsPatchCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsPatchCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3version) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("PATCH", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.flows.versions.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3Version or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3Version.ServerResponse.Header or (if +// a response was returned at all) in error.(*googleapi.Error).Header. +// Use googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Version, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3Version{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Updates the specified Version.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.flows.versions.patch", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", + // "required": true, + // "type": "string" + // }, + // "updateMask": { + // "description": "Required. The mask to control which fields get updated. Currently only `description` and `display_name` can be updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3Version" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3Version" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.intents.create": + +type ProjectsLocationsAgentsIntentsCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3intent *GoogleCloudDialogflowCxV3Intent + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Create: Creates an intent in the specified agent. +func (r *ProjectsLocationsAgentsIntentsService) Create(parent string, googleclouddialogflowcxv3intent *GoogleCloudDialogflowCxV3Intent) *ProjectsLocationsAgentsIntentsCreateCall { + c := &ProjectsLocationsAgentsIntentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3intent = googleclouddialogflowcxv3intent + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// of the following fields in `intent`: * +// `Intent.training_phrases.parts.text` If not specified, the agent's +// default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsIntentsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsCreateCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsIntentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsCreateCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsIntentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsCreateCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsIntentsCreateCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsIntentsCreateCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3intent) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/intents") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.intents.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3Intent or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3Intent.ServerResponse.Header or (if +// a response was returned at all) in error.(*googleapi.Error).Header. +// Use googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsIntentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Intent, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3Intent{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Creates an intent in the specified agent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.intents.create", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "languageCode": { + // "description": "The language of the following fields in `intent`: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The agent to create an intent for. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+parent}/intents", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3Intent" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3Intent" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.intents.delete": + +type ProjectsLocationsAgentsIntentsDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Delete: Deletes the specified intent. +func (r *ProjectsLocationsAgentsIntentsService) Delete(name string) *ProjectsLocationsAgentsIntentsDeleteCall { + c := &ProjectsLocationsAgentsIntentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsIntentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsDeleteCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsIntentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsDeleteCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsIntentsDeleteCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsIntentsDeleteCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("DELETE", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.intents.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsIntentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleProtobufEmpty{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Deletes the specified intent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents/{intentsId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.intents.delete", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The name of the intent to delete. Format: `projects//locations//agents//intents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/intents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "response": { + // "$ref": "GoogleProtobufEmpty" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.intents.get": + +type ProjectsLocationsAgentsIntentsGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Retrieves the specified intent. +func (r *ProjectsLocationsAgentsIntentsService) Get(name string) *ProjectsLocationsAgentsIntentsGetCall { + c := &ProjectsLocationsAgentsIntentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// to retrieve the intent for. The following fields are language +// dependent: * `Intent.training_phrases.parts.text` If not specified, +// the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsIntentsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsGetCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsIntentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsIntentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsIntentsGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsIntentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsGetCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsIntentsGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsIntentsGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.intents.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3Intent or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3Intent.ServerResponse.Header or (if +// a response was returned at all) in error.(*googleapi.Error).Header. +// Use googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsIntentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Intent, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3Intent{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Retrieves the specified intent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents/{intentsId}", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.intents.get", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "languageCode": { + // "description": "The language to retrieve the intent for. The following fields are language dependent: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "name": { + // "description": "Required. The name of the intent. Format: `projects//locations//agents//intents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/intents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3Intent" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.intents.list": + +type ProjectsLocationsAgentsIntentsListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Returns the list of all intents in the specified agent. +func (r *ProjectsLocationsAgentsIntentsService) List(parent string) *ProjectsLocationsAgentsIntentsListCall { + c := &ProjectsLocationsAgentsIntentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// IntentView sets the optional parameter "intentView": The resource +// view to apply to the returned intent. +// +// Possible values: +// "INTENT_VIEW_UNSPECIFIED" - Not specified. Treated as +// INTENT_VIEW_FULL. +// "INTENT_VIEW_PARTIAL" - Training phrases field is not populated in +// the response. +// "INTENT_VIEW_FULL" - All fields are populated. +func (c *ProjectsLocationsAgentsIntentsListCall) IntentView(intentView string) *ProjectsLocationsAgentsIntentsListCall { + c.urlParams_.Set("intentView", intentView) + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// to list intents for. The following fields are language dependent: * +// `Intent.training_phrases.parts.text` If not specified, the agent's +// default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsIntentsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsListCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 100 and at most 1000. +func (c *ProjectsLocationsAgentsIntentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsIntentsListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsIntentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsIntentsListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsIntentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsListCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsIntentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsIntentsListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsIntentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsListCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsIntentsListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsIntentsListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/intents") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.intents.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3ListIntentsResponse or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3ListIntentsResponse.ServerResponse.Header +// or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsIntentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListIntentsResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3ListIntentsResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Returns the list of all intents in the specified agent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.intents.list", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "intentView": { + // "description": "The resource view to apply to the returned intent.", + // "enum": [ + // "INTENT_VIEW_UNSPECIFIED", + // "INTENT_VIEW_PARTIAL", + // "INTENT_VIEW_FULL" + // ], + // "enumDescriptions": [ + // "Not specified. Treated as INTENT_VIEW_FULL.", + // "Training phrases field is not populated in the response.", + // "All fields are populated." + // ], + // "location": "query", + // "type": "string" + // }, + // "languageCode": { + // "description": "The language to list intents for. The following fields are language dependent: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The agent to list all intents for. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+parent}/intents", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3ListIntentsResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsIntentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListIntentsResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + +// method id "dialogflow.projects.locations.agents.intents.patch": + +type ProjectsLocationsAgentsIntentsPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3intent *GoogleCloudDialogflowCxV3Intent + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Patch: Updates the specified intent. +func (r *ProjectsLocationsAgentsIntentsService) Patch(nameid string, googleclouddialogflowcxv3intent *GoogleCloudDialogflowCxV3Intent) *ProjectsLocationsAgentsIntentsPatchCall { + c := &ProjectsLocationsAgentsIntentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.nameid = nameid + c.googleclouddialogflowcxv3intent = googleclouddialogflowcxv3intent + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// of the following fields in `intent`: * +// `Intent.training_phrases.parts.text` If not specified, the agent's +// default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsIntentsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsPatchCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// UpdateMask sets the optional parameter "updateMask": The mask to +// control which fields get updated. If the mask is not present, all +// fields will be updated. +func (c *ProjectsLocationsAgentsIntentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsIntentsPatchCall { + c.urlParams_.Set("updateMask", updateMask) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsIntentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsPatchCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsIntentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsPatchCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsIntentsPatchCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsIntentsPatchCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3intent) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("PATCH", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.nameid, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.intents.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3Intent or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3Intent.ServerResponse.Header or (if +// a response was returned at all) in error.(*googleapi.Error).Header. +// Use googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsIntentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Intent, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3Intent{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Updates the specified intent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents/{intentsId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.intents.patch", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "languageCode": { + // "description": "The language of the following fields in `intent`: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "name": { + // "description": "The unique identifier of the intent. Required for the Intents.UpdateIntent method. Intents.CreateIntent populates the name automatically. Format: `projects//locations//agents//intents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/intents/[^/]+$", + // "required": true, + // "type": "string" + // }, + // "updateMask": { + // "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3Intent" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3Intent" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.sessions.detectIntent": + +type ProjectsLocationsAgentsSessionsDetectIntentCall struct { + s *Service + sessionid string + googleclouddialogflowcxv3detectintentrequest *GoogleCloudDialogflowCxV3DetectIntentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// DetectIntent: Processes a natural language query and returns +// structured, actionable data as a result. This method is not +// idempotent, because it may cause session entity types to be updated, +// which in turn might affect results of future queries. Note: Always +// use agent versions for production traffic. See [Versions and +// environments](https://cloud.google.com/dialogflow/cx/docs/concept/vers +// ion). +func (r *ProjectsLocationsAgentsSessionsService) DetectIntent(sessionid string, googleclouddialogflowcxv3detectintentrequest *GoogleCloudDialogflowCxV3DetectIntentRequest) *ProjectsLocationsAgentsSessionsDetectIntentCall { + c := &ProjectsLocationsAgentsSessionsDetectIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.sessionid = sessionid + c.googleclouddialogflowcxv3detectintentrequest = googleclouddialogflowcxv3detectintentrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsDetectIntentCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsDetectIntentCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3detectintentrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+session}:detectIntent") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "session": c.sessionid, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.sessions.detectIntent" call. +// Exactly one of *GoogleCloudDialogflowCxV3DetectIntentResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3DetectIntentResponse.ServerResponse.Header +// or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3DetectIntentResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3DetectIntentResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause session entity types to be updated, which in turn might affect results of future queries. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:detectIntent", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.sessions.detectIntent", + // "parameterOrder": [ + // "session" + // ], + // "parameters": { + // "session": { + // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+session}:detectIntent", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3DetectIntentRequest" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3DetectIntentResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.sessions.fulfillIntent": + +type ProjectsLocationsAgentsSessionsFulfillIntentCall struct { + s *Service + sessionid string + googleclouddialogflowcxv3fulfillintentrequest *GoogleCloudDialogflowCxV3FulfillIntentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// FulfillIntent: Fulfills a matched intent returned by MatchIntent. +// Must be called after MatchIntent, with input from +// MatchIntentResponse. Otherwise, the behavior is undefined. +func (r *ProjectsLocationsAgentsSessionsService) FulfillIntent(sessionid string, googleclouddialogflowcxv3fulfillintentrequest *GoogleCloudDialogflowCxV3FulfillIntentRequest) *ProjectsLocationsAgentsSessionsFulfillIntentCall { + c := &ProjectsLocationsAgentsSessionsFulfillIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.sessionid = sessionid + c.googleclouddialogflowcxv3fulfillintentrequest = googleclouddialogflowcxv3fulfillintentrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsFulfillIntentCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsFulfillIntentCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3fulfillintentrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+session}:fulfillIntent") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "session": c.sessionid, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.sessions.fulfillIntent" call. +// Exactly one of *GoogleCloudDialogflowCxV3FulfillIntentResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3FulfillIntentResponse.ServerResponse.Header +// or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3FulfillIntentResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3FulfillIntentResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Fulfills a matched intent returned by MatchIntent. Must be called after MatchIntent, with input from MatchIntentResponse. Otherwise, the behavior is undefined.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:fulfillIntent", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.sessions.fulfillIntent", + // "parameterOrder": [ + // "session" + // ], + // "parameters": { + // "session": { + // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+session}:fulfillIntent", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3FulfillIntentRequest" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3FulfillIntentResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.sessions.matchIntent": + +type ProjectsLocationsAgentsSessionsMatchIntentCall struct { + s *Service + sessionid string + googleclouddialogflowcxv3matchintentrequest *GoogleCloudDialogflowCxV3MatchIntentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// MatchIntent: Returns preliminary intent match results, doesn't change +// the session status. +func (r *ProjectsLocationsAgentsSessionsService) MatchIntent(sessionid string, googleclouddialogflowcxv3matchintentrequest *GoogleCloudDialogflowCxV3MatchIntentRequest) *ProjectsLocationsAgentsSessionsMatchIntentCall { + c := &ProjectsLocationsAgentsSessionsMatchIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.sessionid = sessionid + c.googleclouddialogflowcxv3matchintentrequest = googleclouddialogflowcxv3matchintentrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsMatchIntentCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsMatchIntentCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3matchintentrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+session}:matchIntent") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "session": c.sessionid, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.sessions.matchIntent" call. +// Exactly one of *GoogleCloudDialogflowCxV3MatchIntentResponse or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3MatchIntentResponse.ServerResponse.Header +// or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3MatchIntentResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3MatchIntentResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Returns preliminary intent match results, doesn't change the session status.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:matchIntent", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.sessions.matchIntent", + // "parameterOrder": [ + // "session" + // ], + // "parameters": { + // "session": { + // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+session}:matchIntent", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3MatchIntentRequest" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3MatchIntentResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.sessions.entityTypes.create": + +type ProjectsLocationsAgentsSessionsEntityTypesCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Create: Creates a session entity type. If the specified session +// entity type already exists, overrides the session entity type. +func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Create(parent string, googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall { + c := &ProjectsLocationsAgentsSessionsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3sessionentitytype = googleclouddialogflowcxv3sessionentitytype + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3sessionentitytype) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/entityTypes") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3SessionEntityType or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3SessionEntityType.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3SessionEntityType, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3SessionEntityType{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Creates a session entity type. If the specified session entity type already exists, overrides the session entity type.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.create", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "parent": { + // "description": "Required. The session to create a session entity type for. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+parent}/entityTypes", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.sessions.entityTypes.delete": + +type ProjectsLocationsAgentsSessionsEntityTypesDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Delete: Deletes the specified session entity type. +func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall { + c := &ProjectsLocationsAgentsSessionsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("DELETE", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleProtobufEmpty{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Deletes the specified session entity type.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.delete", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The name of the session entity type to delete. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "response": { + // "$ref": "GoogleProtobufEmpty" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.sessions.entityTypes.get": + +type ProjectsLocationsAgentsSessionsEntityTypesGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Retrieves the specified session entity type. +func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentsSessionsEntityTypesGetCall { + c := &ProjectsLocationsAgentsSessionsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsSessionsEntityTypesGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesGetCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3SessionEntityType or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3SessionEntityType.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3SessionEntityType, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3SessionEntityType{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Retrieves the specified session entity type.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.get", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The name of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.sessions.entityTypes.list": + +type ProjectsLocationsAgentsSessionsEntityTypesListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Returns the list of all session entity types in the specified +// session. +func (r *ProjectsLocationsAgentsSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentsSessionsEntityTypesListCall { + c := &ProjectsLocationsAgentsSessionsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 100 and at most 1000. +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsSessionsEntityTypesListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsSessionsEntityTypesListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesListCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsSessionsEntityTypesListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesListCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/entityTypes") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.list" call. +// Exactly one of +// *GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse.ServerRespons +// e.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Returns the list of all session entity types in the specified session.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.list", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The session to list all session entity types from. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+parent}/entityTypes", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + +// method id "dialogflow.projects.locations.agents.sessions.entityTypes.patch": + +type ProjectsLocationsAgentsSessionsEntityTypesPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Patch: Updates the specified session entity type. +func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall { + c := &ProjectsLocationsAgentsSessionsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.nameid = nameid + c.googleclouddialogflowcxv3sessionentitytype = googleclouddialogflowcxv3sessionentitytype + return c +} + +// UpdateMask sets the optional parameter "updateMask": The mask to +// control which fields get updated. +func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall { + c.urlParams_.Set("updateMask", updateMask) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3sessionentitytype) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("PATCH", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.nameid, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3SessionEntityType or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3SessionEntityType.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3SessionEntityType, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3SessionEntityType{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Updates the specified session entity type.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.patch", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The unique identifier of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", + // "required": true, + // "type": "string" + // }, + // "updateMask": { + // "description": "The mask to control which fields get updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.webhooks.create": + +type ProjectsLocationsAgentsWebhooksCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3webhook *GoogleCloudDialogflowCxV3Webhook + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Create: Creates a webhook in the specified agent. +func (r *ProjectsLocationsAgentsWebhooksService) Create(parent string, googleclouddialogflowcxv3webhook *GoogleCloudDialogflowCxV3Webhook) *ProjectsLocationsAgentsWebhooksCreateCall { + c := &ProjectsLocationsAgentsWebhooksCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3webhook = googleclouddialogflowcxv3webhook + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsWebhooksCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsWebhooksCreateCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsWebhooksCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsWebhooksCreateCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsWebhooksCreateCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsWebhooksCreateCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3webhook) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/webhooks") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.webhooks.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3Webhook or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3Webhook.ServerResponse.Header or (if +// a response was returned at all) in error.(*googleapi.Error).Header. +// Use googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsWebhooksCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Webhook, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3Webhook{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Creates a webhook in the specified agent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.webhooks.create", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "parent": { + // "description": "Required. The agent to create a webhook for. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+parent}/webhooks", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3Webhook" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3Webhook" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.webhooks.delete": + +type ProjectsLocationsAgentsWebhooksDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Delete: Deletes the specified webhook. +func (r *ProjectsLocationsAgentsWebhooksService) Delete(name string) *ProjectsLocationsAgentsWebhooksDeleteCall { + c := &ProjectsLocationsAgentsWebhooksDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Force sets the optional parameter "force": This field has no effect +// for webhook not being used. For webhooks that are used by +// pages/flows/transition route groups: * If `force` is set to false, an +// error will be returned with message indicating the referenced +// resources. * If `force` is set to true, Dialogflow will remove the +// webhook, as well as any references to the webhook (i.e. Webhook and +// tagin fulfillments that point to this webhook will be removed). +func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Force(force bool) *ProjectsLocationsAgentsWebhooksDeleteCall { + c.urlParams_.Set("force", fmt.Sprint(force)) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsWebhooksDeleteCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsWebhooksDeleteCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsWebhooksDeleteCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("DELETE", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.webhooks.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleProtobufEmpty{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Deletes the specified webhook.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks/{webhooksId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.webhooks.delete", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "force": { + // "description": "This field has no effect for webhook not being used. For webhooks that are used by pages/flows/transition route groups: * If `force` is set to false, an error will be returned with message indicating the referenced resources. * If `force` is set to true, Dialogflow will remove the webhook, as well as any references to the webhook (i.e. Webhook and tagin fulfillments that point to this webhook will be removed).", + // "location": "query", + // "type": "boolean" + // }, + // "name": { + // "description": "Required. The name of the webhook to delete. Format: `projects//locations//agents//webhooks/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "response": { + // "$ref": "GoogleProtobufEmpty" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.webhooks.get": + +type ProjectsLocationsAgentsWebhooksGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Retrieves the specified webhook. +func (r *ProjectsLocationsAgentsWebhooksService) Get(name string) *ProjectsLocationsAgentsWebhooksGetCall { + c := &ProjectsLocationsAgentsWebhooksGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsWebhooksGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsWebhooksGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsWebhooksGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsWebhooksGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsWebhooksGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsWebhooksGetCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsWebhooksGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsWebhooksGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.webhooks.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3Webhook or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3Webhook.ServerResponse.Header or (if +// a response was returned at all) in error.(*googleapi.Error).Header. +// Use googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsWebhooksGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Webhook, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3Webhook{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Retrieves the specified webhook.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks/{webhooksId}", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.webhooks.get", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The name of the webhook. Format: `projects//locations//agents//webhooks/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3Webhook" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.webhooks.list": + +type ProjectsLocationsAgentsWebhooksListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Returns the list of all webhooks in the specified agent. +func (r *ProjectsLocationsAgentsWebhooksService) List(parent string) *ProjectsLocationsAgentsWebhooksListCall { + c := &ProjectsLocationsAgentsWebhooksListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 100 and at most 1000. +func (c *ProjectsLocationsAgentsWebhooksListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsWebhooksListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsWebhooksListCall) PageToken(pageToken string) *ProjectsLocationsAgentsWebhooksListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsWebhooksListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsWebhooksListCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsWebhooksListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsWebhooksListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsWebhooksListCall) Context(ctx context.Context) *ProjectsLocationsAgentsWebhooksListCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsWebhooksListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsWebhooksListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/webhooks") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.webhooks.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3ListWebhooksResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3ListWebhooksResponse.ServerResponse.Header +// or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsWebhooksListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListWebhooksResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3ListWebhooksResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Returns the list of all webhooks in the specified agent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.webhooks.list", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The agent to list all webhooks for. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+parent}/webhooks", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3ListWebhooksResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsWebhooksListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListWebhooksResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + +// method id "dialogflow.projects.locations.agents.webhooks.patch": + +type ProjectsLocationsAgentsWebhooksPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3webhook *GoogleCloudDialogflowCxV3Webhook + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Patch: Updates the specified webhook. +func (r *ProjectsLocationsAgentsWebhooksService) Patch(nameid string, googleclouddialogflowcxv3webhook *GoogleCloudDialogflowCxV3Webhook) *ProjectsLocationsAgentsWebhooksPatchCall { + c := &ProjectsLocationsAgentsWebhooksPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.nameid = nameid + c.googleclouddialogflowcxv3webhook = googleclouddialogflowcxv3webhook + return c +} + +// UpdateMask sets the optional parameter "updateMask": The mask to +// control which fields get updated. If the mask is not present, all +// fields will be updated. +func (c *ProjectsLocationsAgentsWebhooksPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsWebhooksPatchCall { + c.urlParams_.Set("updateMask", updateMask) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsWebhooksPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsWebhooksPatchCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsWebhooksPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsWebhooksPatchCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsWebhooksPatchCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsWebhooksPatchCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3webhook) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("PATCH", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.nameid, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.webhooks.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3Webhook or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3Webhook.ServerResponse.Header or (if +// a response was returned at all) in error.(*googleapi.Error).Header. +// Use googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsWebhooksPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Webhook, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3Webhook{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Updates the specified webhook.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks/{webhooksId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.webhooks.patch", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: `projects//locations//agents//webhooks/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+$", + // "required": true, + // "type": "string" + // }, + // "updateMask": { + // "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3Webhook" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3Webhook" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.operations.cancel": + +type ProjectsLocationsOperationsCancelCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Cancel: Starts asynchronous cancellation on a long-running operation. +// The server makes a best effort to cancel the operation, but success +// is not guaranteed. If the server doesn't support this method, it +// returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use +// Operations.GetOperation or other methods to check whether the +// cancellation succeeded or whether the operation completed despite +// cancellation. On successful cancellation, the operation is not +// deleted; instead, it becomes an operation with an Operation.error +// value with a google.rpc.Status.code of 1, corresponding to +// `Code.CANCELLED`. +func (r *ProjectsLocationsOperationsService) Cancel(name string) *ProjectsLocationsOperationsCancelCall { + c := &ProjectsLocationsOperationsCancelCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsOperationsCancelCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}:cancel") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.operations.cancel" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleProtobufEmpty{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.operations.cancel", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "The name of the operation resource to be cancelled.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}:cancel", + // "response": { + // "$ref": "GoogleProtobufEmpty" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.operations.get": + +type ProjectsLocationsOperationsGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Gets the latest state of a long-running operation. Clients can +// use this method to poll the operation result at intervals as +// recommended by the API service. +func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall { + c := &ProjectsLocationsOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsOperationsGetCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.operations.get" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleLongrunningOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.operations.get", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "The name of the operation resource.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "response": { + // "$ref": "GoogleLongrunningOperation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.operations.list": + +type ProjectsLocationsOperationsListCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Lists operations that match the specified filter in the +// request. If the server doesn't support this method, it returns +// `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to +// override the binding to use different resource name schemes, such as +// `users/*/operations`. To override the binding, API services can add a +// binding such as "/v1/{name=users/*}/operations" to their service +// configuration. For backwards compatibility, the default name includes +// the operations collection id, however overriding users must ensure +// the name binding is the parent resource, without the operations +// collection id. +func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall { + c := &ProjectsLocationsOperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Filter sets the optional parameter "filter": The standard list +// filter. +func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *ProjectsLocationsOperationsListCall { + c.urlParams_.Set("filter", filter) + return c +} + +// PageSize sets the optional parameter "pageSize": The standard list +// page size. +func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The standard list +// page token. +func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsOperationsListCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsOperationsListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}/operations") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.operations.list" call. +// Exactly one of *GoogleLongrunningListOperationsResponse or error will +// be non-nil. Any non-2xx status code is an error. Response headers are +// in either +// *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if +// a response was returned at all) in error.(*googleapi.Error).Header. +// Use googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleLongrunningListOperationsResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/operations", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.operations.list", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "filter": { + // "description": "The standard list filter.", + // "location": "query", + // "type": "string" + // }, + // "name": { + // "description": "The name of the operation's parent resource.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+$", + // "required": true, + // "type": "string" + // }, + // "pageSize": { + // "description": "The standard list page size.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The standard list page token.", + // "location": "query", + // "type": "string" + // } + // }, + // "path": "v3/{+name}/operations", + // "response": { + // "$ref": "GoogleLongrunningListOperationsResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + +// method id "dialogflow.projects.locations.securitySettings.create": + +type ProjectsLocationsSecuritySettingsCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3securitysettings *GoogleCloudDialogflowCxV3SecuritySettings + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Create: Create security settings in the specified location. +func (r *ProjectsLocationsSecuritySettingsService) Create(parent string, googleclouddialogflowcxv3securitysettings *GoogleCloudDialogflowCxV3SecuritySettings) *ProjectsLocationsSecuritySettingsCreateCall { + c := &ProjectsLocationsSecuritySettingsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3securitysettings = googleclouddialogflowcxv3securitysettings + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsSecuritySettingsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSecuritySettingsCreateCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsSecuritySettingsCreateCall) Context(ctx context.Context) *ProjectsLocationsSecuritySettingsCreateCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsSecuritySettingsCreateCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsSecuritySettingsCreateCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3securitysettings) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/securitySettings") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.securitySettings.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3SecuritySettings or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3SecuritySettings.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsSecuritySettingsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3SecuritySettings, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3SecuritySettings{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Create security settings in the specified location.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/securitySettings", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.securitySettings.create", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "parent": { + // "description": "Required. The location to create an SecuritySettings for. Format: `projects//locations/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+parent}/securitySettings", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3SecuritySettings" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3SecuritySettings" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + } -// method id "dialogflow.projects.locations.operations.cancel": +// method id "dialogflow.projects.locations.securitySettings.delete": -type ProjectsLocationsOperationsCancelCall struct { +type ProjectsLocationsSecuritySettingsDeleteCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -6506,18 +22068,9 @@ type ProjectsLocationsOperationsCancelCall struct { header_ http.Header } -// Cancel: Starts asynchronous cancellation on a long-running operation. -// The server makes a best effort to cancel the operation, but success -// is not guaranteed. If the server doesn't support this method, it -// returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use -// Operations.GetOperation or other methods to check whether the -// cancellation succeeded or whether the operation completed despite -// cancellation. On successful cancellation, the operation is not -// deleted; instead, it becomes an operation with an Operation.error -// value with a google.rpc.Status.code of 1, corresponding to -// `Code.CANCELLED`. -func (r *ProjectsLocationsOperationsService) Cancel(name string) *ProjectsLocationsOperationsCancelCall { - c := &ProjectsLocationsOperationsCancelCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Delete: Deletes the specified SecuritySettings. +func (r *ProjectsLocationsSecuritySettingsService) Delete(name string) *ProjectsLocationsSecuritySettingsDeleteCall { + c := &ProjectsLocationsSecuritySettingsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } @@ -6525,7 +22078,7 @@ func (r *ProjectsLocationsOperationsService) Cancel(name string) *ProjectsLocati // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall { +func (c *ProjectsLocationsSecuritySettingsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSecuritySettingsDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -6533,23 +22086,23 @@ func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *Pr // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsOperationsCancelCall { +func (c *ProjectsLocationsSecuritySettingsDeleteCall) Context(ctx context.Context) *ProjectsLocationsSecuritySettingsDeleteCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { +func (c *ProjectsLocationsSecuritySettingsDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsSecuritySettingsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6557,9 +22110,9 @@ func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Res var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}:cancel") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("DELETE", urls, body) if err != nil { return nil, err } @@ -6570,14 +22123,14 @@ func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Res return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.operations.cancel" call. +// Do executes the "dialogflow.projects.locations.securitySettings.delete" call. // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any // non-2xx status code is an error. Response headers are in either // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was // returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +func (c *ProjectsLocationsSecuritySettingsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -6608,23 +22161,23 @@ func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) } return ret, nil // { - // "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.operations.cancel", + // "description": "Deletes the specified SecuritySettings.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/securitySettings/{securitySettingsId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.securitySettings.delete", // "parameterOrder": [ // "name" // ], // "parameters": { // "name": { - // "description": "The name of the operation resource to be cancelled.", + // "description": "Required. The name of the SecuritySettings to delete. Format: `projects//locations//securitySettings/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/securitySettings/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+name}:cancel", + // "path": "v3/{+name}", // "response": { // "$ref": "GoogleProtobufEmpty" // }, @@ -6636,9 +22189,9 @@ func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) } -// method id "dialogflow.projects.locations.operations.get": +// method id "dialogflow.projects.locations.securitySettings.get": -type ProjectsLocationsOperationsGetCall struct { +type ProjectsLocationsSecuritySettingsGetCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -6647,11 +22200,10 @@ type ProjectsLocationsOperationsGetCall struct { header_ http.Header } -// Get: Gets the latest state of a long-running operation. Clients can -// use this method to poll the operation result at intervals as -// recommended by the API service. -func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall { - c := &ProjectsLocationsOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Get: Retrieves the specified SecuritySettings. The returned settings +// may be stale by up to 1 minute. +func (r *ProjectsLocationsSecuritySettingsService) Get(name string) *ProjectsLocationsSecuritySettingsGetCall { + c := &ProjectsLocationsSecuritySettingsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } @@ -6659,7 +22211,7 @@ func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocations // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall { +func (c *ProjectsLocationsSecuritySettingsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSecuritySettingsGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -6669,7 +22221,7 @@ func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *Proje // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall { +func (c *ProjectsLocationsSecuritySettingsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSecuritySettingsGetCall { c.ifNoneMatch_ = entityTag return c } @@ -6677,23 +22229,23 @@ func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *Proj // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsOperationsGetCall { +func (c *ProjectsLocationsSecuritySettingsGetCall) Context(ctx context.Context) *ProjectsLocationsSecuritySettingsGetCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { +func (c *ProjectsLocationsSecuritySettingsGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsSecuritySettingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6717,14 +22269,16 @@ func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Respon return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.operations.get" call. -// Exactly one of *GoogleLongrunningOperation or error will be non-nil. -// Any non-2xx status code is an error. Response headers are in either -// *GoogleLongrunningOperation.ServerResponse.Header or (if a response -// was returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { +// Do executes the "dialogflow.projects.locations.securitySettings.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3SecuritySettings or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3SecuritySettings.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsSecuritySettingsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3SecuritySettings, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -6743,7 +22297,7 @@ func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (* if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleLongrunningOperation{ + ret := &GoogleCloudDialogflowCxV3SecuritySettings{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -6755,25 +22309,25 @@ func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (* } return ret, nil // { - // "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + // "description": "Retrieves the specified SecuritySettings. The returned settings may be stale by up to 1 minute.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/securitySettings/{securitySettingsId}", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.operations.get", + // "id": "dialogflow.projects.locations.securitySettings.get", // "parameterOrder": [ // "name" // ], // "parameters": { // "name": { - // "description": "The name of the operation resource.", + // "description": "Required. Resource name of the settings. Format: `projects//locations//securitySettings/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/securitySettings/[^/]+$", // "required": true, // "type": "string" // } // }, // "path": "v3/{+name}", // "response": { - // "$ref": "GoogleLongrunningOperation" + // "$ref": "GoogleCloudDialogflowCxV3SecuritySettings" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -6783,50 +22337,35 @@ func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (* } -// method id "dialogflow.projects.locations.operations.list": +// method id "dialogflow.projects.locations.securitySettings.list": -type ProjectsLocationsOperationsListCall struct { +type ProjectsLocationsSecuritySettingsListCall struct { s *Service - name string + parent string urlParams_ gensupport.URLParams ifNoneMatch_ string ctx_ context.Context header_ http.Header } -// List: Lists operations that match the specified filter in the -// request. If the server doesn't support this method, it returns -// `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to -// override the binding to use different resource name schemes, such as -// `users/*/operations`. To override the binding, API services can add a -// binding such as "/v1/{name=users/*}/operations" to their service -// configuration. For backwards compatibility, the default name includes -// the operations collection id, however overriding users must ensure -// the name binding is the parent resource, without the operations -// collection id. -func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall { - c := &ProjectsLocationsOperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - return c -} - -// Filter sets the optional parameter "filter": The standard list -// filter. -func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *ProjectsLocationsOperationsListCall { - c.urlParams_.Set("filter", filter) +// List: Returns the list of all security settings in the specified +// location. +func (r *ProjectsLocationsSecuritySettingsService) List(parent string) *ProjectsLocationsSecuritySettingsListCall { + c := &ProjectsLocationsSecuritySettingsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent return c } -// PageSize sets the optional parameter "pageSize": The standard list -// page size. -func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall { +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 20 and at most 100. +func (c *ProjectsLocationsSecuritySettingsListCall) PageSize(pageSize int64) *ProjectsLocationsSecuritySettingsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } -// PageToken sets the optional parameter "pageToken": The standard list -// page token. -func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall { +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsSecuritySettingsListCall) PageToken(pageToken string) *ProjectsLocationsSecuritySettingsListCall { c.urlParams_.Set("pageToken", pageToken) return c } @@ -6834,7 +22373,7 @@ func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *Proje // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall { +func (c *ProjectsLocationsSecuritySettingsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSecuritySettingsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -6844,7 +22383,7 @@ func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *Proj // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall { +func (c *ProjectsLocationsSecuritySettingsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSecuritySettingsListCall { c.ifNoneMatch_ = entityTag return c } @@ -6852,23 +22391,23 @@ func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *Pro // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsOperationsListCall { +func (c *ProjectsLocationsSecuritySettingsListCall) Context(ctx context.Context) *ProjectsLocationsSecuritySettingsListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsOperationsListCall) Header() http.Header { +func (c *ProjectsLocationsSecuritySettingsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsSecuritySettingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6879,7 +22418,7 @@ func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Respo var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}/operations") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/securitySettings") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -6887,20 +22426,21 @@ func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Respo } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.operations.list" call. -// Exactly one of *GoogleLongrunningListOperationsResponse or error will -// be non-nil. Any non-2xx status code is an error. Response headers are -// in either -// *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if -// a response was returned at all) in error.(*googleapi.Error).Header. -// Use googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error) { +// Do executes the "dialogflow.projects.locations.securitySettings.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3ListSecuritySettingsResponse +// or error will be non-nil. Any non-2xx status code is an error. +// Response headers are in either +// *GoogleCloudDialogflowCxV3ListSecuritySettingsResponse.ServerResponse. +// Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsSecuritySettingsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListSecuritySettingsResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -6919,7 +22459,7 @@ func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) ( if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleLongrunningListOperationsResponse{ + ret := &GoogleCloudDialogflowCxV3ListSecuritySettingsResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -6931,41 +22471,36 @@ func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) ( } return ret, nil // { - // "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/operations", + // "description": "Returns the list of all security settings in the specified location.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/securitySettings", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.operations.list", + // "id": "dialogflow.projects.locations.securitySettings.list", // "parameterOrder": [ - // "name" + // "parent" // ], // "parameters": { - // "filter": { - // "description": "The standard list filter.", - // "location": "query", - // "type": "string" - // }, - // "name": { - // "description": "The name of the operation's parent resource.", - // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+$", - // "required": true, - // "type": "string" - // }, // "pageSize": { - // "description": "The standard list page size.", + // "description": "The maximum number of items to return in a single page. By default 20 and at most 100.", // "format": "int32", // "location": "query", // "type": "integer" // }, // "pageToken": { - // "description": "The standard list page token.", + // "description": "The next_page_token value returned from a previous list request.", // "location": "query", // "type": "string" + // }, + // "parent": { + // "description": "Required. The location to list all security settings for. Format: `projects//locations/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+$", + // "required": true, + // "type": "string" // } // }, - // "path": "v3/{+name}/operations", + // "path": "v3/{+parent}/securitySettings", // "response": { - // "$ref": "GoogleLongrunningListOperationsResponse" + // "$ref": "GoogleCloudDialogflowCxV3ListSecuritySettingsResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -6978,7 +22513,7 @@ func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) ( // Pages invokes f for each page of results. // A non-nil error returned from f will halt the iteration. // The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error { +func (c *ProjectsLocationsSecuritySettingsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListSecuritySettingsResponse) error) error { c.ctx_ = ctx defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point for { @@ -6996,6 +22531,163 @@ func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func( } } +// method id "dialogflow.projects.locations.securitySettings.patch": + +type ProjectsLocationsSecuritySettingsPatchCall struct { + s *Service + name string + googleclouddialogflowcxv3securitysettings *GoogleCloudDialogflowCxV3SecuritySettings + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Patch: Updates the specified SecuritySettings. +func (r *ProjectsLocationsSecuritySettingsService) Patch(name string, googleclouddialogflowcxv3securitysettings *GoogleCloudDialogflowCxV3SecuritySettings) *ProjectsLocationsSecuritySettingsPatchCall { + c := &ProjectsLocationsSecuritySettingsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.googleclouddialogflowcxv3securitysettings = googleclouddialogflowcxv3securitysettings + return c +} + +// UpdateMask sets the optional parameter "updateMask": Required. The +// mask to control which fields get updated. If the mask is not present, +// all fields will be updated. +func (c *ProjectsLocationsSecuritySettingsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsSecuritySettingsPatchCall { + c.urlParams_.Set("updateMask", updateMask) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsSecuritySettingsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsSecuritySettingsPatchCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsSecuritySettingsPatchCall) Context(ctx context.Context) *ProjectsLocationsSecuritySettingsPatchCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsSecuritySettingsPatchCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsSecuritySettingsPatchCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3securitysettings) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("PATCH", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.securitySettings.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3SecuritySettings or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3SecuritySettings.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsSecuritySettingsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3SecuritySettings, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3SecuritySettings{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Updates the specified SecuritySettings.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/securitySettings/{securitySettingsId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.securitySettings.patch", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. Resource name of the settings. Format: `projects//locations//securitySettings/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/securitySettings/[^/]+$", + // "required": true, + // "type": "string" + // }, + // "updateMask": { + // "description": "Required. The mask to control which fields get updated. If the mask is not present, all fields will be updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3SecuritySettings" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3SecuritySettings" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + // method id "dialogflow.projects.operations.cancel": type ProjectsOperationsCancelCall struct { @@ -7049,7 +22741,7 @@ func (c *ProjectsOperationsCancelCall) Header() http.Header { func (c *ProjectsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7193,7 +22885,7 @@ func (c *ProjectsOperationsGetCall) Header() http.Header { func (c *ProjectsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7368,7 +23060,7 @@ func (c *ProjectsOperationsListCall) Header() http.Header { func (c *ProjectsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/dialogflow/v3beta1/dialogflow-api.json b/dialogflow/v3beta1/dialogflow-api.json index 830418194e1..09d73b011c3 100644 --- a/dialogflow/v3beta1/dialogflow-api.json +++ b/dialogflow/v3beta1/dialogflow-api.json @@ -2421,113 +2421,703 @@ ] } } + }, + "securitySettings": { + "methods": { + "create": { + "description": "Create security settings in the specified location.", + "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/securitySettings", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.securitySettings.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The location to create an SecuritySettings for. Format: `projects//locations/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3beta1/{+parent}/securitySettings", + "request": { + "$ref": "GoogleCloudDialogflowCxV3beta1SecuritySettings" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3beta1SecuritySettings" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "delete": { + "description": "Deletes the specified SecuritySettings.", + "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/securitySettings/{securitySettingsId}", + "httpMethod": "DELETE", + "id": "dialogflow.projects.locations.securitySettings.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the SecuritySettings to delete. Format: `projects//locations//securitySettings/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/securitySettings/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3beta1/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "get": { + "description": "Retrieves the specified SecuritySettings. The returned settings may be stale by up to 1 minute.", + "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/securitySettings/{securitySettingsId}", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.securitySettings.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name of the settings. Format: `projects//locations//securitySettings/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/securitySettings/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3beta1/{+name}", + "response": { + "$ref": "GoogleCloudDialogflowCxV3beta1SecuritySettings" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "list": { + "description": "Returns the list of all security settings in the specified location.", + "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/securitySettings", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.securitySettings.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of items to return in a single page. By default 20 and at most 100.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The next_page_token value returned from a previous list request.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The location to list all security settings for. Format: `projects//locations/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3beta1/{+parent}/securitySettings", + "response": { + "$ref": "GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "patch": { + "description": "Updates the specified SecuritySettings.", + "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/securitySettings/{securitySettingsId}", + "httpMethod": "PATCH", + "id": "dialogflow.projects.locations.securitySettings.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name of the settings. Format: `projects//locations//securitySettings/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/securitySettings/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The mask to control which fields get updated. If the mask is not present, all fields will be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v3beta1/{+name}", + "request": { + "$ref": "GoogleCloudDialogflowCxV3beta1SecuritySettings" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3beta1SecuritySettings" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + } } } }, - "operations": { - "methods": { - "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "flatPath": "v3beta1/projects/{projectsId}/operations/{operationsId}:cancel", - "httpMethod": "POST", - "id": "dialogflow.projects.operations.cancel", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be cancelled.", - "location": "path", - "pattern": "^projects/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v3beta1/{+name}:cancel", - "response": { - "$ref": "GoogleProtobufEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/dialogflow" - ] - }, - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v3beta1/projects/{projectsId}/operations/{operationsId}", - "httpMethod": "GET", - "id": "dialogflow.projects.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^projects/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v3beta1/{+name}", - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/dialogflow" - ] - }, - "list": { - "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", - "flatPath": "v3beta1/projects/{projectsId}/operations", - "httpMethod": "GET", - "id": "dialogflow.projects.operations.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "filter": { - "description": "The standard list filter.", - "location": "query", - "type": "string" - }, - "name": { - "description": "The name of the operation's parent resource.", - "location": "path", - "pattern": "^projects/[^/]+$", - "required": true, - "type": "string" - }, - "pageSize": { - "description": "The standard list page size.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The standard list page token.", - "location": "query", - "type": "string" - } - }, - "path": "v3beta1/{+name}/operations", - "response": { - "$ref": "GoogleLongrunningListOperationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/dialogflow" - ] - } - } + "operations": { + "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "flatPath": "v3beta1/projects/{projectsId}/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "dialogflow.projects.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^projects/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3beta1/{+name}:cancel", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v3beta1/projects/{projectsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "dialogflow.projects.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3beta1/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", + "flatPath": "v3beta1/projects/{projectsId}/operations", + "httpMethod": "GET", + "id": "dialogflow.projects.operations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "The standard list filter.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The name of the operation's parent resource.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + } + }, + "path": "v3beta1/{+name}/operations", + "response": { + "$ref": "GoogleLongrunningListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + } + } + } + } + }, + "revision": "20201207", + "rootUrl": "https://dialogflow.googleapis.com/", + "schemas": { + "GoogleCloudDialogflowCxV3CreateVersionOperationMetadata": { + "description": "Metadata associated with the long running operation for Versions.CreateVersion.", + "id": "GoogleCloudDialogflowCxV3CreateVersionOperationMetadata", + "properties": { + "version": { + "description": "Name of the created version. Format: `projects//locations//agents//flows//versions/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ExportAgentResponse": { + "description": "The response message for Agents.ExportAgent.", + "id": "GoogleCloudDialogflowCxV3ExportAgentResponse", + "properties": { + "agentContent": { + "description": "Uncompressed raw byte content for agent.", + "format": "byte", + "type": "string" + }, + "agentUri": { + "description": "The URI to a file containing the exported agent. This field is populated only if `agent_uri` is specified in ExportAgentRequest.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3PageInfo": { + "description": "Represents page information communicated to and from the webhook.", + "id": "GoogleCloudDialogflowCxV3PageInfo", + "properties": { + "currentPage": { + "description": "Always present for WebhookRequest. Ignored for WebhookResponse. The unique identifier of the current page. Format: `projects//locations//agents//flows//pages/`.", + "type": "string" + }, + "formInfo": { + "$ref": "GoogleCloudDialogflowCxV3PageInfoFormInfo", + "description": "Optional for both WebhookRequest and WebhookResponse. Information about the form." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3PageInfoFormInfo": { + "description": "Represents form information.", + "id": "GoogleCloudDialogflowCxV3PageInfoFormInfo", + "properties": { + "parameterInfo": { + "description": "Optional for both WebhookRequest and WebhookResponse. The parameters contained in the form. Note that the webhook cannot add or remove any form parameter.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo": { + "description": "Represents parameter information.", + "id": "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo", + "properties": { + "displayName": { + "description": "Always present for WebhookRequest. Required for WebhookResponse. The human-readable name of the parameter, unique within the form. This field cannot be modified by the webhook.", + "type": "string" + }, + "justCollected": { + "description": "Optional for WebhookRequest. Ignored for WebhookResponse. Indicates if the parameter value was just collected on the last conversation turn.", + "type": "boolean" + }, + "required": { + "description": "Optional for both WebhookRequest and WebhookResponse. Indicates whether the parameter is required. Optional parameters will not trigger prompts; however, they are filled if the user specifies them. Required parameters must be filled before form filling concludes.", + "type": "boolean" + }, + "state": { + "description": "Always present for WebhookRequest. Required for WebhookResponse. The state of the parameter. This field can be set to INVALID by the webhook to invalidate the parameter; other values set by the webhook will be ignored.", + "enum": [ + "PARAMETER_STATE_UNSPECIFIED", + "EMPTY", + "INVALID", + "FILLED" + ], + "enumDescriptions": [ + "Not specified. This value should be never used.", + "Indicates that the parameter does not have a value.", + "Indicates that the parameter value is invalid. This field can be used by the webhook to invalidate the parameter and ask the server to collect it from the user again.", + "Indicates that the parameter has a value." + ], + "type": "string" + }, + "value": { + "description": "Optional for both WebhookRequest and WebhookResponse. The value of the parameter. This field can be set by the webhook to change the parameter value.", + "type": "any" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessage": { + "description": "Represents a response message that can be returned by a conversational agent. Response messages are also used for output audio synthesis. The approach is as follows: * If at least one OutputAudioText response is present, then all OutputAudioText responses are linearly concatenated, and the result is used for output audio synthesis. * If the OutputAudioText responses are a mixture of text and SSML, then the concatenated result is treated as SSML; otherwise, the result is treated as either text or SSML as appropriate. The agent designer should ideally use either text or SSML consistently throughout the bot design. * Otherwise, all Text responses are linearly concatenated, and the result is used for output audio synthesis. This approach allows for more sophisticated user experience scenarios, where the text displayed to the user may differ from what is heard.", + "id": "GoogleCloudDialogflowCxV3ResponseMessage", + "properties": { + "conversationSuccess": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess", + "description": "Indicates that the conversation succeeded." + }, + "endInteraction": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction", + "description": "Output only. A signal that indicates the interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only when the conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be defined by the user. It's guaranteed that there is at most one such message in each response.", + "readOnly": true + }, + "liveAgentHandoff": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff", + "description": "Hands off conversation to a human agent." + }, + "mixedAudio": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio", + "description": "Output only. An audio response message composed of both the synthesized Dialogflow agent responses and responses defined via play_audio. This message is generated by Dialogflow only and not supposed to be defined by the user.", + "readOnly": true + }, + "outputAudioText": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText", + "description": "A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message." + }, + "payload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Returns a response containing a custom, platform-specific payload.", + "type": "object" + }, + "playAudio": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio", + "description": "Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct mixed_audio. However, Dialogflow itself does not try to read or process the URI in any way." + }, + "text": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageText", + "description": "Returns a text response." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess": { + "description": "Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example: * In the entry_fulfillment of a Page if entering the page indicates that the conversation succeeded. * In a webhook response when you determine that you handled the customer issue.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess", + "properties": { + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom metadata. Dialogflow doesn't impose any structure on this.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction": { + "description": "Indicates that interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only and not supposed to be defined by the user.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction", + "properties": {}, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff": { + "description": "Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example: * In the entry_fulfillment of a Page if entering the page indicates something went extremely wrong in the conversation. * In a webhook response when you determine that the customer issue can only be handled by a human.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff", + "properties": { + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom metadata for your handoff procedure. Dialogflow doesn't impose any structure on this.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio": { + "description": "Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs. The external URIs are specified via play_audio. This message is generated by Dialogflow only and not supposed to be defined by the user.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio", + "properties": { + "segments": { + "description": "Segments this audio response is composed of.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment": { + "description": "Represents one segment of audio.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment", + "properties": { + "allowPlaybackInterruption": { + "description": "Output only. Whether the playback of this segment can be interrupted by the end user's speech and the client should then start the next Dialogflow request.", + "readOnly": true, + "type": "boolean" + }, + "audio": { + "description": "Raw audio synthesized from the Dialogflow agent's response using the output config specified in the request.", + "format": "byte", + "type": "string" + }, + "uri": { + "description": "Client-specific URI that points to an audio clip accessible to the client. Dialogflow does not impose any validation on it.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText": { + "description": "A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText", + "properties": { + "allowPlaybackInterruption": { + "description": "Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.", + "readOnly": true, + "type": "boolean" + }, + "ssml": { + "description": "The SSML text to be synthesized. For more information, see [SSML](/speech/text-to-speech/docs/ssml).", + "type": "string" + }, + "text": { + "description": "The raw text to be synthesized.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio": { + "description": "Specifies an audio clip to be played by the client as part of the response.", + "id": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio", + "properties": { + "allowPlaybackInterruption": { + "description": "Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.", + "readOnly": true, + "type": "boolean" + }, + "audioUri": { + "description": "Required. URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageText": { + "description": "The text response message.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageText", + "properties": { + "allowPlaybackInterruption": { + "description": "Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.", + "readOnly": true, + "type": "boolean" + }, + "text": { + "description": "Required. A collection of text responses.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3SessionInfo": { + "description": "Represents session information communicated to and from the webhook.", + "id": "GoogleCloudDialogflowCxV3SessionInfo", + "properties": { + "parameters": { + "additionalProperties": { + "type": "any" + }, + "description": "Optional for WebhookRequest. Optional for WebhookResponse. All parameters collected from forms and intents during the session. Parameters can be created, updated, or removed by the webhook. To remove a parameter from the session, the webhook should explicitly set the parameter value to null in WebhookResponse. The map is keyed by parameters' display names.", + "type": "object" + }, + "session": { + "description": "Always present for WebhookRequest. Ignored for WebhookResponse. The unique identifier of the session. This field can be used by the webhook to identify a user. Format: `projects//locations//agents//sessions/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookRequest": { + "description": "The request message for a webhook call.", + "id": "GoogleCloudDialogflowCxV3WebhookRequest", + "properties": { + "detectIntentResponseId": { + "description": "Always present. The unique identifier of the DetectIntentResponse that will be returned to the API caller.", + "type": "string" + }, + "fulfillmentInfo": { + "$ref": "GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo", + "description": "Always present. Information about the fulfillment that triggered this webhook call." + }, + "intentInfo": { + "$ref": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo", + "description": "Information about the last matched intent." + }, + "messages": { + "description": "The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessage" + }, + "type": "array" + }, + "pageInfo": { + "$ref": "GoogleCloudDialogflowCxV3PageInfo", + "description": "Information about page status." + }, + "payload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom data set in QueryParameters.payload.", + "type": "object" + }, + "sessionInfo": { + "$ref": "GoogleCloudDialogflowCxV3SessionInfo", + "description": "Information about session status." } - } - } - }, - "revision": "20201201", - "rootUrl": "https://dialogflow.googleapis.com/", - "schemas": { + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo": { + "description": "Represents fulfillment information communicated to the webhook.", + "id": "GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo", + "properties": { + "tag": { + "description": "Always present. The tag used to identify which fulfillment is being called.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo": { + "description": "Represents intent information communicated to the webhook.", + "id": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo", + "properties": { + "lastMatchedIntent": { + "description": "Always present. The unique identifier of the last matched intent. Format: `projects//locations//agents//intents/`.", + "type": "string" + }, + "parameters": { + "additionalProperties": { + "$ref": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue" + }, + "description": "Parameters identified as a result of intent matching. This is a map of the name of the identified parameter to the value of the parameter identified from the user's utterance. All parameters defined in the matched intent that are identified will be surfaced here.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue": { + "description": "Represents a value for an intent parameter.", + "id": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue", + "properties": { + "originalValue": { + "description": "Always present. Original text value extracted from user utterance.", + "type": "string" + }, + "resolvedValue": { + "description": "Always present. Structured value for the parameter extracted from user utterance.", + "type": "any" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookResponse": { + "description": "The response message for a webhook call.", + "id": "GoogleCloudDialogflowCxV3WebhookResponse", + "properties": { + "fulfillmentResponse": { + "$ref": "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse", + "description": "The fulfillment response to send to the user. This field can be omitted by the webhook if it does not intend to send any response to the user." + }, + "pageInfo": { + "$ref": "GoogleCloudDialogflowCxV3PageInfo", + "description": "Information about page status. This field can be omitted by the webhook if it does not intend to modify page status." + }, + "payload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Value to append directly to QueryResult.webhook_payloads.", + "type": "object" + }, + "sessionInfo": { + "$ref": "GoogleCloudDialogflowCxV3SessionInfo", + "description": "Information about session status. This field can be omitted by the webhook if it does not intend to modify session status." + }, + "targetFlow": { + "description": "The target flow to transition to. Format: `projects//locations//agents//flows/`.", + "type": "string" + }, + "targetPage": { + "description": "The target page to transition to. Format: `projects//locations//agents//flows//pages/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse": { + "description": "Represents a fulfillment response to the user.", + "id": "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse", + "properties": { + "mergeBehavior": { + "description": "Merge behavior for `messages`.", + "enum": [ + "MERGE_BEHAVIOR_UNSPECIFIED", + "APPEND", + "REPLACE" + ], + "enumDescriptions": [ + "Not specified. `APPEND` will be used.", + "`messages` will be appended to the list of messages waiting to be sent to the user.", + "`messages` will replace the list of messages waiting to be sent to the user." + ], + "type": "string" + }, + "messages": { + "description": "The list of rich message responses to present to the user.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessage" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1Agent": { "description": "Agents are best described as Natural Language Understanding (NLU) modules that transform user requests into actionable data. You can include agents in your app, product, or service to determine user intent and respond to the user in a natural way. After you create an agent, you can add Intents, Entity Types, Flows, Fulfillments, Webhooks, and so on to manage the conversation flows..", "id": "GoogleCloudDialogflowCxV3beta1Agent", @@ -3404,6 +3994,24 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse": { + "description": "The response message for SecuritySettings.ListSecuritySettings.", + "id": "GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse", + "properties": { + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", + "type": "string" + }, + "securitySettings": { + "description": "The list of security settings.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1SecuritySettings" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse": { "description": "The response message for SessionEntityTypes.ListSessionEntityTypes.", "id": "GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse", @@ -4152,6 +4760,69 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1SecuritySettings": { + "description": "Represents the settings related to security issues, such as data redaction and data retention. It may take hours for updates on the settings to propagate to all the related components and take effect.", + "id": "GoogleCloudDialogflowCxV3beta1SecuritySettings", + "properties": { + "displayName": { + "description": "Required. The human-readable name of the security settings, unique within the location.", + "type": "string" + }, + "inspectTemplate": { + "description": "DLP inspect template name. Use this template to define inspect base settings. If empty, we use the default DLP inspect config. The template name will have one of the following formats: `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`", + "type": "string" + }, + "name": { + "description": "Required. Resource name of the settings. Format: `projects//locations//securitySettings/`.", + "type": "string" + }, + "purgeDataTypes": { + "description": "List of types of data to remove when retention settings triggers purge.", + "items": { + "enum": [ + "PURGE_DATA_TYPE_UNSPECIFIED", + "DIALOGFLOW_HISTORY" + ], + "enumDescriptions": [ + "Unspecified. Do not use.", + "Dialogflow history. This does not include Stackdriver log, which is owned by the user not Dialogflow." + ], + "type": "string" + }, + "type": "array" + }, + "redactionScope": { + "description": "Defines on what data we apply redaction. Note that we don't redact data to which we don't have access, e.g., Stackdriver logs.", + "enum": [ + "REDACTION_SCOPE_UNSPECIFIED", + "REDACT_DISK_STORAGE" + ], + "enumDescriptions": [ + "Don't redact any kind of data.", + "On data to be written to disk or similar devices that are capable of holding data even if power is disconnected. This includes data that are temporarily saved on disk." + ], + "type": "string" + }, + "redactionStrategy": { + "description": "Strategy that defines how we do redaction.", + "enum": [ + "REDACTION_STRATEGY_UNSPECIFIED", + "REDACT_WITH_SERVICE" + ], + "enumDescriptions": [ + "Do not redact.", + "Call redaction service to clean up the data to be persisted." + ], + "type": "string" + }, + "retentionWindowDays": { + "description": "Retains the data for the specified number of days. User must Set a value lower than Dialogflow's default 30d TTL. Setting a value higher than that has no effect. A missing value or setting to 0 also means we use Dialogflow's default TTL.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult": { "description": "The result of sentiment analysis. Sentiment analysis inspects user input and identifies the prevailing subjective opinion, especially to determine a user's attitude as positive, negative, or neutral.", "id": "GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult", diff --git a/dialogflow/v3beta1/dialogflow-gen.go b/dialogflow/v3beta1/dialogflow-gen.go index 7d56bd1c601..34c1367aad8 100644 --- a/dialogflow/v3beta1/dialogflow-gen.go +++ b/dialogflow/v3beta1/dialogflow-gen.go @@ -164,6 +164,7 @@ func NewProjectsLocationsService(s *Service) *ProjectsLocationsService { rs := &ProjectsLocationsService{s: s} rs.Agents = NewProjectsLocationsAgentsService(s) rs.Operations = NewProjectsLocationsOperationsService(s) + rs.SecuritySettings = NewProjectsLocationsSecuritySettingsService(s) return rs } @@ -173,6 +174,8 @@ type ProjectsLocationsService struct { Agents *ProjectsLocationsAgentsService Operations *ProjectsLocationsOperationsService + + SecuritySettings *ProjectsLocationsSecuritySettingsService } func NewProjectsLocationsAgentsService(s *Service) *ProjectsLocationsAgentsService { @@ -337,6 +340,15 @@ type ProjectsLocationsOperationsService struct { s *Service } +func NewProjectsLocationsSecuritySettingsService(s *Service) *ProjectsLocationsSecuritySettingsService { + rs := &ProjectsLocationsSecuritySettingsService{s: s} + return rs +} + +type ProjectsLocationsSecuritySettingsService struct { + s *Service +} + func NewProjectsOperationsService(s *Service) *ProjectsOperationsService { rs := &ProjectsOperationsService{s: s} return rs @@ -346,67 +358,15 @@ type ProjectsOperationsService struct { s *Service } -// GoogleCloudDialogflowCxV3beta1Agent: Agents are best described as -// Natural Language Understanding (NLU) modules that transform user -// requests into actionable data. You can include agents in your app, -// product, or service to determine user intent and respond to the user -// in a natural way. After you create an agent, you can add Intents, -// Entity Types, Flows, Fulfillments, Webhooks, and so on to manage the -// conversation flows.. -type GoogleCloudDialogflowCxV3beta1Agent struct { - // AvatarUri: The URI of the agent's avatar. Avatars are used throughout - // the Dialogflow console and in the self-hosted [Web - // Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo) - // integration. - AvatarUri string `json:"avatarUri,omitempty"` - - // DefaultLanguageCode: Immutable. The default language of the agent as - // a language tag. See [Language - // Support](https://cloud.google.com/dialogflow/docs/reference/language) - // for a list of the currently supported language codes. This field - // cannot be set by the Agents.UpdateAgent method. - DefaultLanguageCode string `json:"defaultLanguageCode,omitempty"` - - // Description: The description of the agent. The maximum length is 500 - // characters. If exceeded, the request is rejected. - Description string `json:"description,omitempty"` - - // DisplayName: Required. The human-readable name of the agent, unique - // within the location. - DisplayName string `json:"displayName,omitempty"` - - // EnableSpellCorrection: Indicates if automatic spell correction is - // enabled in detect intent requests. - EnableSpellCorrection bool `json:"enableSpellCorrection,omitempty"` - - // EnableStackdriverLogging: Indicates if stackdriver logging is enabled - // for the agent. - EnableStackdriverLogging bool `json:"enableStackdriverLogging,omitempty"` - - // Name: The unique identifier of the agent. Required for the - // Agents.UpdateAgent method. Agents.CreateAgent populates the name - // automatically. Format: `projects//locations//agents/`. - Name string `json:"name,omitempty"` - - // SpeechToTextSettings: Speech recognition related settings. - SpeechToTextSettings *GoogleCloudDialogflowCxV3beta1SpeechToTextSettings `json:"speechToTextSettings,omitempty"` - - // StartFlow: Immutable. Name of the start flow in this agent. A start - // flow will be automatically created when the agent is created, and can - // only be deleted by deleting the agent. Format: - // `projects//locations//agents//flows/`. - StartFlow string `json:"startFlow,omitempty"` - - // TimeZone: Required. The time zone of the agent from the [time zone - // database](https://www.iana.org/time-zones), e.g., America/New_York, - // Europe/Paris. - TimeZone string `json:"timeZone,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` +// GoogleCloudDialogflowCxV3CreateVersionOperationMetadata: Metadata +// associated with the long running operation for +// Versions.CreateVersion. +type GoogleCloudDialogflowCxV3CreateVersionOperationMetadata struct { + // Version: Name of the created version. Format: + // `projects//locations//agents//flows//versions/`. + Version string `json:"version,omitempty"` - // ForceSendFields is a list of field names (e.g. "AvatarUri") to + // ForceSendFields is a list of field names (e.g. "Version") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -414,7 +374,7 @@ type GoogleCloudDialogflowCxV3beta1Agent struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AvatarUri") to include in + // NullFields is a list of field names (e.g. "Version") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -423,29 +383,23 @@ type GoogleCloudDialogflowCxV3beta1Agent struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1Agent) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1Agent +func (s *GoogleCloudDialogflowCxV3CreateVersionOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3CreateVersionOperationMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1AudioInput: Represents the natural -// speech audio to be processed. -type GoogleCloudDialogflowCxV3beta1AudioInput struct { - // Audio: The natural language speech audio to be processed. A single - // request can contain up to 1 minute of speech audio data. The - // transcribed text cannot contain more than 256 bytes. For - // non-streaming audio detect intent, both `config` and `audio` must be - // provided. For streaming audio detect intent, `config` must be - // provided in the first request and `audio` must be provided in all - // following requests. - Audio string `json:"audio,omitempty"` +// GoogleCloudDialogflowCxV3ExportAgentResponse: The response message +// for Agents.ExportAgent. +type GoogleCloudDialogflowCxV3ExportAgentResponse struct { + // AgentContent: Uncompressed raw byte content for agent. + AgentContent string `json:"agentContent,omitempty"` - // Config: Required. Instructs the speech recognizer how to process the - // speech audio. - Config *GoogleCloudDialogflowCxV3beta1InputAudioConfig `json:"config,omitempty"` + // AgentUri: The URI to a file containing the exported agent. This field + // is populated only if `agent_uri` is specified in ExportAgentRequest. + AgentUri string `json:"agentUri,omitempty"` - // ForceSendFields is a list of field names (e.g. "Audio") to + // ForceSendFields is a list of field names (e.g. "AgentContent") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -453,30 +407,34 @@ type GoogleCloudDialogflowCxV3beta1AudioInput struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Audio") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "AgentContent") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1AudioInput) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1AudioInput +func (s *GoogleCloudDialogflowCxV3ExportAgentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ExportAgentResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata: -// Metadata associated with the long running operation for -// Versions.CreateVersion. -type GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata struct { - // Version: Name of the created version. Format: - // `projects//locations//agents//flows//versions/`. - Version string `json:"version,omitempty"` +// GoogleCloudDialogflowCxV3PageInfo: Represents page information +// communicated to and from the webhook. +type GoogleCloudDialogflowCxV3PageInfo struct { + // CurrentPage: Always present for WebhookRequest. Ignored for + // WebhookResponse. The unique identifier of the current page. Format: + // `projects//locations//agents//flows//pages/`. + CurrentPage string `json:"currentPage,omitempty"` - // ForceSendFields is a list of field names (e.g. "Version") to + // FormInfo: Optional for both WebhookRequest and WebhookResponse. + // Information about the form. + FormInfo *GoogleCloudDialogflowCxV3PageInfoFormInfo `json:"formInfo,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CurrentPage") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -484,89 +442,93 @@ type GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Version") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "CurrentPage") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata +func (s *GoogleCloudDialogflowCxV3PageInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3PageInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1DetectIntentRequest: The request to -// detect user's intent. -type GoogleCloudDialogflowCxV3beta1DetectIntentRequest struct { - // OutputAudioConfig: Instructs the speech synthesizer how to generate - // the output audio. - OutputAudioConfig *GoogleCloudDialogflowCxV3beta1OutputAudioConfig `json:"outputAudioConfig,omitempty"` - - // QueryInput: Required. The input specification. - QueryInput *GoogleCloudDialogflowCxV3beta1QueryInput `json:"queryInput,omitempty"` - - // QueryParams: The parameters of this query. - QueryParams *GoogleCloudDialogflowCxV3beta1QueryParameters `json:"queryParams,omitempty"` +// GoogleCloudDialogflowCxV3PageInfoFormInfo: Represents form +// information. +type GoogleCloudDialogflowCxV3PageInfoFormInfo struct { + // ParameterInfo: Optional for both WebhookRequest and WebhookResponse. + // The parameters contained in the form. Note that the webhook cannot + // add or remove any form parameter. + ParameterInfo []*GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo `json:"parameterInfo,omitempty"` - // ForceSendFields is a list of field names (e.g. "OutputAudioConfig") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "ParameterInfo") to + // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "OutputAudioConfig") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "ParameterInfo") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1DetectIntentRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1DetectIntentRequest +func (s *GoogleCloudDialogflowCxV3PageInfoFormInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3PageInfoFormInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1DetectIntentResponse: The message -// returned from the DetectIntent method. -type GoogleCloudDialogflowCxV3beta1DetectIntentResponse struct { - // OutputAudio: The audio data bytes encoded as specified in the - // request. Note: The output audio is generated based on the values of - // default platform text responses found in the - // `query_result.response_messages` field. If multiple default text - // responses exist, they will be concatenated when generating audio. If - // no default platform text responses exist, the generated audio content - // will be empty. In some scenarios, multiple output audio fields may be - // present in the response structure. In these cases, only the - // top-most-level audio output has content. - OutputAudio string `json:"outputAudio,omitempty"` +// GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo: Represents +// parameter information. +type GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo struct { + // DisplayName: Always present for WebhookRequest. Required for + // WebhookResponse. The human-readable name of the parameter, unique + // within the form. This field cannot be modified by the webhook. + DisplayName string `json:"displayName,omitempty"` - // OutputAudioConfig: The config used by the speech synthesizer to - // generate the output audio. - OutputAudioConfig *GoogleCloudDialogflowCxV3beta1OutputAudioConfig `json:"outputAudioConfig,omitempty"` + // JustCollected: Optional for WebhookRequest. Ignored for + // WebhookResponse. Indicates if the parameter value was just collected + // on the last conversation turn. + JustCollected bool `json:"justCollected,omitempty"` - // QueryResult: The result of the conversational query. - QueryResult *GoogleCloudDialogflowCxV3beta1QueryResult `json:"queryResult,omitempty"` + // Required: Optional for both WebhookRequest and WebhookResponse. + // Indicates whether the parameter is required. Optional parameters will + // not trigger prompts; however, they are filled if the user specifies + // them. Required parameters must be filled before form filling + // concludes. + Required bool `json:"required,omitempty"` - // ResponseId: Output only. The unique identifier of the response. It - // can be used to locate a response in the training example set or for - // reporting issues. - ResponseId string `json:"responseId,omitempty"` + // State: Always present for WebhookRequest. Required for + // WebhookResponse. The state of the parameter. This field can be set to + // INVALID by the webhook to invalidate the parameter; other values set + // by the webhook will be ignored. + // + // Possible values: + // "PARAMETER_STATE_UNSPECIFIED" - Not specified. This value should be + // never used. + // "EMPTY" - Indicates that the parameter does not have a value. + // "INVALID" - Indicates that the parameter value is invalid. This + // field can be used by the webhook to invalidate the parameter and ask + // the server to collect it from the user again. + // "FILLED" - Indicates that the parameter has a value. + State string `json:"state,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // Value: Optional for both WebhookRequest and WebhookResponse. The + // value of the parameter. This field can be set by the webhook to + // change the parameter value. + Value interface{} `json:"value,omitempty"` - // ForceSendFields is a list of field names (e.g. "OutputAudio") to + // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -574,7 +536,7 @@ type GoogleCloudDialogflowCxV3beta1DetectIntentResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "OutputAudio") to include + // NullFields is a list of field names (e.g. "DisplayName") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -583,121 +545,65 @@ type GoogleCloudDialogflowCxV3beta1DetectIntentResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1DetectIntentResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1DetectIntentResponse +func (s *GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1DtmfInput: Represents the input for -// dtmf event. -type GoogleCloudDialogflowCxV3beta1DtmfInput struct { - // Digits: The dtmf digits. - Digits string `json:"digits,omitempty"` - - // FinishDigit: The finish digit (if any). - FinishDigit string `json:"finishDigit,omitempty"` +// GoogleCloudDialogflowCxV3ResponseMessage: Represents a response +// message that can be returned by a conversational agent. Response +// messages are also used for output audio synthesis. The approach is as +// follows: * If at least one OutputAudioText response is present, then +// all OutputAudioText responses are linearly concatenated, and the +// result is used for output audio synthesis. * If the OutputAudioText +// responses are a mixture of text and SSML, then the concatenated +// result is treated as SSML; otherwise, the result is treated as either +// text or SSML as appropriate. The agent designer should ideally use +// either text or SSML consistently throughout the bot design. * +// Otherwise, all Text responses are linearly concatenated, and the +// result is used for output audio synthesis. This approach allows for +// more sophisticated user experience scenarios, where the text +// displayed to the user may differ from what is heard. +type GoogleCloudDialogflowCxV3ResponseMessage struct { + // ConversationSuccess: Indicates that the conversation succeeded. + ConversationSuccess *GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess `json:"conversationSuccess,omitempty"` - // ForceSendFields is a list of field names (e.g. "Digits") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Digits") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GoogleCloudDialogflowCxV3beta1DtmfInput) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1DtmfInput - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleCloudDialogflowCxV3beta1EntityType: Entities are extracted from -// user input and represent parameters that are meaningful to your -// application. For example, a date range, a proper name such as a -// geographic location or landmark, and so on. Entities represent -// actionable data for your application. When you define an entity, you -// can also include synonyms that all map to that entity. For example, -// "soft drink", "soda", "pop", and so on. There are three types of -// entities: * **System** - entities that are defined by the Dialogflow -// API for common data types such as date, time, currency, and so on. A -// system entity is represented by the `EntityType` type. * **Custom** - -// entities that are defined by you that represent actionable data that -// is meaningful to your application. For example, you could define a -// `pizza.sauce` entity for red or white pizza sauce, a `pizza.cheese` -// entity for the different types of cheese on a pizza, a -// `pizza.topping` entity for different toppings, and so on. A custom -// entity is represented by the `EntityType` type. * **User** - entities -// that are built for an individual user such as favorites, preferences, -// playlists, and so on. A user entity is represented by the -// SessionEntityType type. For more information about entity types, see -// the [Dialogflow -// documentation](https://cloud.google.com/dialogflow/docs/entities-overv -// iew). -type GoogleCloudDialogflowCxV3beta1EntityType struct { - // AutoExpansionMode: Indicates whether the entity type can be - // automatically expanded. - // - // Possible values: - // "AUTO_EXPANSION_MODE_UNSPECIFIED" - Auto expansion disabled for the - // entity. - // "AUTO_EXPANSION_MODE_DEFAULT" - Allows an agent to recognize values - // that have not been explicitly listed in the entity. - AutoExpansionMode string `json:"autoExpansionMode,omitempty"` - - // DisplayName: Required. The human-readable name of the entity type, - // unique within the agent. - DisplayName string `json:"displayName,omitempty"` + // EndInteraction: Output only. A signal that indicates the interaction + // with the Dialogflow agent has ended. This message is generated by + // Dialogflow only when the conversation reaches `END_SESSION` or + // `END_PAGE` page. It is not supposed to be defined by the user. It's + // guaranteed that there is at most one such message in each response. + EndInteraction *GoogleCloudDialogflowCxV3ResponseMessageEndInteraction `json:"endInteraction,omitempty"` - // EnableFuzzyExtraction: Enables fuzzy entity extraction during - // classification. - EnableFuzzyExtraction bool `json:"enableFuzzyExtraction,omitempty"` + // LiveAgentHandoff: Hands off conversation to a human agent. + LiveAgentHandoff *GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff `json:"liveAgentHandoff,omitempty"` - // Entities: The collection of entity entries associated with the entity - // type. - Entities []*GoogleCloudDialogflowCxV3beta1EntityTypeEntity `json:"entities,omitempty"` + // MixedAudio: Output only. An audio response message composed of both + // the synthesized Dialogflow agent responses and responses defined via + // play_audio. This message is generated by Dialogflow only and not + // supposed to be defined by the user. + MixedAudio *GoogleCloudDialogflowCxV3ResponseMessageMixedAudio `json:"mixedAudio,omitempty"` - // ExcludedPhrases: Collection of exceptional words and phrases that - // shouldn't be matched. For example, if you have a size entity type - // with entry `giant`(an adjective), you might consider adding - // `giants`(a noun) as an exclusion. If the kind of entity type is - // `KIND_MAP`, then the phrases specified by entities and excluded - // phrases should be mutually exclusive. - ExcludedPhrases []*GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase `json:"excludedPhrases,omitempty"` + // OutputAudioText: A text or ssml response that is preferentially used + // for TTS output audio synthesis, as described in the comment on the + // ResponseMessage message. + OutputAudioText *GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText `json:"outputAudioText,omitempty"` - // Kind: Required. Indicates the kind of entity type. - // - // Possible values: - // "KIND_UNSPECIFIED" - Not specified. This value should be never - // used. - // "KIND_MAP" - Map entity types allow mapping of a group of synonyms - // to a canonical value. - // "KIND_LIST" - List entity types contain a set of entries that do - // not map to canonical values. However, list entity types can contain - // references to other entity types (with or without aliases). - // "KIND_REGEXP" - Regexp entity types allow to specify regular - // expressions in entries values. - Kind string `json:"kind,omitempty"` + // Payload: Returns a response containing a custom, platform-specific + // payload. + Payload googleapi.RawMessage `json:"payload,omitempty"` - // Name: The unique identifier of the entity type. Required for - // EntityTypes.UpdateEntityType. Format: - // `projects//locations//agents//entityTypes/`. - Name string `json:"name,omitempty"` + // PlayAudio: Signal that the client should play an audio clip hosted at + // a client-specific URI. Dialogflow uses this to construct mixed_audio. + // However, Dialogflow itself does not try to read or process the URI in + // any way. + PlayAudio *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio `json:"playAudio,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // Text: Returns a text response. + Text *GoogleCloudDialogflowCxV3ResponseMessageText `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. "AutoExpansionMode") + // ForceSendFields is a list of field names (e.g. "ConversationSuccess") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -705,7 +611,7 @@ type GoogleCloudDialogflowCxV3beta1EntityType struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AutoExpansionMode") to + // NullFields is a list of field names (e.g. "ConversationSuccess") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -715,30 +621,29 @@ type GoogleCloudDialogflowCxV3beta1EntityType struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1EntityType) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1EntityType +func (s *GoogleCloudDialogflowCxV3ResponseMessage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessage raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1EntityTypeEntity: An **entity entry** -// for an associated entity type. Next Id = 8 -type GoogleCloudDialogflowCxV3beta1EntityTypeEntity struct { - // Synonyms: Required. A collection of value synonyms. For example, if - // the entity type is *vegetable*, and `value` is *scallions*, a synonym - // could be *green onions*. For `KIND_LIST` entity types: * This - // collection must contain exactly one synonym equal to `value`. - Synonyms []string `json:"synonyms,omitempty"` - - // Value: Required. The primary value associated with this entity entry. - // For example, if the entity type is *vegetable*, the value could be - // *scallions*. For `KIND_MAP` entity types: * A canonical value to be - // used in place of synonyms. For `KIND_LIST` entity types: * A string - // that can contain references to other entity types (with or without - // aliases). - Value string `json:"value,omitempty"` +// GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess: +// Indicates that the conversation succeeded, i.e., the bot handled the +// issue that the customer talked to it about. Dialogflow only uses this +// to determine which conversations should be counted as successful and +// doesn't process the metadata in this message in any way. Note that +// Dialogflow also considers conversations that get to the conversation +// end page as successful even if they don't return ConversationSuccess. +// You may set this, for example: * In the entry_fulfillment of a Page +// if entering the page indicates that the conversation succeeded. * In +// a webhook response when you determine that you handled the customer +// issue. +type GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess struct { + // Metadata: Custom metadata. Dialogflow doesn't impose any structure on + // this. + Metadata googleapi.RawMessage `json:"metadata,omitempty"` - // ForceSendFields is a list of field names (e.g. "Synonyms") to + // ForceSendFields is a list of field names (e.g. "Metadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -746,7 +651,7 @@ type GoogleCloudDialogflowCxV3beta1EntityTypeEntity struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Synonyms") to include in + // NullFields is a list of field names (e.g. "Metadata") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -755,77 +660,34 @@ type GoogleCloudDialogflowCxV3beta1EntityTypeEntity struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1EntityTypeEntity) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1EntityTypeEntity +func (s *GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase: An excluded -// entity phrase that should not be matched. -type GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase struct { - // Value: Required. The word or phrase to be excluded. - Value string `json:"value,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Value") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Value") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +// GoogleCloudDialogflowCxV3ResponseMessageEndInteraction: Indicates +// that interaction with the Dialogflow agent has ended. This message is +// generated by Dialogflow only and not supposed to be defined by the +// user. +type GoogleCloudDialogflowCxV3ResponseMessageEndInteraction struct { } -// GoogleCloudDialogflowCxV3beta1Environment: Represents an environment -// for an agent. You can create multiple versions of your agent and -// publish them to separate environments. When you edit an agent, you -// are editing the draft agent. At any point, you can save the draft -// agent as an agent version, which is an immutable snapshot of your -// agent. When you save the draft agent, it is published to the default -// environment. When you create agent versions, you can publish them to -// custom environments. You can create a variety of custom environments -// for testing, development, production, etc. -type GoogleCloudDialogflowCxV3beta1Environment struct { - // Description: The human-readable description of the environment. The - // maximum length is 500 characters. If exceeded, the request is - // rejected. - Description string `json:"description,omitempty"` - - // DisplayName: Required. The human-readable name of the environment - // (unique in an agent). Limit of 64 characters. - DisplayName string `json:"displayName,omitempty"` - - // Name: The name of the environment. Format: - // `projects//locations//agents//environments/`. - Name string `json:"name,omitempty"` - - // UpdateTime: Output only. Update time of this environment. - UpdateTime string `json:"updateTime,omitempty"` - - // VersionConfigs: Required. A list of configurations for flow versions. - // You should include version configs for all flows that are reachable - // from `Start Flow` in the agent. Otherwise, an error will be returned. - VersionConfigs []*GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig `json:"versionConfigs,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` +// GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff: Indicates +// that the conversation should be handed off to a live agent. +// Dialogflow only uses this to determine which conversations were +// handed off to a human agent for measurement purposes. What else to do +// with this signal is up to you and your handoff procedures. You may +// set this, for example: * In the entry_fulfillment of a Page if +// entering the page indicates something went extremely wrong in the +// conversation. * In a webhook response when you determine that the +// customer issue can only be handled by a human. +type GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff struct { + // Metadata: Custom metadata for your handoff procedure. Dialogflow + // doesn't impose any structure on this. + Metadata googleapi.RawMessage `json:"metadata,omitempty"` - // ForceSendFields is a list of field names (e.g. "Description") to + // ForceSendFields is a list of field names (e.g. "Metadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -833,29 +695,32 @@ type GoogleCloudDialogflowCxV3beta1Environment struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Description") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Metadata") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1Environment) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1Environment +func (s *GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig: Configuration -// for the version. -type GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig struct { - // Version: Required. Format: - // projects//locations//agents//flows//versions/. - Version string `json:"version,omitempty"` +// GoogleCloudDialogflowCxV3ResponseMessageMixedAudio: Represents an +// audio message that is composed of both segments synthesized from the +// Dialogflow agent prompts and ones hosted externally at the specified +// URIs. The external URIs are specified via play_audio. This message is +// generated by Dialogflow only and not supposed to be defined by the +// user. +type GoogleCloudDialogflowCxV3ResponseMessageMixedAudio struct { + // Segments: Segments this audio response is composed of. + Segments []*GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment `json:"segments,omitempty"` - // ForceSendFields is a list of field names (e.g. "Version") to + // ForceSendFields is a list of field names (e.g. "Segments") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -863,7 +728,7 @@ type GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Version") to include in + // NullFields is a list of field names (e.g. "Segments") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -872,103 +737,187 @@ type GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig +func (s *GoogleCloudDialogflowCxV3ResponseMessageMixedAudio) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageMixedAudio raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1EventHandler: An event handler -// specifies an event that can be handled during a session. When the -// specified event happens, the following actions are taken in order: * -// If there is a `trigger_fulfillment` associated with the event, it -// will be called. * If there is a `target_page` associated with the -// event, the session will transition into the specified page. * If -// there is a `target_flow` associated with the event, the session will -// transition into the specified flow. -type GoogleCloudDialogflowCxV3beta1EventHandler struct { - // Event: Required. The name of the event to handle. - Event string `json:"event,omitempty"` +// GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment: Represents +// one segment of audio. +type GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // segment can be interrupted by the end user's speech and the client + // should then start the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` - // Name: Output only. The unique identifier of this event handler. - Name string `json:"name,omitempty"` + // Audio: Raw audio synthesized from the Dialogflow agent's response + // using the output config specified in the request. + Audio string `json:"audio,omitempty"` - // TargetFlow: The target flow to transition to. Format: - // `projects//locations//agents//flows/`. - TargetFlow string `json:"targetFlow,omitempty"` + // Uri: Client-specific URI that points to an audio clip accessible to + // the client. Dialogflow does not impose any validation on it. + Uri string `json:"uri,omitempty"` - // TargetPage: The target page to transition to. Format: - // `projects//locations//agents//flows//pages/`. - TargetPage string `json:"targetPage,omitempty"` + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` - // TriggerFulfillment: The fulfillment to call when the event occurs. - // Handling webhook errors with a fulfillment enabled with webhook could - // cause infinite loop. It is invalid to specify such fulfillment for a - // handler handling webhooks. - TriggerFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"triggerFulfillment,omitempty"` + // NullFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to include in API requests with the JSON + // null value. By default, fields with empty values are omitted from API + // requests. However, any field with an empty value appearing in + // NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. + NullFields []string `json:"-"` +} - // ForceSendFields is a list of field names (e.g. "Event") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. +func (s *GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText: A text or +// ssml response that is preferentially used for TTS output audio +// synthesis, as described in the comment on the ResponseMessage +// message. +type GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` + + // Ssml: The SSML text to be synthesized. For more information, see + // [SSML](/speech/text-to-speech/docs/ssml). + Ssml string `json:"ssml,omitempty"` + + // Text: The raw text to be synthesized. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Event") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to include in API requests with the JSON + // null value. By default, fields with empty values are omitted from API + // requests. However, any field with an empty value appearing in + // NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1EventHandler) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1EventHandler +func (s *GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1EventInput: Represents the event to -// trigger. -type GoogleCloudDialogflowCxV3beta1EventInput struct { - // Event: Name of the event. - Event string `json:"event,omitempty"` +// GoogleCloudDialogflowCxV3ResponseMessagePlayAudio: Specifies an audio +// clip to be played by the client as part of the response. +type GoogleCloudDialogflowCxV3ResponseMessagePlayAudio struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` - // ForceSendFields is a list of field names (e.g. "Event") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. + // AudioUri: Required. URI of the audio clip. Dialogflow does not impose + // any validation on this value. It is specific to the client that reads + // it. + AudioUri string `json:"audioUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Event") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to include in API requests with the JSON + // null value. By default, fields with empty values are omitted from API + // requests. However, any field with an empty value appearing in + // NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1EventInput) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1EventInput +func (s *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessagePlayAudio raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ExportAgentRequest: The request message -// for Agents.ExportAgent. -type GoogleCloudDialogflowCxV3beta1ExportAgentRequest struct { - // AgentUri: Optional. The [Google Cloud - // Storage](https://cloud.google.com/storage/docs/) URI to export the - // agent to. The format of this URI must be `gs:///`. If left - // unspecified, the serialized agent is returned inline. - AgentUri string `json:"agentUri,omitempty"` +// GoogleCloudDialogflowCxV3ResponseMessageText: The text response +// message. +type GoogleCloudDialogflowCxV3ResponseMessageText struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` - // ForceSendFields is a list of field names (e.g. "AgentUri") to + // Text: Required. A collection of text responses. + Text []string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to include in API requests with the JSON + // null value. By default, fields with empty values are omitted from API + // requests. However, any field with an empty value appearing in + // NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3ResponseMessageText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageText + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3SessionInfo: Represents session information +// communicated to and from the webhook. +type GoogleCloudDialogflowCxV3SessionInfo struct { + // Parameters: Optional for WebhookRequest. Optional for + // WebhookResponse. All parameters collected from forms and intents + // during the session. Parameters can be created, updated, or removed by + // the webhook. To remove a parameter from the session, the webhook + // should explicitly set the parameter value to null in WebhookResponse. + // The map is keyed by parameters' display names. + Parameters googleapi.RawMessage `json:"parameters,omitempty"` + + // Session: Always present for WebhookRequest. Ignored for + // WebhookResponse. The unique identifier of the session. This field can + // be used by the webhook to identify a user. Format: + // `projects//locations//agents//sessions/`. + Session string `json:"session,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Parameters") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -976,7 +925,7 @@ type GoogleCloudDialogflowCxV3beta1ExportAgentRequest struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AgentUri") to include in + // NullFields is a list of field names (e.g. "Parameters") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -985,23 +934,73 @@ type GoogleCloudDialogflowCxV3beta1ExportAgentRequest struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ExportAgentRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ExportAgentRequest +func (s *GoogleCloudDialogflowCxV3SessionInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3SessionInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ExportAgentResponse: The response -// message for Agents.ExportAgent. -type GoogleCloudDialogflowCxV3beta1ExportAgentResponse struct { - // AgentContent: Uncompressed raw byte content for agent. - AgentContent string `json:"agentContent,omitempty"` +// GoogleCloudDialogflowCxV3WebhookRequest: The request message for a +// webhook call. +type GoogleCloudDialogflowCxV3WebhookRequest struct { + // DetectIntentResponseId: Always present. The unique identifier of the + // DetectIntentResponse that will be returned to the API caller. + DetectIntentResponseId string `json:"detectIntentResponseId,omitempty"` - // AgentUri: The URI to a file containing the exported agent. This field - // is populated only if `agent_uri` is specified in ExportAgentRequest. - AgentUri string `json:"agentUri,omitempty"` + // FulfillmentInfo: Always present. Information about the fulfillment + // that triggered this webhook call. + FulfillmentInfo *GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo `json:"fulfillmentInfo,omitempty"` - // ForceSendFields is a list of field names (e.g. "AgentContent") to + // IntentInfo: Information about the last matched intent. + IntentInfo *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo `json:"intentInfo,omitempty"` + + // Messages: The list of rich message responses to present to the user. + // Webhook can choose to append or replace this list in + // WebhookResponse.fulfillment_response; + Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"` + + // PageInfo: Information about page status. + PageInfo *GoogleCloudDialogflowCxV3PageInfo `json:"pageInfo,omitempty"` + + // Payload: Custom data set in QueryParameters.payload. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // SessionInfo: Information about session status. + SessionInfo *GoogleCloudDialogflowCxV3SessionInfo `json:"sessionInfo,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "DetectIntentResponseId") to unconditionally include in API requests. + // By default, fields with empty values are omitted from API requests. + // However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "DetectIntentResponseId") + // to include in API requests with the JSON null value. By default, + // fields with empty values are omitted from API requests. However, any + // field with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3WebhookRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo: Represents +// fulfillment information communicated to the webhook. +type GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo struct { + // Tag: Always present. The tag used to identify which fulfillment is + // being called. + Tag string `json:"tag,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Tag") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -1009,77 +1008,71 @@ type GoogleCloudDialogflowCxV3beta1ExportAgentResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AgentContent") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Tag") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ExportAgentResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ExportAgentResponse +func (s *GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1Flow: Flows represents the conversation -// flows when you build your chatbot agent. A flow consists of many -// pages connected by the transition routes. Conversations always start -// with the built-in Start Flow (with an all-0 ID). Transition routes -// can direct the conversation session from the current flow (parent -// flow) to another flow (sub flow). When the sub flow is finished, -// Dialogflow will bring the session back to the parent flow, where the -// sub flow is started. Usually, when a transition route is followed by -// a matched intent, the intent will be "consumed". This means the -// intent won't activate more transition routes. However, when the -// followed transition route moves the conversation session into a -// different flow, the matched intent can be carried over and to be -// consumed in the target flow. -type GoogleCloudDialogflowCxV3beta1Flow struct { - // Description: The description of the flow. The maximum length is 500 - // characters. If exceeded, the request is rejected. - Description string `json:"description,omitempty"` +// GoogleCloudDialogflowCxV3WebhookRequestIntentInfo: Represents intent +// information communicated to the webhook. +type GoogleCloudDialogflowCxV3WebhookRequestIntentInfo struct { + // LastMatchedIntent: Always present. The unique identifier of the last + // matched intent. Format: `projects//locations//agents//intents/`. + LastMatchedIntent string `json:"lastMatchedIntent,omitempty"` - // DisplayName: Required. The human-readable name of the flow. - DisplayName string `json:"displayName,omitempty"` + // Parameters: Parameters identified as a result of intent matching. + // This is a map of the name of the identified parameter to the value of + // the parameter identified from the user's utterance. All parameters + // defined in the matched intent that are identified will be surfaced + // here. + Parameters map[string]GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue `json:"parameters,omitempty"` - // EventHandlers: A flow's event handlers serve two purposes: * They are - // responsible for handling events (e.g. no match, webhook errors) in - // the flow. * They are inherited by every page's event handlers, which - // can be used to handle common events regardless of the current page. - // Event handlers defined in the page have higher priority than those - // defined in the flow. Unlike transition_routes, these handlers are - // evaluated on a first-match basis. The first one that matches the - // event get executed, with the rest being ignored. - EventHandlers []*GoogleCloudDialogflowCxV3beta1EventHandler `json:"eventHandlers,omitempty"` + // ForceSendFields is a list of field names (e.g. "LastMatchedIntent") + // to unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` - // Name: The unique identifier of the flow. Format: - // `projects//locations//agents//flows/`. - Name string `json:"name,omitempty"` + // NullFields is a list of field names (e.g. "LastMatchedIntent") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} - // NluSettings: NLU related settings of the flow. - NluSettings *GoogleCloudDialogflowCxV3beta1NluSettings `json:"nluSettings,omitempty"` +func (s *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequestIntentInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // TransitionRoutes: A flow's transition routes serve two purposes: * - // They are responsible for matching the user's first utterances in the - // flow. * They are inherited by every page's transition routes and can - // support use cases such as the user saying "help" or "can I talk to a - // human?", which can be handled in a common way regardless of the - // current page. Transition routes defined in the page have higher - // priority than those defined in the flow. TransitionRoutes are - // evalauted in the following order: * TransitionRoutes with intent - // specified.. * TransitionRoutes with only condition specified. - // TransitionRoutes with intent specified are inherited by pages in the - // flow. - TransitionRoutes []*GoogleCloudDialogflowCxV3beta1TransitionRoute `json:"transitionRoutes,omitempty"` +// GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue: +// Represents a value for an intent parameter. +type GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue struct { + // OriginalValue: Always present. Original text value extracted from + // user utterance. + OriginalValue string `json:"originalValue,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // ResolvedValue: Always present. Structured value for the parameter + // extracted from user utterance. + ResolvedValue interface{} `json:"resolvedValue,omitempty"` - // ForceSendFields is a list of field names (e.g. "Description") to + // ForceSendFields is a list of field names (e.g. "OriginalValue") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -1087,7 +1080,7 @@ type GoogleCloudDialogflowCxV3beta1Flow struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Description") to include + // NullFields is a list of field names (e.g. "OriginalValue") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -1096,83 +1089,82 @@ type GoogleCloudDialogflowCxV3beta1Flow struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1Flow) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1Flow +func (s *GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1Form: A form is a data model that -// groups related parameters that can be collected from the user. The -// process in which the agent prompts the user and collects parameter -// values from the user is called form filling. A form can be added to a -// page. When form filling is done, the filled parameters will be -// written to the session. -type GoogleCloudDialogflowCxV3beta1Form struct { - // Parameters: Parameters to collect from the user. - Parameters []*GoogleCloudDialogflowCxV3beta1FormParameter `json:"parameters,omitempty"` +// GoogleCloudDialogflowCxV3WebhookResponse: The response message for a +// webhook call. +type GoogleCloudDialogflowCxV3WebhookResponse struct { + // FulfillmentResponse: The fulfillment response to send to the user. + // This field can be omitted by the webhook if it does not intend to + // send any response to the user. + FulfillmentResponse *GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse `json:"fulfillmentResponse,omitempty"` - // ForceSendFields is a list of field names (e.g. "Parameters") to - // unconditionally include in API requests. By default, fields with + // PageInfo: Information about page status. This field can be omitted by + // the webhook if it does not intend to modify page status. + PageInfo *GoogleCloudDialogflowCxV3PageInfo `json:"pageInfo,omitempty"` + + // Payload: Value to append directly to QueryResult.webhook_payloads. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // SessionInfo: Information about session status. This field can be + // omitted by the webhook if it does not intend to modify session + // status. + SessionInfo *GoogleCloudDialogflowCxV3SessionInfo `json:"sessionInfo,omitempty"` + + // TargetFlow: The target flow to transition to. Format: + // `projects//locations//agents//flows/`. + TargetFlow string `json:"targetFlow,omitempty"` + + // TargetPage: The target page to transition to. Format: + // `projects//locations//agents//flows//pages/`. + TargetPage string `json:"targetPage,omitempty"` + + // ForceSendFields is a list of field names (e.g. "FulfillmentResponse") + // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Parameters") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "FulfillmentResponse") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1Form) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1Form +func (s *GoogleCloudDialogflowCxV3WebhookResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1FormParameter: Represents a form -// parameter. -type GoogleCloudDialogflowCxV3beta1FormParameter struct { - // DefaultValue: The default value of an optional parameter. If the - // parameter is required, the default value will be ignored. - DefaultValue interface{} `json:"defaultValue,omitempty"` - - // DisplayName: Required. The human-readable name of the parameter, - // unique within the form. - DisplayName string `json:"displayName,omitempty"` - - // EntityType: Required. The entity type of the parameter. Format: - // `projects/-/locations/-/agents/-/entityTypes/` for system entity - // types (for example, - // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or - // `projects//locations//agents//entityTypes/` for developer entity - // types. - EntityType string `json:"entityType,omitempty"` - - // FillBehavior: Required. Defines fill behavior for the parameter. - FillBehavior *GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior `json:"fillBehavior,omitempty"` - - // IsList: Indicates whether the parameter represents a list of values. - IsList bool `json:"isList,omitempty"` - - // Redact: Indicates whether the parameter content is logged in text and - // audio. If it is set to true, the parameter content will be replaced - // to parameter name in both request and response. The default value is - // false. - Redact bool `json:"redact,omitempty"` +// GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse: +// Represents a fulfillment response to the user. +type GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse struct { + // MergeBehavior: Merge behavior for `messages`. + // + // Possible values: + // "MERGE_BEHAVIOR_UNSPECIFIED" - Not specified. `APPEND` will be + // used. + // "APPEND" - `messages` will be appended to the list of messages + // waiting to be sent to the user. + // "REPLACE" - `messages` will replace the list of messages waiting to + // be sent to the user. + MergeBehavior string `json:"mergeBehavior,omitempty"` - // Required: Indicates whether the parameter is required. Optional - // parameters will not trigger prompts; however, they are filled if the - // user specifies them. Required parameters must be filled before form - // filling concludes. - Required bool `json:"required,omitempty"` + // Messages: The list of rich message responses to present to the user. + Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"` - // ForceSendFields is a list of field names (e.g. "DefaultValue") to + // ForceSendFields is a list of field names (e.g. "MergeBehavior") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -1180,7 +1172,7 @@ type GoogleCloudDialogflowCxV3beta1FormParameter struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DefaultValue") to include + // NullFields is a list of field names (e.g. "MergeBehavior") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -1189,85 +1181,112 @@ type GoogleCloudDialogflowCxV3beta1FormParameter struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1FormParameter) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1FormParameter +func (s *GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior: -// Configuration for how the filling of a parameter should be handled. -type GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior struct { - // InitialPromptFulfillment: Required. The fulfillment to provide the - // initial prompt that the agent can present to the user in order to - // fill the parameter. - InitialPromptFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"initialPromptFulfillment,omitempty"` +// GoogleCloudDialogflowCxV3beta1Agent: Agents are best described as +// Natural Language Understanding (NLU) modules that transform user +// requests into actionable data. You can include agents in your app, +// product, or service to determine user intent and respond to the user +// in a natural way. After you create an agent, you can add Intents, +// Entity Types, Flows, Fulfillments, Webhooks, and so on to manage the +// conversation flows.. +type GoogleCloudDialogflowCxV3beta1Agent struct { + // AvatarUri: The URI of the agent's avatar. Avatars are used throughout + // the Dialogflow console and in the self-hosted [Web + // Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo) + // integration. + AvatarUri string `json:"avatarUri,omitempty"` - // RepromptEventHandlers: The handlers for parameter-level events, used - // to provide reprompt for the parameter or transition to a different - // page/flow. The supported events are: * `sys.no-match-`, where N can - // be from 1 to 6 * `sys.no-match-default` * `sys.no-input-`, where N - // can be from 1 to 6 * `sys.no-input-default` * `sys.invalid-parameter` - // `initial_prompt_fulfillment` provides the first prompt for the - // parameter. If the user's response does not fill the parameter, a - // no-match/no-input event will be triggered, and the fulfillment - // associated with the `sys.no-match-1`/`sys.no-input-1` handler (if - // defined) will be called to provide a prompt. The - // `sys.no-match-2`/`sys.no-input-2` handler (if defined) will respond - // to the next no-match/no-input event, and so on. A - // `sys.no-match-default` or `sys.no-input-default` handler will be used - // to handle all following no-match/no-input events after all numbered - // no-match/no-input handlers for the parameter are consumed. A - // `sys.invalid-parameter` handler can be defined to handle the case - // where the parameter values have been `invalidated` by webhook. For - // example, if the user's response fill the parameter, however the - // parameter was invalidated by webhook, the fulfillment associated with - // the `sys.invalid-parameter` handler (if defined) will be called to - // provide a prompt. If the event handler for the corresponding event - // can't be found on the parameter, `initial_prompt_fulfillment` will be - // re-prompted. - RepromptEventHandlers []*GoogleCloudDialogflowCxV3beta1EventHandler `json:"repromptEventHandlers,omitempty"` + // DefaultLanguageCode: Immutable. The default language of the agent as + // a language tag. See [Language + // Support](https://cloud.google.com/dialogflow/docs/reference/language) + // for a list of the currently supported language codes. This field + // cannot be set by the Agents.UpdateAgent method. + DefaultLanguageCode string `json:"defaultLanguageCode,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "InitialPromptFulfillment") to unconditionally include in API - // requests. By default, fields with empty values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. - ForceSendFields []string `json:"-"` + // Description: The description of the agent. The maximum length is 500 + // characters. If exceeded, the request is rejected. + Description string `json:"description,omitempty"` - // NullFields is a list of field names (e.g. "InitialPromptFulfillment") - // to include in API requests with the JSON null value. By default, - // fields with empty values are omitted from API requests. However, any - // field with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // DisplayName: Required. The human-readable name of the agent, unique + // within the location. + DisplayName string `json:"displayName,omitempty"` + + // EnableSpellCorrection: Indicates if automatic spell correction is + // enabled in detect intent requests. + EnableSpellCorrection bool `json:"enableSpellCorrection,omitempty"` + + // EnableStackdriverLogging: Indicates if stackdriver logging is enabled + // for the agent. + EnableStackdriverLogging bool `json:"enableStackdriverLogging,omitempty"` + + // Name: The unique identifier of the agent. Required for the + // Agents.UpdateAgent method. Agents.CreateAgent populates the name + // automatically. Format: `projects//locations//agents/`. + Name string `json:"name,omitempty"` + + // SpeechToTextSettings: Speech recognition related settings. + SpeechToTextSettings *GoogleCloudDialogflowCxV3beta1SpeechToTextSettings `json:"speechToTextSettings,omitempty"` + + // StartFlow: Immutable. Name of the start flow in this agent. A start + // flow will be automatically created when the agent is created, and can + // only be deleted by deleting the agent. Format: + // `projects//locations//agents//flows/`. + StartFlow string `json:"startFlow,omitempty"` + + // TimeZone: Required. The time zone of the agent from the [time zone + // database](https://www.iana.org/time-zones), e.g., America/New_York, + // Europe/Paris. + TimeZone string `json:"timeZone,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "AvatarUri") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "AvatarUri") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior +func (s *GoogleCloudDialogflowCxV3beta1Agent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Agent raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1FulfillIntentRequest: Request of -// FulfillIntent -type GoogleCloudDialogflowCxV3beta1FulfillIntentRequest struct { - // Match: The matched intent/event to fulfill. - Match *GoogleCloudDialogflowCxV3beta1Match `json:"match,omitempty"` - - // MatchIntentRequest: Must be same as the corresponding MatchIntent - // request, otherwise the behavior is undefined. - MatchIntentRequest *GoogleCloudDialogflowCxV3beta1MatchIntentRequest `json:"matchIntentRequest,omitempty"` +// GoogleCloudDialogflowCxV3beta1AudioInput: Represents the natural +// speech audio to be processed. +type GoogleCloudDialogflowCxV3beta1AudioInput struct { + // Audio: The natural language speech audio to be processed. A single + // request can contain up to 1 minute of speech audio data. The + // transcribed text cannot contain more than 256 bytes. For + // non-streaming audio detect intent, both `config` and `audio` must be + // provided. For streaming audio detect intent, `config` must be + // provided in the first request and `audio` must be provided in all + // following requests. + Audio string `json:"audio,omitempty"` - // OutputAudioConfig: Instructs the speech synthesizer how to generate - // output audio. - OutputAudioConfig *GoogleCloudDialogflowCxV3beta1OutputAudioConfig `json:"outputAudioConfig,omitempty"` + // Config: Required. Instructs the speech recognizer how to process the + // speech audio. + Config *GoogleCloudDialogflowCxV3beta1InputAudioConfig `json:"config,omitempty"` - // ForceSendFields is a list of field names (e.g. "Match") to + // ForceSendFields is a list of field names (e.g. "Audio") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -1275,7 +1294,7 @@ type GoogleCloudDialogflowCxV3beta1FulfillIntentRequest struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Match") to include in API + // NullFields is a list of field names (e.g. "Audio") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -1284,15 +1303,83 @@ type GoogleCloudDialogflowCxV3beta1FulfillIntentRequest struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1FulfillIntentRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1FulfillIntentRequest +func (s *GoogleCloudDialogflowCxV3beta1AudioInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1AudioInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1FulfillIntentResponse: Response of -// FulfillIntent -type GoogleCloudDialogflowCxV3beta1FulfillIntentResponse struct { +// GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata: +// Metadata associated with the long running operation for +// Versions.CreateVersion. +type GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata struct { + // Version: Name of the created version. Format: + // `projects//locations//agents//flows//versions/`. + Version string `json:"version,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Version") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Version") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1DetectIntentRequest: The request to +// detect user's intent. +type GoogleCloudDialogflowCxV3beta1DetectIntentRequest struct { + // OutputAudioConfig: Instructs the speech synthesizer how to generate + // the output audio. + OutputAudioConfig *GoogleCloudDialogflowCxV3beta1OutputAudioConfig `json:"outputAudioConfig,omitempty"` + + // QueryInput: Required. The input specification. + QueryInput *GoogleCloudDialogflowCxV3beta1QueryInput `json:"queryInput,omitempty"` + + // QueryParams: The parameters of this query. + QueryParams *GoogleCloudDialogflowCxV3beta1QueryParameters `json:"queryParams,omitempty"` + + // ForceSendFields is a list of field names (e.g. "OutputAudioConfig") + // to unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "OutputAudioConfig") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3beta1DetectIntentRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1DetectIntentRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1DetectIntentResponse: The message +// returned from the DetectIntent method. +type GoogleCloudDialogflowCxV3beta1DetectIntentResponse struct { // OutputAudio: The audio data bytes encoded as specified in the // request. Note: The output audio is generated based on the values of // default platform text responses found in the @@ -1337,72 +1424,22 @@ type GoogleCloudDialogflowCxV3beta1FulfillIntentResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1FulfillIntentResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1FulfillIntentResponse +func (s *GoogleCloudDialogflowCxV3beta1DetectIntentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1DetectIntentResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1Fulfillment: A fulfillment can do one -// or more of the following actions at the same time: * Generate rich -// message responses. * Set parameter values. * Call the webhook. -// Fulfillments can be called at various stages in the Page or Form -// lifecycle. For example, when a DetectIntentRequest drives a session -// to enter a new page, the page's entry fulfillment can add a static -// response to the QueryResult in the returning DetectIntentResponse, -// call the webhook (for example, to load user data from a database), or -// both. -type GoogleCloudDialogflowCxV3beta1Fulfillment struct { - // ConditionalCases: Conditional cases for this fulfillment. - ConditionalCases []*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases `json:"conditionalCases,omitempty"` - - // Messages: The list of rich message responses to present to the user. - Messages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"messages,omitempty"` - - // SetParameterActions: Set parameter values before executing the - // webhook. - SetParameterActions []*GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction `json:"setParameterActions,omitempty"` - - // Tag: The tag used by the webhook to identify which fulfillment is - // being called. This field is required if `webhook` is specified. - Tag string `json:"tag,omitempty"` - - // Webhook: The webhook to call. Format: - // `projects//locations//agents//webhooks/`. - Webhook string `json:"webhook,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ConditionalCases") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ConditionalCases") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *GoogleCloudDialogflowCxV3beta1Fulfillment) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1Fulfillment - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} +// GoogleCloudDialogflowCxV3beta1DtmfInput: Represents the input for +// dtmf event. +type GoogleCloudDialogflowCxV3beta1DtmfInput struct { + // Digits: The dtmf digits. + Digits string `json:"digits,omitempty"` -// GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases: A list of -// cascading if-else conditions. Cases are mutually exclusive. The first -// one with a matching condition is selected, all the rest ignored. -type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases struct { - // Cases: A list of cascading if-else conditions. - Cases []*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase `json:"cases,omitempty"` + // FinishDigit: The finish digit (if any). + FinishDigit string `json:"finishDigit,omitempty"` - // ForceSendFields is a list of field names (e.g. "Cases") to + // ForceSendFields is a list of field names (e.g. "Digits") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -1410,7 +1447,7 @@ type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Cases") to include in API + // NullFields is a list of field names (e.g. "Digits") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -1419,68 +1456,97 @@ type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases +func (s *GoogleCloudDialogflowCxV3beta1DtmfInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1DtmfInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase: Each -// case has a Boolean condition. When it is evaluated to be True, the -// corresponding messages will be selected and evaluated recursively. -type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase struct { - // CaseContent: A list of case content. - CaseContent []*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent `json:"caseContent,omitempty"` - - // Condition: The condition to activate and select this case. Empty - // means the condition is always true. The condition is evaluated - // against form parameters or session parameters. See the [conditions - // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condi - // tion). - Condition string `json:"condition,omitempty"` - - // ForceSendFields is a list of field names (e.g. "CaseContent") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` +// GoogleCloudDialogflowCxV3beta1EntityType: Entities are extracted from +// user input and represent parameters that are meaningful to your +// application. For example, a date range, a proper name such as a +// geographic location or landmark, and so on. Entities represent +// actionable data for your application. When you define an entity, you +// can also include synonyms that all map to that entity. For example, +// "soft drink", "soda", "pop", and so on. There are three types of +// entities: * **System** - entities that are defined by the Dialogflow +// API for common data types such as date, time, currency, and so on. A +// system entity is represented by the `EntityType` type. * **Custom** - +// entities that are defined by you that represent actionable data that +// is meaningful to your application. For example, you could define a +// `pizza.sauce` entity for red or white pizza sauce, a `pizza.cheese` +// entity for the different types of cheese on a pizza, a +// `pizza.topping` entity for different toppings, and so on. A custom +// entity is represented by the `EntityType` type. * **User** - entities +// that are built for an individual user such as favorites, preferences, +// playlists, and so on. A user entity is represented by the +// SessionEntityType type. For more information about entity types, see +// the [Dialogflow +// documentation](https://cloud.google.com/dialogflow/docs/entities-overv +// iew). +type GoogleCloudDialogflowCxV3beta1EntityType struct { + // AutoExpansionMode: Indicates whether the entity type can be + // automatically expanded. + // + // Possible values: + // "AUTO_EXPANSION_MODE_UNSPECIFIED" - Auto expansion disabled for the + // entity. + // "AUTO_EXPANSION_MODE_DEFAULT" - Allows an agent to recognize values + // that have not been explicitly listed in the entity. + AutoExpansionMode string `json:"autoExpansionMode,omitempty"` - // NullFields is a list of field names (e.g. "CaseContent") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} + // DisplayName: Required. The human-readable name of the entity type, + // unique within the agent. + DisplayName string `json:"displayName,omitempty"` -func (s *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // EnableFuzzyExtraction: Enables fuzzy entity extraction during + // classification. + EnableFuzzyExtraction bool `json:"enableFuzzyExtraction,omitempty"` -// GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseConte -// nt: The list of messages or conditional cases to activate for this -// case. -type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent struct { - // AdditionalCases: Additional cases to be evaluated. - AdditionalCases *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases `json:"additionalCases,omitempty"` + // Entities: The collection of entity entries associated with the entity + // type. + Entities []*GoogleCloudDialogflowCxV3beta1EntityTypeEntity `json:"entities,omitempty"` - // Message: Returned message. - Message *GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"message,omitempty"` + // ExcludedPhrases: Collection of exceptional words and phrases that + // shouldn't be matched. For example, if you have a size entity type + // with entry `giant`(an adjective), you might consider adding + // `giants`(a noun) as an exclusion. If the kind of entity type is + // `KIND_MAP`, then the phrases specified by entities and excluded + // phrases should be mutually exclusive. + ExcludedPhrases []*GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase `json:"excludedPhrases,omitempty"` - // ForceSendFields is a list of field names (e.g. "AdditionalCases") to - // unconditionally include in API requests. By default, fields with + // Kind: Required. Indicates the kind of entity type. + // + // Possible values: + // "KIND_UNSPECIFIED" - Not specified. This value should be never + // used. + // "KIND_MAP" - Map entity types allow mapping of a group of synonyms + // to a canonical value. + // "KIND_LIST" - List entity types contain a set of entries that do + // not map to canonical values. However, list entity types can contain + // references to other entity types (with or without aliases). + // "KIND_REGEXP" - Regexp entity types allow to specify regular + // expressions in entries values. + Kind string `json:"kind,omitempty"` + + // Name: The unique identifier of the entity type. Required for + // EntityTypes.UpdateEntityType. Format: + // `projects//locations//agents//entityTypes/`. + Name string `json:"name,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "AutoExpansionMode") + // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AdditionalCases") to + // NullFields is a list of field names (e.g. "AutoExpansionMode") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -1490,23 +1556,30 @@ type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent st NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent +func (s *GoogleCloudDialogflowCxV3beta1EntityType) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1EntityType raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction: Setting -// a parameter value. -type GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction struct { - // Parameter: Display name of the parameter. - Parameter string `json:"parameter,omitempty"` +// GoogleCloudDialogflowCxV3beta1EntityTypeEntity: An **entity entry** +// for an associated entity type. Next Id = 8 +type GoogleCloudDialogflowCxV3beta1EntityTypeEntity struct { + // Synonyms: Required. A collection of value synonyms. For example, if + // the entity type is *vegetable*, and `value` is *scallions*, a synonym + // could be *green onions*. For `KIND_LIST` entity types: * This + // collection must contain exactly one synonym equal to `value`. + Synonyms []string `json:"synonyms,omitempty"` - // Value: The new value of the parameter. A null value clears the - // parameter. - Value interface{} `json:"value,omitempty"` + // Value: Required. The primary value associated with this entity entry. + // For example, if the entity type is *vegetable*, the value could be + // *scallions*. For `KIND_MAP` entity types: * A canonical value to be + // used in place of synonyms. For `KIND_LIST` entity types: * A string + // that can contain references to other entity types (with or without + // aliases). + Value string `json:"value,omitempty"` - // ForceSendFields is a list of field names (e.g. "Parameter") to + // ForceSendFields is a list of field names (e.g. "Synonyms") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -1514,7 +1587,7 @@ type GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Parameter") to include in + // NullFields is a list of field names (e.g. "Synonyms") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -1523,120 +1596,19 @@ type GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction +func (s *GoogleCloudDialogflowCxV3beta1EntityTypeEntity) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1EntityTypeEntity raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1InputAudioConfig: Instructs the speech -// recognizer on how to process the audio content. -type GoogleCloudDialogflowCxV3beta1InputAudioConfig struct { - // AudioEncoding: Required. Audio encoding of the audio content to - // process. - // - // Possible values: - // "AUDIO_ENCODING_UNSPECIFIED" - Not specified. - // "AUDIO_ENCODING_LINEAR_16" - Uncompressed 16-bit signed - // little-endian samples (Linear PCM). - // "AUDIO_ENCODING_FLAC" - - // [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless - // Audio Codec) is the recommended encoding because it is lossless - // (therefore recognition is not compromised) and requires only about - // half the bandwidth of `LINEAR16`. `FLAC` stream encoding supports - // 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` - // are supported. - // "AUDIO_ENCODING_MULAW" - 8-bit samples that compand 14-bit audio - // samples using G.711 PCMU/mu-law. - // "AUDIO_ENCODING_AMR" - Adaptive Multi-Rate Narrowband codec. - // `sample_rate_hertz` must be 8000. - // "AUDIO_ENCODING_AMR_WB" - Adaptive Multi-Rate Wideband codec. - // `sample_rate_hertz` must be 16000. - // "AUDIO_ENCODING_OGG_OPUS" - Opus encoded audio frames in Ogg - // container ([OggOpus](https://wiki.xiph.org/OggOpus)). - // `sample_rate_hertz` must be 16000. - // "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE" - Although the use of lossy - // encodings is not recommended, if a very low bitrate encoding is - // required, `OGG_OPUS` is highly preferred over Speex encoding. The - // [Speex](https://speex.org/) encoding supported by Dialogflow API has - // a header byte in each block, as in MIME type - // `audio/x-speex-with-header-byte`. It is a variant of the RTP Speex - // encoding defined in [RFC 5574](https://tools.ietf.org/html/rfc5574). - // The stream is a sequence of blocks, one block per RTP packet. Each - // block starts with a byte containing the length of the block, in - // bytes, followed by one or more frames of Speex data, padded to an - // integral number of bytes (octets) as specified in RFC 5574. In other - // words, each RTP header is replaced with a single byte containing the - // block length. Only Speex wideband is supported. `sample_rate_hertz` - // must be 16000. - AudioEncoding string `json:"audioEncoding,omitempty"` - - // EnableWordInfo: Optional. If `true`, Dialogflow returns - // SpeechWordInfo in StreamingRecognitionResult with information about - // the recognized speech words, e.g. start and end time offsets. If - // false or unspecified, Speech doesn't return any word-level - // information. - EnableWordInfo bool `json:"enableWordInfo,omitempty"` - - // Model: Optional. Which Speech model to select for the given request. - // Select the model best suited to your domain to get best results. If a - // model is not explicitly specified, then we auto-select a model based - // on the parameters in the InputAudioConfig. If enhanced speech model - // is enabled for the agent and an enhanced version of the specified - // model for the language does not exist, then the speech is recognized - // using the standard version of the specified model. Refer to [Cloud - // Speech API - // documentation](https://cloud.google.com/speech-to-text/docs/basics#sel - // ect-model) for more details. - Model string `json:"model,omitempty"` - - // ModelVariant: Optional. Which variant of the Speech model to use. - // - // Possible values: - // "SPEECH_MODEL_VARIANT_UNSPECIFIED" - No model variant specified. In - // this case Dialogflow defaults to USE_BEST_AVAILABLE. - // "USE_BEST_AVAILABLE" - Use the best available variant of the Speech - // model that the caller is eligible for. Please see the [Dialogflow - // docs](https://cloud.google.com/dialogflow/docs/data-logging) for how - // to make your project eligible for enhanced models. - // "USE_STANDARD" - Use standard model variant even if an enhanced - // model is available. See the [Cloud Speech - // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-m - // odels) for details about enhanced models. - // "USE_ENHANCED" - Use an enhanced model variant: * If an enhanced - // variant does not exist for the given model and request language, - // Dialogflow falls back to the standard variant. The [Cloud Speech - // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-m - // odels) describes which models have enhanced variants. * If the API - // caller isn't eligible for enhanced models, Dialogflow returns an - // error. Please see the [Dialogflow - // docs](https://cloud.google.com/dialogflow/docs/data-logging) for how - // to make your project eligible. - ModelVariant string `json:"modelVariant,omitempty"` - - // PhraseHints: Optional. A list of strings containing words and phrases - // that the speech recognizer should recognize with higher likelihood. - // See [the Cloud Speech - // documentation](https://cloud.google.com/speech-to-text/docs/basics#phr - // ase-hints) for more details. - PhraseHints []string `json:"phraseHints,omitempty"` - - // SampleRateHertz: Sample rate (in Hertz) of the audio content sent in - // the query. Refer to [Cloud Speech API - // documentation](https://cloud.google.com/speech-to-text/docs/basics) - // for more details. - SampleRateHertz int64 `json:"sampleRateHertz,omitempty"` - - // SingleUtterance: Optional. If `false` (default), recognition does not - // cease until the client closes the stream. If `true`, the recognizer - // will detect a single spoken utterance in input audio. Recognition - // ceases when it detects the audio's voice has stopped or paused. In - // this case, once a detected intent is received, the client should - // close the stream and start a new request with a new stream as needed. - // Note: This setting is relevant only for streaming methods. - SingleUtterance bool `json:"singleUtterance,omitempty"` +// GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase: An excluded +// entity phrase that should not be matched. +type GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase struct { + // Value: Required. The word or phrase to be excluded. + Value string `json:"value,omitempty"` - // ForceSendFields is a list of field names (e.g. "AudioEncoding") to + // ForceSendFields is a list of field names (e.g. "Value") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -1644,74 +1616,51 @@ type GoogleCloudDialogflowCxV3beta1InputAudioConfig struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AudioEncoding") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Value") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1InputAudioConfig) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1InputAudioConfig +func (s *GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1Intent: An intent represents a user's -// intent to interact with a conversational agent. You can provide -// information for the Dialogflow API to use to match user input to an -// intent by adding training phrases (i.e., examples of user input) to -// your intent. -type GoogleCloudDialogflowCxV3beta1Intent struct { - // Description: Optional. Human readable description for better - // understanding an intent like its scope, content, result etc. Maximum - // character limit: 140 characters. +// GoogleCloudDialogflowCxV3beta1Environment: Represents an environment +// for an agent. You can create multiple versions of your agent and +// publish them to separate environments. When you edit an agent, you +// are editing the draft agent. At any point, you can save the draft +// agent as an agent version, which is an immutable snapshot of your +// agent. When you save the draft agent, it is published to the default +// environment. When you create agent versions, you can publish them to +// custom environments. You can create a variety of custom environments +// for testing, development, production, etc. +type GoogleCloudDialogflowCxV3beta1Environment struct { + // Description: The human-readable description of the environment. The + // maximum length is 500 characters. If exceeded, the request is + // rejected. Description string `json:"description,omitempty"` - // DisplayName: Required. The human-readable name of the intent, unique - // within the agent. + // DisplayName: Required. The human-readable name of the environment + // (unique in an agent). Limit of 64 characters. DisplayName string `json:"displayName,omitempty"` - // IsFallback: Indicates whether this is a fallback intent. Currently - // only default fallback intent is allowed in the agent, which is added - // upon agent creation. Adding training phrases to fallback intent is - // useful in the case of requests that are mistakenly matched, since - // training phrases assigned to fallback intents act as negative - // examples that triggers no-match event. - IsFallback bool `json:"isFallback,omitempty"` - - // Labels: Optional. The key/value metadata to label an intent. Labels - // can contain lowercase letters, digits and the symbols '-' and '_'. - // International characters are allowed, including letters from unicase - // alphabets. Keys must start with a letter. Keys and values can be no - // longer than 63 characters and no more than 128 bytes. Prefix "sys-" - // is reserved for Dialogflow defined labels. Currently allowed - // Dialogflow defined labels include: * sys-head * sys-contextual The - // above labels do not require value. "sys-head" means the intent is a - // head intent. "sys-contextual" means the intent is a contextual - // intent. - Labels map[string]string `json:"labels,omitempty"` - - // Name: The unique identifier of the intent. Required for the - // Intents.UpdateIntent method. Intents.CreateIntent populates the name - // automatically. Format: `projects//locations//agents//intents/`. + // Name: The name of the environment. Format: + // `projects//locations//agents//environments/`. Name string `json:"name,omitempty"` - // Parameters: The collection of parameters associated with the intent. - Parameters []*GoogleCloudDialogflowCxV3beta1IntentParameter `json:"parameters,omitempty"` - - // Priority: The priority of this intent. Higher numbers represent - // higher priorities. - If the supplied value is unspecified or 0, the - // service translates the value to 500,000, which corresponds to the - // `Normal` priority in the console. - If the supplied value is - // negative, the intent is ignored in runtime detect intent requests. - Priority int64 `json:"priority,omitempty"` + // UpdateTime: Output only. Update time of this environment. + UpdateTime string `json:"updateTime,omitempty"` - // TrainingPhrases: The collection of training phrases the agent is - // trained on to identify the intent. - TrainingPhrases []*GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase `json:"trainingPhrases,omitempty"` + // VersionConfigs: Required. A list of configurations for flow versions. + // You should include version configs for all flows that are reachable + // from `Start Flow` in the agent. Otherwise, an error will be returned. + VersionConfigs []*GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig `json:"versionConfigs,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. @@ -1734,21 +1683,20 @@ type GoogleCloudDialogflowCxV3beta1Intent struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1Intent) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1Intent +func (s *GoogleCloudDialogflowCxV3beta1Environment) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Environment raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1IntentInput: Represents the intent to -// trigger programmatically rather than as a result of natural language -// processing. -type GoogleCloudDialogflowCxV3beta1IntentInput struct { - // Intent: Required. The unique identifier of the intent. Format: - // `projects//locations//agents//intents/`. - Intent string `json:"intent,omitempty"` +// GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig: Configuration +// for the version. +type GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig struct { + // Version: Required. Format: + // projects//locations//agents//flows//versions/. + Version string `json:"version,omitempty"` - // ForceSendFields is a list of field names (e.g. "Intent") to + // ForceSendFields is a list of field names (e.g. "Version") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -1756,8 +1704,8 @@ type GoogleCloudDialogflowCxV3beta1IntentInput struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Intent") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Version") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -1765,37 +1713,42 @@ type GoogleCloudDialogflowCxV3beta1IntentInput struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1IntentInput) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1IntentInput +func (s *GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1IntentParameter: Represents an intent -// parameter. -type GoogleCloudDialogflowCxV3beta1IntentParameter struct { - // EntityType: Required. The entity type of the parameter. Format: - // `projects/-/locations/-/agents/-/entityTypes/` for system entity - // types (for example, - // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or - // `projects//locations//agents//entityTypes/` for developer entity - // types. - EntityType string `json:"entityType,omitempty"` +// GoogleCloudDialogflowCxV3beta1EventHandler: An event handler +// specifies an event that can be handled during a session. When the +// specified event happens, the following actions are taken in order: * +// If there is a `trigger_fulfillment` associated with the event, it +// will be called. * If there is a `target_page` associated with the +// event, the session will transition into the specified page. * If +// there is a `target_flow` associated with the event, the session will +// transition into the specified flow. +type GoogleCloudDialogflowCxV3beta1EventHandler struct { + // Event: Required. The name of the event to handle. + Event string `json:"event,omitempty"` - // Id: Required. The unique identifier of the parameter. This field is - // used by training phrases to annotate their parts. - Id string `json:"id,omitempty"` + // Name: Output only. The unique identifier of this event handler. + Name string `json:"name,omitempty"` - // IsList: Indicates whether the parameter represents a list of values. - IsList bool `json:"isList,omitempty"` + // TargetFlow: The target flow to transition to. Format: + // `projects//locations//agents//flows/`. + TargetFlow string `json:"targetFlow,omitempty"` - // Redact: Indicates whether the parameter content is logged in text and - // audio. If it is set to true, the parameter content will be replaced - // to parameter id in both request and response. The default value is - // false. - Redact bool `json:"redact,omitempty"` + // TargetPage: The target page to transition to. Format: + // `projects//locations//agents//flows//pages/`. + TargetPage string `json:"targetPage,omitempty"` - // ForceSendFields is a list of field names (e.g. "EntityType") to + // TriggerFulfillment: The fulfillment to call when the event occurs. + // Handling webhook errors with a fulfillment enabled with webhook could + // cause infinite loop. It is invalid to specify such fulfillment for a + // handler handling webhooks. + TriggerFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"triggerFulfillment,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Event") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -1803,8 +1756,8 @@ type GoogleCloudDialogflowCxV3beta1IntentParameter struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "EntityType") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Event") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -1812,38 +1765,19 @@ type GoogleCloudDialogflowCxV3beta1IntentParameter struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1IntentParameter) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1IntentParameter +func (s *GoogleCloudDialogflowCxV3beta1EventHandler) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1EventHandler raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase: Represents an -// example that the agent is trained on to identify the intent. -type GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase struct { - // Id: Output only. The unique identifier of the training phrase. - Id string `json:"id,omitempty"` - - // Parts: Required. The ordered list of training phrase parts. The parts - // are concatenated in order to form the training phrase. Note: The API - // does not automatically annotate training phrases like the Dialogflow - // Console does. Note: Do not forget to include whitespace at part - // boundaries, so the training phrase is well formatted when the parts - // are concatenated. If the training phrase does not need to be - // annotated with parameters, you just need a single part with only the - // Part.text field set. If you want to annotate the training phrase, you - // must create multiple parts, where the fields of each part are - // populated in one of two ways: - `Part.text` is set to a part of the - // phrase that has no parameters. - `Part.text` is set to a part of the - // phrase that you want to annotate, and the `parameter_id` field is - // set. - Parts []*GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart `json:"parts,omitempty"` - - // RepeatCount: Indicates how many times this example was added to the - // intent. - RepeatCount int64 `json:"repeatCount,omitempty"` +// GoogleCloudDialogflowCxV3beta1EventInput: Represents the event to +// trigger. +type GoogleCloudDialogflowCxV3beta1EventInput struct { + // Event: Name of the event. + Event string `json:"event,omitempty"` - // ForceSendFields is a list of field names (e.g. "Id") to + // ForceSendFields is a list of field names (e.g. "Event") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -1851,7 +1785,7 @@ type GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Id") to include in API + // NullFields is a list of field names (e.g. "Event") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -1860,24 +1794,22 @@ type GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase +func (s *GoogleCloudDialogflowCxV3beta1EventInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1EventInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart: Represents a -// part of a training phrase. -type GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart struct { - // ParameterId: The parameter used to annotate this part of the training - // phrase. This field is required for annotated parts of the training - // phrase. - ParameterId string `json:"parameterId,omitempty"` - - // Text: Required. The text for this part. - Text string `json:"text,omitempty"` +// GoogleCloudDialogflowCxV3beta1ExportAgentRequest: The request message +// for Agents.ExportAgent. +type GoogleCloudDialogflowCxV3beta1ExportAgentRequest struct { + // AgentUri: Optional. The [Google Cloud + // Storage](https://cloud.google.com/storage/docs/) URI to export the + // agent to. The format of this URI must be `gs:///`. If left + // unspecified, the serialized agent is returned inline. + AgentUri string `json:"agentUri,omitempty"` - // ForceSendFields is a list of field names (e.g. "ParameterId") to + // ForceSendFields is a list of field names (e.g. "AgentUri") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -1885,37 +1817,32 @@ type GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ParameterId") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "AgentUri") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart +func (s *GoogleCloudDialogflowCxV3beta1ExportAgentRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ExportAgentRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ListAgentsResponse: The response -// message for Agents.ListAgents. -type GoogleCloudDialogflowCxV3beta1ListAgentsResponse struct { - // Agents: The list of agents. There will be a maximum number of items - // returned based on the page_size field in the request. - Agents []*GoogleCloudDialogflowCxV3beta1Agent `json:"agents,omitempty"` - - // NextPageToken: Token to retrieve the next page of results, or empty - // if there are no more results in the list. - NextPageToken string `json:"nextPageToken,omitempty"` +// GoogleCloudDialogflowCxV3beta1ExportAgentResponse: The response +// message for Agents.ExportAgent. +type GoogleCloudDialogflowCxV3beta1ExportAgentResponse struct { + // AgentContent: Uncompressed raw byte content for agent. + AgentContent string `json:"agentContent,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // AgentUri: The URI to a file containing the exported agent. This field + // is populated only if `agent_uri` is specified in ExportAgentRequest. + AgentUri string `json:"agentUri,omitempty"` - // ForceSendFields is a list of field names (e.g. "Agents") to + // ForceSendFields is a list of field names (e.g. "AgentContent") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -1923,45 +1850,7 @@ type GoogleCloudDialogflowCxV3beta1ListAgentsResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Agents") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GoogleCloudDialogflowCxV3beta1ListAgentsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ListAgentsResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse: The response -// message for EntityTypes.ListEntityTypes. -type GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse struct { - // EntityTypes: The list of entity types. There will be a maximum number - // of items returned based on the page_size field in the request. - EntityTypes []*GoogleCloudDialogflowCxV3beta1EntityType `json:"entityTypes,omitempty"` - - // NextPageToken: Token to retrieve the next page of results, or empty - // if there are no more results in the list. - NextPageToken string `json:"nextPageToken,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` - - // ForceSendFields is a list of field names (e.g. "EntityTypes") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "EntityTypes") to include + // NullFields is a list of field names (e.g. "AgentContent") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -1970,30 +1859,68 @@ type GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse +func (s *GoogleCloudDialogflowCxV3beta1ExportAgentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ExportAgentResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse: The response -// message for Environments.ListEnvironments. -type GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse struct { - // Environments: The list of environments. There will be a maximum - // number of items returned based on the page_size field in the request. - // The list may in some cases be empty or contain fewer entries than - // page_size even if this isn't the last page. - Environments []*GoogleCloudDialogflowCxV3beta1Environment `json:"environments,omitempty"` +// GoogleCloudDialogflowCxV3beta1Flow: Flows represents the conversation +// flows when you build your chatbot agent. A flow consists of many +// pages connected by the transition routes. Conversations always start +// with the built-in Start Flow (with an all-0 ID). Transition routes +// can direct the conversation session from the current flow (parent +// flow) to another flow (sub flow). When the sub flow is finished, +// Dialogflow will bring the session back to the parent flow, where the +// sub flow is started. Usually, when a transition route is followed by +// a matched intent, the intent will be "consumed". This means the +// intent won't activate more transition routes. However, when the +// followed transition route moves the conversation session into a +// different flow, the matched intent can be carried over and to be +// consumed in the target flow. +type GoogleCloudDialogflowCxV3beta1Flow struct { + // Description: The description of the flow. The maximum length is 500 + // characters. If exceeded, the request is rejected. + Description string `json:"description,omitempty"` - // NextPageToken: Token to retrieve the next page of results, or empty - // if there are no more results in the list. - NextPageToken string `json:"nextPageToken,omitempty"` + // DisplayName: Required. The human-readable name of the flow. + DisplayName string `json:"displayName,omitempty"` + + // EventHandlers: A flow's event handlers serve two purposes: * They are + // responsible for handling events (e.g. no match, webhook errors) in + // the flow. * They are inherited by every page's event handlers, which + // can be used to handle common events regardless of the current page. + // Event handlers defined in the page have higher priority than those + // defined in the flow. Unlike transition_routes, these handlers are + // evaluated on a first-match basis. The first one that matches the + // event get executed, with the rest being ignored. + EventHandlers []*GoogleCloudDialogflowCxV3beta1EventHandler `json:"eventHandlers,omitempty"` + + // Name: The unique identifier of the flow. Format: + // `projects//locations//agents//flows/`. + Name string `json:"name,omitempty"` + + // NluSettings: NLU related settings of the flow. + NluSettings *GoogleCloudDialogflowCxV3beta1NluSettings `json:"nluSettings,omitempty"` + + // TransitionRoutes: A flow's transition routes serve two purposes: * + // They are responsible for matching the user's first utterances in the + // flow. * They are inherited by every page's transition routes and can + // support use cases such as the user saying "help" or "can I talk to a + // human?", which can be handled in a common way regardless of the + // current page. Transition routes defined in the page have higher + // priority than those defined in the flow. TransitionRoutes are + // evalauted in the following order: * TransitionRoutes with intent + // specified.. * TransitionRoutes with only condition specified. + // TransitionRoutes with intent specified are inherited by pages in the + // flow. + TransitionRoutes []*GoogleCloudDialogflowCxV3beta1TransitionRoute `json:"transitionRoutes,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "Environments") to + // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -2001,7 +1928,7 @@ type GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Environments") to include + // NullFields is a list of field names (e.g. "Description") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -2010,28 +1937,23 @@ type GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse +func (s *GoogleCloudDialogflowCxV3beta1Flow) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Flow raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ListFlowsResponse: The response message -// for Flows.ListFlows. -type GoogleCloudDialogflowCxV3beta1ListFlowsResponse struct { - // Flows: The list of flows. There will be a maximum number of items - // returned based on the page_size field in the request. - Flows []*GoogleCloudDialogflowCxV3beta1Flow `json:"flows,omitempty"` - - // NextPageToken: Token to retrieve the next page of results, or empty - // if there are no more results in the list. - NextPageToken string `json:"nextPageToken,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` +// GoogleCloudDialogflowCxV3beta1Form: A form is a data model that +// groups related parameters that can be collected from the user. The +// process in which the agent prompts the user and collects parameter +// values from the user is called form filling. A form can be added to a +// page. When form filling is done, the filled parameters will be +// written to the session. +type GoogleCloudDialogflowCxV3beta1Form struct { + // Parameters: Parameters to collect from the user. + Parameters []*GoogleCloudDialogflowCxV3beta1FormParameter `json:"parameters,omitempty"` - // ForceSendFields is a list of field names (e.g. "Flows") to + // ForceSendFields is a list of field names (e.g. "Parameters") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -2039,8 +1961,8 @@ type GoogleCloudDialogflowCxV3beta1ListFlowsResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Flows") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Parameters") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -2048,66 +1970,50 @@ type GoogleCloudDialogflowCxV3beta1ListFlowsResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ListFlowsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ListFlowsResponse +func (s *GoogleCloudDialogflowCxV3beta1Form) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Form raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ListIntentsResponse: The response -// message for Intents.ListIntents. -type GoogleCloudDialogflowCxV3beta1ListIntentsResponse struct { - // Intents: The list of intents. There will be a maximum number of items - // returned based on the page_size field in the request. - Intents []*GoogleCloudDialogflowCxV3beta1Intent `json:"intents,omitempty"` - - // NextPageToken: Token to retrieve the next page of results, or empty - // if there are no more results in the list. - NextPageToken string `json:"nextPageToken,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` +// GoogleCloudDialogflowCxV3beta1FormParameter: Represents a form +// parameter. +type GoogleCloudDialogflowCxV3beta1FormParameter struct { + // DefaultValue: The default value of an optional parameter. If the + // parameter is required, the default value will be ignored. + DefaultValue interface{} `json:"defaultValue,omitempty"` - // ForceSendFields is a list of field names (e.g. "Intents") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` + // DisplayName: Required. The human-readable name of the parameter, + // unique within the form. + DisplayName string `json:"displayName,omitempty"` - // NullFields is a list of field names (e.g. "Intents") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} + // EntityType: Required. The entity type of the parameter. Format: + // `projects/-/locations/-/agents/-/entityTypes/` for system entity + // types (for example, + // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or + // `projects//locations//agents//entityTypes/` for developer entity + // types. + EntityType string `json:"entityType,omitempty"` -func (s *GoogleCloudDialogflowCxV3beta1ListIntentsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ListIntentsResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // FillBehavior: Required. Defines fill behavior for the parameter. + FillBehavior *GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior `json:"fillBehavior,omitempty"` -// GoogleCloudDialogflowCxV3beta1ListPagesResponse: The response message -// for Pages.ListPages. -type GoogleCloudDialogflowCxV3beta1ListPagesResponse struct { - // NextPageToken: Token to retrieve the next page of results, or empty - // if there are no more results in the list. - NextPageToken string `json:"nextPageToken,omitempty"` + // IsList: Indicates whether the parameter represents a list of values. + IsList bool `json:"isList,omitempty"` - // Pages: The list of pages. There will be a maximum number of items - // returned based on the page_size field in the request. - Pages []*GoogleCloudDialogflowCxV3beta1Page `json:"pages,omitempty"` + // Redact: Indicates whether the parameter content is logged in text and + // audio. If it is set to true, the parameter content will be replaced + // to parameter name in both request and response. The default value is + // false. + Redact bool `json:"redact,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // Required: Indicates whether the parameter is required. Optional + // parameters will not trigger prompts; however, they are filled if the + // user specifies them. Required parameters must be filled before form + // filling concludes. + Required bool `json:"required,omitempty"` - // ForceSendFields is a list of field names (e.g. "NextPageToken") to + // ForceSendFields is a list of field names (e.g. "DefaultValue") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -2115,7 +2021,7 @@ type GoogleCloudDialogflowCxV3beta1ListPagesResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "NextPageToken") to include + // NullFields is a list of field names (e.g. "DefaultValue") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -2124,69 +2030,85 @@ type GoogleCloudDialogflowCxV3beta1ListPagesResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ListPagesResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ListPagesResponse +func (s *GoogleCloudDialogflowCxV3beta1FormParameter) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FormParameter raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse: The -// response message for SessionEntityTypes.ListSessionEntityTypes. -type GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse struct { - // NextPageToken: Token to retrieve the next page of results, or empty - // if there are no more results in the list. - NextPageToken string `json:"nextPageToken,omitempty"` - - // SessionEntityTypes: The list of session entity types. There will be a - // maximum number of items returned based on the page_size field in the - // request. - SessionEntityTypes []*GoogleCloudDialogflowCxV3beta1SessionEntityType `json:"sessionEntityTypes,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` - - // ForceSendFields is a list of field names (e.g. "NextPageToken") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` +// GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior: +// Configuration for how the filling of a parameter should be handled. +type GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior struct { + // InitialPromptFulfillment: Required. The fulfillment to provide the + // initial prompt that the agent can present to the user in order to + // fill the parameter. + InitialPromptFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"initialPromptFulfillment,omitempty"` - // NullFields is a list of field names (e.g. "NextPageToken") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // RepromptEventHandlers: The handlers for parameter-level events, used + // to provide reprompt for the parameter or transition to a different + // page/flow. The supported events are: * `sys.no-match-`, where N can + // be from 1 to 6 * `sys.no-match-default` * `sys.no-input-`, where N + // can be from 1 to 6 * `sys.no-input-default` * `sys.invalid-parameter` + // `initial_prompt_fulfillment` provides the first prompt for the + // parameter. If the user's response does not fill the parameter, a + // no-match/no-input event will be triggered, and the fulfillment + // associated with the `sys.no-match-1`/`sys.no-input-1` handler (if + // defined) will be called to provide a prompt. The + // `sys.no-match-2`/`sys.no-input-2` handler (if defined) will respond + // to the next no-match/no-input event, and so on. A + // `sys.no-match-default` or `sys.no-input-default` handler will be used + // to handle all following no-match/no-input events after all numbered + // no-match/no-input handlers for the parameter are consumed. A + // `sys.invalid-parameter` handler can be defined to handle the case + // where the parameter values have been `invalidated` by webhook. For + // example, if the user's response fill the parameter, however the + // parameter was invalidated by webhook, the fulfillment associated with + // the `sys.invalid-parameter` handler (if defined) will be called to + // provide a prompt. If the event handler for the corresponding event + // can't be found on the parameter, `initial_prompt_fulfillment` will be + // re-prompted. + RepromptEventHandlers []*GoogleCloudDialogflowCxV3beta1EventHandler `json:"repromptEventHandlers,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "InitialPromptFulfillment") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "InitialPromptFulfillment") + // to include in API requests with the JSON null value. By default, + // fields with empty values are omitted from API requests. However, any + // field with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse +func (s *GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse: The -// response message for TransitionRouteGroups.ListTransitionRouteGroups. -type GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse struct { - // NextPageToken: Token to retrieve the next page of results, or empty - // if there are no more results in the list. - NextPageToken string `json:"nextPageToken,omitempty"` +// GoogleCloudDialogflowCxV3beta1FulfillIntentRequest: Request of +// FulfillIntent +type GoogleCloudDialogflowCxV3beta1FulfillIntentRequest struct { + // Match: The matched intent/event to fulfill. + Match *GoogleCloudDialogflowCxV3beta1Match `json:"match,omitempty"` - // TransitionRouteGroups: The list of transition route groups. There - // will be a maximum number of items returned based on the page_size - // field in the request. The list may in some cases be empty or contain - // fewer entries than page_size even if this isn't the last page. - TransitionRouteGroups []*GoogleCloudDialogflowCxV3beta1TransitionRouteGroup `json:"transitionRouteGroups,omitempty"` + // MatchIntentRequest: Must be same as the corresponding MatchIntent + // request, otherwise the behavior is undefined. + MatchIntentRequest *GoogleCloudDialogflowCxV3beta1MatchIntentRequest `json:"matchIntentRequest,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // OutputAudioConfig: Instructs the speech synthesizer how to generate + // output audio. + OutputAudioConfig *GoogleCloudDialogflowCxV3beta1OutputAudioConfig `json:"outputAudioConfig,omitempty"` - // ForceSendFields is a list of field names (e.g. "NextPageToken") to + // ForceSendFields is a list of field names (e.g. "Match") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -2194,39 +2116,52 @@ type GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "NextPageToken") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Match") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse +func (s *GoogleCloudDialogflowCxV3beta1FulfillIntentRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FulfillIntentRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ListVersionsResponse: The response -// message for Versions.ListVersions. -type GoogleCloudDialogflowCxV3beta1ListVersionsResponse struct { - // NextPageToken: Token to retrieve the next page of results, or empty - // if there are no more results in the list. - NextPageToken string `json:"nextPageToken,omitempty"` +// GoogleCloudDialogflowCxV3beta1FulfillIntentResponse: Response of +// FulfillIntent +type GoogleCloudDialogflowCxV3beta1FulfillIntentResponse struct { + // OutputAudio: The audio data bytes encoded as specified in the + // request. Note: The output audio is generated based on the values of + // default platform text responses found in the + // `query_result.response_messages` field. If multiple default text + // responses exist, they will be concatenated when generating audio. If + // no default platform text responses exist, the generated audio content + // will be empty. In some scenarios, multiple output audio fields may be + // present in the response structure. In these cases, only the + // top-most-level audio output has content. + OutputAudio string `json:"outputAudio,omitempty"` - // Versions: A list of versions. There will be a maximum number of items - // returned based on the page_size field in the request. The list may in - // some cases be empty or contain fewer entries than page_size even if - // this isn't the last page. - Versions []*GoogleCloudDialogflowCxV3beta1Version `json:"versions,omitempty"` + // OutputAudioConfig: The config used by the speech synthesizer to + // generate the output audio. + OutputAudioConfig *GoogleCloudDialogflowCxV3beta1OutputAudioConfig `json:"outputAudioConfig,omitempty"` + + // QueryResult: The result of the conversational query. + QueryResult *GoogleCloudDialogflowCxV3beta1QueryResult `json:"queryResult,omitempty"` + + // ResponseId: Output only. The unique identifier of the response. It + // can be used to locate a response in the training example set or for + // reporting issues. + ResponseId string `json:"responseId,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "NextPageToken") to + // ForceSendFields is a list of field names (e.g. "OutputAudio") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -2234,7 +2169,7 @@ type GoogleCloudDialogflowCxV3beta1ListVersionsResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "NextPageToken") to include + // NullFields is a list of field names (e.g. "OutputAudio") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -2243,28 +2178,41 @@ type GoogleCloudDialogflowCxV3beta1ListVersionsResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ListVersionsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ListVersionsResponse +func (s *GoogleCloudDialogflowCxV3beta1FulfillIntentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FulfillIntentResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ListWebhooksResponse: The response -// message for Webhooks.ListWebhooks. -type GoogleCloudDialogflowCxV3beta1ListWebhooksResponse struct { - // NextPageToken: Token to retrieve the next page of results, or empty - // if there are no more results in the list. - NextPageToken string `json:"nextPageToken,omitempty"` +// GoogleCloudDialogflowCxV3beta1Fulfillment: A fulfillment can do one +// or more of the following actions at the same time: * Generate rich +// message responses. * Set parameter values. * Call the webhook. +// Fulfillments can be called at various stages in the Page or Form +// lifecycle. For example, when a DetectIntentRequest drives a session +// to enter a new page, the page's entry fulfillment can add a static +// response to the QueryResult in the returning DetectIntentResponse, +// call the webhook (for example, to load user data from a database), or +// both. +type GoogleCloudDialogflowCxV3beta1Fulfillment struct { + // ConditionalCases: Conditional cases for this fulfillment. + ConditionalCases []*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases `json:"conditionalCases,omitempty"` - // Webhooks: The list of webhooks. There will be a maximum number of - // items returned based on the page_size field in the request. - Webhooks []*GoogleCloudDialogflowCxV3beta1Webhook `json:"webhooks,omitempty"` + // Messages: The list of rich message responses to present to the user. + Messages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"messages,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // SetParameterActions: Set parameter values before executing the + // webhook. + SetParameterActions []*GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction `json:"setParameterActions,omitempty"` - // ForceSendFields is a list of field names (e.g. "NextPageToken") to + // Tag: The tag used by the webhook to identify which fulfillment is + // being called. This field is required if `webhook` is specified. + Tag string `json:"tag,omitempty"` + + // Webhook: The webhook to call. Format: + // `projects//locations//agents//webhooks/`. + Webhook string `json:"webhook,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConditionalCases") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -2272,72 +2220,30 @@ type GoogleCloudDialogflowCxV3beta1ListWebhooksResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "NextPageToken") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GoogleCloudDialogflowCxV3beta1ListWebhooksResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ListWebhooksResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleCloudDialogflowCxV3beta1LoadVersionRequest: The request message -// for Versions.LoadVersion. -type GoogleCloudDialogflowCxV3beta1LoadVersionRequest struct { - // AllowOverrideAgentResources: This field is used to prevent accidental - // overwrite of other agent resources in the draft version, which can - // potentially impact other flow's behavior. If - // `allow_override_agent_resources` is false, conflicted agent-level - // resources will not be overridden (i.e. intents, entities, webhooks). - AllowOverrideAgentResources bool `json:"allowOverrideAgentResources,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "AllowOverrideAgentResources") to unconditionally include in API - // requests. By default, fields with empty values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. - // "AllowOverrideAgentResources") to include in API requests with the - // JSON null value. By default, fields with empty values are omitted - // from API requests. However, any field with an empty value appearing - // in NullFields will be sent to the server as null. It is an error if a - // field in this list has a non-empty value. This may be used to include - // null fields in Patch requests. + // NullFields is a list of field names (e.g. "ConditionalCases") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1LoadVersionRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1LoadVersionRequest +func (s *GoogleCloudDialogflowCxV3beta1Fulfillment) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Fulfillment raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse: The -// response message for Environments.LookupEnvironmentHistory. -type GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse struct { - // Environments: Represents a list of snapshots for an environment. Time - // of the snapshots is stored in `update_time`. - Environments []*GoogleCloudDialogflowCxV3beta1Environment `json:"environments,omitempty"` - - // NextPageToken: Token to retrieve the next page of results, or empty - // if there are no more results in the list. - NextPageToken string `json:"nextPageToken,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` +// GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases: A list of +// cascading if-else conditions. Cases are mutually exclusive. The first +// one with a matching condition is selected, all the rest ignored. +type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases struct { + // Cases: A list of cascading if-else conditions. + Cases []*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase `json:"cases,omitempty"` - // ForceSendFields is a list of field names (e.g. "Environments") to + // ForceSendFields is a list of field names (e.g. "Cases") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -2345,70 +2251,36 @@ type GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Environments") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Cases") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse +func (s *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1Match: Represents one match result of -// MatchIntent. -type GoogleCloudDialogflowCxV3beta1Match struct { - // Confidence: The confidence of this match. Values range from 0.0 - // (completely uncertain) to 1.0 (completely certain). This value is for - // informational purpose only and is only used to help match the best - // intent within the classification threshold. This value may change for - // the same end-user expression at any time due to a model retraining or - // change in implementation. - Confidence float64 `json:"confidence,omitempty"` - - // Event: The event that matched the query. Only filled for `EVENT` - // match type. - Event string `json:"event,omitempty"` - - // Intent: The Intent that matched the query. Some, not all fields are - // filled in this message, including but not limited to: `name` and - // `display_name`. Only filled for `INTENT` match type. - Intent *GoogleCloudDialogflowCxV3beta1Intent `json:"intent,omitempty"` - - // MatchType: Type of this Match. - // - // Possible values: - // "MATCH_TYPE_UNSPECIFIED" - Not specified. Should never be used. - // "INTENT" - The query was matched to an intent. - // "DIRECT_INTENT" - The query directly triggered an intent. - // "PARAMETER_FILLING" - The query was used for parameter filling. - // "NO_MATCH" - No match was found for the query. - // "NO_INPUT" - Indicates an empty query. - // "EVENT" - The query directly triggered an event. - MatchType string `json:"matchType,omitempty"` - - // Parameters: The collection of parameters extracted from the query. - // Depending on your protocol or client library language, this is a map, - // associative array, symbol table, dictionary, or JSON object composed - // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: string or number, depending - // on parameter value type - MapValue value: - If parameter's entity - // type is a composite entity: map from composite entity property names - // to property values - Else: parameter value - Parameters googleapi.RawMessage `json:"parameters,omitempty"` +// GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase: Each +// case has a Boolean condition. When it is evaluated to be True, the +// corresponding messages will be selected and evaluated recursively. +type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase struct { + // CaseContent: A list of case content. + CaseContent []*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent `json:"caseContent,omitempty"` - // ResolvedInput: Final text input which was matched during MatchIntent. - // This value can be different from original input sent in request - // because of spelling correction or other processing. - ResolvedInput string `json:"resolvedInput,omitempty"` + // Condition: The condition to activate and select this case. Empty + // means the condition is always true. The condition is evaluated + // against form parameters or session parameters. See the [conditions + // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condi + // tion). + Condition string `json:"condition,omitempty"` - // ForceSendFields is a list of field names (e.g. "Confidence") to + // ForceSendFields is a list of field names (e.g. "CaseContent") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -2416,45 +2288,32 @@ type GoogleCloudDialogflowCxV3beta1Match struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Confidence") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "CaseContent") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1Match) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1Match +func (s *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -func (s *GoogleCloudDialogflowCxV3beta1Match) UnmarshalJSON(data []byte) error { - type NoMethod GoogleCloudDialogflowCxV3beta1Match - var s1 struct { - Confidence gensupport.JSONFloat64 `json:"confidence"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.Confidence = float64(s1.Confidence) - return nil -} - -// GoogleCloudDialogflowCxV3beta1MatchIntentRequest: Request of -// MatchIntent. -type GoogleCloudDialogflowCxV3beta1MatchIntentRequest struct { - // QueryInput: Required. The input specification. - QueryInput *GoogleCloudDialogflowCxV3beta1QueryInput `json:"queryInput,omitempty"` +// GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseConte +// nt: The list of messages or conditional cases to activate for this +// case. +type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent struct { + // AdditionalCases: Additional cases to be evaluated. + AdditionalCases *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases `json:"additionalCases,omitempty"` - // QueryParams: The parameters of this query. - QueryParams *GoogleCloudDialogflowCxV3beta1QueryParameters `json:"queryParams,omitempty"` + // Message: Returned message. + Message *GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"message,omitempty"` - // ForceSendFields is a list of field names (e.g. "QueryInput") to + // ForceSendFields is a list of field names (e.g. "AdditionalCases") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -2462,53 +2321,33 @@ type GoogleCloudDialogflowCxV3beta1MatchIntentRequest struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "QueryInput") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "AdditionalCases") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1MatchIntentRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1MatchIntentRequest +func (s *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1MatchIntentResponse: Response of -// MatchIntent. -type GoogleCloudDialogflowCxV3beta1MatchIntentResponse struct { - // CurrentPage: The current Page. Some, not all fields are filled in - // this message, including but not limited to `name` and `display_name`. - CurrentPage *GoogleCloudDialogflowCxV3beta1Page `json:"currentPage,omitempty"` - - // Matches: Match results, if more than one, ordered descendingly by the - // confidence we have that the particular intent matches the query. - Matches []*GoogleCloudDialogflowCxV3beta1Match `json:"matches,omitempty"` - - // Text: If natural language text was provided as input, this field will - // contain a copy of the text. - Text string `json:"text,omitempty"` - - // Transcript: If natural language speech audio was provided as input, - // this field will contain the trascript for the audio. - Transcript string `json:"transcript,omitempty"` - - // TriggerEvent: If an event was provided as input, this field will - // contain a copy of the event name. - TriggerEvent string `json:"triggerEvent,omitempty"` - - // TriggerIntent: If an intent was provided as input, this field will - // contain a copy of the intent identifier. - TriggerIntent string `json:"triggerIntent,omitempty"` +// GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction: Setting +// a parameter value. +type GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction struct { + // Parameter: Display name of the parameter. + Parameter string `json:"parameter,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // Value: The new value of the parameter. A null value clears the + // parameter. + Value interface{} `json:"value,omitempty"` - // ForceSendFields is a list of field names (e.g. "CurrentPage") to + // ForceSendFields is a list of field names (e.g. "Parameter") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -2516,126 +2355,127 @@ type GoogleCloudDialogflowCxV3beta1MatchIntentResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CurrentPage") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Parameter") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1MatchIntentResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1MatchIntentResponse +func (s *GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1NluSettings: Settings related to NLU. -type GoogleCloudDialogflowCxV3beta1NluSettings struct { - // ClassificationThreshold: To filter out false positive results and - // still get variety in matched natural language inputs for your agent, - // you can tune the machine learning classification threshold. If the - // returned score value is less than the threshold value, then a - // no-match event will be triggered. The score values range from 0.0 - // (completely uncertain) to 1.0 (completely certain). If set to 0.0, - // the default of 0.3 is used. - ClassificationThreshold float64 `json:"classificationThreshold,omitempty"` - - // ModelTrainingMode: Indicates NLU model training mode. +// GoogleCloudDialogflowCxV3beta1InputAudioConfig: Instructs the speech +// recognizer on how to process the audio content. +type GoogleCloudDialogflowCxV3beta1InputAudioConfig struct { + // AudioEncoding: Required. Audio encoding of the audio content to + // process. // // Possible values: - // "MODEL_TRAINING_MODE_UNSPECIFIED" - Not specified. - // `MODEL_TRAINING_MODE_AUTOMATIC` will be used. - // "MODEL_TRAINING_MODE_AUTOMATIC" - NLU model training is - // automatically triggered when a flow gets modified. User can also - // manually trigger model training in this mode. - // "MODEL_TRAINING_MODE_MANUAL" - User needs to manually trigger NLU - // model training. Best for large flows whose models take long time to - // train. - ModelTrainingMode string `json:"modelTrainingMode,omitempty"` + // "AUDIO_ENCODING_UNSPECIFIED" - Not specified. + // "AUDIO_ENCODING_LINEAR_16" - Uncompressed 16-bit signed + // little-endian samples (Linear PCM). + // "AUDIO_ENCODING_FLAC" - + // [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless + // Audio Codec) is the recommended encoding because it is lossless + // (therefore recognition is not compromised) and requires only about + // half the bandwidth of `LINEAR16`. `FLAC` stream encoding supports + // 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` + // are supported. + // "AUDIO_ENCODING_MULAW" - 8-bit samples that compand 14-bit audio + // samples using G.711 PCMU/mu-law. + // "AUDIO_ENCODING_AMR" - Adaptive Multi-Rate Narrowband codec. + // `sample_rate_hertz` must be 8000. + // "AUDIO_ENCODING_AMR_WB" - Adaptive Multi-Rate Wideband codec. + // `sample_rate_hertz` must be 16000. + // "AUDIO_ENCODING_OGG_OPUS" - Opus encoded audio frames in Ogg + // container ([OggOpus](https://wiki.xiph.org/OggOpus)). + // `sample_rate_hertz` must be 16000. + // "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE" - Although the use of lossy + // encodings is not recommended, if a very low bitrate encoding is + // required, `OGG_OPUS` is highly preferred over Speex encoding. The + // [Speex](https://speex.org/) encoding supported by Dialogflow API has + // a header byte in each block, as in MIME type + // `audio/x-speex-with-header-byte`. It is a variant of the RTP Speex + // encoding defined in [RFC 5574](https://tools.ietf.org/html/rfc5574). + // The stream is a sequence of blocks, one block per RTP packet. Each + // block starts with a byte containing the length of the block, in + // bytes, followed by one or more frames of Speex data, padded to an + // integral number of bytes (octets) as specified in RFC 5574. In other + // words, each RTP header is replaced with a single byte containing the + // block length. Only Speex wideband is supported. `sample_rate_hertz` + // must be 16000. + AudioEncoding string `json:"audioEncoding,omitempty"` - // ModelType: Indicates the type of NLU model. + // EnableWordInfo: Optional. If `true`, Dialogflow returns + // SpeechWordInfo in StreamingRecognitionResult with information about + // the recognized speech words, e.g. start and end time offsets. If + // false or unspecified, Speech doesn't return any word-level + // information. + EnableWordInfo bool `json:"enableWordInfo,omitempty"` + + // Model: Optional. Which Speech model to select for the given request. + // Select the model best suited to your domain to get best results. If a + // model is not explicitly specified, then we auto-select a model based + // on the parameters in the InputAudioConfig. If enhanced speech model + // is enabled for the agent and an enhanced version of the specified + // model for the language does not exist, then the speech is recognized + // using the standard version of the specified model. Refer to [Cloud + // Speech API + // documentation](https://cloud.google.com/speech-to-text/docs/basics#sel + // ect-model) for more details. + Model string `json:"model,omitempty"` + + // ModelVariant: Optional. Which variant of the Speech model to use. // // Possible values: - // "MODEL_TYPE_UNSPECIFIED" - Not specified. `MODEL_TYPE_STANDARD` - // will be used. - // "MODEL_TYPE_STANDARD" - Use standard NLU model. - // "MODEL_TYPE_ADVANCED" - Use advanced NLU model. - ModelType string `json:"modelType,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "ClassificationThreshold") to unconditionally include in API - // requests. By default, fields with empty values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ClassificationThreshold") - // to include in API requests with the JSON null value. By default, - // fields with empty values are omitted from API requests. However, any - // field with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *GoogleCloudDialogflowCxV3beta1NluSettings) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1NluSettings - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -func (s *GoogleCloudDialogflowCxV3beta1NluSettings) UnmarshalJSON(data []byte) error { - type NoMethod GoogleCloudDialogflowCxV3beta1NluSettings - var s1 struct { - ClassificationThreshold gensupport.JSONFloat64 `json:"classificationThreshold"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.ClassificationThreshold = float64(s1.ClassificationThreshold) - return nil -} + // "SPEECH_MODEL_VARIANT_UNSPECIFIED" - No model variant specified. In + // this case Dialogflow defaults to USE_BEST_AVAILABLE. + // "USE_BEST_AVAILABLE" - Use the best available variant of the Speech + // model that the caller is eligible for. Please see the [Dialogflow + // docs](https://cloud.google.com/dialogflow/docs/data-logging) for how + // to make your project eligible for enhanced models. + // "USE_STANDARD" - Use standard model variant even if an enhanced + // model is available. See the [Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-m + // odels) for details about enhanced models. + // "USE_ENHANCED" - Use an enhanced model variant: * If an enhanced + // variant does not exist for the given model and request language, + // Dialogflow falls back to the standard variant. The [Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-m + // odels) describes which models have enhanced variants. * If the API + // caller isn't eligible for enhanced models, Dialogflow returns an + // error. Please see the [Dialogflow + // docs](https://cloud.google.com/dialogflow/docs/data-logging) for how + // to make your project eligible. + ModelVariant string `json:"modelVariant,omitempty"` -// GoogleCloudDialogflowCxV3beta1OutputAudioConfig: Instructs the speech -// synthesizer how to generate the output audio content. -type GoogleCloudDialogflowCxV3beta1OutputAudioConfig struct { - // AudioEncoding: Required. Audio encoding of the synthesized audio - // content. - // - // Possible values: - // "OUTPUT_AUDIO_ENCODING_UNSPECIFIED" - Not specified. - // "OUTPUT_AUDIO_ENCODING_LINEAR_16" - Uncompressed 16-bit signed - // little-endian samples (Linear PCM). Audio content returned as - // LINEAR16 also contains a WAV header. - // "OUTPUT_AUDIO_ENCODING_MP3" - MP3 audio at 32kbps. - // "OUTPUT_AUDIO_ENCODING_MP3_64_KBPS" - MP3 audio at 64kbps. - // "OUTPUT_AUDIO_ENCODING_OGG_OPUS" - Opus encoded audio wrapped in an - // ogg container. The result will be a file which can be played natively - // on Android, and in browsers (at least Chrome and Firefox). The - // quality of the encoding is considerably higher than MP3 while using - // approximately the same bitrate. - // "OUTPUT_AUDIO_ENCODING_MULAW" - 8-bit samples that compand 14-bit - // audio samples using G.711 PCMU/mu-law. - AudioEncoding string `json:"audioEncoding,omitempty"` + // PhraseHints: Optional. A list of strings containing words and phrases + // that the speech recognizer should recognize with higher likelihood. + // See [the Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/docs/basics#phr + // ase-hints) for more details. + PhraseHints []string `json:"phraseHints,omitempty"` - // SampleRateHertz: Optional. The synthesis sample rate (in hertz) for - // this audio. If not provided, then the synthesizer will use the - // default sample rate based on the audio encoding. If this is different - // from the voice's natural sample rate, then the synthesizer will honor - // this request by converting to the desired sample rate (which might - // result in worse audio quality). + // SampleRateHertz: Sample rate (in Hertz) of the audio content sent in + // the query. Refer to [Cloud Speech API + // documentation](https://cloud.google.com/speech-to-text/docs/basics) + // for more details. SampleRateHertz int64 `json:"sampleRateHertz,omitempty"` - // SynthesizeSpeechConfig: Optional. Configuration of how speech should - // be synthesized. - SynthesizeSpeechConfig *GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig `json:"synthesizeSpeechConfig,omitempty"` + // SingleUtterance: Optional. If `false` (default), recognition does not + // cease until the client closes the stream. If `true`, the recognizer + // will detect a single spoken utterance in input audio. Recognition + // ceases when it detects the audio's voice has stopped or paused. In + // this case, once a detected intent is received, the client should + // close the stream and start a new request with a new stream as needed. + // Note: This setting is relevant only for streaming methods. + SingleUtterance bool `json:"singleUtterance,omitempty"` // ForceSendFields is a list of field names (e.g. "AudioEncoding") to // unconditionally include in API requests. By default, fields with @@ -2654,75 +2494,71 @@ type GoogleCloudDialogflowCxV3beta1OutputAudioConfig struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1OutputAudioConfig) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1OutputAudioConfig +func (s *GoogleCloudDialogflowCxV3beta1InputAudioConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1InputAudioConfig raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1Page: A Dialogflow CX conversation -// (session) can be described and visualized as a state machine. The -// states of a CX session are represented by pages. For each flow, you -// define many pages, where your combined pages can handle a complete -// conversation on the topics the flow is designed for. At any given -// moment, exactly one page is the current page, the current page is -// considered active, and the flow associated with that page is -// considered active. Every flow has a special start page. When a flow -// initially becomes active, the start page page becomes the current -// page. For each conversational turn, the current page will either stay -// the same or transition to another page. You configure each page to -// collect information from the end-user that is relevant for the -// conversational state represented by the page. For more information, -// see the [Page -// guide](https://cloud.google.com/dialogflow/cx/docs/concept/page). -type GoogleCloudDialogflowCxV3beta1Page struct { - // DisplayName: Required. The human-readable name of the page, unique +// GoogleCloudDialogflowCxV3beta1Intent: An intent represents a user's +// intent to interact with a conversational agent. You can provide +// information for the Dialogflow API to use to match user input to an +// intent by adding training phrases (i.e., examples of user input) to +// your intent. +type GoogleCloudDialogflowCxV3beta1Intent struct { + // Description: Optional. Human readable description for better + // understanding an intent like its scope, content, result etc. Maximum + // character limit: 140 characters. + Description string `json:"description,omitempty"` + + // DisplayName: Required. The human-readable name of the intent, unique // within the agent. DisplayName string `json:"displayName,omitempty"` - // EntryFulfillment: The fulfillment to call when the session is - // entering the page. - EntryFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"entryFulfillment,omitempty"` - - // EventHandlers: Handlers associated with the page to handle events - // such as webhook errors, no match or no input. - EventHandlers []*GoogleCloudDialogflowCxV3beta1EventHandler `json:"eventHandlers,omitempty"` + // IsFallback: Indicates whether this is a fallback intent. Currently + // only default fallback intent is allowed in the agent, which is added + // upon agent creation. Adding training phrases to fallback intent is + // useful in the case of requests that are mistakenly matched, since + // training phrases assigned to fallback intents act as negative + // examples that triggers no-match event. + IsFallback bool `json:"isFallback,omitempty"` - // Form: The form associated with the page, used for collecting - // parameters relevant to the page. - Form *GoogleCloudDialogflowCxV3beta1Form `json:"form,omitempty"` + // Labels: Optional. The key/value metadata to label an intent. Labels + // can contain lowercase letters, digits and the symbols '-' and '_'. + // International characters are allowed, including letters from unicase + // alphabets. Keys must start with a letter. Keys and values can be no + // longer than 63 characters and no more than 128 bytes. Prefix "sys-" + // is reserved for Dialogflow defined labels. Currently allowed + // Dialogflow defined labels include: * sys-head * sys-contextual The + // above labels do not require value. "sys-head" means the intent is a + // head intent. "sys-contextual" means the intent is a contextual + // intent. + Labels map[string]string `json:"labels,omitempty"` - // Name: The unique identifier of the page. Required for the - // Pages.UpdatePage method. Pages.CreatePage populates the name - // automatically. Format: `projects//locations//agents//flows//pages/`. + // Name: The unique identifier of the intent. Required for the + // Intents.UpdateIntent method. Intents.CreateIntent populates the name + // automatically. Format: `projects//locations//agents//intents/`. Name string `json:"name,omitempty"` - // TransitionRouteGroups: Ordered list of `TransitionRouteGroups` - // associated with the page. Transition route groups must be unique - // within a page. * If multiple transition routes within a page scope - // refer to the same intent, then the precedence order is: page's - // transition route -> page's transition route group -> flow's - // transition routes. * If multiple transition route groups within a - // page contain the same intent, then the first group in the ordered - // list takes precedence. - // Format:`projects//locations//agents//flows//transitionRouteGroups/`. - TransitionRouteGroups []string `json:"transitionRouteGroups,omitempty"` + // Parameters: The collection of parameters associated with the intent. + Parameters []*GoogleCloudDialogflowCxV3beta1IntentParameter `json:"parameters,omitempty"` - // TransitionRoutes: A list of transitions for the transition rules of - // this page. They route the conversation to another page in the same - // flow, or another flow. When we are in a certain page, the - // TransitionRoutes are evalauted in the following order: * - // TransitionRoutes defined in the page with intent specified. * - // TransitionRoutes defined in the transition route groups. * - // TransitionRoutes defined in flow with intent specified. * - // TransitionRoutes defined in the page with only condition specified. - TransitionRoutes []*GoogleCloudDialogflowCxV3beta1TransitionRoute `json:"transitionRoutes,omitempty"` + // Priority: The priority of this intent. Higher numbers represent + // higher priorities. - If the supplied value is unspecified or 0, the + // service translates the value to 500,000, which corresponds to the + // `Normal` priority in the console. - If the supplied value is + // negative, the intent is ignored in runtime detect intent requests. + Priority int64 `json:"priority,omitempty"` + + // TrainingPhrases: The collection of training phrases the agent is + // trained on to identify the intent. + TrainingPhrases []*GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase `json:"trainingPhrases,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "DisplayName") to + // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -2730,7 +2566,7 @@ type GoogleCloudDialogflowCxV3beta1Page struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DisplayName") to include + // NullFields is a list of field names (e.g. "Description") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -2739,25 +2575,21 @@ type GoogleCloudDialogflowCxV3beta1Page struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1Page) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1Page +func (s *GoogleCloudDialogflowCxV3beta1Intent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Intent raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1PageInfo: Represents page information -// communicated to and from the webhook. -type GoogleCloudDialogflowCxV3beta1PageInfo struct { - // CurrentPage: Always present for WebhookRequest. Ignored for - // WebhookResponse. The unique identifier of the current page. Format: - // `projects//locations//agents//flows//pages/`. - CurrentPage string `json:"currentPage,omitempty"` - - // FormInfo: Optional for both WebhookRequest and WebhookResponse. - // Information about the form. - FormInfo *GoogleCloudDialogflowCxV3beta1PageInfoFormInfo `json:"formInfo,omitempty"` +// GoogleCloudDialogflowCxV3beta1IntentInput: Represents the intent to +// trigger programmatically rather than as a result of natural language +// processing. +type GoogleCloudDialogflowCxV3beta1IntentInput struct { + // Intent: Required. The unique identifier of the intent. Format: + // `projects//locations//agents//intents/`. + Intent string `json:"intent,omitempty"` - // ForceSendFields is a list of field names (e.g. "CurrentPage") to + // ForceSendFields is a list of field names (e.g. "Intent") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -2765,93 +2597,128 @@ type GoogleCloudDialogflowCxV3beta1PageInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CurrentPage") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Intent") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1PageInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1PageInfo +func (s *GoogleCloudDialogflowCxV3beta1IntentInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1IntentInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1PageInfoFormInfo: Represents form -// information. -type GoogleCloudDialogflowCxV3beta1PageInfoFormInfo struct { - // ParameterInfo: Optional for both WebhookRequest and WebhookResponse. - // The parameters contained in the form. Note that the webhook cannot - // add or remove any form parameter. - ParameterInfo []*GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo `json:"parameterInfo,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ParameterInfo") to - // unconditionally include in API requests. By default, fields with +// GoogleCloudDialogflowCxV3beta1IntentParameter: Represents an intent +// parameter. +type GoogleCloudDialogflowCxV3beta1IntentParameter struct { + // EntityType: Required. The entity type of the parameter. Format: + // `projects/-/locations/-/agents/-/entityTypes/` for system entity + // types (for example, + // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or + // `projects//locations//agents//entityTypes/` for developer entity + // types. + EntityType string `json:"entityType,omitempty"` + + // Id: Required. The unique identifier of the parameter. This field is + // used by training phrases to annotate their parts. + Id string `json:"id,omitempty"` + + // IsList: Indicates whether the parameter represents a list of values. + IsList bool `json:"isList,omitempty"` + + // Redact: Indicates whether the parameter content is logged in text and + // audio. If it is set to true, the parameter content will be replaced + // to parameter id in both request and response. The default value is + // false. + Redact bool `json:"redact,omitempty"` + + // ForceSendFields is a list of field names (e.g. "EntityType") to + // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ParameterInfo") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "EntityType") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1PageInfoFormInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1PageInfoFormInfo +func (s *GoogleCloudDialogflowCxV3beta1IntentParameter) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1IntentParameter raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo: -// Represents parameter information. -type GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo struct { - // DisplayName: Always present for WebhookRequest. Required for - // WebhookResponse. The human-readable name of the parameter, unique - // within the form. This field cannot be modified by the webhook. - DisplayName string `json:"displayName,omitempty"` +// GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase: Represents an +// example that the agent is trained on to identify the intent. +type GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase struct { + // Id: Output only. The unique identifier of the training phrase. + Id string `json:"id,omitempty"` - // JustCollected: Optional for WebhookRequest. Ignored for - // WebhookResponse. Indicates if the parameter value was just collected - // on the last conversation turn. - JustCollected bool `json:"justCollected,omitempty"` + // Parts: Required. The ordered list of training phrase parts. The parts + // are concatenated in order to form the training phrase. Note: The API + // does not automatically annotate training phrases like the Dialogflow + // Console does. Note: Do not forget to include whitespace at part + // boundaries, so the training phrase is well formatted when the parts + // are concatenated. If the training phrase does not need to be + // annotated with parameters, you just need a single part with only the + // Part.text field set. If you want to annotate the training phrase, you + // must create multiple parts, where the fields of each part are + // populated in one of two ways: - `Part.text` is set to a part of the + // phrase that has no parameters. - `Part.text` is set to a part of the + // phrase that you want to annotate, and the `parameter_id` field is + // set. + Parts []*GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart `json:"parts,omitempty"` - // Required: Optional for both WebhookRequest and WebhookResponse. - // Indicates whether the parameter is required. Optional parameters will - // not trigger prompts; however, they are filled if the user specifies - // them. Required parameters must be filled before form filling - // concludes. - Required bool `json:"required,omitempty"` + // RepeatCount: Indicates how many times this example was added to the + // intent. + RepeatCount int64 `json:"repeatCount,omitempty"` - // State: Always present for WebhookRequest. Required for - // WebhookResponse. The state of the parameter. This field can be set to - // INVALID by the webhook to invalidate the parameter; other values set - // by the webhook will be ignored. - // - // Possible values: - // "PARAMETER_STATE_UNSPECIFIED" - Not specified. This value should be - // never used. - // "EMPTY" - Indicates that the parameter does not have a value. - // "INVALID" - Indicates that the parameter value is invalid. This - // field can be used by the webhook to invalidate the parameter and ask - // the server to collect it from the user again. - // "FILLED" - Indicates that the parameter has a value. - State string `json:"state,omitempty"` + // ForceSendFields is a list of field names (e.g. "Id") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` - // Value: Optional for both WebhookRequest and WebhookResponse. The - // value of the parameter. This field can be set by the webhook to - // change the parameter value. - Value interface{} `json:"value,omitempty"` + // NullFields is a list of field names (e.g. "Id") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} - // ForceSendFields is a list of field names (e.g. "DisplayName") to +func (s *GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart: Represents a +// part of a training phrase. +type GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart struct { + // ParameterId: The parameter used to annotate this part of the training + // phrase. This field is required for annotated parts of the training + // phrase. + ParameterId string `json:"parameterId,omitempty"` + + // Text: Required. The text for this part. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ParameterId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -2859,7 +2726,7 @@ type GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DisplayName") to include + // NullFields is a list of field names (e.g. "ParameterId") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -2868,40 +2735,28 @@ type GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo +func (s *GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1QueryInput: Represents the query input. -// It can contain one of: 1. A conversational query in the form of text. -// 2. An intent query that specifies which intent to trigger. 3. Natural -// language speech audio to be processed. 4. An event to be triggered. -type GoogleCloudDialogflowCxV3beta1QueryInput struct { - // Audio: The natural language speech audio to be processed. - Audio *GoogleCloudDialogflowCxV3beta1AudioInput `json:"audio,omitempty"` - - // Dtmf: The DTMF event to be handled. - Dtmf *GoogleCloudDialogflowCxV3beta1DtmfInput `json:"dtmf,omitempty"` - - // Event: The event to be triggered. - Event *GoogleCloudDialogflowCxV3beta1EventInput `json:"event,omitempty"` - - // Intent: The intent to be triggered. - Intent *GoogleCloudDialogflowCxV3beta1IntentInput `json:"intent,omitempty"` +// GoogleCloudDialogflowCxV3beta1ListAgentsResponse: The response +// message for Agents.ListAgents. +type GoogleCloudDialogflowCxV3beta1ListAgentsResponse struct { + // Agents: The list of agents. There will be a maximum number of items + // returned based on the page_size field in the request. + Agents []*GoogleCloudDialogflowCxV3beta1Agent `json:"agents,omitempty"` - // LanguageCode: Required. The language of the input. See [Language - // Support](https://cloud.google.com/dialogflow/docs/reference/language) - // for a list of the currently supported language codes. Note that - // queries in the same session do not necessarily need to specify the - // same language. - LanguageCode string `json:"languageCode,omitempty"` + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // Text: The natural language text to be processed. - Text *GoogleCloudDialogflowCxV3beta1TextInput `json:"text,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "Audio") to + // ForceSendFields is a list of field names (e.g. "Agents") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -2909,7 +2764,7 @@ type GoogleCloudDialogflowCxV3beta1QueryInput struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Audio") to include in API + // NullFields is a list of field names (e.g. "Agents") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -2918,170 +2773,68 @@ type GoogleCloudDialogflowCxV3beta1QueryInput struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1QueryInput) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1QueryInput +func (s *GoogleCloudDialogflowCxV3beta1ListAgentsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ListAgentsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1QueryParameters: Represents the -// parameters of a conversational query. -type GoogleCloudDialogflowCxV3beta1QueryParameters struct { - // AnalyzeQueryTextSentiment: Configures whether sentiment analysis - // should be performed. If not provided, sentiment analysis is not - // performed. - AnalyzeQueryTextSentiment bool `json:"analyzeQueryTextSentiment,omitempty"` - - // GeoLocation: The geo location of this conversational query. - GeoLocation *GoogleTypeLatLng `json:"geoLocation,omitempty"` +// GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse: The response +// message for EntityTypes.ListEntityTypes. +type GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse struct { + // EntityTypes: The list of entity types. There will be a maximum number + // of items returned based on the page_size field in the request. + EntityTypes []*GoogleCloudDialogflowCxV3beta1EntityType `json:"entityTypes,omitempty"` - // Parameters: Additional parameters to be put into session parameters. - // To remove a parameter from the session, clients should explicitly set - // the parameter value to null. Depending on your protocol or client - // library language, this is a map, associative array, symbol table, - // dictionary, or JSON object composed of a collection of (MapKey, - // MapValue) pairs: - MapKey type: string - MapKey value: parameter name - // - MapValue type: - If parameter's entity type is a composite entity: - // map - Else: string or number, depending on parameter value type - - // MapValue value: - If parameter's entity type is a composite entity: - // map from composite entity property names to property values - Else: - // parameter value - Parameters googleapi.RawMessage `json:"parameters,omitempty"` + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // Payload: This field can be used to pass custom data into the webhook - // associated with the agent. Arbitrary JSON objects are supported. - Payload googleapi.RawMessage `json:"payload,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // SessionEntityTypes: Additional session entity types to replace or - // extend developer entity types with. The entity synonyms apply to all - // languages and persist for the session of this query. - SessionEntityTypes []*GoogleCloudDialogflowCxV3beta1SessionEntityType `json:"sessionEntityTypes,omitempty"` + // ForceSendFields is a list of field names (e.g. "EntityTypes") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` - // TimeZone: The time zone of this conversational query from the [time - // zone database](https://www.iana.org/time-zones), e.g., - // America/New_York, Europe/Paris. If not provided, the time zone - // specified in the agent is used. - TimeZone string `json:"timeZone,omitempty"` + // NullFields is a list of field names (e.g. "EntityTypes") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} - // WebhookHeaders: This field can be used to pass HTTP headers for a - // webhook call. These headers will be sent to webhook along with the - // headers that have been configured through Dialogflow web console. The - // headers defined within this field will overwrite the headers - // configured through Dialogflow console if there is a conflict. Header - // names are case-insensitive. Google's specified headers are not - // allowed. Including: "Host", "Content-Length", "Connection", "From", - // "User-Agent", "Accept-Encoding", "If-Modified-Since", - // "If-None-Match", "X-Forwarded-For", etc. - WebhookHeaders map[string]string `json:"webhookHeaders,omitempty"` +func (s *GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // ForceSendFields is a list of field names (e.g. - // "AnalyzeQueryTextSentiment") to unconditionally include in API - // requests. By default, fields with empty values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. - // "AnalyzeQueryTextSentiment") to include in API requests with the JSON - // null value. By default, fields with empty values are omitted from API - // requests. However, any field with an empty value appearing in - // NullFields will be sent to the server as null. It is an error if a - // field in this list has a non-empty value. This may be used to include - // null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GoogleCloudDialogflowCxV3beta1QueryParameters) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1QueryParameters - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleCloudDialogflowCxV3beta1QueryResult: Represents the result of a -// conversational query. -type GoogleCloudDialogflowCxV3beta1QueryResult struct { - // CurrentPage: The current Page. Some, not all fields are filled in - // this message, including but not limited to `name` and `display_name`. - CurrentPage *GoogleCloudDialogflowCxV3beta1Page `json:"currentPage,omitempty"` - - // DiagnosticInfo: The free-form diagnostic info. For example, this - // field could contain webhook call latency. The string keys of the - // Struct's fields map can change without notice. - DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` - - // Intent: The Intent that matched the conversational query. Some, not - // all fields are filled in this message, including but not limited to: - // `name` and `display_name`. This field is deprecated, please use - // QueryResult.match instead. - Intent *GoogleCloudDialogflowCxV3beta1Intent `json:"intent,omitempty"` - - // IntentDetectionConfidence: The intent detection confidence. Values - // range from 0.0 (completely uncertain) to 1.0 (completely certain). - // This value is for informational purpose only and is only used to help - // match the best intent within the classification threshold. This value - // may change for the same end-user expression at any time due to a - // model retraining or change in implementation. This field is - // deprecated, please use QueryResult.match instead. - IntentDetectionConfidence float64 `json:"intentDetectionConfidence,omitempty"` - - // LanguageCode: The language that was triggered during intent - // detection. See [Language - // Support](https://cloud.google.com/dialogflow/docs/reference/language) - // for a list of the currently supported language codes. - LanguageCode string `json:"languageCode,omitempty"` - - // Match: Intent match result, could be an intent or an event. - Match *GoogleCloudDialogflowCxV3beta1Match `json:"match,omitempty"` - - // Parameters: The collected session parameters. Depending on your - // protocol or client library language, this is a map, associative - // array, symbol table, dictionary, or JSON object composed of a - // collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: string or number, depending - // on parameter value type - MapValue value: - If parameter's entity - // type is a composite entity: map from composite entity property names - // to property values - Else: parameter value - Parameters googleapi.RawMessage `json:"parameters,omitempty"` - - // ResponseMessages: The list of rich messages returned to the client. - // Responses vary from simple text messages to more sophisticated, - // structured payloads used to drive complex logic. - ResponseMessages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"responseMessages,omitempty"` - - // SentimentAnalysisResult: The sentiment analyss result, which depends - // on `analyze_query_text_sentiment`, specified in the request. - SentimentAnalysisResult *GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult `json:"sentimentAnalysisResult,omitempty"` - - // Text: If natural language text was provided as input, this field will - // contain a copy of the text. - Text string `json:"text,omitempty"` - - // Transcript: If natural language speech audio was provided as input, - // this field will contain the trascript for the audio. - Transcript string `json:"transcript,omitempty"` - - // TriggerEvent: If an event was provided as input, this field will - // contain the name of the event. - TriggerEvent string `json:"triggerEvent,omitempty"` - - // TriggerIntent: If an intent was provided as input, this field will - // contain a copy of the intent identifier. - TriggerIntent string `json:"triggerIntent,omitempty"` +// GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse: The response +// message for Environments.ListEnvironments. +type GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse struct { + // Environments: The list of environments. There will be a maximum + // number of items returned based on the page_size field in the request. + // The list may in some cases be empty or contain fewer entries than + // page_size even if this isn't the last page. + Environments []*GoogleCloudDialogflowCxV3beta1Environment `json:"environments,omitempty"` - // WebhookPayloads: The list of webhook payload in - // WebhookResponse.payload, in the order of call sequence. If some - // webhook call fails or doesn't return any payload, an empty `Struct` - // would be used instead. - WebhookPayloads []googleapi.RawMessage `json:"webhookPayloads,omitempty"` + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // WebhookStatuses: The list of webhook call status in the order of call - // sequence. - WebhookStatuses []*GoogleRpcStatus `json:"webhookStatuses,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "CurrentPage") to + // ForceSendFields is a list of field names (e.g. "Environments") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -3089,7 +2842,7 @@ type GoogleCloudDialogflowCxV3beta1QueryResult struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CurrentPage") to include + // NullFields is a list of field names (e.g. "Environments") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -3098,119 +2851,66 @@ type GoogleCloudDialogflowCxV3beta1QueryResult struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1QueryResult) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1QueryResult +func (s *GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -func (s *GoogleCloudDialogflowCxV3beta1QueryResult) UnmarshalJSON(data []byte) error { - type NoMethod GoogleCloudDialogflowCxV3beta1QueryResult - var s1 struct { - IntentDetectionConfidence gensupport.JSONFloat64 `json:"intentDetectionConfidence"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.IntentDetectionConfidence = float64(s1.IntentDetectionConfidence) - return nil -} - -// GoogleCloudDialogflowCxV3beta1ResponseMessage: Represents a response -// message that can be returned by a conversational agent. Response -// messages are also used for output audio synthesis. The approach is as -// follows: * If at least one OutputAudioText response is present, then -// all OutputAudioText responses are linearly concatenated, and the -// result is used for output audio synthesis. * If the OutputAudioText -// responses are a mixture of text and SSML, then the concatenated -// result is treated as SSML; otherwise, the result is treated as either -// text or SSML as appropriate. The agent designer should ideally use -// either text or SSML consistently throughout the bot design. * -// Otherwise, all Text responses are linearly concatenated, and the -// result is used for output audio synthesis. This approach allows for -// more sophisticated user experience scenarios, where the text -// displayed to the user may differ from what is heard. -type GoogleCloudDialogflowCxV3beta1ResponseMessage struct { - // ConversationSuccess: Indicates that the conversation succeeded. - ConversationSuccess *GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess `json:"conversationSuccess,omitempty"` - - // EndInteraction: Output only. A signal that indicates the interaction - // with the Dialogflow agent has ended. This message is generated by - // Dialogflow only when the conversation reaches `END_SESSION` or - // `END_PAGE` page. It is not supposed to be defined by the user. It's - // guaranteed that there is at most one such message in each response. - EndInteraction *GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction `json:"endInteraction,omitempty"` - - // LiveAgentHandoff: Hands off conversation to a human agent. - LiveAgentHandoff *GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff `json:"liveAgentHandoff,omitempty"` - - // MixedAudio: Output only. An audio response message composed of both - // the synthesized Dialogflow agent responses and responses defined via - // play_audio. This message is generated by Dialogflow only and not - // supposed to be defined by the user. - MixedAudio *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio `json:"mixedAudio,omitempty"` - - // OutputAudioText: A text or ssml response that is preferentially used - // for TTS output audio synthesis, as described in the comment on the - // ResponseMessage message. - OutputAudioText *GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText `json:"outputAudioText,omitempty"` - - // Payload: Returns a response containing a custom, platform-specific - // payload. - Payload googleapi.RawMessage `json:"payload,omitempty"` +// GoogleCloudDialogflowCxV3beta1ListFlowsResponse: The response message +// for Flows.ListFlows. +type GoogleCloudDialogflowCxV3beta1ListFlowsResponse struct { + // Flows: The list of flows. There will be a maximum number of items + // returned based on the page_size field in the request. + Flows []*GoogleCloudDialogflowCxV3beta1Flow `json:"flows,omitempty"` - // PlayAudio: Signal that the client should play an audio clip hosted at - // a client-specific URI. Dialogflow uses this to construct mixed_audio. - // However, Dialogflow itself does not try to read or process the URI in - // any way. - PlayAudio *GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio `json:"playAudio,omitempty"` + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // Text: Returns a text response. - Text *GoogleCloudDialogflowCxV3beta1ResponseMessageText `json:"text,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "ConversationSuccess") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "Flows") to + // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ConversationSuccess") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "Flows") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ResponseMessage) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessage +func (s *GoogleCloudDialogflowCxV3beta1ListFlowsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ListFlowsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess: -// Indicates that the conversation succeeded, i.e., the bot handled the -// issue that the customer talked to it about. Dialogflow only uses this -// to determine which conversations should be counted as successful and -// doesn't process the metadata in this message in any way. Note that -// Dialogflow also considers conversations that get to the conversation -// end page as successful even if they don't return ConversationSuccess. -// You may set this, for example: * In the entry_fulfillment of a Page -// if entering the page indicates that the conversation succeeded. * In -// a webhook response when you determine that you handled the customer -// issue. -type GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess struct { - // Metadata: Custom metadata. Dialogflow doesn't impose any structure on - // this. - Metadata googleapi.RawMessage `json:"metadata,omitempty"` +// GoogleCloudDialogflowCxV3beta1ListIntentsResponse: The response +// message for Intents.ListIntents. +type GoogleCloudDialogflowCxV3beta1ListIntentsResponse struct { + // Intents: The list of intents. There will be a maximum number of items + // returned based on the page_size field in the request. + Intents []*GoogleCloudDialogflowCxV3beta1Intent `json:"intents,omitempty"` - // ForceSendFields is a list of field names (e.g. "Metadata") to + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Intents") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -3218,7 +2918,7 @@ type GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Metadata") to include in + // NullFields is a list of field names (e.g. "Intents") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -3227,34 +2927,28 @@ type GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess +func (s *GoogleCloudDialogflowCxV3beta1ListIntentsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ListIntentsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction: -// Indicates that interaction with the Dialogflow agent has ended. This -// message is generated by Dialogflow only and not supposed to be -// defined by the user. -type GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction struct { -} +// GoogleCloudDialogflowCxV3beta1ListPagesResponse: The response message +// for Pages.ListPages. +type GoogleCloudDialogflowCxV3beta1ListPagesResponse struct { + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` -// GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff: -// Indicates that the conversation should be handed off to a live agent. -// Dialogflow only uses this to determine which conversations were -// handed off to a human agent for measurement purposes. What else to do -// with this signal is up to you and your handoff procedures. You may -// set this, for example: * In the entry_fulfillment of a Page if -// entering the page indicates something went extremely wrong in the -// conversation. * In a webhook response when you determine that the -// customer issue can only be handled by a human. -type GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff struct { - // Metadata: Custom metadata for your handoff procedure. Dialogflow - // doesn't impose any structure on this. - Metadata googleapi.RawMessage `json:"metadata,omitempty"` + // Pages: The list of pages. There will be a maximum number of items + // returned based on the page_size field in the request. + Pages []*GoogleCloudDialogflowCxV3beta1Page `json:"pages,omitempty"` - // ForceSendFields is a list of field names (e.g. "Metadata") to + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -3262,32 +2956,36 @@ type GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Metadata") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "NextPageToken") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff +func (s *GoogleCloudDialogflowCxV3beta1ListPagesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ListPagesResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio: Represents -// an audio message that is composed of both segments synthesized from -// the Dialogflow agent prompts and ones hosted externally at the -// specified URIs. The external URIs are specified via play_audio. This -// message is generated by Dialogflow only and not supposed to be -// defined by the user. -type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio struct { - // Segments: Segments this audio response is composed of. - Segments []*GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment `json:"segments,omitempty"` +// GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse: The +// response message for SecuritySettings.ListSecuritySettings. +type GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse struct { + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // ForceSendFields is a list of field names (e.g. "Segments") to + // SecuritySettings: The list of security settings. + SecuritySettings []*GoogleCloudDialogflowCxV3beta1SecuritySettings `json:"securitySettings,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -3295,155 +2993,190 @@ type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Segments") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "NextPageToken") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio +func (s *GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment: -// Represents one segment of audio. -type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment struct { - // AllowPlaybackInterruption: Output only. Whether the playback of this - // segment can be interrupted by the end user's speech and the client - // should then start the next Dialogflow request. - AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` +// GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse: The +// response message for SessionEntityTypes.ListSessionEntityTypes. +type GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse struct { + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // Audio: Raw audio synthesized from the Dialogflow agent's response - // using the output config specified in the request. - Audio string `json:"audio,omitempty"` + // SessionEntityTypes: The list of session entity types. There will be a + // maximum number of items returned based on the page_size field in the + // request. + SessionEntityTypes []*GoogleCloudDialogflowCxV3beta1SessionEntityType `json:"sessionEntityTypes,omitempty"` - // Uri: Client-specific URI that points to an audio clip accessible to - // the client. Dialogflow does not impose any validation on it. - Uri string `json:"uri,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. - // "AllowPlaybackInterruption") to unconditionally include in API - // requests. By default, fields with empty values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. + // ForceSendFields is a list of field names (e.g. "NextPageToken") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. - // "AllowPlaybackInterruption") to include in API requests with the JSON - // null value. By default, fields with empty values are omitted from API - // requests. However, any field with an empty value appearing in - // NullFields will be sent to the server as null. It is an error if a - // field in this list has a non-empty value. This may be used to include - // null fields in Patch requests. + // NullFields is a list of field names (e.g. "NextPageToken") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment +func (s *GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText: A text -// or ssml response that is preferentially used for TTS output audio -// synthesis, as described in the comment on the ResponseMessage -// message. -type GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText struct { - // AllowPlaybackInterruption: Output only. Whether the playback of this - // message can be interrupted by the end user's speech and the client - // can then starts the next Dialogflow request. - AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` +// GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse: The +// response message for TransitionRouteGroups.ListTransitionRouteGroups. +type GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse struct { + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // Ssml: The SSML text to be synthesized. For more information, see - // [SSML](/speech/text-to-speech/docs/ssml). - Ssml string `json:"ssml,omitempty"` + // TransitionRouteGroups: The list of transition route groups. There + // will be a maximum number of items returned based on the page_size + // field in the request. The list may in some cases be empty or contain + // fewer entries than page_size even if this isn't the last page. + TransitionRouteGroups []*GoogleCloudDialogflowCxV3beta1TransitionRouteGroup `json:"transitionRouteGroups,omitempty"` - // Text: The raw text to be synthesized. - Text string `json:"text,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. - // "AllowPlaybackInterruption") to unconditionally include in API - // requests. By default, fields with empty values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. + // ForceSendFields is a list of field names (e.g. "NextPageToken") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. - // "AllowPlaybackInterruption") to include in API requests with the JSON - // null value. By default, fields with empty values are omitted from API - // requests. However, any field with an empty value appearing in - // NullFields will be sent to the server as null. It is an error if a - // field in this list has a non-empty value. This may be used to include - // null fields in Patch requests. + // NullFields is a list of field names (e.g. "NextPageToken") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText +func (s *GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio: Specifies an -// audio clip to be played by the client as part of the response. -type GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio struct { - // AllowPlaybackInterruption: Output only. Whether the playback of this - // message can be interrupted by the end user's speech and the client - // can then starts the next Dialogflow request. - AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` +// GoogleCloudDialogflowCxV3beta1ListVersionsResponse: The response +// message for Versions.ListVersions. +type GoogleCloudDialogflowCxV3beta1ListVersionsResponse struct { + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // AudioUri: Required. URI of the audio clip. Dialogflow does not impose - // any validation on this value. It is specific to the client that reads - // it. - AudioUri string `json:"audioUri,omitempty"` + // Versions: A list of versions. There will be a maximum number of items + // returned based on the page_size field in the request. The list may in + // some cases be empty or contain fewer entries than page_size even if + // this isn't the last page. + Versions []*GoogleCloudDialogflowCxV3beta1Version `json:"versions,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "AllowPlaybackInterruption") to unconditionally include in API - // requests. By default, fields with empty values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "NextPageToken") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. - // "AllowPlaybackInterruption") to include in API requests with the JSON - // null value. By default, fields with empty values are omitted from API - // requests. However, any field with an empty value appearing in - // NullFields will be sent to the server as null. It is an error if a - // field in this list has a non-empty value. This may be used to include - // null fields in Patch requests. + // NullFields is a list of field names (e.g. "NextPageToken") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio +func (s *GoogleCloudDialogflowCxV3beta1ListVersionsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ListVersionsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ResponseMessageText: The text response -// message. -type GoogleCloudDialogflowCxV3beta1ResponseMessageText struct { - // AllowPlaybackInterruption: Output only. Whether the playback of this - // message can be interrupted by the end user's speech and the client - // can then starts the next Dialogflow request. - AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` - - // Text: Required. A collection of text responses. - Text []string `json:"text,omitempty"` +// GoogleCloudDialogflowCxV3beta1ListWebhooksResponse: The response +// message for Webhooks.ListWebhooks. +type GoogleCloudDialogflowCxV3beta1ListWebhooksResponse struct { + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` + + // Webhooks: The list of webhooks. There will be a maximum number of + // items returned based on the page_size field in the request. + Webhooks []*GoogleCloudDialogflowCxV3beta1Webhook `json:"webhooks,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "NextPageToken") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "NextPageToken") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3beta1ListWebhooksResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ListWebhooksResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1LoadVersionRequest: The request message +// for Versions.LoadVersion. +type GoogleCloudDialogflowCxV3beta1LoadVersionRequest struct { + // AllowOverrideAgentResources: This field is used to prevent accidental + // overwrite of other agent resources in the draft version, which can + // potentially impact other flow's behavior. If + // `allow_override_agent_resources` is false, conflicted agent-level + // resources will not be overridden (i.e. intents, entities, webhooks). + AllowOverrideAgentResources bool `json:"allowOverrideAgentResources,omitempty"` // ForceSendFields is a list of field names (e.g. - // "AllowPlaybackInterruption") to unconditionally include in API + // "AllowOverrideAgentResources") to unconditionally include in API // requests. By default, fields with empty values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the @@ -3452,33 +3185,37 @@ type GoogleCloudDialogflowCxV3beta1ResponseMessageText struct { ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. - // "AllowPlaybackInterruption") to include in API requests with the JSON - // null value. By default, fields with empty values are omitted from API - // requests. However, any field with an empty value appearing in - // NullFields will be sent to the server as null. It is an error if a + // "AllowOverrideAgentResources") to include in API requests with the + // JSON null value. By default, fields with empty values are omitted + // from API requests. However, any field with an empty value appearing + // in NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include // null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageText) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageText +func (s *GoogleCloudDialogflowCxV3beta1LoadVersionRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1LoadVersionRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1RestoreAgentRequest: The request -// message for Agents.RestoreAgent. -type GoogleCloudDialogflowCxV3beta1RestoreAgentRequest struct { - // AgentContent: Uncompressed raw byte content for agent. - AgentContent string `json:"agentContent,omitempty"` +// GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse: The +// response message for Environments.LookupEnvironmentHistory. +type GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse struct { + // Environments: Represents a list of snapshots for an environment. Time + // of the snapshots is stored in `update_time`. + Environments []*GoogleCloudDialogflowCxV3beta1Environment `json:"environments,omitempty"` - // AgentUri: The [Google Cloud - // Storage](https://cloud.google.com/storage/docs/) URI to restore agent - // from. The format of this URI must be `gs:///`. - AgentUri string `json:"agentUri,omitempty"` + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // ForceSendFields is a list of field names (e.g. "AgentContent") to + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Environments") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -3486,7 +3223,7 @@ type GoogleCloudDialogflowCxV3beta1RestoreAgentRequest struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AgentContent") to include + // NullFields is a list of field names (e.g. "Environments") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -3495,27 +3232,61 @@ type GoogleCloudDialogflowCxV3beta1RestoreAgentRequest struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1RestoreAgentRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1RestoreAgentRequest +func (s *GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult: The result of -// sentiment analysis. Sentiment analysis inspects user input and -// identifies the prevailing subjective opinion, especially to determine -// a user's attitude as positive, negative, or neutral. -type GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult struct { - // Magnitude: A non-negative number in the [0, +inf) range, which - // represents the absolute magnitude of sentiment, regardless of score - // (positive or negative). - Magnitude float64 `json:"magnitude,omitempty"` +// GoogleCloudDialogflowCxV3beta1Match: Represents one match result of +// MatchIntent. +type GoogleCloudDialogflowCxV3beta1Match struct { + // Confidence: The confidence of this match. Values range from 0.0 + // (completely uncertain) to 1.0 (completely certain). This value is for + // informational purpose only and is only used to help match the best + // intent within the classification threshold. This value may change for + // the same end-user expression at any time due to a model retraining or + // change in implementation. + Confidence float64 `json:"confidence,omitempty"` - // Score: Sentiment score between -1.0 (negative sentiment) and 1.0 - // (positive sentiment). - Score float64 `json:"score,omitempty"` + // Event: The event that matched the query. Only filled for `EVENT` + // match type. + Event string `json:"event,omitempty"` - // ForceSendFields is a list of field names (e.g. "Magnitude") to + // Intent: The Intent that matched the query. Some, not all fields are + // filled in this message, including but not limited to: `name` and + // `display_name`. Only filled for `INTENT` match type. + Intent *GoogleCloudDialogflowCxV3beta1Intent `json:"intent,omitempty"` + + // MatchType: Type of this Match. + // + // Possible values: + // "MATCH_TYPE_UNSPECIFIED" - Not specified. Should never be used. + // "INTENT" - The query was matched to an intent. + // "DIRECT_INTENT" - The query directly triggered an intent. + // "PARAMETER_FILLING" - The query was used for parameter filling. + // "NO_MATCH" - No match was found for the query. + // "NO_INPUT" - Indicates an empty query. + // "EVENT" - The query directly triggered an event. + MatchType string `json:"matchType,omitempty"` + + // Parameters: The collection of parameters extracted from the query. + // Depending on your protocol or client library language, this is a map, + // associative array, symbol table, dictionary, or JSON object composed + // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: string or number, depending + // on parameter value type - MapValue value: - If parameter's entity + // type is a composite entity: map from composite entity property names + // to property values - Else: parameter value + Parameters googleapi.RawMessage `json:"parameters,omitempty"` + + // ResolvedInput: Final text input which was matched during MatchIntent. + // This value can be different from original input sent in request + // because of spelling correction or other processing. + ResolvedInput string `json:"resolvedInput,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Confidence") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -3523,7 +3294,7 @@ type GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Magnitude") to include in + // NullFields is a list of field names (e.g. "Confidence") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -3532,75 +3303,36 @@ type GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult +func (s *GoogleCloudDialogflowCxV3beta1Match) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Match raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -func (s *GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult) UnmarshalJSON(data []byte) error { - type NoMethod GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult +func (s *GoogleCloudDialogflowCxV3beta1Match) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowCxV3beta1Match var s1 struct { - Magnitude gensupport.JSONFloat64 `json:"magnitude"` - Score gensupport.JSONFloat64 `json:"score"` + Confidence gensupport.JSONFloat64 `json:"confidence"` *NoMethod } s1.NoMethod = (*NoMethod)(s) if err := json.Unmarshal(data, &s1); err != nil { return err } - s.Magnitude = float64(s1.Magnitude) - s.Score = float64(s1.Score) + s.Confidence = float64(s1.Confidence) return nil } -// GoogleCloudDialogflowCxV3beta1SessionEntityType: Session entity types -// are referred to as **User** entity types and are entities that are -// built for an individual user such as favorites, preferences, -// playlists, and so on. You can redefine a session entity type at the -// session level to extend or replace a custom entity type at the user -// session level (we refer to the entity types defined at the agent -// level as "custom entity types"). Note: session entity types apply to -// all queries, regardless of the language. For more information about -// entity types, see the [Dialogflow -// documentation](https://cloud.google.com/dialogflow/docs/entities-overv -// iew). -type GoogleCloudDialogflowCxV3beta1SessionEntityType struct { - // Entities: Required. The collection of entities to override or - // supplement the custom entity type. - Entities []*GoogleCloudDialogflowCxV3beta1EntityTypeEntity `json:"entities,omitempty"` - - // EntityOverrideMode: Required. Indicates whether the additional data - // should override or supplement the custom entity type definition. - // - // Possible values: - // "ENTITY_OVERRIDE_MODE_UNSPECIFIED" - Not specified. This value - // should be never used. - // "ENTITY_OVERRIDE_MODE_OVERRIDE" - The collection of session - // entities overrides the collection of entities in the corresponding - // custom entity type. - // "ENTITY_OVERRIDE_MODE_SUPPLEMENT" - The collection of session - // entities extends the collection of entities in the corresponding - // custom entity type. Note: Even in this override mode calls to - // `ListSessionEntityTypes`, `GetSessionEntityType`, - // `CreateSessionEntityType` and `UpdateSessionEntityType` only return - // the additional entities added in this session entity type. If you - // want to get the supplemented list, please call - // EntityTypes.GetEntityType on the custom entity type and merge. - EntityOverrideMode string `json:"entityOverrideMode,omitempty"` - - // Name: Required. The unique identifier of the session entity type. - // Format: `projects//locations//agents//sessions//entityTypes/` or - // `projects//locations//agents//environments//sessions//entityTypes/`. - // If `Environment ID` is not specified, we assume default 'draft' - // environment. - Name string `json:"name,omitempty"` +// GoogleCloudDialogflowCxV3beta1MatchIntentRequest: Request of +// MatchIntent. +type GoogleCloudDialogflowCxV3beta1MatchIntentRequest struct { + // QueryInput: Required. The input specification. + QueryInput *GoogleCloudDialogflowCxV3beta1QueryInput `json:"queryInput,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // QueryParams: The parameters of this query. + QueryParams *GoogleCloudDialogflowCxV3beta1QueryParameters `json:"queryParams,omitempty"` - // ForceSendFields is a list of field names (e.g. "Entities") to + // ForceSendFields is a list of field names (e.g. "QueryInput") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -3608,7 +3340,7 @@ type GoogleCloudDialogflowCxV3beta1SessionEntityType struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Entities") to include in + // NullFields is a list of field names (e.g. "QueryInput") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -3617,69 +3349,109 @@ type GoogleCloudDialogflowCxV3beta1SessionEntityType struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1SessionEntityType) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1SessionEntityType +func (s *GoogleCloudDialogflowCxV3beta1MatchIntentRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1MatchIntentRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1SessionInfo: Represents session -// information communicated to and from the webhook. -type GoogleCloudDialogflowCxV3beta1SessionInfo struct { - // Parameters: Optional for WebhookRequest. Optional for - // WebhookResponse. All parameters collected from forms and intents - // during the session. Parameters can be created, updated, or removed by - // the webhook. To remove a parameter from the session, the webhook - // should explicitly set the parameter value to null in WebhookResponse. - // The map is keyed by parameters' display names. - Parameters googleapi.RawMessage `json:"parameters,omitempty"` +// GoogleCloudDialogflowCxV3beta1MatchIntentResponse: Response of +// MatchIntent. +type GoogleCloudDialogflowCxV3beta1MatchIntentResponse struct { + // CurrentPage: The current Page. Some, not all fields are filled in + // this message, including but not limited to `name` and `display_name`. + CurrentPage *GoogleCloudDialogflowCxV3beta1Page `json:"currentPage,omitempty"` - // Session: Always present for WebhookRequest. Ignored for - // WebhookResponse. The unique identifier of the session. This field can - // be used by the webhook to identify a user. Format: - // `projects//locations//agents//sessions/`. - Session string `json:"session,omitempty"` + // Matches: Match results, if more than one, ordered descendingly by the + // confidence we have that the particular intent matches the query. + Matches []*GoogleCloudDialogflowCxV3beta1Match `json:"matches,omitempty"` - // ForceSendFields is a list of field names (e.g. "Parameters") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be + // Text: If natural language text was provided as input, this field will + // contain a copy of the text. + Text string `json:"text,omitempty"` + + // Transcript: If natural language speech audio was provided as input, + // this field will contain the trascript for the audio. + Transcript string `json:"transcript,omitempty"` + + // TriggerEvent: If an event was provided as input, this field will + // contain a copy of the event name. + TriggerEvent string `json:"triggerEvent,omitempty"` + + // TriggerIntent: If an intent was provided as input, this field will + // contain a copy of the intent identifier. + TriggerIntent string `json:"triggerIntent,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "CurrentPage") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Parameters") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "CurrentPage") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1SessionInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1SessionInfo +func (s *GoogleCloudDialogflowCxV3beta1MatchIntentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1MatchIntentResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1SpeechToTextSettings: Settings related -// to speech recognition. -type GoogleCloudDialogflowCxV3beta1SpeechToTextSettings struct { - // EnableSpeechAdaptation: Whether to use speech adaptation for speech - // recognition. - EnableSpeechAdaptation bool `json:"enableSpeechAdaptation,omitempty"` +// GoogleCloudDialogflowCxV3beta1NluSettings: Settings related to NLU. +type GoogleCloudDialogflowCxV3beta1NluSettings struct { + // ClassificationThreshold: To filter out false positive results and + // still get variety in matched natural language inputs for your agent, + // you can tune the machine learning classification threshold. If the + // returned score value is less than the threshold value, then a + // no-match event will be triggered. The score values range from 0.0 + // (completely uncertain) to 1.0 (completely certain). If set to 0.0, + // the default of 0.3 is used. + ClassificationThreshold float64 `json:"classificationThreshold,omitempty"` + + // ModelTrainingMode: Indicates NLU model training mode. + // + // Possible values: + // "MODEL_TRAINING_MODE_UNSPECIFIED" - Not specified. + // `MODEL_TRAINING_MODE_AUTOMATIC` will be used. + // "MODEL_TRAINING_MODE_AUTOMATIC" - NLU model training is + // automatically triggered when a flow gets modified. User can also + // manually trigger model training in this mode. + // "MODEL_TRAINING_MODE_MANUAL" - User needs to manually trigger NLU + // model training. Best for large flows whose models take long time to + // train. + ModelTrainingMode string `json:"modelTrainingMode,omitempty"` + + // ModelType: Indicates the type of NLU model. + // + // Possible values: + // "MODEL_TYPE_UNSPECIFIED" - Not specified. `MODEL_TYPE_STANDARD` + // will be used. + // "MODEL_TYPE_STANDARD" - Use standard NLU model. + // "MODEL_TYPE_ADVANCED" - Use advanced NLU model. + ModelType string `json:"modelType,omitempty"` // ForceSendFields is a list of field names (e.g. - // "EnableSpeechAdaptation") to unconditionally include in API requests. - // By default, fields with empty values are omitted from API requests. - // However, any non-pointer, non-interface field appearing in + // "ClassificationThreshold") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "EnableSpeechAdaptation") + // NullFields is a list of field names (e.g. "ClassificationThreshold") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the @@ -3689,97 +3461,61 @@ type GoogleCloudDialogflowCxV3beta1SpeechToTextSettings struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1SpeechToTextSettings) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1SpeechToTextSettings - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig: Configuration -// of how speech should be synthesized. -type GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig struct { - // EffectsProfileId: Optional. An identifier which selects 'audio - // effects' profiles that are applied on (post synthesized) text to - // speech. Effects are applied on top of each other in the order they - // are given. - EffectsProfileId []string `json:"effectsProfileId,omitempty"` - - // Pitch: Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means - // increase 20 semitones from the original pitch. -20 means decrease 20 - // semitones from the original pitch. - Pitch float64 `json:"pitch,omitempty"` - - // SpeakingRate: Optional. Speaking rate/speed, in the range [0.25, - // 4.0]. 1.0 is the normal native speed supported by the specific voice. - // 2.0 is twice as fast, and 0.5 is half as fast. If unset(0.0), - // defaults to the native 1.0 speed. Any other values < 0.25 or > 4.0 - // will return an error. - SpeakingRate float64 `json:"speakingRate,omitempty"` - - // Voice: Optional. The desired voice of the synthesized audio. - Voice *GoogleCloudDialogflowCxV3beta1VoiceSelectionParams `json:"voice,omitempty"` - - // VolumeGainDb: Optional. Volume gain (in dB) of the normal native - // volume supported by the specific voice, in the range [-96.0, 16.0]. - // If unset, or set to a value of 0.0 (dB), will play at normal native - // signal amplitude. A value of -6.0 (dB) will play at approximately - // half the amplitude of the normal native signal amplitude. A value of - // +6.0 (dB) will play at approximately twice the amplitude of the - // normal native signal amplitude. We strongly recommend not to exceed - // +10 (dB) as there's usually no effective increase in loudness for any - // value greater than that. - VolumeGainDb float64 `json:"volumeGainDb,omitempty"` - - // ForceSendFields is a list of field names (e.g. "EffectsProfileId") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "EffectsProfileId") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig +func (s *GoogleCloudDialogflowCxV3beta1NluSettings) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1NluSettings raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -func (s *GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig) UnmarshalJSON(data []byte) error { - type NoMethod GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig +func (s *GoogleCloudDialogflowCxV3beta1NluSettings) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowCxV3beta1NluSettings var s1 struct { - Pitch gensupport.JSONFloat64 `json:"pitch"` - SpeakingRate gensupport.JSONFloat64 `json:"speakingRate"` - VolumeGainDb gensupport.JSONFloat64 `json:"volumeGainDb"` + ClassificationThreshold gensupport.JSONFloat64 `json:"classificationThreshold"` *NoMethod } s1.NoMethod = (*NoMethod)(s) if err := json.Unmarshal(data, &s1); err != nil { return err } - s.Pitch = float64(s1.Pitch) - s.SpeakingRate = float64(s1.SpeakingRate) - s.VolumeGainDb = float64(s1.VolumeGainDb) + s.ClassificationThreshold = float64(s1.ClassificationThreshold) return nil } -// GoogleCloudDialogflowCxV3beta1TextInput: Represents the natural -// language text to be processed. -type GoogleCloudDialogflowCxV3beta1TextInput struct { - // Text: Required. The UTF-8 encoded natural language text to be - // processed. Text length must not exceed 256 characters. - Text string `json:"text,omitempty"` +// GoogleCloudDialogflowCxV3beta1OutputAudioConfig: Instructs the speech +// synthesizer how to generate the output audio content. +type GoogleCloudDialogflowCxV3beta1OutputAudioConfig struct { + // AudioEncoding: Required. Audio encoding of the synthesized audio + // content. + // + // Possible values: + // "OUTPUT_AUDIO_ENCODING_UNSPECIFIED" - Not specified. + // "OUTPUT_AUDIO_ENCODING_LINEAR_16" - Uncompressed 16-bit signed + // little-endian samples (Linear PCM). Audio content returned as + // LINEAR16 also contains a WAV header. + // "OUTPUT_AUDIO_ENCODING_MP3" - MP3 audio at 32kbps. + // "OUTPUT_AUDIO_ENCODING_MP3_64_KBPS" - MP3 audio at 64kbps. + // "OUTPUT_AUDIO_ENCODING_OGG_OPUS" - Opus encoded audio wrapped in an + // ogg container. The result will be a file which can be played natively + // on Android, and in browsers (at least Chrome and Firefox). The + // quality of the encoding is considerably higher than MP3 while using + // approximately the same bitrate. + // "OUTPUT_AUDIO_ENCODING_MULAW" - 8-bit samples that compand 14-bit + // audio samples using G.711 PCMU/mu-law. + AudioEncoding string `json:"audioEncoding,omitempty"` - // ForceSendFields is a list of field names (e.g. "Text") to + // SampleRateHertz: Optional. The synthesis sample rate (in hertz) for + // this audio. If not provided, then the synthesizer will use the + // default sample rate based on the audio encoding. If this is different + // from the voice's natural sample rate, then the synthesizer will honor + // this request by converting to the desired sample rate (which might + // result in worse audio quality). + SampleRateHertz int64 `json:"sampleRateHertz,omitempty"` + + // SynthesizeSpeechConfig: Optional. Configuration of how speech should + // be synthesized. + SynthesizeSpeechConfig *GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig `json:"synthesizeSpeechConfig,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AudioEncoding") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -3787,70 +3523,84 @@ type GoogleCloudDialogflowCxV3beta1TextInput struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Text") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "AudioEncoding") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1TextInput) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1TextInput +func (s *GoogleCloudDialogflowCxV3beta1OutputAudioConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1OutputAudioConfig raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1TrainFlowRequest: The request message -// for Flows.TrainFlow. -type GoogleCloudDialogflowCxV3beta1TrainFlowRequest struct { -} +// GoogleCloudDialogflowCxV3beta1Page: A Dialogflow CX conversation +// (session) can be described and visualized as a state machine. The +// states of a CX session are represented by pages. For each flow, you +// define many pages, where your combined pages can handle a complete +// conversation on the topics the flow is designed for. At any given +// moment, exactly one page is the current page, the current page is +// considered active, and the flow associated with that page is +// considered active. Every flow has a special start page. When a flow +// initially becomes active, the start page page becomes the current +// page. For each conversational turn, the current page will either stay +// the same or transition to another page. You configure each page to +// collect information from the end-user that is relevant for the +// conversational state represented by the page. For more information, +// see the [Page +// guide](https://cloud.google.com/dialogflow/cx/docs/concept/page). +type GoogleCloudDialogflowCxV3beta1Page struct { + // DisplayName: Required. The human-readable name of the page, unique + // within the agent. + DisplayName string `json:"displayName,omitempty"` -// GoogleCloudDialogflowCxV3beta1TransitionRoute: A transition route -// specifies a intent that can be matched and/or a data condition that -// can be evaluated during a session. When a specified transition is -// matched, the following actions are taken in order: * If there is a -// `trigger_fulfillment` associated with the transition, it will be -// called. * If there is a `target_page` associated with the transition, -// the session will transition into the specified page. * If there is a -// `target_flow` associated with the transition, the session will -// transition into the specified flow. -type GoogleCloudDialogflowCxV3beta1TransitionRoute struct { - // Condition: The condition to evaluate against form parameters or - // session parameters. See the [conditions - // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condi - // tion). At least one of `intent` or `condition` must be specified. - // When both `intent` and `condition` are specified, the transition can - // only happen when both are fulfilled. - Condition string `json:"condition,omitempty"` + // EntryFulfillment: The fulfillment to call when the session is + // entering the page. + EntryFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"entryFulfillment,omitempty"` - // Intent: The unique identifier of an Intent. Format: - // `projects//locations//agents//intents/`. Indicates that the - // transition can only happen when the given intent is matched. At least - // one of `intent` or `condition` must be specified. When both `intent` - // and `condition` are specified, the transition can only happen when - // both are fulfilled. - Intent string `json:"intent,omitempty"` + // EventHandlers: Handlers associated with the page to handle events + // such as webhook errors, no match or no input. + EventHandlers []*GoogleCloudDialogflowCxV3beta1EventHandler `json:"eventHandlers,omitempty"` - // Name: Output only. The unique identifier of this transition route. + // Form: The form associated with the page, used for collecting + // parameters relevant to the page. + Form *GoogleCloudDialogflowCxV3beta1Form `json:"form,omitempty"` + + // Name: The unique identifier of the page. Required for the + // Pages.UpdatePage method. Pages.CreatePage populates the name + // automatically. Format: `projects//locations//agents//flows//pages/`. Name string `json:"name,omitempty"` - // TargetFlow: The target flow to transition to. Format: - // `projects//locations//agents//flows/`. - TargetFlow string `json:"targetFlow,omitempty"` + // TransitionRouteGroups: Ordered list of `TransitionRouteGroups` + // associated with the page. Transition route groups must be unique + // within a page. * If multiple transition routes within a page scope + // refer to the same intent, then the precedence order is: page's + // transition route -> page's transition route group -> flow's + // transition routes. * If multiple transition route groups within a + // page contain the same intent, then the first group in the ordered + // list takes precedence. + // Format:`projects//locations//agents//flows//transitionRouteGroups/`. + TransitionRouteGroups []string `json:"transitionRouteGroups,omitempty"` - // TargetPage: The target page to transition to. Format: - // `projects//locations//agents//flows//pages/`. - TargetPage string `json:"targetPage,omitempty"` + // TransitionRoutes: A list of transitions for the transition rules of + // this page. They route the conversation to another page in the same + // flow, or another flow. When we are in a certain page, the + // TransitionRoutes are evalauted in the following order: * + // TransitionRoutes defined in the page with intent specified. * + // TransitionRoutes defined in the transition route groups. * + // TransitionRoutes defined in flow with intent specified. * + // TransitionRoutes defined in the page with only condition specified. + TransitionRoutes []*GoogleCloudDialogflowCxV3beta1TransitionRoute `json:"transitionRoutes,omitempty"` - // TriggerFulfillment: The fulfillment to call when the condition is - // satisfied. At least one of `trigger_fulfillment` and `target` must be - // specified. When both are defined, `trigger_fulfillment` is executed - // first. - TriggerFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"triggerFulfillment,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "Condition") to + // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -3858,47 +3608,34 @@ type GoogleCloudDialogflowCxV3beta1TransitionRoute struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Condition") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "DisplayName") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1TransitionRoute) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1TransitionRoute +func (s *GoogleCloudDialogflowCxV3beta1Page) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Page raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1TransitionRouteGroup: An -// TransitionRouteGroup represents a group of `TransitionRoutes` to be -// used by a Page. -type GoogleCloudDialogflowCxV3beta1TransitionRouteGroup struct { - // DisplayName: Required. The human-readable name of the transition - // route group, unique within the Agent. The display name can be no - // longer than 30 characters. - DisplayName string `json:"displayName,omitempty"` - - // Name: The unique identifier of the transition route group. - // TransitionRouteGroups.CreateTransitionRouteGroup populates the name - // automatically. Format: - // `projects//locations//agents//flows//transitionRouteGroups/`. - Name string `json:"name,omitempty"` - - // TransitionRoutes: Transition routes associated with the - // TransitionRouteGroup. Duplicate transition routes (i.e. using the - // same `intent`) are not allowed. Note that the `name` field is not - // used in the transition route group scope. - TransitionRoutes []*GoogleCloudDialogflowCxV3beta1TransitionRoute `json:"transitionRoutes,omitempty"` +// GoogleCloudDialogflowCxV3beta1PageInfo: Represents page information +// communicated to and from the webhook. +type GoogleCloudDialogflowCxV3beta1PageInfo struct { + // CurrentPage: Always present for WebhookRequest. Ignored for + // WebhookResponse. The unique identifier of the current page. Format: + // `projects//locations//agents//flows//pages/`. + CurrentPage string `json:"currentPage,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // FormInfo: Optional for both WebhookRequest and WebhookResponse. + // Information about the form. + FormInfo *GoogleCloudDialogflowCxV3beta1PageInfoFormInfo `json:"formInfo,omitempty"` - // ForceSendFields is a list of field names (e.g. "DisplayName") to + // ForceSendFields is a list of field names (e.g. "CurrentPage") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -3906,7 +3643,7 @@ type GoogleCloudDialogflowCxV3beta1TransitionRouteGroup struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DisplayName") to include + // NullFields is a list of field names (e.g. "CurrentPage") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -3915,52 +3652,21 @@ type GoogleCloudDialogflowCxV3beta1TransitionRouteGroup struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1TransitionRouteGroup +func (s *GoogleCloudDialogflowCxV3beta1PageInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1PageInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1Version: Represents a version of a -// flow. -type GoogleCloudDialogflowCxV3beta1Version struct { - // CreateTime: Output only. Create time of the version. - CreateTime string `json:"createTime,omitempty"` - - // Description: The description of the version. The maximum length is - // 500 characters. If exceeded, the request is rejected. - Description string `json:"description,omitempty"` - - // DisplayName: Required. The human-readable name of the version. Limit - // of 64 characters. - DisplayName string `json:"displayName,omitempty"` - - // Name: Format: projects//locations//agents//flows//versions/. Version - // ID is a self-increasing number generated by Dialogflow upon version - // creation. - Name string `json:"name,omitempty"` - - // NluSettings: Output only. The NLU settings of the flow at version - // creation. - NluSettings *GoogleCloudDialogflowCxV3beta1NluSettings `json:"nluSettings,omitempty"` - - // State: Output only. The state of this version. This field is - // read-only and cannot be set by create and update methods. - // - // Possible values: - // "STATE_UNSPECIFIED" - Not specified. This value is not used. - // "RUNNING" - Version is not ready to serve (e.g. training is - // running). - // "SUCCEEDED" - Training has succeeded and this version is ready to - // serve. - // "FAILED" - Version training failed. - State string `json:"state,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` +// GoogleCloudDialogflowCxV3beta1PageInfoFormInfo: Represents form +// information. +type GoogleCloudDialogflowCxV3beta1PageInfoFormInfo struct { + // ParameterInfo: Optional for both WebhookRequest and WebhookResponse. + // The parameters contained in the form. Note that the webhook cannot + // add or remove any form parameter. + ParameterInfo []*GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo `json:"parameterInfo,omitempty"` - // ForceSendFields is a list of field names (e.g. "CreateTime") to + // ForceSendFields is a list of field names (e.g. "ParameterInfo") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -3968,46 +3674,62 @@ type GoogleCloudDialogflowCxV3beta1Version struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CreateTime") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "ParameterInfo") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1Version) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1Version +func (s *GoogleCloudDialogflowCxV3beta1PageInfoFormInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1PageInfoFormInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1VoiceSelectionParams: Description of -// which voice to use for speech synthesis. -type GoogleCloudDialogflowCxV3beta1VoiceSelectionParams struct { - // Name: Optional. The name of the voice. If not set, the service will - // choose a voice based on the other parameters such as language_code - // and ssml_gender. - Name string `json:"name,omitempty"` +// GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo: +// Represents parameter information. +type GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo struct { + // DisplayName: Always present for WebhookRequest. Required for + // WebhookResponse. The human-readable name of the parameter, unique + // within the form. This field cannot be modified by the webhook. + DisplayName string `json:"displayName,omitempty"` - // SsmlGender: Optional. The preferred gender of the voice. If not set, - // the service will choose a voice based on the other parameters such as - // language_code and name. Note that this is only a preference, not - // requirement. If a voice of the appropriate gender is not available, - // the synthesizer should substitute a voice with a different gender - // rather than failing the request. + // JustCollected: Optional for WebhookRequest. Ignored for + // WebhookResponse. Indicates if the parameter value was just collected + // on the last conversation turn. + JustCollected bool `json:"justCollected,omitempty"` + + // Required: Optional for both WebhookRequest and WebhookResponse. + // Indicates whether the parameter is required. Optional parameters will + // not trigger prompts; however, they are filled if the user specifies + // them. Required parameters must be filled before form filling + // concludes. + Required bool `json:"required,omitempty"` + + // State: Always present for WebhookRequest. Required for + // WebhookResponse. The state of the parameter. This field can be set to + // INVALID by the webhook to invalidate the parameter; other values set + // by the webhook will be ignored. // // Possible values: - // "SSML_VOICE_GENDER_UNSPECIFIED" - An unspecified gender, which - // means that the client doesn't care which gender the selected voice - // will have. - // "SSML_VOICE_GENDER_MALE" - A male voice. - // "SSML_VOICE_GENDER_FEMALE" - A female voice. - // "SSML_VOICE_GENDER_NEUTRAL" - A gender-neutral voice. - SsmlGender string `json:"ssmlGender,omitempty"` + // "PARAMETER_STATE_UNSPECIFIED" - Not specified. This value should be + // never used. + // "EMPTY" - Indicates that the parameter does not have a value. + // "INVALID" - Indicates that the parameter value is invalid. This + // field can be used by the webhook to invalidate the parameter and ask + // the server to collect it from the user again. + // "FILLED" - Indicates that the parameter has a value. + State string `json:"state,omitempty"` - // ForceSendFields is a list of field names (e.g. "Name") to + // Value: Optional for both WebhookRequest and WebhookResponse. The + // value of the parameter. This field can be set by the webhook to + // change the parameter value. + Value interface{} `json:"value,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -4015,53 +3737,49 @@ type GoogleCloudDialogflowCxV3beta1VoiceSelectionParams struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Name") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "DisplayName") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1VoiceSelectionParams) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1VoiceSelectionParams +func (s *GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1Webhook: Webhooks host the developer's -// business logic. During a session, webhooks allow the developer to use -// the data extracted by Dialogflow's natural language processing to -// generate dynamic responses, validate collected data, or trigger -// actions on the backend. -type GoogleCloudDialogflowCxV3beta1Webhook struct { - // Disabled: Indicates whether the webhook is disabled. - Disabled bool `json:"disabled,omitempty"` - - // DisplayName: Required. The human-readable name of the webhook, unique - // within the agent. - DisplayName string `json:"displayName,omitempty"` +// GoogleCloudDialogflowCxV3beta1QueryInput: Represents the query input. +// It can contain one of: 1. A conversational query in the form of text. +// 2. An intent query that specifies which intent to trigger. 3. Natural +// language speech audio to be processed. 4. An event to be triggered. +type GoogleCloudDialogflowCxV3beta1QueryInput struct { + // Audio: The natural language speech audio to be processed. + Audio *GoogleCloudDialogflowCxV3beta1AudioInput `json:"audio,omitempty"` - // GenericWebService: Configuration for a generic web service. - GenericWebService *GoogleCloudDialogflowCxV3beta1WebhookGenericWebService `json:"genericWebService,omitempty"` + // Dtmf: The DTMF event to be handled. + Dtmf *GoogleCloudDialogflowCxV3beta1DtmfInput `json:"dtmf,omitempty"` - // Name: The unique identifier of the webhook. Required for the - // Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the - // name automatically. Format: `projects//locations//agents//webhooks/`. - Name string `json:"name,omitempty"` + // Event: The event to be triggered. + Event *GoogleCloudDialogflowCxV3beta1EventInput `json:"event,omitempty"` - // Timeout: Webhook execution timeout. Execution is considered failed if - // Dialogflow doesn't receive a response from webhook at the end of the - // timeout period. Defaults to 5 seconds, maximum allowed timeout is 30 - // seconds. - Timeout string `json:"timeout,omitempty"` + // Intent: The intent to be triggered. + Intent *GoogleCloudDialogflowCxV3beta1IntentInput `json:"intent,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // LanguageCode: Required. The language of the input. See [Language + // Support](https://cloud.google.com/dialogflow/docs/reference/language) + // for a list of the currently supported language codes. Note that + // queries in the same session do not necessarily need to specify the + // same language. + LanguageCode string `json:"languageCode,omitempty"` - // ForceSendFields is a list of field names (e.g. "Disabled") to + // Text: The natural language text to be processed. + Text *GoogleCloudDialogflowCxV3beta1TextInput `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Audio") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -4069,8 +3787,8 @@ type GoogleCloudDialogflowCxV3beta1Webhook struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Disabled") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Audio") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -4078,113 +3796,170 @@ type GoogleCloudDialogflowCxV3beta1Webhook struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1Webhook) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1Webhook +func (s *GoogleCloudDialogflowCxV3beta1QueryInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1QueryInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1WebhookGenericWebService: Represents -// configuration for a generic web service. -type GoogleCloudDialogflowCxV3beta1WebhookGenericWebService struct { - // Password: The password for HTTP Basic authentication. - Password string `json:"password,omitempty"` +// GoogleCloudDialogflowCxV3beta1QueryParameters: Represents the +// parameters of a conversational query. +type GoogleCloudDialogflowCxV3beta1QueryParameters struct { + // AnalyzeQueryTextSentiment: Configures whether sentiment analysis + // should be performed. If not provided, sentiment analysis is not + // performed. + AnalyzeQueryTextSentiment bool `json:"analyzeQueryTextSentiment,omitempty"` - // RequestHeaders: The HTTP request headers to send together with - // webhook requests. - RequestHeaders map[string]string `json:"requestHeaders,omitempty"` + // GeoLocation: The geo location of this conversational query. + GeoLocation *GoogleTypeLatLng `json:"geoLocation,omitempty"` - // Uri: Required. The webhook URI for receiving POST requests. It must - // use https protocol. - Uri string `json:"uri,omitempty"` + // Parameters: Additional parameters to be put into session parameters. + // To remove a parameter from the session, clients should explicitly set + // the parameter value to null. Depending on your protocol or client + // library language, this is a map, associative array, symbol table, + // dictionary, or JSON object composed of a collection of (MapKey, + // MapValue) pairs: - MapKey type: string - MapKey value: parameter name + // - MapValue type: - If parameter's entity type is a composite entity: + // map - Else: string or number, depending on parameter value type - + // MapValue value: - If parameter's entity type is a composite entity: + // map from composite entity property names to property values - Else: + // parameter value + Parameters googleapi.RawMessage `json:"parameters,omitempty"` - // Username: The user name for HTTP Basic authentication. - Username string `json:"username,omitempty"` + // Payload: This field can be used to pass custom data into the webhook + // associated with the agent. Arbitrary JSON objects are supported. + Payload googleapi.RawMessage `json:"payload,omitempty"` - // ForceSendFields is a list of field names (e.g. "Password") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. + // SessionEntityTypes: Additional session entity types to replace or + // extend developer entity types with. The entity synonyms apply to all + // languages and persist for the session of this query. + SessionEntityTypes []*GoogleCloudDialogflowCxV3beta1SessionEntityType `json:"sessionEntityTypes,omitempty"` + + // TimeZone: The time zone of this conversational query from the [time + // zone database](https://www.iana.org/time-zones), e.g., + // America/New_York, Europe/Paris. If not provided, the time zone + // specified in the agent is used. + TimeZone string `json:"timeZone,omitempty"` + + // WebhookHeaders: This field can be used to pass HTTP headers for a + // webhook call. These headers will be sent to webhook along with the + // headers that have been configured through Dialogflow web console. The + // headers defined within this field will overwrite the headers + // configured through Dialogflow console if there is a conflict. Header + // names are case-insensitive. Google's specified headers are not + // allowed. Including: "Host", "Content-Length", "Connection", "From", + // "User-Agent", "Accept-Encoding", "If-Modified-Since", + // "If-None-Match", "X-Forwarded-For", etc. + WebhookHeaders map[string]string `json:"webhookHeaders,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AnalyzeQueryTextSentiment") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Password") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. + // "AnalyzeQueryTextSentiment") to include in API requests with the JSON + // null value. By default, fields with empty values are omitted from API + // requests. However, any field with an empty value appearing in + // NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1WebhookGenericWebService) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1WebhookGenericWebService +func (s *GoogleCloudDialogflowCxV3beta1QueryParameters) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1QueryParameters raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1WebhookRequest: The request message for -// a webhook call. -type GoogleCloudDialogflowCxV3beta1WebhookRequest struct { - // DetectIntentResponseId: Always present. The unique identifier of the - // DetectIntentResponse that will be returned to the API caller. - DetectIntentResponseId string `json:"detectIntentResponseId,omitempty"` +// GoogleCloudDialogflowCxV3beta1QueryResult: Represents the result of a +// conversational query. +type GoogleCloudDialogflowCxV3beta1QueryResult struct { + // CurrentPage: The current Page. Some, not all fields are filled in + // this message, including but not limited to `name` and `display_name`. + CurrentPage *GoogleCloudDialogflowCxV3beta1Page `json:"currentPage,omitempty"` - // FulfillmentInfo: Always present. Information about the fulfillment - // that triggered this webhook call. - FulfillmentInfo *GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo `json:"fulfillmentInfo,omitempty"` + // DiagnosticInfo: The free-form diagnostic info. For example, this + // field could contain webhook call latency. The string keys of the + // Struct's fields map can change without notice. + DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` - // IntentInfo: Information about the last matched intent. - IntentInfo *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo `json:"intentInfo,omitempty"` + // Intent: The Intent that matched the conversational query. Some, not + // all fields are filled in this message, including but not limited to: + // `name` and `display_name`. This field is deprecated, please use + // QueryResult.match instead. + Intent *GoogleCloudDialogflowCxV3beta1Intent `json:"intent,omitempty"` - // Messages: The list of rich message responses to present to the user. - // Webhook can choose to append or replace this list in - // WebhookResponse.fulfillment_response; - Messages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"messages,omitempty"` + // IntentDetectionConfidence: The intent detection confidence. Values + // range from 0.0 (completely uncertain) to 1.0 (completely certain). + // This value is for informational purpose only and is only used to help + // match the best intent within the classification threshold. This value + // may change for the same end-user expression at any time due to a + // model retraining or change in implementation. This field is + // deprecated, please use QueryResult.match instead. + IntentDetectionConfidence float64 `json:"intentDetectionConfidence,omitempty"` - // PageInfo: Information about page status. - PageInfo *GoogleCloudDialogflowCxV3beta1PageInfo `json:"pageInfo,omitempty"` + // LanguageCode: The language that was triggered during intent + // detection. See [Language + // Support](https://cloud.google.com/dialogflow/docs/reference/language) + // for a list of the currently supported language codes. + LanguageCode string `json:"languageCode,omitempty"` - // Payload: Custom data set in QueryParameters.payload. - Payload googleapi.RawMessage `json:"payload,omitempty"` + // Match: Intent match result, could be an intent or an event. + Match *GoogleCloudDialogflowCxV3beta1Match `json:"match,omitempty"` - // SessionInfo: Information about session status. - SessionInfo *GoogleCloudDialogflowCxV3beta1SessionInfo `json:"sessionInfo,omitempty"` + // Parameters: The collected session parameters. Depending on your + // protocol or client library language, this is a map, associative + // array, symbol table, dictionary, or JSON object composed of a + // collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: string or number, depending + // on parameter value type - MapValue value: - If parameter's entity + // type is a composite entity: map from composite entity property names + // to property values - Else: parameter value + Parameters googleapi.RawMessage `json:"parameters,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "DetectIntentResponseId") to unconditionally include in API requests. - // By default, fields with empty values are omitted from API requests. - // However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. - ForceSendFields []string `json:"-"` + // ResponseMessages: The list of rich messages returned to the client. + // Responses vary from simple text messages to more sophisticated, + // structured payloads used to drive complex logic. + ResponseMessages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"responseMessages,omitempty"` - // NullFields is a list of field names (e.g. "DetectIntentResponseId") - // to include in API requests with the JSON null value. By default, - // fields with empty values are omitted from API requests. However, any - // field with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} + // SentimentAnalysisResult: The sentiment analyss result, which depends + // on `analyze_query_text_sentiment`, specified in the request. + SentimentAnalysisResult *GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult `json:"sentimentAnalysisResult,omitempty"` -func (s *GoogleCloudDialogflowCxV3beta1WebhookRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequest - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // Text: If natural language text was provided as input, this field will + // contain a copy of the text. + Text string `json:"text,omitempty"` -// GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo: -// Represents fulfillment information communicated to the webhook. -type GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo struct { - // Tag: Always present. The tag used to identify which fulfillment is - // being called. - Tag string `json:"tag,omitempty"` + // Transcript: If natural language speech audio was provided as input, + // this field will contain the trascript for the audio. + Transcript string `json:"transcript,omitempty"` - // ForceSendFields is a list of field names (e.g. "Tag") to + // TriggerEvent: If an event was provided as input, this field will + // contain the name of the event. + TriggerEvent string `json:"triggerEvent,omitempty"` + + // TriggerIntent: If an intent was provided as input, this field will + // contain a copy of the intent identifier. + TriggerIntent string `json:"triggerIntent,omitempty"` + + // WebhookPayloads: The list of webhook payload in + // WebhookResponse.payload, in the order of call sequence. If some + // webhook call fails or doesn't return any payload, an empty `Struct` + // would be used instead. + WebhookPayloads []googleapi.RawMessage `json:"webhookPayloads,omitempty"` + + // WebhookStatuses: The list of webhook call status in the order of call + // sequence. + WebhookStatuses []*GoogleRpcStatus `json:"webhookStatuses,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CurrentPage") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -4192,36 +3967,88 @@ type GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Tag") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "CurrentPage") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo +func (s *GoogleCloudDialogflowCxV3beta1QueryResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1QueryResult raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo: Represents -// intent information communicated to the webhook. -type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo struct { - // LastMatchedIntent: Always present. The unique identifier of the last - // matched intent. Format: `projects//locations//agents//intents/`. - LastMatchedIntent string `json:"lastMatchedIntent,omitempty"` +func (s *GoogleCloudDialogflowCxV3beta1QueryResult) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowCxV3beta1QueryResult + var s1 struct { + IntentDetectionConfidence gensupport.JSONFloat64 `json:"intentDetectionConfidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.IntentDetectionConfidence = float64(s1.IntentDetectionConfidence) + return nil +} - // Parameters: Parameters identified as a result of intent matching. - // This is a map of the name of the identified parameter to the value of - // the parameter identified from the user's utterance. All parameters - // defined in the matched intent that are identified will be surfaced - // here. - Parameters map[string]GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue `json:"parameters,omitempty"` +// GoogleCloudDialogflowCxV3beta1ResponseMessage: Represents a response +// message that can be returned by a conversational agent. Response +// messages are also used for output audio synthesis. The approach is as +// follows: * If at least one OutputAudioText response is present, then +// all OutputAudioText responses are linearly concatenated, and the +// result is used for output audio synthesis. * If the OutputAudioText +// responses are a mixture of text and SSML, then the concatenated +// result is treated as SSML; otherwise, the result is treated as either +// text or SSML as appropriate. The agent designer should ideally use +// either text or SSML consistently throughout the bot design. * +// Otherwise, all Text responses are linearly concatenated, and the +// result is used for output audio synthesis. This approach allows for +// more sophisticated user experience scenarios, where the text +// displayed to the user may differ from what is heard. +type GoogleCloudDialogflowCxV3beta1ResponseMessage struct { + // ConversationSuccess: Indicates that the conversation succeeded. + ConversationSuccess *GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess `json:"conversationSuccess,omitempty"` - // ForceSendFields is a list of field names (e.g. "LastMatchedIntent") + // EndInteraction: Output only. A signal that indicates the interaction + // with the Dialogflow agent has ended. This message is generated by + // Dialogflow only when the conversation reaches `END_SESSION` or + // `END_PAGE` page. It is not supposed to be defined by the user. It's + // guaranteed that there is at most one such message in each response. + EndInteraction *GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction `json:"endInteraction,omitempty"` + + // LiveAgentHandoff: Hands off conversation to a human agent. + LiveAgentHandoff *GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff `json:"liveAgentHandoff,omitempty"` + + // MixedAudio: Output only. An audio response message composed of both + // the synthesized Dialogflow agent responses and responses defined via + // play_audio. This message is generated by Dialogflow only and not + // supposed to be defined by the user. + MixedAudio *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio `json:"mixedAudio,omitempty"` + + // OutputAudioText: A text or ssml response that is preferentially used + // for TTS output audio synthesis, as described in the comment on the + // ResponseMessage message. + OutputAudioText *GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText `json:"outputAudioText,omitempty"` + + // Payload: Returns a response containing a custom, platform-specific + // payload. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // PlayAudio: Signal that the client should play an audio clip hosted at + // a client-specific URI. Dialogflow uses this to construct mixed_audio. + // However, Dialogflow itself does not try to read or process the URI in + // any way. + PlayAudio *GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio `json:"playAudio,omitempty"` + + // Text: Returns a text response. + Text *GoogleCloudDialogflowCxV3beta1ResponseMessageText `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConversationSuccess") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -4229,7 +4056,7 @@ type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "LastMatchedIntent") to + // NullFields is a list of field names (e.g. "ConversationSuccess") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -4239,24 +4066,29 @@ type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo +func (s *GoogleCloudDialogflowCxV3beta1ResponseMessage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessage raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterV -// alue: Represents a value for an intent parameter. -type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue struct { - // OriginalValue: Always present. Original text value extracted from - // user utterance. - OriginalValue string `json:"originalValue,omitempty"` - - // ResolvedValue: Always present. Structured value for the parameter - // extracted from user utterance. - ResolvedValue interface{} `json:"resolvedValue,omitempty"` +// GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess: +// Indicates that the conversation succeeded, i.e., the bot handled the +// issue that the customer talked to it about. Dialogflow only uses this +// to determine which conversations should be counted as successful and +// doesn't process the metadata in this message in any way. Note that +// Dialogflow also considers conversations that get to the conversation +// end page as successful even if they don't return ConversationSuccess. +// You may set this, for example: * In the entry_fulfillment of a Page +// if entering the page indicates that the conversation succeeded. * In +// a webhook response when you determine that you handled the customer +// issue. +type GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess struct { + // Metadata: Custom metadata. Dialogflow doesn't impose any structure on + // this. + Metadata googleapi.RawMessage `json:"metadata,omitempty"` - // ForceSendFields is a list of field names (e.g. "OriginalValue") to + // ForceSendFields is a list of field names (e.g. "Metadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -4264,91 +4096,43 @@ type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "OriginalValue") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Metadata") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue +func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1WebhookResponse: The response message -// for a webhook call. -type GoogleCloudDialogflowCxV3beta1WebhookResponse struct { - // FulfillmentResponse: The fulfillment response to send to the user. - // This field can be omitted by the webhook if it does not intend to - // send any response to the user. - FulfillmentResponse *GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse `json:"fulfillmentResponse,omitempty"` - - // PageInfo: Information about page status. This field can be omitted by - // the webhook if it does not intend to modify page status. - PageInfo *GoogleCloudDialogflowCxV3beta1PageInfo `json:"pageInfo,omitempty"` - - // Payload: Value to append directly to QueryResult.webhook_payloads. - Payload googleapi.RawMessage `json:"payload,omitempty"` - - // SessionInfo: Information about session status. This field can be - // omitted by the webhook if it does not intend to modify session - // status. - SessionInfo *GoogleCloudDialogflowCxV3beta1SessionInfo `json:"sessionInfo,omitempty"` - - // TargetFlow: The target flow to transition to. Format: - // `projects//locations//agents//flows/`. - TargetFlow string `json:"targetFlow,omitempty"` - - // TargetPage: The target page to transition to. Format: - // `projects//locations//agents//flows//pages/`. - TargetPage string `json:"targetPage,omitempty"` - - // ForceSendFields is a list of field names (e.g. "FulfillmentResponse") - // to unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "FulfillmentResponse") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *GoogleCloudDialogflowCxV3beta1WebhookResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1WebhookResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +// GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction: +// Indicates that interaction with the Dialogflow agent has ended. This +// message is generated by Dialogflow only and not supposed to be +// defined by the user. +type GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction struct { } -// GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse: -// Represents a fulfillment response to the user. -type GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse struct { - // MergeBehavior: Merge behavior for `messages`. - // - // Possible values: - // "MERGE_BEHAVIOR_UNSPECIFIED" - Not specified. `APPEND` will be - // used. - // "APPEND" - `messages` will be appended to the list of messages - // waiting to be sent to the user. - // "REPLACE" - `messages` will replace the list of messages waiting to - // be sent to the user. - MergeBehavior string `json:"mergeBehavior,omitempty"` - - // Messages: The list of rich message responses to present to the user. - Messages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"messages,omitempty"` +// GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff: +// Indicates that the conversation should be handed off to a live agent. +// Dialogflow only uses this to determine which conversations were +// handed off to a human agent for measurement purposes. What else to do +// with this signal is up to you and your handoff procedures. You may +// set this, for example: * In the entry_fulfillment of a Page if +// entering the page indicates something went extremely wrong in the +// conversation. * In a webhook response when you determine that the +// customer issue can only be handled by a human. +type GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff struct { + // Metadata: Custom metadata for your handoff procedure. Dialogflow + // doesn't impose any structure on this. + Metadata googleapi.RawMessage `json:"metadata,omitempty"` - // ForceSendFields is a list of field names (e.g. "MergeBehavior") to + // ForceSendFields is a list of field names (e.g. "Metadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -4356,43 +4140,32 @@ type GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "MergeBehavior") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Metadata") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse +func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2AnnotatedMessagePart: Represents a part of a -// message possibly annotated with an entity. The part can be an entity -// or purely a part of the message between two entities or message -// start/end. -type GoogleCloudDialogflowV2AnnotatedMessagePart struct { - // EntityType: The [Dialogflow system entity - // type](https://cloud.google.com/dialogflow/docs/reference/system-entiti - // es) of this message part. If this is empty, Dialogflow could not - // annotate the phrase part with a system entity. - EntityType string `json:"entityType,omitempty"` - - // FormattedValue: The [Dialogflow system entity formatted value - // ](https://cloud.google.com/dialogflow/docs/reference/system-entities) - // of this message part. For example for a system entity of type - // `@sys.unit-currency`, this may contain: { "amount": 5, "currency": - // "USD" } - FormattedValue interface{} `json:"formattedValue,omitempty"` - - // Text: A part of a message possibly annotated with an entity. - Text string `json:"text,omitempty"` +// GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio: Represents +// an audio message that is composed of both segments synthesized from +// the Dialogflow agent prompts and ones hosted externally at the +// specified URIs. The external URIs are specified via play_audio. This +// message is generated by Dialogflow only and not supposed to be +// defined by the user. +type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio struct { + // Segments: Segments this audio response is composed of. + Segments []*GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment `json:"segments,omitempty"` - // ForceSendFields is a list of field names (e.g. "EntityType") to + // ForceSendFields is a list of field names (e.g. "Segments") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -4400,7 +4173,7 @@ type GoogleCloudDialogflowV2AnnotatedMessagePart struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "EntityType") to include in + // NullFields is a list of field names (e.g. "Segments") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -4409,116 +4182,181 @@ type GoogleCloudDialogflowV2AnnotatedMessagePart struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2AnnotatedMessagePart) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2AnnotatedMessagePart +func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse: The response -// message for EntityTypes.BatchUpdateEntityTypes. -type GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse struct { - // EntityTypes: The collection of updated or created entity types. - EntityTypes []*GoogleCloudDialogflowV2EntityType `json:"entityTypes,omitempty"` +// GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment: +// Represents one segment of audio. +type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // segment can be interrupted by the end user's speech and the client + // should then start the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` - // ForceSendFields is a list of field names (e.g. "EntityTypes") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. + // Audio: Raw audio synthesized from the Dialogflow agent's response + // using the output config specified in the request. + Audio string `json:"audio,omitempty"` + + // Uri: Client-specific URI that points to an audio clip accessible to + // the client. Dialogflow does not impose any validation on it. + Uri string `json:"uri,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "EntityTypes") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to include in API requests with the JSON + // null value. By default, fields with empty values are omitted from API + // requests. However, any field with an empty value appearing in + // NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse +func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2BatchUpdateIntentsResponse: The response -// message for Intents.BatchUpdateIntents. -type GoogleCloudDialogflowV2BatchUpdateIntentsResponse struct { - // Intents: The collection of updated or created intents. - Intents []*GoogleCloudDialogflowV2Intent `json:"intents,omitempty"` +// GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText: A text +// or ssml response that is preferentially used for TTS output audio +// synthesis, as described in the comment on the ResponseMessage +// message. +type GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` - // ForceSendFields is a list of field names (e.g. "Intents") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. + // Ssml: The SSML text to be synthesized. For more information, see + // [SSML](/speech/text-to-speech/docs/ssml). + Ssml string `json:"ssml,omitempty"` + + // Text: The raw text to be synthesized. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Intents") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to include in API requests with the JSON + // null value. By default, fields with empty values are omitted from API + // requests. However, any field with an empty value appearing in + // NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2BatchUpdateIntentsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2BatchUpdateIntentsResponse +func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2Context: Dialogflow contexts are similar to -// natural language context. If a person says to you "they are orange", -// you need context in order to understand what "they" is referring to. -// Similarly, for Dialogflow to handle an end-user expression like that, -// it needs to be provided with context in order to correctly match an -// intent. Using contexts, you can control the flow of a conversation. -// You can configure contexts for an intent by setting input and output -// contexts, which are identified by string names. When an intent is -// matched, any configured output contexts for that intent become -// active. While any contexts are active, Dialogflow is more likely to -// match intents that are configured with input contexts that correspond -// to the currently active contexts. For more information about context, -// see the [Contexts -// guide](https://cloud.google.com/dialogflow/docs/contexts-overview). -type GoogleCloudDialogflowV2Context struct { - // LifespanCount: Optional. The number of conversational query requests - // after which the context expires. The default is `0`. If set to `0`, - // the context expires immediately. Contexts expire automatically after - // 20 minutes if there are no matching queries. - LifespanCount int64 `json:"lifespanCount,omitempty"` +// GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio: Specifies an +// audio clip to be played by the client as part of the response. +type GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` - // Name: Required. The unique identifier of the context. Format: - // `projects//agent/sessions//contexts/`, or - // `projects//agent/environments//users//sessions//contexts/`. The - // `Context ID` is always converted to lowercase, may only contain - // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If - // `Environment ID` is not specified, we assume default 'draft' - // environment. If `User ID` is not specified, we assume default '-' - // user. The following context names are reserved for internal use by - // Dialogflow. You should not use these contexts or create contexts with - // these names: * `__system_counters__` * `*_id_dialog_context` * - // `*_dialog_params_size` - Name string `json:"name,omitempty"` + // AudioUri: Required. URI of the audio clip. Dialogflow does not impose + // any validation on this value. It is specific to the client that reads + // it. + AudioUri string `json:"audioUri,omitempty"` - // Parameters: Optional. The collection of parameters associated with - // this context. Depending on your protocol or client library language, - // this is a map, associative array, symbol table, dictionary, or JSON - // object composed of a collection of (MapKey, MapValue) pairs: - MapKey - // type: string - MapKey value: parameter name - MapValue type: - If - // parameter's entity type is a composite entity: map - Else: string or - // number, depending on parameter value type - MapValue value: - If - // parameter's entity type is a composite entity: map from composite - // entity property names to property values - Else: parameter value - Parameters googleapi.RawMessage `json:"parameters,omitempty"` + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` - // ForceSendFields is a list of field names (e.g. "LifespanCount") to + // NullFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to include in API requests with the JSON + // null value. By default, fields with empty values are omitted from API + // requests. However, any field with an empty value appearing in + // NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1ResponseMessageText: The text response +// message. +type GoogleCloudDialogflowCxV3beta1ResponseMessageText struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` + + // Text: Required. A collection of text responses. + Text []string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. + // "AllowPlaybackInterruption") to include in API requests with the JSON + // null value. By default, fields with empty values are omitted from API + // requests. However, any field with an empty value appearing in + // NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageText + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1RestoreAgentRequest: The request +// message for Agents.RestoreAgent. +type GoogleCloudDialogflowCxV3beta1RestoreAgentRequest struct { + // AgentContent: Uncompressed raw byte content for agent. + AgentContent string `json:"agentContent,omitempty"` + + // AgentUri: The [Google Cloud + // Storage](https://cloud.google.com/storage/docs/) URI to restore agent + // from. The format of this URI must be `gs:///`. + AgentUri string `json:"agentUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AgentContent") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -4526,7 +4364,7 @@ type GoogleCloudDialogflowV2Context struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "LifespanCount") to include + // NullFields is a list of field names (e.g. "AgentContent") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -4535,50 +4373,71 @@ type GoogleCloudDialogflowV2Context struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2Context) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2Context +func (s *GoogleCloudDialogflowCxV3beta1RestoreAgentRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1RestoreAgentRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2ConversationEvent: Represents a notification -// sent to Pub/Sub subscribers for conversation lifecycle events. -type GoogleCloudDialogflowV2ConversationEvent struct { - // Conversation: The unique identifier of the conversation this - // notification refers to. Format: `projects//conversations/`. - Conversation string `json:"conversation,omitempty"` +// GoogleCloudDialogflowCxV3beta1SecuritySettings: Represents the +// settings related to security issues, such as data redaction and data +// retention. It may take hours for updates on the settings to propagate +// to all the related components and take effect. +type GoogleCloudDialogflowCxV3beta1SecuritySettings struct { + // DisplayName: Required. The human-readable name of the security + // settings, unique within the location. + DisplayName string `json:"displayName,omitempty"` - // ErrorStatus: More detailed information about an error. Only set for - // type UNRECOVERABLE_ERROR_IN_PHONE_CALL. - ErrorStatus *GoogleRpcStatus `json:"errorStatus,omitempty"` + // InspectTemplate: DLP inspect template name. Use this template to + // define inspect base settings. If empty, we use the default DLP + // inspect config. The template name will have one of the following + // formats: `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR + // `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID` + InspectTemplate string `json:"inspectTemplate,omitempty"` - // NewMessagePayload: Payload of NEW_MESSAGE event. - NewMessagePayload *GoogleCloudDialogflowV2Message `json:"newMessagePayload,omitempty"` + // Name: Required. Resource name of the settings. Format: + // `projects//locations//securitySettings/`. + Name string `json:"name,omitempty"` - // Type: The type of the event that this notification refers to. + // PurgeDataTypes: List of types of data to remove when retention + // settings triggers purge. // // Possible values: - // "TYPE_UNSPECIFIED" - Type not set. - // "CONVERSATION_STARTED" - A new conversation has been opened. This - // is fired when a telephone call is answered, or a conversation is - // created via the API. - // "CONVERSATION_FINISHED" - An existing conversation has closed. This - // is fired when a telephone call is terminated, or a conversation is - // closed via the API. - // "HUMAN_INTERVENTION_NEEDED" - An existing conversation has received - // notification from Dialogflow that human intervention is required. - // "NEW_MESSAGE" - An existing conversation has received a new - // message, either from API or telephony. It is configured in - // ConversationProfile.new_message_event_notification_config - // "UNRECOVERABLE_ERROR" - Unrecoverable error during a telephone - // call. In general non-recoverable errors only occur if something was - // misconfigured in the ConversationProfile corresponding to the call. - // After a non-recoverable error, Dialogflow may stop responding. We - // don't fire this event: * in an API call because we can directly - // return the error, or, * when we can recover from an error. - Type string `json:"type,omitempty"` + // "PURGE_DATA_TYPE_UNSPECIFIED" - Unspecified. Do not use. + // "DIALOGFLOW_HISTORY" - Dialogflow history. This does not include + // Stackdriver log, which is owned by the user not Dialogflow. + PurgeDataTypes []string `json:"purgeDataTypes,omitempty"` + + // RedactionScope: Defines on what data we apply redaction. Note that we + // don't redact data to which we don't have access, e.g., Stackdriver + // logs. + // + // Possible values: + // "REDACTION_SCOPE_UNSPECIFIED" - Don't redact any kind of data. + // "REDACT_DISK_STORAGE" - On data to be written to disk or similar + // devices that are capable of holding data even if power is + // disconnected. This includes data that are temporarily saved on disk. + RedactionScope string `json:"redactionScope,omitempty"` - // ForceSendFields is a list of field names (e.g. "Conversation") to + // RedactionStrategy: Strategy that defines how we do redaction. + // + // Possible values: + // "REDACTION_STRATEGY_UNSPECIFIED" - Do not redact. + // "REDACT_WITH_SERVICE" - Call redaction service to clean up the data + // to be persisted. + RedactionStrategy string `json:"redactionStrategy,omitempty"` + + // RetentionWindowDays: Retains the data for the specified number of + // days. User must Set a value lower than Dialogflow's default 30d TTL. + // Setting a value higher than that has no effect. A missing value or + // setting to 0 also means we use Dialogflow's default TTL. + RetentionWindowDays int64 `json:"retentionWindowDays,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -4586,7 +4445,7 @@ type GoogleCloudDialogflowV2ConversationEvent struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Conversation") to include + // NullFields is a list of field names (e.g. "DisplayName") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -4595,106 +4454,112 @@ type GoogleCloudDialogflowV2ConversationEvent struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2ConversationEvent) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2ConversationEvent +func (s *GoogleCloudDialogflowCxV3beta1SecuritySettings) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1SecuritySettings raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2EntityType: Each intent parameter has a type, -// called the entity type, which dictates exactly how data from an -// end-user expression is extracted. Dialogflow provides predefined -// system entities that can match many common types of data. For -// example, there are system entities for matching dates, times, colors, -// email addresses, and so on. You can also create your own custom -// entities for matching custom data. For example, you could define a -// vegetable entity that can match the types of vegetables available for -// purchase with a grocery store agent. For more information, see the -// [Entity -// guide](https://cloud.google.com/dialogflow/docs/entities-overview). -type GoogleCloudDialogflowV2EntityType struct { - // AutoExpansionMode: Optional. Indicates whether the entity type can be - // automatically expanded. - // - // Possible values: - // "AUTO_EXPANSION_MODE_UNSPECIFIED" - Auto expansion disabled for the - // entity. - // "AUTO_EXPANSION_MODE_DEFAULT" - Allows an agent to recognize values - // that have not been explicitly listed in the entity. - AutoExpansionMode string `json:"autoExpansionMode,omitempty"` - - // DisplayName: Required. The name of the entity type. - DisplayName string `json:"displayName,omitempty"` - - // EnableFuzzyExtraction: Optional. Enables fuzzy entity extraction - // during classification. - EnableFuzzyExtraction bool `json:"enableFuzzyExtraction,omitempty"` - - // Entities: Optional. The collection of entity entries associated with - // the entity type. - Entities []*GoogleCloudDialogflowV2EntityTypeEntity `json:"entities,omitempty"` - - // Kind: Required. Indicates the kind of entity type. - // - // Possible values: - // "KIND_UNSPECIFIED" - Not specified. This value should be never - // used. - // "KIND_MAP" - Map entity types allow mapping of a group of synonyms - // to a reference value. - // "KIND_LIST" - List entity types contain a set of entries that do - // not map to reference values. However, list entity types can contain - // references to other entity types (with or without aliases). - // "KIND_REGEXP" - Regexp entity types allow to specify regular - // expressions in entries values. - Kind string `json:"kind,omitempty"` +// GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult: The result of +// sentiment analysis. Sentiment analysis inspects user input and +// identifies the prevailing subjective opinion, especially to determine +// a user's attitude as positive, negative, or neutral. +type GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult struct { + // Magnitude: A non-negative number in the [0, +inf) range, which + // represents the absolute magnitude of sentiment, regardless of score + // (positive or negative). + Magnitude float64 `json:"magnitude,omitempty"` - // Name: The unique identifier of the entity type. Required for - // EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes - // methods. Format: `projects//agent/entityTypes/`. - Name string `json:"name,omitempty"` + // Score: Sentiment score between -1.0 (negative sentiment) and 1.0 + // (positive sentiment). + Score float64 `json:"score,omitempty"` - // ForceSendFields is a list of field names (e.g. "AutoExpansionMode") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "Magnitude") to + // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AutoExpansionMode") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "Magnitude") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2EntityType) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2EntityType +func (s *GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2EntityTypeEntity: An **entity entry** for an -// associated entity type. -type GoogleCloudDialogflowV2EntityTypeEntity struct { - // Synonyms: Required. A collection of value synonyms. For example, if - // the entity type is *vegetable*, and `value` is *scallions*, a synonym - // could be *green onions*. For `KIND_LIST` entity types: * This - // collection must contain exactly one synonym equal to `value`. - Synonyms []string `json:"synonyms,omitempty"` +func (s *GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult + var s1 struct { + Magnitude gensupport.JSONFloat64 `json:"magnitude"` + Score gensupport.JSONFloat64 `json:"score"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Magnitude = float64(s1.Magnitude) + s.Score = float64(s1.Score) + return nil +} - // Value: Required. The primary value associated with this entity entry. - // For example, if the entity type is *vegetable*, the value could be - // *scallions*. For `KIND_MAP` entity types: * A reference value to be - // used in place of synonyms. For `KIND_LIST` entity types: * A string - // that can contain references to other entity types (with or without - // aliases). - Value string `json:"value,omitempty"` +// GoogleCloudDialogflowCxV3beta1SessionEntityType: Session entity types +// are referred to as **User** entity types and are entities that are +// built for an individual user such as favorites, preferences, +// playlists, and so on. You can redefine a session entity type at the +// session level to extend or replace a custom entity type at the user +// session level (we refer to the entity types defined at the agent +// level as "custom entity types"). Note: session entity types apply to +// all queries, regardless of the language. For more information about +// entity types, see the [Dialogflow +// documentation](https://cloud.google.com/dialogflow/docs/entities-overv +// iew). +type GoogleCloudDialogflowCxV3beta1SessionEntityType struct { + // Entities: Required. The collection of entities to override or + // supplement the custom entity type. + Entities []*GoogleCloudDialogflowCxV3beta1EntityTypeEntity `json:"entities,omitempty"` - // ForceSendFields is a list of field names (e.g. "Synonyms") to + // EntityOverrideMode: Required. Indicates whether the additional data + // should override or supplement the custom entity type definition. + // + // Possible values: + // "ENTITY_OVERRIDE_MODE_UNSPECIFIED" - Not specified. This value + // should be never used. + // "ENTITY_OVERRIDE_MODE_OVERRIDE" - The collection of session + // entities overrides the collection of entities in the corresponding + // custom entity type. + // "ENTITY_OVERRIDE_MODE_SUPPLEMENT" - The collection of session + // entities extends the collection of entities in the corresponding + // custom entity type. Note: Even in this override mode calls to + // `ListSessionEntityTypes`, `GetSessionEntityType`, + // `CreateSessionEntityType` and `UpdateSessionEntityType` only return + // the additional entities added in this session entity type. If you + // want to get the supplemented list, please call + // EntityTypes.GetEntityType on the custom entity type and merge. + EntityOverrideMode string `json:"entityOverrideMode,omitempty"` + + // Name: Required. The unique identifier of the session entity type. + // Format: `projects//locations//agents//sessions//entityTypes/` or + // `projects//locations//agents//environments//sessions//entityTypes/`. + // If `Environment ID` is not specified, we assume default 'draft' + // environment. + Name string `json:"name,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Entities") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -4702,7 +4567,7 @@ type GoogleCloudDialogflowV2EntityTypeEntity struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Synonyms") to include in + // NullFields is a list of field names (e.g. "Entities") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -4711,40 +4576,30 @@ type GoogleCloudDialogflowV2EntityTypeEntity struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2EntityTypeEntity) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2EntityTypeEntity +func (s *GoogleCloudDialogflowCxV3beta1SessionEntityType) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1SessionEntityType raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2EventInput: Events allow for matching intents -// by event name instead of the natural language input. For instance, -// input `` can trigger a personalized welcome response. The parameter -// `name` may be used by the agent in the response: "Hello -// #welcome_event.name! What can I do for you today?". -type GoogleCloudDialogflowV2EventInput struct { - // LanguageCode: Required. The language of this query. See [Language - // Support](https://cloud.google.com/dialogflow/docs/reference/language) - // for a list of the currently supported language codes. Note that - // queries in the same session do not necessarily need to specify the - // same language. - LanguageCode string `json:"languageCode,omitempty"` - - // Name: Required. The unique identifier of the event. - Name string `json:"name,omitempty"` - - // Parameters: The collection of parameters associated with the event. - // Depending on your protocol or client library language, this is a map, - // associative array, symbol table, dictionary, or JSON object composed - // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: string or number, depending - // on parameter value type - MapValue value: - If parameter's entity - // type is a composite entity: map from composite entity property names - // to property values - Else: parameter value +// GoogleCloudDialogflowCxV3beta1SessionInfo: Represents session +// information communicated to and from the webhook. +type GoogleCloudDialogflowCxV3beta1SessionInfo struct { + // Parameters: Optional for WebhookRequest. Optional for + // WebhookResponse. All parameters collected from forms and intents + // during the session. Parameters can be created, updated, or removed by + // the webhook. To remove a parameter from the session, the webhook + // should explicitly set the parameter value to null in WebhookResponse. + // The map is keyed by parameters' display names. Parameters googleapi.RawMessage `json:"parameters,omitempty"` - // ForceSendFields is a list of field names (e.g. "LanguageCode") to + // Session: Always present for WebhookRequest. Ignored for + // WebhookResponse. The unique identifier of the session. This field can + // be used by the webhook to identify a user. Format: + // `projects//locations//agents//sessions/`. + Session string `json:"session,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Parameters") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -4752,179 +4607,89 @@ type GoogleCloudDialogflowV2EventInput struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "LanguageCode") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Parameters") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2EventInput) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2EventInput +func (s *GoogleCloudDialogflowCxV3beta1SessionInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1SessionInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2ExportAgentResponse: The response message for -// Agents.ExportAgent. -type GoogleCloudDialogflowV2ExportAgentResponse struct { - // AgentContent: Zip compressed raw byte content for agent. - AgentContent string `json:"agentContent,omitempty"` - - // AgentUri: The URI to a file containing the exported agent. This field - // is populated only if `agent_uri` is specified in - // `ExportAgentRequest`. - AgentUri string `json:"agentUri,omitempty"` +// GoogleCloudDialogflowCxV3beta1SpeechToTextSettings: Settings related +// to speech recognition. +type GoogleCloudDialogflowCxV3beta1SpeechToTextSettings struct { + // EnableSpeechAdaptation: Whether to use speech adaptation for speech + // recognition. + EnableSpeechAdaptation bool `json:"enableSpeechAdaptation,omitempty"` - // ForceSendFields is a list of field names (e.g. "AgentContent") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. + // ForceSendFields is a list of field names (e.g. + // "EnableSpeechAdaptation") to unconditionally include in API requests. + // By default, fields with empty values are omitted from API requests. + // However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AgentContent") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "EnableSpeechAdaptation") + // to include in API requests with the JSON null value. By default, + // fields with empty values are omitted from API requests. However, any + // field with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2ExportAgentResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2ExportAgentResponse +func (s *GoogleCloudDialogflowCxV3beta1SpeechToTextSettings) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1SpeechToTextSettings raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2Intent: An intent categorizes an end-user's -// intention for one conversation turn. For each agent, you define many -// intents, where your combined intents can handle a complete -// conversation. When an end-user writes or says something, referred to -// as an end-user expression or end-user input, Dialogflow matches the -// end-user input to the best intent in your agent. Matching an intent -// is also known as intent classification. For more information, see the -// [intent -// guide](https://cloud.google.com/dialogflow/docs/intents-overview). -type GoogleCloudDialogflowV2Intent struct { - // Action: Optional. The name of the action associated with the intent. - // Note: The action name must not contain whitespaces. - Action string `json:"action,omitempty"` - - // DefaultResponsePlatforms: Optional. The list of platforms for which - // the first responses will be copied from the messages in - // PLATFORM_UNSPECIFIED (i.e. default platform). - // - // Possible values: - // "PLATFORM_UNSPECIFIED" - Default platform. - // "FACEBOOK" - Facebook. - // "SLACK" - Slack. - // "TELEGRAM" - Telegram. - // "KIK" - Kik. - // "SKYPE" - Skype. - // "LINE" - Line. - // "VIBER" - Viber. - // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook - // format](https://developers.google.com/assistant/actions/build/json/dia - // logflow-webhook-json) - // "GOOGLE_HANGOUTS" - Google Hangouts. - DefaultResponsePlatforms []string `json:"defaultResponsePlatforms,omitempty"` - - // DisplayName: Required. The name of this intent. - DisplayName string `json:"displayName,omitempty"` - - // Events: Optional. The collection of event names that trigger the - // intent. If the collection of input contexts is not empty, all of the - // contexts must be present in the active user session for an event to - // trigger this intent. Event names are limited to 150 characters. - Events []string `json:"events,omitempty"` - - // FollowupIntentInfo: Read-only. Information about all followup intents - // that have this intent as a direct or indirect parent. We populate - // this field only in the output. - FollowupIntentInfo []*GoogleCloudDialogflowV2IntentFollowupIntentInfo `json:"followupIntentInfo,omitempty"` - - // InputContextNames: Optional. The list of context names required for - // this intent to be triggered. Format: - // `projects//agent/sessions/-/contexts/`. - InputContextNames []string `json:"inputContextNames,omitempty"` - - // IsFallback: Optional. Indicates whether this is a fallback intent. - IsFallback bool `json:"isFallback,omitempty"` - - // Messages: Optional. The collection of rich messages corresponding to - // the `Response` field in the Dialogflow console. - Messages []*GoogleCloudDialogflowV2IntentMessage `json:"messages,omitempty"` - - // MlDisabled: Optional. Indicates whether Machine Learning is disabled - // for the intent. Note: If `ml_disabled` setting is set to true, then - // this intent is not taken into account during inference in `ML ONLY` - // match mode. Also, auto-markup in the UI is turned off. - MlDisabled bool `json:"mlDisabled,omitempty"` - - // Name: Optional. The unique identifier of this intent. Required for - // Intents.UpdateIntent and Intents.BatchUpdateIntents methods. Format: - // `projects//agent/intents/`. - Name string `json:"name,omitempty"` - - // OutputContexts: Optional. The collection of contexts that are - // activated when the intent is matched. Context messages in this - // collection should not set the parameters field. Setting the - // `lifespan_count` to 0 will reset the context when the intent is - // matched. Format: `projects//agent/sessions/-/contexts/`. - OutputContexts []*GoogleCloudDialogflowV2Context `json:"outputContexts,omitempty"` - - // Parameters: Optional. The collection of parameters associated with - // the intent. - Parameters []*GoogleCloudDialogflowV2IntentParameter `json:"parameters,omitempty"` - - // ParentFollowupIntentName: Read-only after creation. The unique - // identifier of the parent intent in the chain of followup intents. You - // can set this field when creating an intent, for example with - // CreateIntent or BatchUpdateIntents, in order to make this intent a - // followup intent. It identifies the parent followup intent. Format: - // `projects//agent/intents/`. - ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` - - // Priority: Optional. The priority of this intent. Higher numbers - // represent higher priorities. - If the supplied value is unspecified - // or 0, the service translates the value to 500,000, which corresponds - // to the `Normal` priority in the console. - If the supplied value is - // negative, the intent is ignored in runtime detect intent requests. - Priority int64 `json:"priority,omitempty"` +// GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig: Configuration +// of how speech should be synthesized. +type GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig struct { + // EffectsProfileId: Optional. An identifier which selects 'audio + // effects' profiles that are applied on (post synthesized) text to + // speech. Effects are applied on top of each other in the order they + // are given. + EffectsProfileId []string `json:"effectsProfileId,omitempty"` - // ResetContexts: Optional. Indicates whether to delete all contexts in - // the current session when this intent is matched. - ResetContexts bool `json:"resetContexts,omitempty"` + // Pitch: Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means + // increase 20 semitones from the original pitch. -20 means decrease 20 + // semitones from the original pitch. + Pitch float64 `json:"pitch,omitempty"` - // RootFollowupIntentName: Read-only. The unique identifier of the root - // intent in the chain of followup intents. It identifies the correct - // followup intents chain for this intent. We populate this field only - // in the output. Format: `projects//agent/intents/`. - RootFollowupIntentName string `json:"rootFollowupIntentName,omitempty"` + // SpeakingRate: Optional. Speaking rate/speed, in the range [0.25, + // 4.0]. 1.0 is the normal native speed supported by the specific voice. + // 2.0 is twice as fast, and 0.5 is half as fast. If unset(0.0), + // defaults to the native 1.0 speed. Any other values < 0.25 or > 4.0 + // will return an error. + SpeakingRate float64 `json:"speakingRate,omitempty"` - // TrainingPhrases: Optional. The collection of examples that the agent - // is trained on. - TrainingPhrases []*GoogleCloudDialogflowV2IntentTrainingPhrase `json:"trainingPhrases,omitempty"` + // Voice: Optional. The desired voice of the synthesized audio. + Voice *GoogleCloudDialogflowCxV3beta1VoiceSelectionParams `json:"voice,omitempty"` - // WebhookState: Optional. Indicates whether webhooks are enabled for - // the intent. - // - // Possible values: - // "WEBHOOK_STATE_UNSPECIFIED" - Webhook is disabled in the agent and - // in the intent. - // "WEBHOOK_STATE_ENABLED" - Webhook is enabled in the agent and in - // the intent. - // "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING" - Webhook is enabled in - // the agent and in the intent. Also, each slot filling prompt is - // forwarded to the webhook. - WebhookState string `json:"webhookState,omitempty"` + // VolumeGainDb: Optional. Volume gain (in dB) of the normal native + // volume supported by the specific voice, in the range [-96.0, 16.0]. + // If unset, or set to a value of 0.0 (dB), will play at normal native + // signal amplitude. A value of -6.0 (dB) will play at approximately + // half the amplitude of the normal native signal amplitude. A value of + // +6.0 (dB) will play at approximately twice the amplitude of the + // normal native signal amplitude. We strongly recommend not to exceed + // +10 (dB) as there's usually no effective increase in loudness for any + // value greater than that. + VolumeGainDb float64 `json:"volumeGainDb,omitempty"` - // ForceSendFields is a list of field names (e.g. "Action") to + // ForceSendFields is a list of field names (e.g. "EffectsProfileId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -4932,124 +4697,119 @@ type GoogleCloudDialogflowV2Intent struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Action") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "EffectsProfileId") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2Intent) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2Intent +func (s *GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentFollowupIntentInfo: Represents a single -// followup intent in the chain. -type GoogleCloudDialogflowV2IntentFollowupIntentInfo struct { - // FollowupIntentName: The unique identifier of the followup intent. - // Format: `projects//agent/intents/`. - FollowupIntentName string `json:"followupIntentName,omitempty"` +func (s *GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig + var s1 struct { + Pitch gensupport.JSONFloat64 `json:"pitch"` + SpeakingRate gensupport.JSONFloat64 `json:"speakingRate"` + VolumeGainDb gensupport.JSONFloat64 `json:"volumeGainDb"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Pitch = float64(s1.Pitch) + s.SpeakingRate = float64(s1.SpeakingRate) + s.VolumeGainDb = float64(s1.VolumeGainDb) + return nil +} - // ParentFollowupIntentName: The unique identifier of the followup - // intent's parent. Format: `projects//agent/intents/`. - ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` +// GoogleCloudDialogflowCxV3beta1TextInput: Represents the natural +// language text to be processed. +type GoogleCloudDialogflowCxV3beta1TextInput struct { + // Text: Required. The UTF-8 encoded natural language text to be + // processed. Text length must not exceed 256 characters. + Text string `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. "FollowupIntentName") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "Text") to + // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "FollowupIntentName") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "Text") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentFollowupIntentInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentFollowupIntentInfo +func (s *GoogleCloudDialogflowCxV3beta1TextInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TextInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessage: A rich response message. -// Corresponds to the intent `Response` field in the Dialogflow console. -// For more information, see [Rich response -// messages](https://cloud.google.com/dialogflow/docs/intents-rich-messag -// es). -type GoogleCloudDialogflowV2IntentMessage struct { - // BasicCard: The basic card response for Actions on Google. - BasicCard *GoogleCloudDialogflowV2IntentMessageBasicCard `json:"basicCard,omitempty"` - - // BrowseCarouselCard: Browse carousel card for Actions on Google. - BrowseCarouselCard *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard `json:"browseCarouselCard,omitempty"` - - // Card: The card response. - Card *GoogleCloudDialogflowV2IntentMessageCard `json:"card,omitempty"` - - // CarouselSelect: The carousel card response for Actions on Google. - CarouselSelect *GoogleCloudDialogflowV2IntentMessageCarouselSelect `json:"carouselSelect,omitempty"` - - // Image: The image response. - Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` - - // LinkOutSuggestion: The link out suggestion chip for Actions on - // Google. - LinkOutSuggestion *GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion `json:"linkOutSuggestion,omitempty"` - - // ListSelect: The list card response for Actions on Google. - ListSelect *GoogleCloudDialogflowV2IntentMessageListSelect `json:"listSelect,omitempty"` - - // MediaContent: The media content card for Actions on Google. - MediaContent *GoogleCloudDialogflowV2IntentMessageMediaContent `json:"mediaContent,omitempty"` - - // Payload: A custom platform-specific response. - Payload googleapi.RawMessage `json:"payload,omitempty"` +// GoogleCloudDialogflowCxV3beta1TrainFlowRequest: The request message +// for Flows.TrainFlow. +type GoogleCloudDialogflowCxV3beta1TrainFlowRequest struct { +} - // Platform: Optional. The platform that this message is intended for. - // - // Possible values: - // "PLATFORM_UNSPECIFIED" - Default platform. - // "FACEBOOK" - Facebook. - // "SLACK" - Slack. - // "TELEGRAM" - Telegram. - // "KIK" - Kik. - // "SKYPE" - Skype. - // "LINE" - Line. - // "VIBER" - Viber. - // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook - // format](https://developers.google.com/assistant/actions/build/json/dia - // logflow-webhook-json) - // "GOOGLE_HANGOUTS" - Google Hangouts. - Platform string `json:"platform,omitempty"` +// GoogleCloudDialogflowCxV3beta1TransitionRoute: A transition route +// specifies a intent that can be matched and/or a data condition that +// can be evaluated during a session. When a specified transition is +// matched, the following actions are taken in order: * If there is a +// `trigger_fulfillment` associated with the transition, it will be +// called. * If there is a `target_page` associated with the transition, +// the session will transition into the specified page. * If there is a +// `target_flow` associated with the transition, the session will +// transition into the specified flow. +type GoogleCloudDialogflowCxV3beta1TransitionRoute struct { + // Condition: The condition to evaluate against form parameters or + // session parameters. See the [conditions + // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condi + // tion). At least one of `intent` or `condition` must be specified. + // When both `intent` and `condition` are specified, the transition can + // only happen when both are fulfilled. + Condition string `json:"condition,omitempty"` - // QuickReplies: The quick replies response. - QuickReplies *GoogleCloudDialogflowV2IntentMessageQuickReplies `json:"quickReplies,omitempty"` + // Intent: The unique identifier of an Intent. Format: + // `projects//locations//agents//intents/`. Indicates that the + // transition can only happen when the given intent is matched. At least + // one of `intent` or `condition` must be specified. When both `intent` + // and `condition` are specified, the transition can only happen when + // both are fulfilled. + Intent string `json:"intent,omitempty"` - // SimpleResponses: The voice and text-only responses for Actions on - // Google. - SimpleResponses *GoogleCloudDialogflowV2IntentMessageSimpleResponses `json:"simpleResponses,omitempty"` + // Name: Output only. The unique identifier of this transition route. + Name string `json:"name,omitempty"` - // Suggestions: The suggestion chips for Actions on Google. - Suggestions *GoogleCloudDialogflowV2IntentMessageSuggestions `json:"suggestions,omitempty"` + // TargetFlow: The target flow to transition to. Format: + // `projects//locations//agents//flows/`. + TargetFlow string `json:"targetFlow,omitempty"` - // TableCard: Table card for Actions on Google. - TableCard *GoogleCloudDialogflowV2IntentMessageTableCard `json:"tableCard,omitempty"` + // TargetPage: The target page to transition to. Format: + // `projects//locations//agents//flows//pages/`. + TargetPage string `json:"targetPage,omitempty"` - // Text: The text response. - Text *GoogleCloudDialogflowV2IntentMessageText `json:"text,omitempty"` + // TriggerFulfillment: The fulfillment to call when the condition is + // satisfied. At least one of `trigger_fulfillment` and `target` must be + // specified. When both are defined, `trigger_fulfillment` is executed + // first. + TriggerFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"triggerFulfillment,omitempty"` - // ForceSendFields is a list of field names (e.g. "BasicCard") to + // ForceSendFields is a list of field names (e.g. "Condition") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5057,7 +4817,7 @@ type GoogleCloudDialogflowV2IntentMessage struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "BasicCard") to include in + // NullFields is a list of field names (e.g. "Condition") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -5066,32 +4826,38 @@ type GoogleCloudDialogflowV2IntentMessage struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessage) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessage +func (s *GoogleCloudDialogflowCxV3beta1TransitionRoute) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TransitionRoute raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageBasicCard: The basic card -// message. Useful for displaying information. -type GoogleCloudDialogflowV2IntentMessageBasicCard struct { - // Buttons: Optional. The collection of card buttons. - Buttons []*GoogleCloudDialogflowV2IntentMessageBasicCardButton `json:"buttons,omitempty"` - - // FormattedText: Required, unless image is present. The body text of - // the card. - FormattedText string `json:"formattedText,omitempty"` +// GoogleCloudDialogflowCxV3beta1TransitionRouteGroup: An +// TransitionRouteGroup represents a group of `TransitionRoutes` to be +// used by a Page. +type GoogleCloudDialogflowCxV3beta1TransitionRouteGroup struct { + // DisplayName: Required. The human-readable name of the transition + // route group, unique within the Agent. The display name can be no + // longer than 30 characters. + DisplayName string `json:"displayName,omitempty"` - // Image: Optional. The image for the card. - Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` + // Name: The unique identifier of the transition route group. + // TransitionRouteGroups.CreateTransitionRouteGroup populates the name + // automatically. Format: + // `projects//locations//agents//flows//transitionRouteGroups/`. + Name string `json:"name,omitempty"` - // Subtitle: Optional. The subtitle of the card. - Subtitle string `json:"subtitle,omitempty"` + // TransitionRoutes: Transition routes associated with the + // TransitionRouteGroup. Duplicate transition routes (i.e. using the + // same `intent`) are not allowed. Note that the `name` field is not + // used in the transition route group scope. + TransitionRoutes []*GoogleCloudDialogflowCxV3beta1TransitionRoute `json:"transitionRoutes,omitempty"` - // Title: Optional. The title of the card. - Title string `json:"title,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "Buttons") to + // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5099,32 +4865,61 @@ type GoogleCloudDialogflowV2IntentMessageBasicCard struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Buttons") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "DisplayName") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageBasicCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageBasicCard +func (s *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TransitionRouteGroup raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageBasicCardButton: The button -// object that appears at the bottom of a card. -type GoogleCloudDialogflowV2IntentMessageBasicCardButton struct { - // OpenUriAction: Required. Action to take when a user taps on the - // button. - OpenUriAction *GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction `json:"openUriAction,omitempty"` +// GoogleCloudDialogflowCxV3beta1Version: Represents a version of a +// flow. +type GoogleCloudDialogflowCxV3beta1Version struct { + // CreateTime: Output only. Create time of the version. + CreateTime string `json:"createTime,omitempty"` - // Title: Required. The title of the button. - Title string `json:"title,omitempty"` + // Description: The description of the version. The maximum length is + // 500 characters. If exceeded, the request is rejected. + Description string `json:"description,omitempty"` - // ForceSendFields is a list of field names (e.g. "OpenUriAction") to + // DisplayName: Required. The human-readable name of the version. Limit + // of 64 characters. + DisplayName string `json:"displayName,omitempty"` + + // Name: Format: projects//locations//agents//flows//versions/. Version + // ID is a self-increasing number generated by Dialogflow upon version + // creation. + Name string `json:"name,omitempty"` + + // NluSettings: Output only. The NLU settings of the flow at version + // creation. + NluSettings *GoogleCloudDialogflowCxV3beta1NluSettings `json:"nluSettings,omitempty"` + + // State: Output only. The state of this version. This field is + // read-only and cannot be set by create and update methods. + // + // Possible values: + // "STATE_UNSPECIFIED" - Not specified. This value is not used. + // "RUNNING" - Version is not ready to serve (e.g. training is + // running). + // "SUCCEEDED" - Training has succeeded and this version is ready to + // serve. + // "FAILED" - Version training failed. + State string `json:"state,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5132,28 +4927,46 @@ type GoogleCloudDialogflowV2IntentMessageBasicCardButton struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "OpenUriAction") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "CreateTime") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageBasicCardButton) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageBasicCardButton +func (s *GoogleCloudDialogflowCxV3beta1Version) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Version raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction: -// Opens the given URI. -type GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction struct { - // Uri: Required. The HTTP or HTTPS scheme URI. - Uri string `json:"uri,omitempty"` +// GoogleCloudDialogflowCxV3beta1VoiceSelectionParams: Description of +// which voice to use for speech synthesis. +type GoogleCloudDialogflowCxV3beta1VoiceSelectionParams struct { + // Name: Optional. The name of the voice. If not set, the service will + // choose a voice based on the other parameters such as language_code + // and ssml_gender. + Name string `json:"name,omitempty"` - // ForceSendFields is a list of field names (e.g. "Uri") to + // SsmlGender: Optional. The preferred gender of the voice. If not set, + // the service will choose a voice based on the other parameters such as + // language_code and name. Note that this is only a preference, not + // requirement. If a voice of the appropriate gender is not available, + // the synthesizer should substitute a voice with a different gender + // rather than failing the request. + // + // Possible values: + // "SSML_VOICE_GENDER_UNSPECIFIED" - An unspecified gender, which + // means that the client doesn't care which gender the selected voice + // will have. + // "SSML_VOICE_GENDER_MALE" - A male voice. + // "SSML_VOICE_GENDER_FEMALE" - A female voice. + // "SSML_VOICE_GENDER_NEUTRAL" - A gender-neutral voice. + SsmlGender string `json:"ssmlGender,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Name") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5161,7 +4974,7 @@ type GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Uri") to include in API + // NullFields is a list of field names (e.g. "Name") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -5170,86 +4983,44 @@ type GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction +func (s *GoogleCloudDialogflowCxV3beta1VoiceSelectionParams) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1VoiceSelectionParams raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard: Browse -// Carousel Card for Actions on Google. -// https://developers.google.com/actions/assistant/responses#browsing_carousel -type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard struct { - // ImageDisplayOptions: Optional. Settings for displaying the image. - // Applies to every image in items. - // - // Possible values: - // "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED" - Fill the gaps between the - // image and the image container with gray bars. - // "GRAY" - Fill the gaps between the image and the image container - // with gray bars. - // "WHITE" - Fill the gaps between the image and the image container - // with white bars. - // "CROPPED" - Image is scaled such that the image width and height - // match or exceed the container dimensions. This may crop the top and - // bottom of the image if the scaled image height is greater than the - // container height, or crop the left and right of the image if the - // scaled image width is greater than the container width. This is - // similar to "Zoom Mode" on a widescreen TV when playing a 4:3 video. - // "BLURRED_BACKGROUND" - Pad the gaps between image and image frame - // with a blurred copy of the same image. - ImageDisplayOptions string `json:"imageDisplayOptions,omitempty"` - - // Items: Required. List of items in the Browse Carousel Card. Minimum - // of two items, maximum of ten. - Items []*GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem `json:"items,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ImageDisplayOptions") - // to unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ImageDisplayOptions") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} +// GoogleCloudDialogflowCxV3beta1Webhook: Webhooks host the developer's +// business logic. During a session, webhooks allow the developer to use +// the data extracted by Dialogflow's natural language processing to +// generate dynamic responses, validate collected data, or trigger +// actions on the backend. +type GoogleCloudDialogflowCxV3beta1Webhook struct { + // Disabled: Indicates whether the webhook is disabled. + Disabled bool `json:"disabled,omitempty"` -// GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCa -// rdItem: Browsing carousel tile -type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem struct { - // Description: Optional. Description of the carousel item. Maximum of - // four lines of text. - Description string `json:"description,omitempty"` + // DisplayName: Required. The human-readable name of the webhook, unique + // within the agent. + DisplayName string `json:"displayName,omitempty"` - // Footer: Optional. Text that appears at the bottom of the Browse - // Carousel Card. Maximum of one line of text. - Footer string `json:"footer,omitempty"` + // GenericWebService: Configuration for a generic web service. + GenericWebService *GoogleCloudDialogflowCxV3beta1WebhookGenericWebService `json:"genericWebService,omitempty"` - // Image: Optional. Hero image for the carousel item. - Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` + // Name: The unique identifier of the webhook. Required for the + // Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the + // name automatically. Format: `projects//locations//agents//webhooks/`. + Name string `json:"name,omitempty"` - // OpenUriAction: Required. Action to present to the user. - OpenUriAction *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction `json:"openUriAction,omitempty"` + // Timeout: Webhook execution timeout. Execution is considered failed if + // Dialogflow doesn't receive a response from webhook at the end of the + // timeout period. Defaults to 5 seconds, maximum allowed timeout is 30 + // seconds. + Timeout string `json:"timeout,omitempty"` - // Title: Required. Title of the carousel item. Maximum of two lines of - // text. - Title string `json:"title,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "Description") to + // ForceSendFields is a list of field names (e.g. "Disabled") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5257,38 +5028,39 @@ type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardIte // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Description") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Disabled") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem +func (s *GoogleCloudDialogflowCxV3beta1Webhook) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Webhook raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCa -// rdItemOpenUrlAction: Actions on Google action to open a given url. -type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction struct { - // Url: Required. URL - Url string `json:"url,omitempty"` +// GoogleCloudDialogflowCxV3beta1WebhookGenericWebService: Represents +// configuration for a generic web service. +type GoogleCloudDialogflowCxV3beta1WebhookGenericWebService struct { + // Password: The password for HTTP Basic authentication. + Password string `json:"password,omitempty"` - // UrlTypeHint: Optional. Specifies the type of viewer that is used when - // opening the URL. Defaults to opening via web browser. - // - // Possible values: - // "URL_TYPE_HINT_UNSPECIFIED" - Unspecified - // "AMP_ACTION" - Url would be an amp action - // "AMP_CONTENT" - URL that points directly to AMP content, or to a - // canonical URL which refers to AMP content via . - UrlTypeHint string `json:"urlTypeHint,omitempty"` + // RequestHeaders: The HTTP request headers to send together with + // webhook requests. + RequestHeaders map[string]string `json:"requestHeaders,omitempty"` - // ForceSendFields is a list of field names (e.g. "Url") to + // Uri: Required. The webhook URI for receiving POST requests. It must + // use https protocol. + Uri string `json:"uri,omitempty"` + + // Username: The user name for HTTP Basic authentication. + Username string `json:"username,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Password") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5296,8 +5068,8 @@ type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardIte // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Url") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Password") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -5305,60 +5077,73 @@ type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardIte NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction +func (s *GoogleCloudDialogflowCxV3beta1WebhookGenericWebService) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1WebhookGenericWebService raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageCard: The card response message. -type GoogleCloudDialogflowV2IntentMessageCard struct { - // Buttons: Optional. The collection of card buttons. - Buttons []*GoogleCloudDialogflowV2IntentMessageCardButton `json:"buttons,omitempty"` +// GoogleCloudDialogflowCxV3beta1WebhookRequest: The request message for +// a webhook call. +type GoogleCloudDialogflowCxV3beta1WebhookRequest struct { + // DetectIntentResponseId: Always present. The unique identifier of the + // DetectIntentResponse that will be returned to the API caller. + DetectIntentResponseId string `json:"detectIntentResponseId,omitempty"` - // ImageUri: Optional. The public URI to an image file for the card. - ImageUri string `json:"imageUri,omitempty"` + // FulfillmentInfo: Always present. Information about the fulfillment + // that triggered this webhook call. + FulfillmentInfo *GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo `json:"fulfillmentInfo,omitempty"` - // Subtitle: Optional. The subtitle of the card. - Subtitle string `json:"subtitle,omitempty"` + // IntentInfo: Information about the last matched intent. + IntentInfo *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo `json:"intentInfo,omitempty"` - // Title: Optional. The title of the card. - Title string `json:"title,omitempty"` + // Messages: The list of rich message responses to present to the user. + // Webhook can choose to append or replace this list in + // WebhookResponse.fulfillment_response; + Messages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"messages,omitempty"` - // ForceSendFields is a list of field names (e.g. "Buttons") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. + // PageInfo: Information about page status. + PageInfo *GoogleCloudDialogflowCxV3beta1PageInfo `json:"pageInfo,omitempty"` + + // Payload: Custom data set in QueryParameters.payload. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // SessionInfo: Information about session status. + SessionInfo *GoogleCloudDialogflowCxV3beta1SessionInfo `json:"sessionInfo,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "DetectIntentResponseId") to unconditionally include in API requests. + // By default, fields with empty values are omitted from API requests. + // However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Buttons") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "DetectIntentResponseId") + // to include in API requests with the JSON null value. By default, + // fields with empty values are omitted from API requests. However, any + // field with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageCard +func (s *GoogleCloudDialogflowCxV3beta1WebhookRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageCardButton: Contains information -// about a button. -type GoogleCloudDialogflowV2IntentMessageCardButton struct { - // Postback: Optional. The text to send back to the Dialogflow API or a - // URI to open. - Postback string `json:"postback,omitempty"` - - // Text: Optional. The text to show on the button. - Text string `json:"text,omitempty"` +// GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo: +// Represents fulfillment information communicated to the webhook. +type GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo struct { + // Tag: Always present. The tag used to identify which fulfillment is + // being called. + Tag string `json:"tag,omitempty"` - // ForceSendFields is a list of field names (e.g. "Postback") to + // ForceSendFields is a list of field names (e.g. "Tag") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5366,8 +5151,8 @@ type GoogleCloudDialogflowV2IntentMessageCardButton struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Postback") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Tag") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -5375,97 +5160,62 @@ type GoogleCloudDialogflowV2IntentMessageCardButton struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageCardButton) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageCardButton +func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageCarouselSelect: The card for -// presenting a carousel of options to select from. -type GoogleCloudDialogflowV2IntentMessageCarouselSelect struct { - // Items: Required. Carousel items. - Items []*GoogleCloudDialogflowV2IntentMessageCarouselSelectItem `json:"items,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Items") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` +// GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo: Represents +// intent information communicated to the webhook. +type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo struct { + // LastMatchedIntent: Always present. The unique identifier of the last + // matched intent. Format: `projects//locations//agents//intents/`. + LastMatchedIntent string `json:"lastMatchedIntent,omitempty"` - // NullFields is a list of field names (e.g. "Items") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GoogleCloudDialogflowV2IntentMessageCarouselSelect) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageCarouselSelect - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleCloudDialogflowV2IntentMessageCarouselSelectItem: An item in -// the carousel. -type GoogleCloudDialogflowV2IntentMessageCarouselSelectItem struct { - // Description: Optional. The body text of the card. - Description string `json:"description,omitempty"` - - // Image: Optional. The image to display. - Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` - - // Info: Required. Additional info about the option item. - Info *GoogleCloudDialogflowV2IntentMessageSelectItemInfo `json:"info,omitempty"` - - // Title: Required. Title of the carousel item. - Title string `json:"title,omitempty"` + // Parameters: Parameters identified as a result of intent matching. + // This is a map of the name of the identified parameter to the value of + // the parameter identified from the user's utterance. All parameters + // defined in the matched intent that are identified will be surfaced + // here. + Parameters map[string]GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue `json:"parameters,omitempty"` - // ForceSendFields is a list of field names (e.g. "Description") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "LastMatchedIntent") + // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Description") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "LastMatchedIntent") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageCarouselSelectItem) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageCarouselSelectItem +func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageColumnProperties: Column -// properties for TableCard. -type GoogleCloudDialogflowV2IntentMessageColumnProperties struct { - // Header: Required. Column heading. - Header string `json:"header,omitempty"` +// GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterV +// alue: Represents a value for an intent parameter. +type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue struct { + // OriginalValue: Always present. Original text value extracted from + // user utterance. + OriginalValue string `json:"originalValue,omitempty"` - // HorizontalAlignment: Optional. Defines text alignment for all cells - // in this column. - // - // Possible values: - // "HORIZONTAL_ALIGNMENT_UNSPECIFIED" - Text is aligned to the leading - // edge of the column. - // "LEADING" - Text is aligned to the leading edge of the column. - // "CENTER" - Text is centered in the column. - // "TRAILING" - Text is aligned to the trailing edge of the column. - HorizontalAlignment string `json:"horizontalAlignment,omitempty"` + // ResolvedValue: Always present. Structured value for the parameter + // extracted from user utterance. + ResolvedValue interface{} `json:"resolvedValue,omitempty"` - // ForceSendFields is a list of field names (e.g. "Header") to + // ForceSendFields is a list of field names (e.g. "OriginalValue") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5473,32 +5223,50 @@ type GoogleCloudDialogflowV2IntentMessageColumnProperties struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Header") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "OriginalValue") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageColumnProperties) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageColumnProperties +func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageImage: The image response -// message. -type GoogleCloudDialogflowV2IntentMessageImage struct { - // AccessibilityText: Optional. A text description of the image to be - // used for accessibility, e.g., screen readers. - AccessibilityText string `json:"accessibilityText,omitempty"` +// GoogleCloudDialogflowCxV3beta1WebhookResponse: The response message +// for a webhook call. +type GoogleCloudDialogflowCxV3beta1WebhookResponse struct { + // FulfillmentResponse: The fulfillment response to send to the user. + // This field can be omitted by the webhook if it does not intend to + // send any response to the user. + FulfillmentResponse *GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse `json:"fulfillmentResponse,omitempty"` - // ImageUri: Optional. The public URI to an image file. - ImageUri string `json:"imageUri,omitempty"` + // PageInfo: Information about page status. This field can be omitted by + // the webhook if it does not intend to modify page status. + PageInfo *GoogleCloudDialogflowCxV3beta1PageInfo `json:"pageInfo,omitempty"` - // ForceSendFields is a list of field names (e.g. "AccessibilityText") + // Payload: Value to append directly to QueryResult.webhook_payloads. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // SessionInfo: Information about session status. This field can be + // omitted by the webhook if it does not intend to modify session + // status. + SessionInfo *GoogleCloudDialogflowCxV3beta1SessionInfo `json:"sessionInfo,omitempty"` + + // TargetFlow: The target flow to transition to. Format: + // `projects//locations//agents//flows/`. + TargetFlow string `json:"targetFlow,omitempty"` + + // TargetPage: The target page to transition to. Format: + // `projects//locations//agents//flows//pages/`. + TargetPage string `json:"targetPage,omitempty"` + + // ForceSendFields is a list of field names (e.g. "FulfillmentResponse") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5506,7 +5274,7 @@ type GoogleCloudDialogflowV2IntentMessageImage struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AccessibilityText") to + // NullFields is a list of field names (e.g. "FulfillmentResponse") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -5516,25 +5284,30 @@ type GoogleCloudDialogflowV2IntentMessageImage struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageImage) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageImage +func (s *GoogleCloudDialogflowCxV3beta1WebhookResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1WebhookResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion: The suggestion -// chip message that allows the user to jump out to the app or website -// associated with this agent. -type GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion struct { - // DestinationName: Required. The name of the app or site this chip is - // linking to. - DestinationName string `json:"destinationName,omitempty"` +// GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse: +// Represents a fulfillment response to the user. +type GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse struct { + // MergeBehavior: Merge behavior for `messages`. + // + // Possible values: + // "MERGE_BEHAVIOR_UNSPECIFIED" - Not specified. `APPEND` will be + // used. + // "APPEND" - `messages` will be appended to the list of messages + // waiting to be sent to the user. + // "REPLACE" - `messages` will replace the list of messages waiting to + // be sent to the user. + MergeBehavior string `json:"mergeBehavior,omitempty"` - // Uri: Required. The URI of the app or site to open when the user taps - // the suggestion chip. - Uri string `json:"uri,omitempty"` + // Messages: The list of rich message responses to present to the user. + Messages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"messages,omitempty"` - // ForceSendFields is a list of field names (e.g. "DestinationName") to + // ForceSendFields is a list of field names (e.g. "MergeBehavior") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5542,35 +5315,43 @@ type GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DestinationName") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "MergeBehavior") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion +func (s *GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageListSelect: The card for -// presenting a list of options to select from. -type GoogleCloudDialogflowV2IntentMessageListSelect struct { - // Items: Required. List items. - Items []*GoogleCloudDialogflowV2IntentMessageListSelectItem `json:"items,omitempty"` +// GoogleCloudDialogflowV2AnnotatedMessagePart: Represents a part of a +// message possibly annotated with an entity. The part can be an entity +// or purely a part of the message between two entities or message +// start/end. +type GoogleCloudDialogflowV2AnnotatedMessagePart struct { + // EntityType: The [Dialogflow system entity + // type](https://cloud.google.com/dialogflow/docs/reference/system-entiti + // es) of this message part. If this is empty, Dialogflow could not + // annotate the phrase part with a system entity. + EntityType string `json:"entityType,omitempty"` - // Subtitle: Optional. Subtitle of the list. - Subtitle string `json:"subtitle,omitempty"` + // FormattedValue: The [Dialogflow system entity formatted value + // ](https://cloud.google.com/dialogflow/docs/reference/system-entities) + // of this message part. For example for a system entity of type + // `@sys.unit-currency`, this may contain: { "amount": 5, "currency": + // "USD" } + FormattedValue interface{} `json:"formattedValue,omitempty"` - // Title: Optional. The overall title of the list. - Title string `json:"title,omitempty"` + // Text: A part of a message possibly annotated with an entity. + Text string `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. "Items") to + // ForceSendFields is a list of field names (e.g. "EntityType") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5578,8 +5359,8 @@ type GoogleCloudDialogflowV2IntentMessageListSelect struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Items") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "EntityType") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -5587,28 +5368,19 @@ type GoogleCloudDialogflowV2IntentMessageListSelect struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageListSelect) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageListSelect +func (s *GoogleCloudDialogflowV2AnnotatedMessagePart) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2AnnotatedMessagePart raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageListSelectItem: An item in the -// list. -type GoogleCloudDialogflowV2IntentMessageListSelectItem struct { - // Description: Optional. The main text describing the item. - Description string `json:"description,omitempty"` - - // Image: Optional. The image to display. - Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` - - // Info: Required. Additional information about this option. - Info *GoogleCloudDialogflowV2IntentMessageSelectItemInfo `json:"info,omitempty"` - - // Title: Required. The title of the list item. - Title string `json:"title,omitempty"` +// GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse: The response +// message for EntityTypes.BatchUpdateEntityTypes. +type GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse struct { + // EntityTypes: The collection of updated or created entity types. + EntityTypes []*GoogleCloudDialogflowV2EntityType `json:"entityTypes,omitempty"` - // ForceSendFields is a list of field names (e.g. "Description") to + // ForceSendFields is a list of field names (e.g. "EntityTypes") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5616,7 +5388,7 @@ type GoogleCloudDialogflowV2IntentMessageListSelectItem struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Description") to include + // NullFields is a list of field names (e.g. "EntityTypes") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -5625,26 +5397,19 @@ type GoogleCloudDialogflowV2IntentMessageListSelectItem struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageListSelectItem) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageListSelectItem +func (s *GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageMediaContent: The media content -// card for Actions on Google. -type GoogleCloudDialogflowV2IntentMessageMediaContent struct { - // MediaObjects: Required. List of media objects. - MediaObjects []*GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject `json:"mediaObjects,omitempty"` +// GoogleCloudDialogflowV2BatchUpdateIntentsResponse: The response +// message for Intents.BatchUpdateIntents. +type GoogleCloudDialogflowV2BatchUpdateIntentsResponse struct { + // Intents: The collection of updated or created intents. + Intents []*GoogleCloudDialogflowV2Intent `json:"intents,omitempty"` - // MediaType: Optional. What type of media is the content (ie "audio"). - // - // Possible values: - // "RESPONSE_MEDIA_TYPE_UNSPECIFIED" - Unspecified. - // "AUDIO" - Response media type is audio. - MediaType string `json:"mediaType,omitempty"` - - // ForceSendFields is a list of field names (e.g. "MediaObjects") to + // ForceSendFields is a list of field names (e.g. "Intents") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5652,40 +5417,67 @@ type GoogleCloudDialogflowV2IntentMessageMediaContent struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "MediaObjects") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Intents") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageMediaContent) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageMediaContent +func (s *GoogleCloudDialogflowV2BatchUpdateIntentsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2BatchUpdateIntentsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject: -// Response media object for media content card. -type GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject struct { - // ContentUrl: Required. Url where the media is stored. - ContentUrl string `json:"contentUrl,omitempty"` - - // Description: Optional. Description of media card. - Description string `json:"description,omitempty"` - - // Icon: Optional. Icon to display above media content. - Icon *GoogleCloudDialogflowV2IntentMessageImage `json:"icon,omitempty"` - - // LargeImage: Optional. Image to display above media content. - LargeImage *GoogleCloudDialogflowV2IntentMessageImage `json:"largeImage,omitempty"` +// GoogleCloudDialogflowV2Context: Dialogflow contexts are similar to +// natural language context. If a person says to you "they are orange", +// you need context in order to understand what "they" is referring to. +// Similarly, for Dialogflow to handle an end-user expression like that, +// it needs to be provided with context in order to correctly match an +// intent. Using contexts, you can control the flow of a conversation. +// You can configure contexts for an intent by setting input and output +// contexts, which are identified by string names. When an intent is +// matched, any configured output contexts for that intent become +// active. While any contexts are active, Dialogflow is more likely to +// match intents that are configured with input contexts that correspond +// to the currently active contexts. For more information about context, +// see the [Contexts +// guide](https://cloud.google.com/dialogflow/docs/contexts-overview). +type GoogleCloudDialogflowV2Context struct { + // LifespanCount: Optional. The number of conversational query requests + // after which the context expires. The default is `0`. If set to `0`, + // the context expires immediately. Contexts expire automatically after + // 20 minutes if there are no matching queries. + LifespanCount int64 `json:"lifespanCount,omitempty"` - // Name: Required. Name of media card. + // Name: Required. The unique identifier of the context. Format: + // `projects//agent/sessions//contexts/`, or + // `projects//agent/environments//users//sessions//contexts/`. The + // `Context ID` is always converted to lowercase, may only contain + // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If + // `Environment ID` is not specified, we assume default 'draft' + // environment. If `User ID` is not specified, we assume default '-' + // user. The following context names are reserved for internal use by + // Dialogflow. You should not use these contexts or create contexts with + // these names: * `__system_counters__` * `*_id_dialog_context` * + // `*_dialog_params_size` Name string `json:"name,omitempty"` - // ForceSendFields is a list of field names (e.g. "ContentUrl") to + // Parameters: Optional. The collection of parameters associated with + // this context. Depending on your protocol or client library language, + // this is a map, associative array, symbol table, dictionary, or JSON + // object composed of a collection of (MapKey, MapValue) pairs: - MapKey + // type: string - MapKey value: parameter name - MapValue type: - If + // parameter's entity type is a composite entity: map - Else: string or + // number, depending on parameter value type - MapValue value: - If + // parameter's entity type is a composite entity: map from composite + // entity property names to property values - Else: parameter value + Parameters googleapi.RawMessage `json:"parameters,omitempty"` + + // ForceSendFields is a list of field names (e.g. "LifespanCount") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5693,31 +5485,59 @@ type GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject struct // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ContentUrl") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "LifespanCount") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject +func (s *GoogleCloudDialogflowV2Context) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2Context raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageQuickReplies: The quick replies -// response message. -type GoogleCloudDialogflowV2IntentMessageQuickReplies struct { - // QuickReplies: Optional. The collection of quick replies. - QuickReplies []string `json:"quickReplies,omitempty"` +// GoogleCloudDialogflowV2ConversationEvent: Represents a notification +// sent to Pub/Sub subscribers for conversation lifecycle events. +type GoogleCloudDialogflowV2ConversationEvent struct { + // Conversation: The unique identifier of the conversation this + // notification refers to. Format: `projects//conversations/`. + Conversation string `json:"conversation,omitempty"` - // Title: Optional. The title of the collection of quick replies. - Title string `json:"title,omitempty"` + // ErrorStatus: More detailed information about an error. Only set for + // type UNRECOVERABLE_ERROR_IN_PHONE_CALL. + ErrorStatus *GoogleRpcStatus `json:"errorStatus,omitempty"` - // ForceSendFields is a list of field names (e.g. "QuickReplies") to + // NewMessagePayload: Payload of NEW_MESSAGE event. + NewMessagePayload *GoogleCloudDialogflowV2Message `json:"newMessagePayload,omitempty"` + + // Type: The type of the event that this notification refers to. + // + // Possible values: + // "TYPE_UNSPECIFIED" - Type not set. + // "CONVERSATION_STARTED" - A new conversation has been opened. This + // is fired when a telephone call is answered, or a conversation is + // created via the API. + // "CONVERSATION_FINISHED" - An existing conversation has closed. This + // is fired when a telephone call is terminated, or a conversation is + // closed via the API. + // "HUMAN_INTERVENTION_NEEDED" - An existing conversation has received + // notification from Dialogflow that human intervention is required. + // "NEW_MESSAGE" - An existing conversation has received a new + // message, either from API or telephony. It is configured in + // ConversationProfile.new_message_event_notification_config + // "UNRECOVERABLE_ERROR" - Unrecoverable error during a telephone + // call. In general non-recoverable errors only occur if something was + // misconfigured in the ConversationProfile corresponding to the call. + // After a non-recoverable error, Dialogflow may stop responding. We + // don't fire this event: * in an API call because we can directly + // return the error, or, * when we can recover from an error. + Type string `json:"type,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Conversation") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5725,7 +5545,7 @@ type GoogleCloudDialogflowV2IntentMessageQuickReplies struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "QuickReplies") to include + // NullFields is a list of field names (e.g. "Conversation") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -5734,62 +5554,106 @@ type GoogleCloudDialogflowV2IntentMessageQuickReplies struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageQuickReplies) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageQuickReplies +func (s *GoogleCloudDialogflowV2ConversationEvent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2ConversationEvent raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageSelectItemInfo: Additional info -// about the select item for when it is triggered in a dialog. -type GoogleCloudDialogflowV2IntentMessageSelectItemInfo struct { - // Key: Required. A unique key that will be sent back to the agent if - // this response is given. - Key string `json:"key,omitempty"` +// GoogleCloudDialogflowV2EntityType: Each intent parameter has a type, +// called the entity type, which dictates exactly how data from an +// end-user expression is extracted. Dialogflow provides predefined +// system entities that can match many common types of data. For +// example, there are system entities for matching dates, times, colors, +// email addresses, and so on. You can also create your own custom +// entities for matching custom data. For example, you could define a +// vegetable entity that can match the types of vegetables available for +// purchase with a grocery store agent. For more information, see the +// [Entity +// guide](https://cloud.google.com/dialogflow/docs/entities-overview). +type GoogleCloudDialogflowV2EntityType struct { + // AutoExpansionMode: Optional. Indicates whether the entity type can be + // automatically expanded. + // + // Possible values: + // "AUTO_EXPANSION_MODE_UNSPECIFIED" - Auto expansion disabled for the + // entity. + // "AUTO_EXPANSION_MODE_DEFAULT" - Allows an agent to recognize values + // that have not been explicitly listed in the entity. + AutoExpansionMode string `json:"autoExpansionMode,omitempty"` - // Synonyms: Optional. A list of synonyms that can also be used to - // trigger this item in dialog. - Synonyms []string `json:"synonyms,omitempty"` + // DisplayName: Required. The name of the entity type. + DisplayName string `json:"displayName,omitempty"` - // ForceSendFields is a list of field names (e.g. "Key") to - // unconditionally include in API requests. By default, fields with + // EnableFuzzyExtraction: Optional. Enables fuzzy entity extraction + // during classification. + EnableFuzzyExtraction bool `json:"enableFuzzyExtraction,omitempty"` + + // Entities: Optional. The collection of entity entries associated with + // the entity type. + Entities []*GoogleCloudDialogflowV2EntityTypeEntity `json:"entities,omitempty"` + + // Kind: Required. Indicates the kind of entity type. + // + // Possible values: + // "KIND_UNSPECIFIED" - Not specified. This value should be never + // used. + // "KIND_MAP" - Map entity types allow mapping of a group of synonyms + // to a reference value. + // "KIND_LIST" - List entity types contain a set of entries that do + // not map to reference values. However, list entity types can contain + // references to other entity types (with or without aliases). + // "KIND_REGEXP" - Regexp entity types allow to specify regular + // expressions in entries values. + Kind string `json:"kind,omitempty"` + + // Name: The unique identifier of the entity type. Required for + // EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes + // methods. Format: `projects//agent/entityTypes/`. + Name string `json:"name,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AutoExpansionMode") + // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Key") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "AutoExpansionMode") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageSelectItemInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageSelectItemInfo +func (s *GoogleCloudDialogflowV2EntityType) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2EntityType raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageSimpleResponse: The simple -// response message containing speech or text. -type GoogleCloudDialogflowV2IntentMessageSimpleResponse struct { - // DisplayText: Optional. The text to display. - DisplayText string `json:"displayText,omitempty"` - - // Ssml: One of text_to_speech or ssml must be provided. Structured - // spoken response to the user in the SSML format. Mutually exclusive - // with text_to_speech. - Ssml string `json:"ssml,omitempty"` +// GoogleCloudDialogflowV2EntityTypeEntity: An **entity entry** for an +// associated entity type. +type GoogleCloudDialogflowV2EntityTypeEntity struct { + // Synonyms: Required. A collection of value synonyms. For example, if + // the entity type is *vegetable*, and `value` is *scallions*, a synonym + // could be *green onions*. For `KIND_LIST` entity types: * This + // collection must contain exactly one synonym equal to `value`. + Synonyms []string `json:"synonyms,omitempty"` - // TextToSpeech: One of text_to_speech or ssml must be provided. The - // plain text of the speech output. Mutually exclusive with ssml. - TextToSpeech string `json:"textToSpeech,omitempty"` + // Value: Required. The primary value associated with this entity entry. + // For example, if the entity type is *vegetable*, the value could be + // *scallions*. For `KIND_MAP` entity types: * A reference value to be + // used in place of synonyms. For `KIND_LIST` entity types: * A string + // that can contain references to other entity types (with or without + // aliases). + Value string `json:"value,omitempty"` - // ForceSendFields is a list of field names (e.g. "DisplayText") to + // ForceSendFields is a list of field names (e.g. "Synonyms") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5797,62 +5661,49 @@ type GoogleCloudDialogflowV2IntentMessageSimpleResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DisplayText") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Synonyms") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageSimpleResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageSimpleResponse +func (s *GoogleCloudDialogflowV2EntityTypeEntity) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2EntityTypeEntity raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageSimpleResponses: The collection -// of simple response candidates. This message in -// `QueryResult.fulfillment_messages` and -// `WebhookResponse.fulfillment_messages` should contain only one -// `SimpleResponse`. -type GoogleCloudDialogflowV2IntentMessageSimpleResponses struct { - // SimpleResponses: Required. The list of simple responses. - SimpleResponses []*GoogleCloudDialogflowV2IntentMessageSimpleResponse `json:"simpleResponses,omitempty"` - - // ForceSendFields is a list of field names (e.g. "SimpleResponses") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "SimpleResponses") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} +// GoogleCloudDialogflowV2EventInput: Events allow for matching intents +// by event name instead of the natural language input. For instance, +// input `` can trigger a personalized welcome response. The parameter +// `name` may be used by the agent in the response: "Hello +// #welcome_event.name! What can I do for you today?". +type GoogleCloudDialogflowV2EventInput struct { + // LanguageCode: Required. The language of this query. See [Language + // Support](https://cloud.google.com/dialogflow/docs/reference/language) + // for a list of the currently supported language codes. Note that + // queries in the same session do not necessarily need to specify the + // same language. + LanguageCode string `json:"languageCode,omitempty"` -func (s *GoogleCloudDialogflowV2IntentMessageSimpleResponses) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageSimpleResponses - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // Name: Required. The unique identifier of the event. + Name string `json:"name,omitempty"` -// GoogleCloudDialogflowV2IntentMessageSuggestion: The suggestion chip -// message that the user can tap to quickly post a reply to the -// conversation. -type GoogleCloudDialogflowV2IntentMessageSuggestion struct { - // Title: Required. The text shown the in the suggestion chip. - Title string `json:"title,omitempty"` + // Parameters: The collection of parameters associated with the event. + // Depending on your protocol or client library language, this is a map, + // associative array, symbol table, dictionary, or JSON object composed + // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: string or number, depending + // on parameter value type - MapValue value: - If parameter's entity + // type is a composite entity: map from composite entity property names + // to property values - Else: parameter value + Parameters googleapi.RawMessage `json:"parameters,omitempty"` - // ForceSendFields is a list of field names (e.g. "Title") to + // ForceSendFields is a list of field names (e.g. "LanguageCode") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5860,28 +5711,33 @@ type GoogleCloudDialogflowV2IntentMessageSuggestion struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Title") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "LanguageCode") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageSuggestion) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageSuggestion +func (s *GoogleCloudDialogflowV2EventInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2EventInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageSuggestions: The collection of -// suggestions. -type GoogleCloudDialogflowV2IntentMessageSuggestions struct { - // Suggestions: Required. The list of suggested replies. - Suggestions []*GoogleCloudDialogflowV2IntentMessageSuggestion `json:"suggestions,omitempty"` +// GoogleCloudDialogflowV2ExportAgentResponse: The response message for +// Agents.ExportAgent. +type GoogleCloudDialogflowV2ExportAgentResponse struct { + // AgentContent: Zip compressed raw byte content for agent. + AgentContent string `json:"agentContent,omitempty"` - // ForceSendFields is a list of field names (e.g. "Suggestions") to + // AgentUri: The URI to a file containing the exported agent. This field + // is populated only if `agent_uri` is specified in + // `ExportAgentRequest`. + AgentUri string `json:"agentUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AgentContent") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5889,7 +5745,7 @@ type GoogleCloudDialogflowV2IntentMessageSuggestions struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Suggestions") to include + // NullFields is a list of field names (e.g. "AgentContent") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -5898,35 +5754,136 @@ type GoogleCloudDialogflowV2IntentMessageSuggestions struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageSuggestions) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageSuggestions +func (s *GoogleCloudDialogflowV2ExportAgentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2ExportAgentResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageTableCard: Table card for Actions -// on Google. -type GoogleCloudDialogflowV2IntentMessageTableCard struct { - // Buttons: Optional. List of buttons for the card. - Buttons []*GoogleCloudDialogflowV2IntentMessageBasicCardButton `json:"buttons,omitempty"` +// GoogleCloudDialogflowV2Intent: An intent categorizes an end-user's +// intention for one conversation turn. For each agent, you define many +// intents, where your combined intents can handle a complete +// conversation. When an end-user writes or says something, referred to +// as an end-user expression or end-user input, Dialogflow matches the +// end-user input to the best intent in your agent. Matching an intent +// is also known as intent classification. For more information, see the +// [intent +// guide](https://cloud.google.com/dialogflow/docs/intents-overview). +type GoogleCloudDialogflowV2Intent struct { + // Action: Optional. The name of the action associated with the intent. + // Note: The action name must not contain whitespaces. + Action string `json:"action,omitempty"` - // ColumnProperties: Optional. Display properties for the columns in - // this table. - ColumnProperties []*GoogleCloudDialogflowV2IntentMessageColumnProperties `json:"columnProperties,omitempty"` + // DefaultResponsePlatforms: Optional. The list of platforms for which + // the first responses will be copied from the messages in + // PLATFORM_UNSPECIFIED (i.e. default platform). + // + // Possible values: + // "PLATFORM_UNSPECIFIED" - Default platform. + // "FACEBOOK" - Facebook. + // "SLACK" - Slack. + // "TELEGRAM" - Telegram. + // "KIK" - Kik. + // "SKYPE" - Skype. + // "LINE" - Line. + // "VIBER" - Viber. + // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook + // format](https://developers.google.com/assistant/actions/build/json/dia + // logflow-webhook-json) + // "GOOGLE_HANGOUTS" - Google Hangouts. + DefaultResponsePlatforms []string `json:"defaultResponsePlatforms,omitempty"` - // Image: Optional. Image which should be displayed on the card. - Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` + // DisplayName: Required. The name of this intent. + DisplayName string `json:"displayName,omitempty"` - // Rows: Optional. Rows in this table of data. - Rows []*GoogleCloudDialogflowV2IntentMessageTableCardRow `json:"rows,omitempty"` + // Events: Optional. The collection of event names that trigger the + // intent. If the collection of input contexts is not empty, all of the + // contexts must be present in the active user session for an event to + // trigger this intent. Event names are limited to 150 characters. + Events []string `json:"events,omitempty"` - // Subtitle: Optional. Subtitle to the title. - Subtitle string `json:"subtitle,omitempty"` + // FollowupIntentInfo: Read-only. Information about all followup intents + // that have this intent as a direct or indirect parent. We populate + // this field only in the output. + FollowupIntentInfo []*GoogleCloudDialogflowV2IntentFollowupIntentInfo `json:"followupIntentInfo,omitempty"` - // Title: Required. Title of the card. - Title string `json:"title,omitempty"` + // InputContextNames: Optional. The list of context names required for + // this intent to be triggered. Format: + // `projects//agent/sessions/-/contexts/`. + InputContextNames []string `json:"inputContextNames,omitempty"` - // ForceSendFields is a list of field names (e.g. "Buttons") to + // IsFallback: Optional. Indicates whether this is a fallback intent. + IsFallback bool `json:"isFallback,omitempty"` + + // Messages: Optional. The collection of rich messages corresponding to + // the `Response` field in the Dialogflow console. + Messages []*GoogleCloudDialogflowV2IntentMessage `json:"messages,omitempty"` + + // MlDisabled: Optional. Indicates whether Machine Learning is disabled + // for the intent. Note: If `ml_disabled` setting is set to true, then + // this intent is not taken into account during inference in `ML ONLY` + // match mode. Also, auto-markup in the UI is turned off. + MlDisabled bool `json:"mlDisabled,omitempty"` + + // Name: Optional. The unique identifier of this intent. Required for + // Intents.UpdateIntent and Intents.BatchUpdateIntents methods. Format: + // `projects//agent/intents/`. + Name string `json:"name,omitempty"` + + // OutputContexts: Optional. The collection of contexts that are + // activated when the intent is matched. Context messages in this + // collection should not set the parameters field. Setting the + // `lifespan_count` to 0 will reset the context when the intent is + // matched. Format: `projects//agent/sessions/-/contexts/`. + OutputContexts []*GoogleCloudDialogflowV2Context `json:"outputContexts,omitempty"` + + // Parameters: Optional. The collection of parameters associated with + // the intent. + Parameters []*GoogleCloudDialogflowV2IntentParameter `json:"parameters,omitempty"` + + // ParentFollowupIntentName: Read-only after creation. The unique + // identifier of the parent intent in the chain of followup intents. You + // can set this field when creating an intent, for example with + // CreateIntent or BatchUpdateIntents, in order to make this intent a + // followup intent. It identifies the parent followup intent. Format: + // `projects//agent/intents/`. + ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` + + // Priority: Optional. The priority of this intent. Higher numbers + // represent higher priorities. - If the supplied value is unspecified + // or 0, the service translates the value to 500,000, which corresponds + // to the `Normal` priority in the console. - If the supplied value is + // negative, the intent is ignored in runtime detect intent requests. + Priority int64 `json:"priority,omitempty"` + + // ResetContexts: Optional. Indicates whether to delete all contexts in + // the current session when this intent is matched. + ResetContexts bool `json:"resetContexts,omitempty"` + + // RootFollowupIntentName: Read-only. The unique identifier of the root + // intent in the chain of followup intents. It identifies the correct + // followup intents chain for this intent. We populate this field only + // in the output. Format: `projects//agent/intents/`. + RootFollowupIntentName string `json:"rootFollowupIntentName,omitempty"` + + // TrainingPhrases: Optional. The collection of examples that the agent + // is trained on. + TrainingPhrases []*GoogleCloudDialogflowV2IntentTrainingPhrase `json:"trainingPhrases,omitempty"` + + // WebhookState: Optional. Indicates whether webhooks are enabled for + // the intent. + // + // Possible values: + // "WEBHOOK_STATE_UNSPECIFIED" - Webhook is disabled in the agent and + // in the intent. + // "WEBHOOK_STATE_ENABLED" - Webhook is enabled in the agent and in + // the intent. + // "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING" - Webhook is enabled in + // the agent and in the intent. Also, each slot filling prompt is + // forwarded to the webhook. + WebhookState string `json:"webhookState,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Action") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5934,8 +5891,8 @@ type GoogleCloudDialogflowV2IntentMessageTableCard struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Buttons") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Action") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -5943,51 +5900,115 @@ type GoogleCloudDialogflowV2IntentMessageTableCard struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageTableCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageTableCard +func (s *GoogleCloudDialogflowV2Intent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2Intent raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageTableCardCell: Cell of -// TableCardRow. -type GoogleCloudDialogflowV2IntentMessageTableCardCell struct { - // Text: Required. Text in this cell. - Text string `json:"text,omitempty"` +// GoogleCloudDialogflowV2IntentFollowupIntentInfo: Represents a single +// followup intent in the chain. +type GoogleCloudDialogflowV2IntentFollowupIntentInfo struct { + // FollowupIntentName: The unique identifier of the followup intent. + // Format: `projects//agent/intents/`. + FollowupIntentName string `json:"followupIntentName,omitempty"` - // ForceSendFields is a list of field names (e.g. "Text") to - // unconditionally include in API requests. By default, fields with + // ParentFollowupIntentName: The unique identifier of the followup + // intent's parent. Format: `projects//agent/intents/`. + ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` + + // ForceSendFields is a list of field names (e.g. "FollowupIntentName") + // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Text") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "FollowupIntentName") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageTableCardCell) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageTableCardCell +func (s *GoogleCloudDialogflowV2IntentFollowupIntentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentFollowupIntentInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageTableCardRow: Row of TableCard. -type GoogleCloudDialogflowV2IntentMessageTableCardRow struct { - // Cells: Optional. List of cells that make up this row. - Cells []*GoogleCloudDialogflowV2IntentMessageTableCardCell `json:"cells,omitempty"` +// GoogleCloudDialogflowV2IntentMessage: A rich response message. +// Corresponds to the intent `Response` field in the Dialogflow console. +// For more information, see [Rich response +// messages](https://cloud.google.com/dialogflow/docs/intents-rich-messag +// es). +type GoogleCloudDialogflowV2IntentMessage struct { + // BasicCard: The basic card response for Actions on Google. + BasicCard *GoogleCloudDialogflowV2IntentMessageBasicCard `json:"basicCard,omitempty"` - // DividerAfter: Optional. Whether to add a visual divider after this - // row. - DividerAfter bool `json:"dividerAfter,omitempty"` + // BrowseCarouselCard: Browse carousel card for Actions on Google. + BrowseCarouselCard *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard `json:"browseCarouselCard,omitempty"` - // ForceSendFields is a list of field names (e.g. "Cells") to + // Card: The card response. + Card *GoogleCloudDialogflowV2IntentMessageCard `json:"card,omitempty"` + + // CarouselSelect: The carousel card response for Actions on Google. + CarouselSelect *GoogleCloudDialogflowV2IntentMessageCarouselSelect `json:"carouselSelect,omitempty"` + + // Image: The image response. + Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` + + // LinkOutSuggestion: The link out suggestion chip for Actions on + // Google. + LinkOutSuggestion *GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion `json:"linkOutSuggestion,omitempty"` + + // ListSelect: The list card response for Actions on Google. + ListSelect *GoogleCloudDialogflowV2IntentMessageListSelect `json:"listSelect,omitempty"` + + // MediaContent: The media content card for Actions on Google. + MediaContent *GoogleCloudDialogflowV2IntentMessageMediaContent `json:"mediaContent,omitempty"` + + // Payload: A custom platform-specific response. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // Platform: Optional. The platform that this message is intended for. + // + // Possible values: + // "PLATFORM_UNSPECIFIED" - Default platform. + // "FACEBOOK" - Facebook. + // "SLACK" - Slack. + // "TELEGRAM" - Telegram. + // "KIK" - Kik. + // "SKYPE" - Skype. + // "LINE" - Line. + // "VIBER" - Viber. + // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook + // format](https://developers.google.com/assistant/actions/build/json/dia + // logflow-webhook-json) + // "GOOGLE_HANGOUTS" - Google Hangouts. + Platform string `json:"platform,omitempty"` + + // QuickReplies: The quick replies response. + QuickReplies *GoogleCloudDialogflowV2IntentMessageQuickReplies `json:"quickReplies,omitempty"` + + // SimpleResponses: The voice and text-only responses for Actions on + // Google. + SimpleResponses *GoogleCloudDialogflowV2IntentMessageSimpleResponses `json:"simpleResponses,omitempty"` + + // Suggestions: The suggestion chips for Actions on Google. + Suggestions *GoogleCloudDialogflowV2IntentMessageSuggestions `json:"suggestions,omitempty"` + + // TableCard: Table card for Actions on Google. + TableCard *GoogleCloudDialogflowV2IntentMessageTableCard `json:"tableCard,omitempty"` + + // Text: The text response. + Text *GoogleCloudDialogflowV2IntentMessageText `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "BasicCard") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -5995,8 +6016,8 @@ type GoogleCloudDialogflowV2IntentMessageTableCardRow struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Cells") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "BasicCard") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -6004,18 +6025,32 @@ type GoogleCloudDialogflowV2IntentMessageTableCardRow struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageTableCardRow) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageTableCardRow +func (s *GoogleCloudDialogflowV2IntentMessage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessage raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageText: The text response message. -type GoogleCloudDialogflowV2IntentMessageText struct { - // Text: Optional. The collection of the agent's responses. - Text []string `json:"text,omitempty"` +// GoogleCloudDialogflowV2IntentMessageBasicCard: The basic card +// message. Useful for displaying information. +type GoogleCloudDialogflowV2IntentMessageBasicCard struct { + // Buttons: Optional. The collection of card buttons. + Buttons []*GoogleCloudDialogflowV2IntentMessageBasicCardButton `json:"buttons,omitempty"` - // ForceSendFields is a list of field names (e.g. "Text") to + // FormattedText: Required, unless image is present. The body text of + // the card. + FormattedText string `json:"formattedText,omitempty"` + + // Image: Optional. The image for the card. + Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` + + // Subtitle: Optional. The subtitle of the card. + Subtitle string `json:"subtitle,omitempty"` + + // Title: Optional. The title of the card. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Buttons") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -6023,8 +6058,8 @@ type GoogleCloudDialogflowV2IntentMessageText struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Text") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Buttons") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -6032,51 +6067,23 @@ type GoogleCloudDialogflowV2IntentMessageText struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageText) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageText +func (s *GoogleCloudDialogflowV2IntentMessageBasicCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageBasicCard raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentParameter: Represents intent parameters. -type GoogleCloudDialogflowV2IntentParameter struct { - // DefaultValue: Optional. The default value to use when the `value` - // yields an empty result. Default values can be extracted from contexts - // by using the following syntax: `#context_name.parameter_name`. - DefaultValue string `json:"defaultValue,omitempty"` - - // DisplayName: Required. The name of the parameter. - DisplayName string `json:"displayName,omitempty"` - - // EntityTypeDisplayName: Optional. The name of the entity type, - // prefixed with `@`, that describes values of the parameter. If the - // parameter is required, this must be provided. - EntityTypeDisplayName string `json:"entityTypeDisplayName,omitempty"` - - // IsList: Optional. Indicates whether the parameter represents a list - // of values. - IsList bool `json:"isList,omitempty"` - - // Mandatory: Optional. Indicates whether the parameter is required. - // That is, whether the intent cannot be completed without collecting - // the parameter value. - Mandatory bool `json:"mandatory,omitempty"` - - // Name: The unique identifier of this parameter. - Name string `json:"name,omitempty"` - - // Prompts: Optional. The collection of prompts that the agent can - // present to the user in order to collect a value for the parameter. - Prompts []string `json:"prompts,omitempty"` +// GoogleCloudDialogflowV2IntentMessageBasicCardButton: The button +// object that appears at the bottom of a card. +type GoogleCloudDialogflowV2IntentMessageBasicCardButton struct { + // OpenUriAction: Required. Action to take when a user taps on the + // button. + OpenUriAction *GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction `json:"openUriAction,omitempty"` - // Value: Optional. The definition of the parameter value. It can be: - - // a constant string, - a parameter value defined as `$parameter_name`, - // - an original parameter value defined as `$parameter_name.original`, - // - a parameter value from some context defined as - // `#context_name.parameter_name`. - Value string `json:"value,omitempty"` + // Title: Required. The title of the button. + Title string `json:"title,omitempty"` - // ForceSendFields is a list of field names (e.g. "DefaultValue") to + // ForceSendFields is a list of field names (e.g. "OpenUriAction") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -6084,7 +6091,7 @@ type GoogleCloudDialogflowV2IntentParameter struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DefaultValue") to include + // NullFields is a list of field names (e.g. "OpenUriAction") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -6093,53 +6100,19 @@ type GoogleCloudDialogflowV2IntentParameter struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentParameter) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentParameter +func (s *GoogleCloudDialogflowV2IntentMessageBasicCardButton) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageBasicCardButton raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentTrainingPhrase: Represents an example -// that the agent is trained on. -type GoogleCloudDialogflowV2IntentTrainingPhrase struct { - // Name: Output only. The unique identifier of this training phrase. - Name string `json:"name,omitempty"` - - // Parts: Required. The ordered list of training phrase parts. The parts - // are concatenated in order to form the training phrase. Note: The API - // does not automatically annotate training phrases like the Dialogflow - // Console does. Note: Do not forget to include whitespace at part - // boundaries, so the training phrase is well formatted when the parts - // are concatenated. If the training phrase does not need to be - // annotated with parameters, you just need a single part with only the - // Part.text field set. If you want to annotate the training phrase, you - // must create multiple parts, where the fields of each part are - // populated in one of two ways: - `Part.text` is set to a part of the - // phrase that has no parameters. - `Part.text` is set to a part of the - // phrase that you want to annotate, and the `entity_type`, `alias`, and - // `user_defined` fields are all set. - Parts []*GoogleCloudDialogflowV2IntentTrainingPhrasePart `json:"parts,omitempty"` - - // TimesAddedCount: Optional. Indicates how many times this example was - // added to the intent. Each time a developer adds an existing sample by - // editing an intent or training, this counter is increased. - TimesAddedCount int64 `json:"timesAddedCount,omitempty"` - - // Type: Required. The type of the training phrase. - // - // Possible values: - // "TYPE_UNSPECIFIED" - Not specified. This value should never be - // used. - // "EXAMPLE" - Examples do not contain @-prefixed entity type names, - // but example parts can be annotated with entity types. - // "TEMPLATE" - Templates are not annotated with entity types, but - // they can contain @-prefixed entity type names as substrings. Template - // mode has been deprecated. Example mode is the only supported way to - // create new training phrases. If you have existing training phrases - // that you've created in template mode, those will continue to work. - Type string `json:"type,omitempty"` +// GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction: +// Opens the given URI. +type GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction struct { + // Uri: Required. The HTTP or HTTPS scheme URI. + Uri string `json:"uri,omitempty"` - // ForceSendFields is a list of field names (e.g. "Name") to + // ForceSendFields is a list of field names (e.g. "Uri") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -6147,7 +6120,7 @@ type GoogleCloudDialogflowV2IntentTrainingPhrase struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Name") to include in API + // NullFields is a list of field names (e.g. "Uri") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -6156,92 +6129,125 @@ type GoogleCloudDialogflowV2IntentTrainingPhrase struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentTrainingPhrase) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentTrainingPhrase +func (s *GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentTrainingPhrasePart: Represents a part of -// a training phrase. -type GoogleCloudDialogflowV2IntentTrainingPhrasePart struct { - // Alias: Optional. The parameter name for the value extracted from the - // annotated part of the example. This field is required for annotated - // parts of the training phrase. - Alias string `json:"alias,omitempty"` - - // EntityType: Optional. The entity type name prefixed with `@`. This - // field is required for annotated parts of the training phrase. - EntityType string `json:"entityType,omitempty"` - - // Text: Required. The text for this part. - Text string `json:"text,omitempty"` +// GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard: Browse +// Carousel Card for Actions on Google. +// https://developers.google.com/actions/assistant/responses#browsing_carousel +type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard struct { + // ImageDisplayOptions: Optional. Settings for displaying the image. + // Applies to every image in items. + // + // Possible values: + // "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED" - Fill the gaps between the + // image and the image container with gray bars. + // "GRAY" - Fill the gaps between the image and the image container + // with gray bars. + // "WHITE" - Fill the gaps between the image and the image container + // with white bars. + // "CROPPED" - Image is scaled such that the image width and height + // match or exceed the container dimensions. This may crop the top and + // bottom of the image if the scaled image height is greater than the + // container height, or crop the left and right of the image if the + // scaled image width is greater than the container width. This is + // similar to "Zoom Mode" on a widescreen TV when playing a 4:3 video. + // "BLURRED_BACKGROUND" - Pad the gaps between image and image frame + // with a blurred copy of the same image. + ImageDisplayOptions string `json:"imageDisplayOptions,omitempty"` - // UserDefined: Optional. Indicates whether the text was manually - // annotated. This field is set to true when the Dialogflow Console is - // used to manually annotate the part. When creating an annotated part - // with the API, you must set this to true. - UserDefined bool `json:"userDefined,omitempty"` + // Items: Required. List of items in the Browse Carousel Card. Minimum + // of two items, maximum of ten. + Items []*GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem `json:"items,omitempty"` - // ForceSendFields is a list of field names (e.g. "Alias") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "ImageDisplayOptions") + // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Alias") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "ImageDisplayOptions") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentTrainingPhrasePart) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentTrainingPhrasePart +func (s *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2Message: Represents a message posted into a -// conversation. -type GoogleCloudDialogflowV2Message struct { - // Content: Required. The message content. - Content string `json:"content,omitempty"` +// GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCa +// rdItem: Browsing carousel tile +type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem struct { + // Description: Optional. Description of the carousel item. Maximum of + // four lines of text. + Description string `json:"description,omitempty"` - // CreateTime: Output only. The time when the message was created. - CreateTime string `json:"createTime,omitempty"` + // Footer: Optional. Text that appears at the bottom of the Browse + // Carousel Card. Maximum of one line of text. + Footer string `json:"footer,omitempty"` - // LanguageCode: Optional. The message language. This should be a - // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. - // Example: "en-US". - LanguageCode string `json:"languageCode,omitempty"` + // Image: Optional. Hero image for the carousel item. + Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` - // MessageAnnotation: Output only. The annotation for the message. - MessageAnnotation *GoogleCloudDialogflowV2MessageAnnotation `json:"messageAnnotation,omitempty"` + // OpenUriAction: Required. Action to present to the user. + OpenUriAction *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction `json:"openUriAction,omitempty"` - // Name: The unique identifier of the message. Format: - // `projects//locations//conversations//messages/`. - Name string `json:"name,omitempty"` + // Title: Required. Title of the carousel item. Maximum of two lines of + // text. + Title string `json:"title,omitempty"` - // Participant: Output only. The participant that sends this message. - Participant string `json:"participant,omitempty"` + // ForceSendFields is a list of field names (e.g. "Description") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` - // ParticipantRole: Output only. The role of the participant. + // NullFields is a list of field names (e.g. "Description") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCa +// rdItemOpenUrlAction: Actions on Google action to open a given url. +type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction struct { + // Url: Required. URL + Url string `json:"url,omitempty"` + + // UrlTypeHint: Optional. Specifies the type of viewer that is used when + // opening the URL. Defaults to opening via web browser. // // Possible values: - // "ROLE_UNSPECIFIED" - Participant role not set. - // "HUMAN_AGENT" - Participant is a human agent. - // "AUTOMATED_AGENT" - Participant is an automated agent, such as a - // Dialogflow agent. - // "END_USER" - Participant is an end user that has called or chatted - // with Dialogflow services. - ParticipantRole string `json:"participantRole,omitempty"` + // "URL_TYPE_HINT_UNSPECIFIED" - Unspecified + // "AMP_ACTION" - Url would be an amp action + // "AMP_CONTENT" - URL that points directly to AMP content, or to a + // canonical URL which refers to AMP content via . + UrlTypeHint string `json:"urlTypeHint,omitempty"` - // ForceSendFields is a list of field names (e.g. "Content") to + // ForceSendFields is a list of field names (e.g. "Url") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -6249,8 +6255,8 @@ type GoogleCloudDialogflowV2Message struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Content") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Url") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -6258,25 +6264,27 @@ type GoogleCloudDialogflowV2Message struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2Message) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2Message +func (s *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2MessageAnnotation: Represents the result of -// annotation for the message. -type GoogleCloudDialogflowV2MessageAnnotation struct { - // ContainEntities: Indicates whether the text message contains - // entities. - ContainEntities bool `json:"containEntities,omitempty"` +// GoogleCloudDialogflowV2IntentMessageCard: The card response message. +type GoogleCloudDialogflowV2IntentMessageCard struct { + // Buttons: Optional. The collection of card buttons. + Buttons []*GoogleCloudDialogflowV2IntentMessageCardButton `json:"buttons,omitempty"` - // Parts: The collection of annotated message parts ordered by their - // position in the message. You can recover the annotated message by - // concatenating [AnnotatedMessagePart.text]. - Parts []*GoogleCloudDialogflowV2AnnotatedMessagePart `json:"parts,omitempty"` + // ImageUri: Optional. The public URI to an image file for the card. + ImageUri string `json:"imageUri,omitempty"` - // ForceSendFields is a list of field names (e.g. "ContainEntities") to + // Subtitle: Optional. The subtitle of the card. + Subtitle string `json:"subtitle,omitempty"` + + // Title: Optional. The title of the card. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Buttons") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -6284,47 +6292,32 @@ type GoogleCloudDialogflowV2MessageAnnotation struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ContainEntities") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "Buttons") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2MessageAnnotation) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2MessageAnnotation +func (s *GoogleCloudDialogflowV2IntentMessageCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageCard raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2OriginalDetectIntentRequest: Represents the -// contents of the original request that was passed to the -// `[Streaming]DetectIntent` call. -type GoogleCloudDialogflowV2OriginalDetectIntentRequest struct { - // Payload: Optional. This field is set to the value of the - // `QueryParameters.payload` field passed in the request. Some - // integrations that query a Dialogflow agent may provide additional - // information in the payload. In particular, for the Dialogflow Phone - // Gateway integration, this field has the form: { "telephony": { - // "caller_id": "+18558363987" } } Note: The caller ID field - // (`caller_id`) will be redacted for Trial Edition agents and populated - // with the caller ID in [E.164 - // format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition - // agents. - Payload googleapi.RawMessage `json:"payload,omitempty"` - - // Source: The source of this request, e.g., `google`, `facebook`, - // `slack`. It is set by Dialogflow-owned servers. - Source string `json:"source,omitempty"` +// GoogleCloudDialogflowV2IntentMessageCardButton: Contains information +// about a button. +type GoogleCloudDialogflowV2IntentMessageCardButton struct { + // Postback: Optional. The text to send back to the Dialogflow API or a + // URI to open. + Postback string `json:"postback,omitempty"` - // Version: Optional. The version of the protocol used for this request. - // This field is AoG-specific. - Version string `json:"version,omitempty"` + // Text: Optional. The text to show on the button. + Text string `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. "Payload") to + // ForceSendFields is a list of field names (e.g. "Postback") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -6332,7 +6325,7 @@ type GoogleCloudDialogflowV2OriginalDetectIntentRequest struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Payload") to include in + // NullFields is a list of field names (e.g. "Postback") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -6341,111 +6334,97 @@ type GoogleCloudDialogflowV2OriginalDetectIntentRequest struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2OriginalDetectIntentRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2OriginalDetectIntentRequest +func (s *GoogleCloudDialogflowV2IntentMessageCardButton) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageCardButton raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2QueryResult: Represents the result of -// conversational query or event processing. -type GoogleCloudDialogflowV2QueryResult struct { - // Action: The action name from the matched intent. - Action string `json:"action,omitempty"` - - // AllRequiredParamsPresent: This field is set to: - `false` if the - // matched intent has required parameters and not all of the required - // parameter values have been collected. - `true` if all required - // parameter values have been collected, or if the matched intent - // doesn't contain any required parameters. - AllRequiredParamsPresent bool `json:"allRequiredParamsPresent,omitempty"` +// GoogleCloudDialogflowV2IntentMessageCarouselSelect: The card for +// presenting a carousel of options to select from. +type GoogleCloudDialogflowV2IntentMessageCarouselSelect struct { + // Items: Required. Carousel items. + Items []*GoogleCloudDialogflowV2IntentMessageCarouselSelectItem `json:"items,omitempty"` - // DiagnosticInfo: Free-form diagnostic information for the associated - // detect intent request. The fields of this data can change without - // notice, so you should not write code that depends on its structure. - // The data may contain: - webhook call latency - webhook errors - DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` + // ForceSendFields is a list of field names (e.g. "Items") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` - // FulfillmentMessages: The collection of rich messages to present to - // the user. - FulfillmentMessages []*GoogleCloudDialogflowV2IntentMessage `json:"fulfillmentMessages,omitempty"` - - // FulfillmentText: The text to be pronounced to the user or shown on - // the screen. Note: This is a legacy field, `fulfillment_messages` - // should be preferred. - FulfillmentText string `json:"fulfillmentText,omitempty"` + // NullFields is a list of field names (e.g. "Items") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} - // Intent: The intent that matched the conversational query. Some, not - // all fields are filled in this message, including but not limited to: - // `name`, `display_name`, `end_interaction` and `is_fallback`. - Intent *GoogleCloudDialogflowV2Intent `json:"intent,omitempty"` +func (s *GoogleCloudDialogflowV2IntentMessageCarouselSelect) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageCarouselSelect + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // IntentDetectionConfidence: The intent detection confidence. Values - // range from 0.0 (completely uncertain) to 1.0 (completely certain). - // This value is for informational purpose only and is only used to help - // match the best intent within the classification threshold. This value - // may change for the same end-user expression at any time due to a - // model retraining or change in implementation. If there are `multiple - // knowledge_answers` messages, this value is set to the greatest - // `knowledgeAnswers.match_confidence` value in the list. - IntentDetectionConfidence float64 `json:"intentDetectionConfidence,omitempty"` +// GoogleCloudDialogflowV2IntentMessageCarouselSelectItem: An item in +// the carousel. +type GoogleCloudDialogflowV2IntentMessageCarouselSelectItem struct { + // Description: Optional. The body text of the card. + Description string `json:"description,omitempty"` - // LanguageCode: The language that was triggered during intent - // detection. See [Language - // Support](https://cloud.google.com/dialogflow/docs/reference/language) - // for a list of the currently supported language codes. - LanguageCode string `json:"languageCode,omitempty"` + // Image: Optional. The image to display. + Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` - // OutputContexts: The collection of output contexts. If applicable, - // `output_contexts.parameters` contains entries with name `.original` - // containing the original parameter values before the query. - OutputContexts []*GoogleCloudDialogflowV2Context `json:"outputContexts,omitempty"` + // Info: Required. Additional info about the option item. + Info *GoogleCloudDialogflowV2IntentMessageSelectItemInfo `json:"info,omitempty"` - // Parameters: The collection of extracted parameters. Depending on your - // protocol or client library language, this is a map, associative - // array, symbol table, dictionary, or JSON object composed of a - // collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: string or number, depending - // on parameter value type - MapValue value: - If parameter's entity - // type is a composite entity: map from composite entity property names - // to property values - Else: parameter value - Parameters googleapi.RawMessage `json:"parameters,omitempty"` + // Title: Required. Title of the carousel item. + Title string `json:"title,omitempty"` - // QueryText: The original conversational query text: - If natural - // language text was provided as input, `query_text` contains a copy of - // the input. - If natural language speech audio was provided as input, - // `query_text` contains the speech recognition result. If speech - // recognizer produced multiple alternatives, a particular one is - // picked. - If automatic spell correction is enabled, `query_text` will - // contain the corrected user input. - QueryText string `json:"queryText,omitempty"` + // ForceSendFields is a list of field names (e.g. "Description") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` - // SentimentAnalysisResult: The sentiment analysis result, which depends - // on the `sentiment_analysis_request_config` specified in the request. - SentimentAnalysisResult *GoogleCloudDialogflowV2SentimentAnalysisResult `json:"sentimentAnalysisResult,omitempty"` + // NullFields is a list of field names (e.g. "Description") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} - // SpeechRecognitionConfidence: The Speech recognition confidence - // between 0.0 and 1.0. A higher number indicates an estimated greater - // likelihood that the recognized words are correct. The default of 0.0 - // is a sentinel value indicating that confidence was not set. This - // field is not guaranteed to be accurate or set. In particular this - // field isn't set for StreamingDetectIntent since the streaming - // endpoint has separate confidence estimates per portion of the audio - // in StreamingRecognitionResult. - SpeechRecognitionConfidence float64 `json:"speechRecognitionConfidence,omitempty"` +func (s *GoogleCloudDialogflowV2IntentMessageCarouselSelectItem) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageCarouselSelectItem + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // WebhookPayload: If the query was fulfilled by a webhook call, this - // field is set to the value of the `payload` field returned in the - // webhook response. - WebhookPayload googleapi.RawMessage `json:"webhookPayload,omitempty"` +// GoogleCloudDialogflowV2IntentMessageColumnProperties: Column +// properties for TableCard. +type GoogleCloudDialogflowV2IntentMessageColumnProperties struct { + // Header: Required. Column heading. + Header string `json:"header,omitempty"` - // WebhookSource: If the query was fulfilled by a webhook call, this - // field is set to the value of the `source` field returned in the - // webhook response. - WebhookSource string `json:"webhookSource,omitempty"` + // HorizontalAlignment: Optional. Defines text alignment for all cells + // in this column. + // + // Possible values: + // "HORIZONTAL_ALIGNMENT_UNSPECIFIED" - Text is aligned to the leading + // edge of the column. + // "LEADING" - Text is aligned to the leading edge of the column. + // "CENTER" - Text is centered in the column. + // "TRAILING" - Text is aligned to the trailing edge of the column. + HorizontalAlignment string `json:"horizontalAlignment,omitempty"` - // ForceSendFields is a list of field names (e.g. "Action") to + // ForceSendFields is a list of field names (e.g. "Header") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -6453,7 +6432,7 @@ type GoogleCloudDialogflowV2QueryResult struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Action") to include in API + // NullFields is a list of field names (e.g. "Header") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -6462,104 +6441,67 @@ type GoogleCloudDialogflowV2QueryResult struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2QueryResult) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2QueryResult +func (s *GoogleCloudDialogflowV2IntentMessageColumnProperties) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageColumnProperties raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -func (s *GoogleCloudDialogflowV2QueryResult) UnmarshalJSON(data []byte) error { - type NoMethod GoogleCloudDialogflowV2QueryResult - var s1 struct { - IntentDetectionConfidence gensupport.JSONFloat64 `json:"intentDetectionConfidence"` - SpeechRecognitionConfidence gensupport.JSONFloat64 `json:"speechRecognitionConfidence"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.IntentDetectionConfidence = float64(s1.IntentDetectionConfidence) - s.SpeechRecognitionConfidence = float64(s1.SpeechRecognitionConfidence) - return nil -} - -// GoogleCloudDialogflowV2Sentiment: The sentiment, such as -// positive/negative feeling or association, for a unit of analysis, -// such as the query text. -type GoogleCloudDialogflowV2Sentiment struct { - // Magnitude: A non-negative number in the [0, +inf) range, which - // represents the absolute magnitude of sentiment, regardless of score - // (positive or negative). - Magnitude float64 `json:"magnitude,omitempty"` +// GoogleCloudDialogflowV2IntentMessageImage: The image response +// message. +type GoogleCloudDialogflowV2IntentMessageImage struct { + // AccessibilityText: Optional. A text description of the image to be + // used for accessibility, e.g., screen readers. + AccessibilityText string `json:"accessibilityText,omitempty"` - // Score: Sentiment score between -1.0 (negative sentiment) and 1.0 - // (positive sentiment). - Score float64 `json:"score,omitempty"` + // ImageUri: Optional. The public URI to an image file. + ImageUri string `json:"imageUri,omitempty"` - // ForceSendFields is a list of field names (e.g. "Magnitude") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "AccessibilityText") + // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Magnitude") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "AccessibilityText") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2Sentiment) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2Sentiment +func (s *GoogleCloudDialogflowV2IntentMessageImage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageImage raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -func (s *GoogleCloudDialogflowV2Sentiment) UnmarshalJSON(data []byte) error { - type NoMethod GoogleCloudDialogflowV2Sentiment - var s1 struct { - Magnitude gensupport.JSONFloat64 `json:"magnitude"` - Score gensupport.JSONFloat64 `json:"score"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.Magnitude = float64(s1.Magnitude) - s.Score = float64(s1.Score) - return nil -} +// GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion: The suggestion +// chip message that allows the user to jump out to the app or website +// associated with this agent. +type GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion struct { + // DestinationName: Required. The name of the app or site this chip is + // linking to. + DestinationName string `json:"destinationName,omitempty"` -// GoogleCloudDialogflowV2SentimentAnalysisResult: The result of -// sentiment analysis. Sentiment analysis inspects user input and -// identifies the prevailing subjective opinion, especially to determine -// a user's attitude as positive, negative, or neutral. For -// Participants.DetectIntent, it needs to be configured in -// DetectIntentRequest.query_params. For -// Participants.StreamingDetectIntent, it needs to be configured in -// StreamingDetectIntentRequest.query_params. And for -// Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, -// it needs to be configured in -// ConversationProfile.human_agent_assistant_config -type GoogleCloudDialogflowV2SentimentAnalysisResult struct { - // QueryTextSentiment: The sentiment analysis result for `query_text`. - QueryTextSentiment *GoogleCloudDialogflowV2Sentiment `json:"queryTextSentiment,omitempty"` + // Uri: Required. The URI of the app or site to open when the user taps + // the suggestion chip. + Uri string `json:"uri,omitempty"` - // ForceSendFields is a list of field names (e.g. "QueryTextSentiment") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "DestinationName") to + // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "QueryTextSentiment") to + // NullFields is a list of field names (e.g. "DestinationName") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -6569,54 +6511,25 @@ type GoogleCloudDialogflowV2SentimentAnalysisResult struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2SentimentAnalysisResult) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2SentimentAnalysisResult +func (s *GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2SessionEntityType: A session represents a -// conversation between a Dialogflow agent and an end-user. You can -// create special entities, called session entities, during a session. -// Session entities can extend or replace custom entity types and only -// exist during the session that they were created for. All session -// data, including session entities, is stored by Dialogflow for 20 -// minutes. For more information, see the [session entity -// guide](https://cloud.google.com/dialogflow/docs/entities-session). -type GoogleCloudDialogflowV2SessionEntityType struct { - // Entities: Required. The collection of entities associated with this - // session entity type. - Entities []*GoogleCloudDialogflowV2EntityTypeEntity `json:"entities,omitempty"` +// GoogleCloudDialogflowV2IntentMessageListSelect: The card for +// presenting a list of options to select from. +type GoogleCloudDialogflowV2IntentMessageListSelect struct { + // Items: Required. List items. + Items []*GoogleCloudDialogflowV2IntentMessageListSelectItem `json:"items,omitempty"` - // EntityOverrideMode: Required. Indicates whether the additional data - // should override or supplement the custom entity type definition. - // - // Possible values: - // "ENTITY_OVERRIDE_MODE_UNSPECIFIED" - Not specified. This value - // should be never used. - // "ENTITY_OVERRIDE_MODE_OVERRIDE" - The collection of session - // entities overrides the collection of entities in the corresponding - // custom entity type. - // "ENTITY_OVERRIDE_MODE_SUPPLEMENT" - The collection of session - // entities extends the collection of entities in the corresponding - // custom entity type. Note: Even in this override mode calls to - // `ListSessionEntityTypes`, `GetSessionEntityType`, - // `CreateSessionEntityType` and `UpdateSessionEntityType` only return - // the additional entities added in this session entity type. If you - // want to get the supplemented list, please call - // EntityTypes.GetEntityType on the custom entity type and merge. - EntityOverrideMode string `json:"entityOverrideMode,omitempty"` + // Subtitle: Optional. Subtitle of the list. + Subtitle string `json:"subtitle,omitempty"` - // Name: Required. The unique identifier of this session entity type. - // Format: `projects//agent/sessions//entityTypes/`, or - // `projects//agent/environments//users//sessions//entityTypes/`. If - // `Environment ID` is not specified, we assume default 'draft' - // environment. If `User ID` is not specified, we assume default '-' - // user. `` must be the display name of an existing entity type in the - // same agent that will be overridden or supplemented. - Name string `json:"name,omitempty"` + // Title: Optional. The overall title of the list. + Title string `json:"title,omitempty"` - // ForceSendFields is a list of field names (e.g. "Entities") to + // ForceSendFields is a list of field names (e.g. "Items") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -6624,8 +6537,8 @@ type GoogleCloudDialogflowV2SessionEntityType struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Entities") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Items") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -6633,151 +6546,105 @@ type GoogleCloudDialogflowV2SessionEntityType struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2SessionEntityType) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2SessionEntityType +func (s *GoogleCloudDialogflowV2IntentMessageListSelect) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageListSelect raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2WebhookRequest: The request message for a -// webhook call. -type GoogleCloudDialogflowV2WebhookRequest struct { - // OriginalDetectIntentRequest: Optional. The contents of the original - // request that was passed to `[Streaming]DetectIntent` call. - OriginalDetectIntentRequest *GoogleCloudDialogflowV2OriginalDetectIntentRequest `json:"originalDetectIntentRequest,omitempty"` +// GoogleCloudDialogflowV2IntentMessageListSelectItem: An item in the +// list. +type GoogleCloudDialogflowV2IntentMessageListSelectItem struct { + // Description: Optional. The main text describing the item. + Description string `json:"description,omitempty"` - // QueryResult: The result of the conversational query or event - // processing. Contains the same value as - // `[Streaming]DetectIntentResponse.query_result`. - QueryResult *GoogleCloudDialogflowV2QueryResult `json:"queryResult,omitempty"` + // Image: Optional. The image to display. + Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` - // ResponseId: The unique identifier of the response. Contains the same - // value as `[Streaming]DetectIntentResponse.response_id`. - ResponseId string `json:"responseId,omitempty"` + // Info: Required. Additional information about this option. + Info *GoogleCloudDialogflowV2IntentMessageSelectItemInfo `json:"info,omitempty"` - // Session: The unique identifier of detectIntent request session. Can - // be used to identify end-user inside webhook implementation. Format: - // `projects//agent/sessions/`, or - // `projects//agent/environments//users//sessions/`. - Session string `json:"session,omitempty"` + // Title: Required. The title of the list item. + Title string `json:"title,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "OriginalDetectIntentRequest") to unconditionally include in API - // requests. By default, fields with empty values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. + // ForceSendFields is a list of field names (e.g. "Description") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. - // "OriginalDetectIntentRequest") to include in API requests with the - // JSON null value. By default, fields with empty values are omitted - // from API requests. However, any field with an empty value appearing - // in NullFields will be sent to the server as null. It is an error if a - // field in this list has a non-empty value. This may be used to include - // null fields in Patch requests. + // NullFields is a list of field names (e.g. "Description") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2WebhookRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2WebhookRequest +func (s *GoogleCloudDialogflowV2IntentMessageListSelectItem) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageListSelectItem raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2WebhookResponse: The response message for a -// webhook call. This response is validated by the Dialogflow server. If -// validation fails, an error will be returned in the -// QueryResult.diagnostic_info field. Setting JSON fields to an empty -// value with the wrong type is a common error. To avoid this error: - -// Use "" for empty strings - Use `{}` or `null` for empty objects - -// Use `[]` or `null` for empty arrays For more information, see the -// [Protocol Buffers Language -// Guide](https://developers.google.com/protocol-buffers/docs/proto3#json -// ). -type GoogleCloudDialogflowV2WebhookResponse struct { - // FollowupEventInput: Optional. Invokes the supplied events. When this - // field is set, Dialogflow ignores the `fulfillment_text`, - // `fulfillment_messages`, and `payload` fields. - FollowupEventInput *GoogleCloudDialogflowV2EventInput `json:"followupEventInput,omitempty"` - - // FulfillmentMessages: Optional. The rich response messages intended - // for the end-user. When provided, Dialogflow uses this field to - // populate QueryResult.fulfillment_messages sent to the integration or - // API caller. - FulfillmentMessages []*GoogleCloudDialogflowV2IntentMessage `json:"fulfillmentMessages,omitempty"` - - // FulfillmentText: Optional. The text response message intended for the - // end-user. It is recommended to use - // `fulfillment_messages.text.text[0]` instead. When provided, - // Dialogflow uses this field to populate QueryResult.fulfillment_text - // sent to the integration or API caller. - FulfillmentText string `json:"fulfillmentText,omitempty"` - - // OutputContexts: Optional. The collection of output contexts that will - // overwrite currently active contexts for the session and reset their - // lifespans. When provided, Dialogflow uses this field to populate - // QueryResult.output_contexts sent to the integration or API caller. - OutputContexts []*GoogleCloudDialogflowV2Context `json:"outputContexts,omitempty"` - - // Payload: Optional. This field can be used to pass custom data from - // your webhook to the integration or API caller. Arbitrary JSON objects - // are supported. When provided, Dialogflow uses this field to populate - // QueryResult.webhook_payload sent to the integration or API caller. - // This field is also used by the [Google Assistant - // integration](https://cloud.google.com/dialogflow/docs/integrations/aog - // ) for rich response messages. See the format definition at [Google - // Assistant Dialogflow webhook - // format](https://developers.google.com/assistant/actions/build/json/dia - // logflow-webhook-json) - Payload googleapi.RawMessage `json:"payload,omitempty"` - - // SessionEntityTypes: Optional. Additional session entity types to - // replace or extend developer entity types with. The entity synonyms - // apply to all languages and persist for the session. Setting this data - // from a webhook overwrites the session entity types that have been set - // using `detectIntent`, `streamingDetectIntent` or SessionEntityType - // management methods. - SessionEntityTypes []*GoogleCloudDialogflowV2SessionEntityType `json:"sessionEntityTypes,omitempty"` +// GoogleCloudDialogflowV2IntentMessageMediaContent: The media content +// card for Actions on Google. +type GoogleCloudDialogflowV2IntentMessageMediaContent struct { + // MediaObjects: Required. List of media objects. + MediaObjects []*GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject `json:"mediaObjects,omitempty"` - // Source: Optional. A custom field used to identify the webhook source. - // Arbitrary strings are supported. When provided, Dialogflow uses this - // field to populate QueryResult.webhook_source sent to the integration - // or API caller. - Source string `json:"source,omitempty"` + // MediaType: Optional. What type of media is the content (ie "audio"). + // + // Possible values: + // "RESPONSE_MEDIA_TYPE_UNSPECIFIED" - Unspecified. + // "AUDIO" - Response media type is audio. + MediaType string `json:"mediaType,omitempty"` - // ForceSendFields is a list of field names (e.g. "FollowupEventInput") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "MediaObjects") to + // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "FollowupEventInput") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "MediaObjects") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2WebhookResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2WebhookResponse +func (s *GoogleCloudDialogflowV2IntentMessageMediaContent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageMediaContent raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse: The -// response message for EntityTypes.BatchUpdateEntityTypes. -type GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse struct { - // EntityTypes: The collection of updated or created entity types. - EntityTypes []*GoogleCloudDialogflowV2beta1EntityType `json:"entityTypes,omitempty"` +// GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject: +// Response media object for media content card. +type GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject struct { + // ContentUrl: Required. Url where the media is stored. + ContentUrl string `json:"contentUrl,omitempty"` - // ForceSendFields is a list of field names (e.g. "EntityTypes") to + // Description: Optional. Description of media card. + Description string `json:"description,omitempty"` + + // Icon: Optional. Icon to display above media content. + Icon *GoogleCloudDialogflowV2IntentMessageImage `json:"icon,omitempty"` + + // LargeImage: Optional. Image to display above media content. + LargeImage *GoogleCloudDialogflowV2IntentMessageImage `json:"largeImage,omitempty"` + + // Name: Required. Name of media card. + Name string `json:"name,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ContentUrl") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -6785,28 +6652,31 @@ type GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "EntityTypes") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "ContentUrl") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse +func (s *GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse: The response -// message for Intents.BatchUpdateIntents. -type GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse struct { - // Intents: The collection of updated or created intents. - Intents []*GoogleCloudDialogflowV2beta1Intent `json:"intents,omitempty"` +// GoogleCloudDialogflowV2IntentMessageQuickReplies: The quick replies +// response message. +type GoogleCloudDialogflowV2IntentMessageQuickReplies struct { + // QuickReplies: Optional. The collection of quick replies. + QuickReplies []string `json:"quickReplies,omitempty"` - // ForceSendFields is a list of field names (e.g. "Intents") to + // Title: Optional. The title of the collection of quick replies. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "QuickReplies") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -6814,69 +6684,33 @@ type GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Intents") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "QuickReplies") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse +func (s *GoogleCloudDialogflowV2IntentMessageQuickReplies) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageQuickReplies raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1Context: Dialogflow contexts are similar -// to natural language context. If a person says to you "they are -// orange", you need context in order to understand what "they" is -// referring to. Similarly, for Dialogflow to handle an end-user -// expression like that, it needs to be provided with context in order -// to correctly match an intent. Using contexts, you can control the -// flow of a conversation. You can configure contexts for an intent by -// setting input and output contexts, which are identified by string -// names. When an intent is matched, any configured output contexts for -// that intent become active. While any contexts are active, Dialogflow -// is more likely to match intents that are configured with input -// contexts that correspond to the currently active contexts. For more -// information about context, see the [Contexts -// guide](https://cloud.google.com/dialogflow/docs/contexts-overview). -type GoogleCloudDialogflowV2beta1Context struct { - // LifespanCount: Optional. The number of conversational query requests - // after which the context expires. The default is `0`. If set to `0`, - // the context expires immediately. Contexts expire automatically after - // 20 minutes if there are no matching queries. - LifespanCount int64 `json:"lifespanCount,omitempty"` - - // Name: Required. The unique identifier of the context. Supported - // formats: - `projects//agent/sessions//contexts/`, - - // `projects//locations//agent/sessions//contexts/`, - - // `projects//agent/environments//users//sessions//contexts/`, - - // `projects//locations//agent/environments//users//sessions//contexts/`, - // The `Context ID` is always converted to lowercase, may only contain - // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If - // `Environment ID` is not specified, we assume default 'draft' - // environment. If `User ID` is not specified, we assume default '-' - // user. The following context names are reserved for internal use by - // Dialogflow. You should not use these contexts or create contexts with - // these names: * `__system_counters__` * `*_id_dialog_context` * - // `*_dialog_params_size` - Name string `json:"name,omitempty"` +// GoogleCloudDialogflowV2IntentMessageSelectItemInfo: Additional info +// about the select item for when it is triggered in a dialog. +type GoogleCloudDialogflowV2IntentMessageSelectItemInfo struct { + // Key: Required. A unique key that will be sent back to the agent if + // this response is given. + Key string `json:"key,omitempty"` - // Parameters: Optional. The collection of parameters associated with - // this context. Depending on your protocol or client library language, - // this is a map, associative array, symbol table, dictionary, or JSON - // object composed of a collection of (MapKey, MapValue) pairs: - MapKey - // type: string - MapKey value: parameter name - MapValue type: - If - // parameter's entity type is a composite entity: map - Else: string or - // number, depending on parameter value type - MapValue value: - If - // parameter's entity type is a composite entity: map from composite - // entity property names to property values - Else: parameter value - Parameters googleapi.RawMessage `json:"parameters,omitempty"` + // Synonyms: Optional. A list of synonyms that can also be used to + // trigger this item in dialog. + Synonyms []string `json:"synonyms,omitempty"` - // ForceSendFields is a list of field names (e.g. "LifespanCount") to + // ForceSendFields is a list of field names (e.g. "Key") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -6884,83 +6718,77 @@ type GoogleCloudDialogflowV2beta1Context struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "LifespanCount") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Key") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1Context) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1Context +func (s *GoogleCloudDialogflowV2IntentMessageSelectItemInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageSelectItemInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1EntityType: Each intent parameter has a -// type, called the entity type, which dictates exactly how data from an -// end-user expression is extracted. Dialogflow provides predefined -// system entities that can match many common types of data. For -// example, there are system entities for matching dates, times, colors, -// email addresses, and so on. You can also create your own custom -// entities for matching custom data. For example, you could define a -// vegetable entity that can match the types of vegetables available for -// purchase with a grocery store agent. For more information, see the -// [Entity -// guide](https://cloud.google.com/dialogflow/docs/entities-overview). -type GoogleCloudDialogflowV2beta1EntityType struct { - // AutoExpansionMode: Optional. Indicates whether the entity type can be - // automatically expanded. - // - // Possible values: - // "AUTO_EXPANSION_MODE_UNSPECIFIED" - Auto expansion disabled for the - // entity. - // "AUTO_EXPANSION_MODE_DEFAULT" - Allows an agent to recognize values - // that have not been explicitly listed in the entity. - AutoExpansionMode string `json:"autoExpansionMode,omitempty"` +// GoogleCloudDialogflowV2IntentMessageSimpleResponse: The simple +// response message containing speech or text. +type GoogleCloudDialogflowV2IntentMessageSimpleResponse struct { + // DisplayText: Optional. The text to display. + DisplayText string `json:"displayText,omitempty"` - // DisplayName: Required. The name of the entity type. - DisplayName string `json:"displayName,omitempty"` + // Ssml: One of text_to_speech or ssml must be provided. Structured + // spoken response to the user in the SSML format. Mutually exclusive + // with text_to_speech. + Ssml string `json:"ssml,omitempty"` - // EnableFuzzyExtraction: Optional. Enables fuzzy entity extraction - // during classification. - EnableFuzzyExtraction bool `json:"enableFuzzyExtraction,omitempty"` + // TextToSpeech: One of text_to_speech or ssml must be provided. The + // plain text of the speech output. Mutually exclusive with ssml. + TextToSpeech string `json:"textToSpeech,omitempty"` - // Entities: Optional. The collection of entity entries associated with - // the entity type. - Entities []*GoogleCloudDialogflowV2beta1EntityTypeEntity `json:"entities,omitempty"` + // ForceSendFields is a list of field names (e.g. "DisplayText") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` - // Kind: Required. Indicates the kind of entity type. - // - // Possible values: - // "KIND_UNSPECIFIED" - Not specified. This value should be never - // used. - // "KIND_MAP" - Map entity types allow mapping of a group of synonyms - // to a reference value. - // "KIND_LIST" - List entity types contain a set of entries that do - // not map to reference values. However, list entity types can contain - // references to other entity types (with or without aliases). - // "KIND_REGEXP" - Regexp entity types allow to specify regular - // expressions in entries values. - Kind string `json:"kind,omitempty"` + // NullFields is a list of field names (e.g. "DisplayText") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} - // Name: The unique identifier of the entity type. Required for - // EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes - // methods. Supported formats: - `projects//agent/entityTypes/` - - // `projects//locations//agent/entityTypes/` - Name string `json:"name,omitempty"` +func (s *GoogleCloudDialogflowV2IntentMessageSimpleResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageSimpleResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // ForceSendFields is a list of field names (e.g. "AutoExpansionMode") - // to unconditionally include in API requests. By default, fields with +// GoogleCloudDialogflowV2IntentMessageSimpleResponses: The collection +// of simple response candidates. This message in +// `QueryResult.fulfillment_messages` and +// `WebhookResponse.fulfillment_messages` should contain only one +// `SimpleResponse`. +type GoogleCloudDialogflowV2IntentMessageSimpleResponses struct { + // SimpleResponses: Required. The list of simple responses. + SimpleResponses []*GoogleCloudDialogflowV2IntentMessageSimpleResponse `json:"simpleResponses,omitempty"` + + // ForceSendFields is a list of field names (e.g. "SimpleResponses") to + // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AutoExpansionMode") to + // NullFields is a list of field names (e.g. "SimpleResponses") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -6970,30 +6798,20 @@ type GoogleCloudDialogflowV2beta1EntityType struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1EntityType) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1EntityType +func (s *GoogleCloudDialogflowV2IntentMessageSimpleResponses) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageSimpleResponses raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1EntityTypeEntity: An **entity entry** for -// an associated entity type. -type GoogleCloudDialogflowV2beta1EntityTypeEntity struct { - // Synonyms: Required. A collection of value synonyms. For example, if - // the entity type is *vegetable*, and `value` is *scallions*, a synonym - // could be *green onions*. For `KIND_LIST` entity types: * This - // collection must contain exactly one synonym equal to `value`. - Synonyms []string `json:"synonyms,omitempty"` - - // Value: Required. The primary value associated with this entity entry. - // For example, if the entity type is *vegetable*, the value could be - // *scallions*. For `KIND_MAP` entity types: * A reference value to be - // used in place of synonyms. For `KIND_LIST` entity types: * A string - // that can contain references to other entity types (with or without - // aliases). - Value string `json:"value,omitempty"` +// GoogleCloudDialogflowV2IntentMessageSuggestion: The suggestion chip +// message that the user can tap to quickly post a reply to the +// conversation. +type GoogleCloudDialogflowV2IntentMessageSuggestion struct { + // Title: Required. The text shown the in the suggestion chip. + Title string `json:"title,omitempty"` - // ForceSendFields is a list of field names (e.g. "Synonyms") to + // ForceSendFields is a list of field names (e.g. "Title") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -7001,8 +6819,8 @@ type GoogleCloudDialogflowV2beta1EntityTypeEntity struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Synonyms") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Title") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -7010,40 +6828,19 @@ type GoogleCloudDialogflowV2beta1EntityTypeEntity struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1EntityTypeEntity) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1EntityTypeEntity +func (s *GoogleCloudDialogflowV2IntentMessageSuggestion) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageSuggestion raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1EventInput: Events allow for matching -// intents by event name instead of the natural language input. For -// instance, input `` can trigger a personalized welcome response. The -// parameter `name` may be used by the agent in the response: "Hello -// #welcome_event.name! What can I do for you today?". -type GoogleCloudDialogflowV2beta1EventInput struct { - // LanguageCode: Required. The language of this query. See [Language - // Support](https://cloud.google.com/dialogflow/docs/reference/language) - // for a list of the currently supported language codes. Note that - // queries in the same session do not necessarily need to specify the - // same language. - LanguageCode string `json:"languageCode,omitempty"` - - // Name: Required. The unique identifier of the event. - Name string `json:"name,omitempty"` - - // Parameters: The collection of parameters associated with the event. - // Depending on your protocol or client library language, this is a map, - // associative array, symbol table, dictionary, or JSON object composed - // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: string or number, depending - // on parameter value type - MapValue value: - If parameter's entity - // type is a composite entity: map from composite entity property names - // to property values - Else: parameter value - Parameters googleapi.RawMessage `json:"parameters,omitempty"` +// GoogleCloudDialogflowV2IntentMessageSuggestions: The collection of +// suggestions. +type GoogleCloudDialogflowV2IntentMessageSuggestions struct { + // Suggestions: Required. The list of suggested replies. + Suggestions []*GoogleCloudDialogflowV2IntentMessageSuggestion `json:"suggestions,omitempty"` - // ForceSendFields is a list of field names (e.g. "LanguageCode") to + // ForceSendFields is a list of field names (e.g. "Suggestions") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -7051,7 +6848,7 @@ type GoogleCloudDialogflowV2beta1EventInput struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "LanguageCode") to include + // NullFields is a list of field names (e.g. "Suggestions") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -7060,190 +6857,96 @@ type GoogleCloudDialogflowV2beta1EventInput struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1EventInput) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1EventInput +func (s *GoogleCloudDialogflowV2IntentMessageSuggestions) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageSuggestions raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1ExportAgentResponse: The response message -// for Agents.ExportAgent. -type GoogleCloudDialogflowV2beta1ExportAgentResponse struct { - // AgentContent: Zip compressed raw byte content for agent. - AgentContent string `json:"agentContent,omitempty"` +// GoogleCloudDialogflowV2IntentMessageTableCard: Table card for Actions +// on Google. +type GoogleCloudDialogflowV2IntentMessageTableCard struct { + // Buttons: Optional. List of buttons for the card. + Buttons []*GoogleCloudDialogflowV2IntentMessageBasicCardButton `json:"buttons,omitempty"` - // AgentUri: The URI to a file containing the exported agent. This field - // is populated only if `agent_uri` is specified in - // `ExportAgentRequest`. - AgentUri string `json:"agentUri,omitempty"` + // ColumnProperties: Optional. Display properties for the columns in + // this table. + ColumnProperties []*GoogleCloudDialogflowV2IntentMessageColumnProperties `json:"columnProperties,omitempty"` - // ForceSendFields is a list of field names (e.g. "AgentContent") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be + // Image: Optional. Image which should be displayed on the card. + Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` + + // Rows: Optional. Rows in this table of data. + Rows []*GoogleCloudDialogflowV2IntentMessageTableCardRow `json:"rows,omitempty"` + + // Subtitle: Optional. Subtitle to the title. + Subtitle string `json:"subtitle,omitempty"` + + // Title: Required. Title of the card. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Buttons") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AgentContent") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Buttons") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1ExportAgentResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1ExportAgentResponse +func (s *GoogleCloudDialogflowV2IntentMessageTableCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageTableCard raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1Intent: An intent categorizes an -// end-user's intention for one conversation turn. For each agent, you -// define many intents, where your combined intents can handle a -// complete conversation. When an end-user writes or says something, -// referred to as an end-user expression or end-user input, Dialogflow -// matches the end-user input to the best intent in your agent. Matching -// an intent is also known as intent classification. For more -// information, see the [intent -// guide](https://cloud.google.com/dialogflow/docs/intents-overview). -type GoogleCloudDialogflowV2beta1Intent struct { - // Action: Optional. The name of the action associated with the intent. - // Note: The action name must not contain whitespaces. - Action string `json:"action,omitempty"` - - // DefaultResponsePlatforms: Optional. The list of platforms for which - // the first responses will be copied from the messages in - // PLATFORM_UNSPECIFIED (i.e. default platform). - // - // Possible values: - // "PLATFORM_UNSPECIFIED" - Not specified. - // "FACEBOOK" - Facebook. - // "SLACK" - Slack. - // "TELEGRAM" - Telegram. - // "KIK" - Kik. - // "SKYPE" - Skype. - // "LINE" - Line. - // "VIBER" - Viber. - // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook - // format](https://developers.google.com/assistant/actions/build/json/dia - // logflow-webhook-json) - // "TELEPHONY" - Telephony Gateway. - // "GOOGLE_HANGOUTS" - Google Hangouts. - DefaultResponsePlatforms []string `json:"defaultResponsePlatforms,omitempty"` - - // DisplayName: Required. The name of this intent. - DisplayName string `json:"displayName,omitempty"` - - // EndInteraction: Optional. Indicates that this intent ends an - // interaction. Some integrations (e.g., Actions on Google or Dialogflow - // phone gateway) use this information to close interaction with an end - // user. Default is false. - EndInteraction bool `json:"endInteraction,omitempty"` - - // Events: Optional. The collection of event names that trigger the - // intent. If the collection of input contexts is not empty, all of the - // contexts must be present in the active user session for an event to - // trigger this intent. Event names are limited to 150 characters. - Events []string `json:"events,omitempty"` - - // FollowupIntentInfo: Output only. Information about all followup - // intents that have this intent as a direct or indirect parent. We - // populate this field only in the output. - FollowupIntentInfo []*GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo `json:"followupIntentInfo,omitempty"` - - // InputContextNames: Optional. The list of context names required for - // this intent to be triggered. Formats: - - // `projects//agent/sessions/-/contexts/` - - // `projects//locations//agent/sessions/-/contexts/` - InputContextNames []string `json:"inputContextNames,omitempty"` - - // IsFallback: Optional. Indicates whether this is a fallback intent. - IsFallback bool `json:"isFallback,omitempty"` - - // Messages: Optional. The collection of rich messages corresponding to - // the `Response` field in the Dialogflow console. - Messages []*GoogleCloudDialogflowV2beta1IntentMessage `json:"messages,omitempty"` - - // MlDisabled: Optional. Indicates whether Machine Learning is disabled - // for the intent. Note: If `ml_disabled` setting is set to true, then - // this intent is not taken into account during inference in `ML ONLY` - // match mode. Also, auto-markup in the UI is turned off. - MlDisabled bool `json:"mlDisabled,omitempty"` - - // MlEnabled: Optional. Indicates whether Machine Learning is enabled - // for the intent. Note: If `ml_enabled` setting is set to false, then - // this intent is not taken into account during inference in `ML ONLY` - // match mode. Also, auto-markup in the UI is turned off. DEPRECATED! - // Please use `ml_disabled` field instead. NOTE: If both `ml_enabled` - // and `ml_disabled` are either not set or false, then the default value - // is determined as follows: - Before April 15th, 2018 the default is: - // ml_enabled = false / ml_disabled = true. - After April 15th, 2018 the - // default is: ml_enabled = true / ml_disabled = false. - MlEnabled bool `json:"mlEnabled,omitempty"` - - // Name: Optional. The unique identifier of this intent. Required for - // Intents.UpdateIntent and Intents.BatchUpdateIntents methods. - // Supported formats: - `projects//agent/intents/` - - // `projects//locations//agent/intents/` - Name string `json:"name,omitempty"` - - // OutputContexts: Optional. The collection of contexts that are - // activated when the intent is matched. Context messages in this - // collection should not set the parameters field. Setting the - // `lifespan_count` to 0 will reset the context when the intent is - // matched. Format: `projects//agent/sessions/-/contexts/`. - OutputContexts []*GoogleCloudDialogflowV2beta1Context `json:"outputContexts,omitempty"` - - // Parameters: Optional. The collection of parameters associated with - // the intent. - Parameters []*GoogleCloudDialogflowV2beta1IntentParameter `json:"parameters,omitempty"` - - // ParentFollowupIntentName: Optional. The unique identifier of the - // parent intent in the chain of followup intents. You can set this - // field when creating an intent, for example with CreateIntent or - // BatchUpdateIntents, in order to make this intent a followup intent. - // It identifies the parent followup intent. Format: - // `projects//agent/intents/`. - ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` +// GoogleCloudDialogflowV2IntentMessageTableCardCell: Cell of +// TableCardRow. +type GoogleCloudDialogflowV2IntentMessageTableCardCell struct { + // Text: Required. Text in this cell. + Text string `json:"text,omitempty"` - // Priority: Optional. The priority of this intent. Higher numbers - // represent higher priorities. - If the supplied value is unspecified - // or 0, the service translates the value to 500,000, which corresponds - // to the `Normal` priority in the console. - If the supplied value is - // negative, the intent is ignored in runtime detect intent requests. - Priority int64 `json:"priority,omitempty"` + // ForceSendFields is a list of field names (e.g. "Text") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` - // ResetContexts: Optional. Indicates whether to delete all contexts in - // the current session when this intent is matched. - ResetContexts bool `json:"resetContexts,omitempty"` + // NullFields is a list of field names (e.g. "Text") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} - // RootFollowupIntentName: Output only. The unique identifier of the - // root intent in the chain of followup intents. It identifies the - // correct followup intents chain for this intent. Format: - // `projects//agent/intents/`. - RootFollowupIntentName string `json:"rootFollowupIntentName,omitempty"` +func (s *GoogleCloudDialogflowV2IntentMessageTableCardCell) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageTableCardCell + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // TrainingPhrases: Optional. The collection of examples that the agent - // is trained on. - TrainingPhrases []*GoogleCloudDialogflowV2beta1IntentTrainingPhrase `json:"trainingPhrases,omitempty"` +// GoogleCloudDialogflowV2IntentMessageTableCardRow: Row of TableCard. +type GoogleCloudDialogflowV2IntentMessageTableCardRow struct { + // Cells: Optional. List of cells that make up this row. + Cells []*GoogleCloudDialogflowV2IntentMessageTableCardCell `json:"cells,omitempty"` - // WebhookState: Optional. Indicates whether webhooks are enabled for - // the intent. - // - // Possible values: - // "WEBHOOK_STATE_UNSPECIFIED" - Webhook is disabled in the agent and - // in the intent. - // "WEBHOOK_STATE_ENABLED" - Webhook is enabled in the agent and in - // the intent. - // "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING" - Webhook is enabled in - // the agent and in the intent. Also, each slot filling prompt is - // forwarded to the webhook. - WebhookState string `json:"webhookState,omitempty"` + // DividerAfter: Optional. Whether to add a visual divider after this + // row. + DividerAfter bool `json:"dividerAfter,omitempty"` - // ForceSendFields is a list of field names (e.g. "Action") to + // ForceSendFields is a list of field names (e.g. "Cells") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -7251,7 +6954,7 @@ type GoogleCloudDialogflowV2beta1Intent struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Action") to include in API + // NullFields is a list of field names (e.g. "Cells") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -7260,135 +6963,79 @@ type GoogleCloudDialogflowV2beta1Intent struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1Intent) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1Intent +func (s *GoogleCloudDialogflowV2IntentMessageTableCardRow) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageTableCardRow raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo: Represents a -// single followup intent in the chain. -type GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo struct { - // FollowupIntentName: The unique identifier of the followup intent. - // Format: `projects//agent/intents/`. - FollowupIntentName string `json:"followupIntentName,omitempty"` - - // ParentFollowupIntentName: The unique identifier of the followup - // intent's parent. Format: `projects//agent/intents/`. - ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` +// GoogleCloudDialogflowV2IntentMessageText: The text response message. +type GoogleCloudDialogflowV2IntentMessageText struct { + // Text: Optional. The collection of the agent's responses. + Text []string `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. "FollowupIntentName") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "Text") to + // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "FollowupIntentName") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "Text") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo +func (s *GoogleCloudDialogflowV2IntentMessageText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageText raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessage: Corresponds to the -// `Response` field in the Dialogflow console. -type GoogleCloudDialogflowV2beta1IntentMessage struct { - // BasicCard: Displays a basic card for Actions on Google. - BasicCard *GoogleCloudDialogflowV2beta1IntentMessageBasicCard `json:"basicCard,omitempty"` +// GoogleCloudDialogflowV2IntentParameter: Represents intent parameters. +type GoogleCloudDialogflowV2IntentParameter struct { + // DefaultValue: Optional. The default value to use when the `value` + // yields an empty result. Default values can be extracted from contexts + // by using the following syntax: `#context_name.parameter_name`. + DefaultValue string `json:"defaultValue,omitempty"` - // BrowseCarouselCard: Browse carousel card for Actions on Google. - BrowseCarouselCard *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard `json:"browseCarouselCard,omitempty"` + // DisplayName: Required. The name of the parameter. + DisplayName string `json:"displayName,omitempty"` - // Card: Displays a card. - Card *GoogleCloudDialogflowV2beta1IntentMessageCard `json:"card,omitempty"` - - // CarouselSelect: Displays a carousel card for Actions on Google. - CarouselSelect *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect `json:"carouselSelect,omitempty"` - - // Image: Displays an image. - Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` - - // LinkOutSuggestion: Displays a link out suggestion chip for Actions on - // Google. - LinkOutSuggestion *GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion `json:"linkOutSuggestion,omitempty"` - - // ListSelect: Displays a list card for Actions on Google. - ListSelect *GoogleCloudDialogflowV2beta1IntentMessageListSelect `json:"listSelect,omitempty"` - - // MediaContent: The media content card for Actions on Google. - MediaContent *GoogleCloudDialogflowV2beta1IntentMessageMediaContent `json:"mediaContent,omitempty"` - - // Payload: A custom platform-specific response. - Payload googleapi.RawMessage `json:"payload,omitempty"` - - // Platform: Optional. The platform that this message is intended for. - // - // Possible values: - // "PLATFORM_UNSPECIFIED" - Not specified. - // "FACEBOOK" - Facebook. - // "SLACK" - Slack. - // "TELEGRAM" - Telegram. - // "KIK" - Kik. - // "SKYPE" - Skype. - // "LINE" - Line. - // "VIBER" - Viber. - // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook - // format](https://developers.google.com/assistant/actions/build/json/dia - // logflow-webhook-json) - // "TELEPHONY" - Telephony Gateway. - // "GOOGLE_HANGOUTS" - Google Hangouts. - Platform string `json:"platform,omitempty"` - - // QuickReplies: Displays quick replies. - QuickReplies *GoogleCloudDialogflowV2beta1IntentMessageQuickReplies `json:"quickReplies,omitempty"` - - // RbmCarouselRichCard: Rich Business Messaging (RBM) carousel rich card - // response. - RbmCarouselRichCard *GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard `json:"rbmCarouselRichCard,omitempty"` - - // RbmStandaloneRichCard: Standalone Rich Business Messaging (RBM) rich - // card response. - RbmStandaloneRichCard *GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard `json:"rbmStandaloneRichCard,omitempty"` - - // RbmText: Rich Business Messaging (RBM) text response. RBM allows - // businesses to send enriched and branded versions of SMS. See - // https://jibe.google.com/business-messaging. - RbmText *GoogleCloudDialogflowV2beta1IntentMessageRbmText `json:"rbmText,omitempty"` - - // SimpleResponses: Returns a voice or text-only response for Actions on - // Google. - SimpleResponses *GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses `json:"simpleResponses,omitempty"` - - // Suggestions: Displays suggestion chips for Actions on Google. - Suggestions *GoogleCloudDialogflowV2beta1IntentMessageSuggestions `json:"suggestions,omitempty"` + // EntityTypeDisplayName: Optional. The name of the entity type, + // prefixed with `@`, that describes values of the parameter. If the + // parameter is required, this must be provided. + EntityTypeDisplayName string `json:"entityTypeDisplayName,omitempty"` - // TableCard: Table card for Actions on Google. - TableCard *GoogleCloudDialogflowV2beta1IntentMessageTableCard `json:"tableCard,omitempty"` + // IsList: Optional. Indicates whether the parameter represents a list + // of values. + IsList bool `json:"isList,omitempty"` - // TelephonyPlayAudio: Plays audio from a file in Telephony Gateway. - TelephonyPlayAudio *GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio `json:"telephonyPlayAudio,omitempty"` + // Mandatory: Optional. Indicates whether the parameter is required. + // That is, whether the intent cannot be completed without collecting + // the parameter value. + Mandatory bool `json:"mandatory,omitempty"` - // TelephonySynthesizeSpeech: Synthesizes speech in Telephony Gateway. - TelephonySynthesizeSpeech *GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech `json:"telephonySynthesizeSpeech,omitempty"` + // Name: The unique identifier of this parameter. + Name string `json:"name,omitempty"` - // TelephonyTransferCall: Transfers the call in Telephony Gateway. - TelephonyTransferCall *GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall `json:"telephonyTransferCall,omitempty"` + // Prompts: Optional. The collection of prompts that the agent can + // present to the user in order to collect a value for the parameter. + Prompts []string `json:"prompts,omitempty"` - // Text: Returns a text response. - Text *GoogleCloudDialogflowV2beta1IntentMessageText `json:"text,omitempty"` + // Value: Optional. The definition of the parameter value. It can be: - + // a constant string, - a parameter value defined as `$parameter_name`, + // - an original parameter value defined as `$parameter_name.original`, + // - a parameter value from some context defined as + // `#context_name.parameter_name`. + Value string `json:"value,omitempty"` - // ForceSendFields is a list of field names (e.g. "BasicCard") to + // ForceSendFields is a list of field names (e.g. "DefaultValue") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -7396,41 +7043,62 @@ type GoogleCloudDialogflowV2beta1IntentMessage struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "BasicCard") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "DefaultValue") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessage) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessage +func (s *GoogleCloudDialogflowV2IntentParameter) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentParameter raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageBasicCard: The basic card -// message. Useful for displaying information. -type GoogleCloudDialogflowV2beta1IntentMessageBasicCard struct { - // Buttons: Optional. The collection of card buttons. - Buttons []*GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton `json:"buttons,omitempty"` - - // FormattedText: Required, unless image is present. The body text of - // the card. - FormattedText string `json:"formattedText,omitempty"` +// GoogleCloudDialogflowV2IntentTrainingPhrase: Represents an example +// that the agent is trained on. +type GoogleCloudDialogflowV2IntentTrainingPhrase struct { + // Name: Output only. The unique identifier of this training phrase. + Name string `json:"name,omitempty"` - // Image: Optional. The image for the card. - Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` + // Parts: Required. The ordered list of training phrase parts. The parts + // are concatenated in order to form the training phrase. Note: The API + // does not automatically annotate training phrases like the Dialogflow + // Console does. Note: Do not forget to include whitespace at part + // boundaries, so the training phrase is well formatted when the parts + // are concatenated. If the training phrase does not need to be + // annotated with parameters, you just need a single part with only the + // Part.text field set. If you want to annotate the training phrase, you + // must create multiple parts, where the fields of each part are + // populated in one of two ways: - `Part.text` is set to a part of the + // phrase that has no parameters. - `Part.text` is set to a part of the + // phrase that you want to annotate, and the `entity_type`, `alias`, and + // `user_defined` fields are all set. + Parts []*GoogleCloudDialogflowV2IntentTrainingPhrasePart `json:"parts,omitempty"` - // Subtitle: Optional. The subtitle of the card. - Subtitle string `json:"subtitle,omitempty"` + // TimesAddedCount: Optional. Indicates how many times this example was + // added to the intent. Each time a developer adds an existing sample by + // editing an intent or training, this counter is increased. + TimesAddedCount int64 `json:"timesAddedCount,omitempty"` - // Title: Optional. The title of the card. - Title string `json:"title,omitempty"` + // Type: Required. The type of the training phrase. + // + // Possible values: + // "TYPE_UNSPECIFIED" - Not specified. This value should never be + // used. + // "EXAMPLE" - Examples do not contain @-prefixed entity type names, + // but example parts can be annotated with entity types. + // "TEMPLATE" - Templates are not annotated with entity types, but + // they can contain @-prefixed entity type names as substrings. Template + // mode has been deprecated. Example mode is the only supported way to + // create new training phrases. If you have existing training phrases + // that you've created in template mode, those will continue to work. + Type string `json:"type,omitempty"` - // ForceSendFields is a list of field names (e.g. "Buttons") to + // ForceSendFields is a list of field names (e.g. "Name") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -7438,8 +7106,8 @@ type GoogleCloudDialogflowV2beta1IntentMessageBasicCard struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Buttons") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Name") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -7447,23 +7115,34 @@ type GoogleCloudDialogflowV2beta1IntentMessageBasicCard struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageBasicCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBasicCard +func (s *GoogleCloudDialogflowV2IntentTrainingPhrase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentTrainingPhrase raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton: The button -// object that appears at the bottom of a card. -type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton struct { - // OpenUriAction: Required. Action to take when a user taps on the - // button. - OpenUriAction *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction `json:"openUriAction,omitempty"` +// GoogleCloudDialogflowV2IntentTrainingPhrasePart: Represents a part of +// a training phrase. +type GoogleCloudDialogflowV2IntentTrainingPhrasePart struct { + // Alias: Optional. The parameter name for the value extracted from the + // annotated part of the example. This field is required for annotated + // parts of the training phrase. + Alias string `json:"alias,omitempty"` - // Title: Required. The title of the button. - Title string `json:"title,omitempty"` + // EntityType: Optional. The entity type name prefixed with `@`. This + // field is required for annotated parts of the training phrase. + EntityType string `json:"entityType,omitempty"` - // ForceSendFields is a list of field names (e.g. "OpenUriAction") to + // Text: Required. The text for this part. + Text string `json:"text,omitempty"` + + // UserDefined: Optional. Indicates whether the text was manually + // annotated. This field is set to true when the Dialogflow Console is + // used to manually annotate the part. When creating an annotated part + // with the API, you must set this to true. + UserDefined bool `json:"userDefined,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Alias") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -7471,28 +7150,57 @@ type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "OpenUriAction") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Alias") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton +func (s *GoogleCloudDialogflowV2IntentTrainingPhrasePart) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentTrainingPhrasePart raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction: -// Opens the given URI. -type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction struct { - // Uri: Required. The HTTP or HTTPS scheme URI. - Uri string `json:"uri,omitempty"` +// GoogleCloudDialogflowV2Message: Represents a message posted into a +// conversation. +type GoogleCloudDialogflowV2Message struct { + // Content: Required. The message content. + Content string `json:"content,omitempty"` - // ForceSendFields is a list of field names (e.g. "Uri") to + // CreateTime: Output only. The time when the message was created. + CreateTime string `json:"createTime,omitempty"` + + // LanguageCode: Optional. The message language. This should be a + // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. + // Example: "en-US". + LanguageCode string `json:"languageCode,omitempty"` + + // MessageAnnotation: Output only. The annotation for the message. + MessageAnnotation *GoogleCloudDialogflowV2MessageAnnotation `json:"messageAnnotation,omitempty"` + + // Name: The unique identifier of the message. Format: + // `projects//locations//conversations//messages/`. + Name string `json:"name,omitempty"` + + // Participant: Output only. The participant that sends this message. + Participant string `json:"participant,omitempty"` + + // ParticipantRole: Output only. The role of the participant. + // + // Possible values: + // "ROLE_UNSPECIFIED" - Participant role not set. + // "HUMAN_AGENT" - Participant is a human agent. + // "AUTOMATED_AGENT" - Participant is an automated agent, such as a + // Dialogflow agent. + // "END_USER" - Participant is an end user that has called or chatted + // with Dialogflow services. + ParticipantRole string `json:"participantRole,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Content") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -7500,8 +7208,8 @@ type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction struc // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Uri") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Content") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -7509,49 +7217,33 @@ type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction struc NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction +func (s *GoogleCloudDialogflowV2Message) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2Message raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard: Browse -// Carousel Card for Actions on Google. -// https://developers.google.com/actions/assistant/responses#browsing_carousel -type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard struct { - // ImageDisplayOptions: Optional. Settings for displaying the image. - // Applies to every image in items. - // - // Possible values: - // "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED" - Fill the gaps between the - // image and the image container with gray bars. - // "GRAY" - Fill the gaps between the image and the image container - // with gray bars. - // "WHITE" - Fill the gaps between the image and the image container - // with white bars. - // "CROPPED" - Image is scaled such that the image width and height - // match or exceed the container dimensions. This may crop the top and - // bottom of the image if the scaled image height is greater than the - // container height, or crop the left and right of the image if the - // scaled image width is greater than the container width. This is - // similar to "Zoom Mode" on a widescreen TV when playing a 4:3 video. - // "BLURRED_BACKGROUND" - Pad the gaps between image and image frame - // with a blurred copy of the same image. - ImageDisplayOptions string `json:"imageDisplayOptions,omitempty"` +// GoogleCloudDialogflowV2MessageAnnotation: Represents the result of +// annotation for the message. +type GoogleCloudDialogflowV2MessageAnnotation struct { + // ContainEntities: Indicates whether the text message contains + // entities. + ContainEntities bool `json:"containEntities,omitempty"` - // Items: Required. List of items in the Browse Carousel Card. Minimum - // of two items, maximum of ten. - Items []*GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem `json:"items,omitempty"` + // Parts: The collection of annotated message parts ordered by their + // position in the message. You can recover the annotated message by + // concatenating [AnnotatedMessagePart.text]. + Parts []*GoogleCloudDialogflowV2AnnotatedMessagePart `json:"parts,omitempty"` - // ForceSendFields is a list of field names (e.g. "ImageDisplayOptions") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "ContainEntities") to + // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ImageDisplayOptions") to + // NullFields is a list of field names (e.g. "ContainEntities") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -7561,34 +7253,37 @@ type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard +func (s *GoogleCloudDialogflowV2MessageAnnotation) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2MessageAnnotation raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarou -// selCardItem: Browsing carousel tile -type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem struct { - // Description: Optional. Description of the carousel item. Maximum of - // four lines of text. - Description string `json:"description,omitempty"` - - // Footer: Optional. Text that appears at the bottom of the Browse - // Carousel Card. Maximum of one line of text. - Footer string `json:"footer,omitempty"` - - // Image: Optional. Hero image for the carousel item. - Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` +// GoogleCloudDialogflowV2OriginalDetectIntentRequest: Represents the +// contents of the original request that was passed to the +// `[Streaming]DetectIntent` call. +type GoogleCloudDialogflowV2OriginalDetectIntentRequest struct { + // Payload: Optional. This field is set to the value of the + // `QueryParameters.payload` field passed in the request. Some + // integrations that query a Dialogflow agent may provide additional + // information in the payload. In particular, for the Dialogflow Phone + // Gateway integration, this field has the form: { "telephony": { + // "caller_id": "+18558363987" } } Note: The caller ID field + // (`caller_id`) will be redacted for Trial Edition agents and populated + // with the caller ID in [E.164 + // format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition + // agents. + Payload googleapi.RawMessage `json:"payload,omitempty"` - // OpenUriAction: Required. Action to present to the user. - OpenUriAction *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction `json:"openUriAction,omitempty"` + // Source: The source of this request, e.g., `google`, `facebook`, + // `slack`. It is set by Dialogflow-owned servers. + Source string `json:"source,omitempty"` - // Title: Required. Title of the carousel item. Maximum of two lines of - // text. - Title string `json:"title,omitempty"` + // Version: Optional. The version of the protocol used for this request. + // This field is AoG-specific. + Version string `json:"version,omitempty"` - // ForceSendFields is a list of field names (e.g. "Description") to + // ForceSendFields is a list of field names (e.g. "Payload") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -7596,77 +7291,120 @@ type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCa // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Description") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Payload") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem +func (s *GoogleCloudDialogflowV2OriginalDetectIntentRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2OriginalDetectIntentRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarou -// selCardItemOpenUrlAction: Actions on Google action to open a given -// url. -type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction struct { - // Url: Required. URL - Url string `json:"url,omitempty"` +// GoogleCloudDialogflowV2QueryResult: Represents the result of +// conversational query or event processing. +type GoogleCloudDialogflowV2QueryResult struct { + // Action: The action name from the matched intent. + Action string `json:"action,omitempty"` - // UrlTypeHint: Optional. Specifies the type of viewer that is used when - // opening the URL. Defaults to opening via web browser. - // - // Possible values: - // "URL_TYPE_HINT_UNSPECIFIED" - Unspecified - // "AMP_ACTION" - Url would be an amp action - // "AMP_CONTENT" - URL that points directly to AMP content, or to a - // canonical URL which refers to AMP content via . - UrlTypeHint string `json:"urlTypeHint,omitempty"` + // AllRequiredParamsPresent: This field is set to: - `false` if the + // matched intent has required parameters and not all of the required + // parameter values have been collected. - `true` if all required + // parameter values have been collected, or if the matched intent + // doesn't contain any required parameters. + AllRequiredParamsPresent bool `json:"allRequiredParamsPresent,omitempty"` - // ForceSendFields is a list of field names (e.g. "Url") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` + // DiagnosticInfo: Free-form diagnostic information for the associated + // detect intent request. The fields of this data can change without + // notice, so you should not write code that depends on its structure. + // The data may contain: - webhook call latency - webhook errors + DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` - // NullFields is a list of field names (e.g. "Url") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} + // FulfillmentMessages: The collection of rich messages to present to + // the user. + FulfillmentMessages []*GoogleCloudDialogflowV2IntentMessage `json:"fulfillmentMessages,omitempty"` -func (s *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // FulfillmentText: The text to be pronounced to the user or shown on + // the screen. Note: This is a legacy field, `fulfillment_messages` + // should be preferred. + FulfillmentText string `json:"fulfillmentText,omitempty"` -// GoogleCloudDialogflowV2beta1IntentMessageCard: The card response -// message. -type GoogleCloudDialogflowV2beta1IntentMessageCard struct { - // Buttons: Optional. The collection of card buttons. - Buttons []*GoogleCloudDialogflowV2beta1IntentMessageCardButton `json:"buttons,omitempty"` + // Intent: The intent that matched the conversational query. Some, not + // all fields are filled in this message, including but not limited to: + // `name`, `display_name`, `end_interaction` and `is_fallback`. + Intent *GoogleCloudDialogflowV2Intent `json:"intent,omitempty"` - // ImageUri: Optional. The public URI to an image file for the card. - ImageUri string `json:"imageUri,omitempty"` + // IntentDetectionConfidence: The intent detection confidence. Values + // range from 0.0 (completely uncertain) to 1.0 (completely certain). + // This value is for informational purpose only and is only used to help + // match the best intent within the classification threshold. This value + // may change for the same end-user expression at any time due to a + // model retraining or change in implementation. If there are `multiple + // knowledge_answers` messages, this value is set to the greatest + // `knowledgeAnswers.match_confidence` value in the list. + IntentDetectionConfidence float64 `json:"intentDetectionConfidence,omitempty"` - // Subtitle: Optional. The subtitle of the card. - Subtitle string `json:"subtitle,omitempty"` + // LanguageCode: The language that was triggered during intent + // detection. See [Language + // Support](https://cloud.google.com/dialogflow/docs/reference/language) + // for a list of the currently supported language codes. + LanguageCode string `json:"languageCode,omitempty"` - // Title: Optional. The title of the card. - Title string `json:"title,omitempty"` + // OutputContexts: The collection of output contexts. If applicable, + // `output_contexts.parameters` contains entries with name `.original` + // containing the original parameter values before the query. + OutputContexts []*GoogleCloudDialogflowV2Context `json:"outputContexts,omitempty"` - // ForceSendFields is a list of field names (e.g. "Buttons") to + // Parameters: The collection of extracted parameters. Depending on your + // protocol or client library language, this is a map, associative + // array, symbol table, dictionary, or JSON object composed of a + // collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: string or number, depending + // on parameter value type - MapValue value: - If parameter's entity + // type is a composite entity: map from composite entity property names + // to property values - Else: parameter value + Parameters googleapi.RawMessage `json:"parameters,omitempty"` + + // QueryText: The original conversational query text: - If natural + // language text was provided as input, `query_text` contains a copy of + // the input. - If natural language speech audio was provided as input, + // `query_text` contains the speech recognition result. If speech + // recognizer produced multiple alternatives, a particular one is + // picked. - If automatic spell correction is enabled, `query_text` will + // contain the corrected user input. + QueryText string `json:"queryText,omitempty"` + + // SentimentAnalysisResult: The sentiment analysis result, which depends + // on the `sentiment_analysis_request_config` specified in the request. + SentimentAnalysisResult *GoogleCloudDialogflowV2SentimentAnalysisResult `json:"sentimentAnalysisResult,omitempty"` + + // SpeechRecognitionConfidence: The Speech recognition confidence + // between 0.0 and 1.0. A higher number indicates an estimated greater + // likelihood that the recognized words are correct. The default of 0.0 + // is a sentinel value indicating that confidence was not set. This + // field is not guaranteed to be accurate or set. In particular this + // field isn't set for StreamingDetectIntent since the streaming + // endpoint has separate confidence estimates per portion of the audio + // in StreamingRecognitionResult. + SpeechRecognitionConfidence float64 `json:"speechRecognitionConfidence,omitempty"` + + // WebhookPayload: If the query was fulfilled by a webhook call, this + // field is set to the value of the `payload` field returned in the + // webhook response. + WebhookPayload googleapi.RawMessage `json:"webhookPayload,omitempty"` + + // WebhookSource: If the query was fulfilled by a webhook call, this + // field is set to the value of the `source` field returned in the + // webhook response. + WebhookSource string `json:"webhookSource,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Action") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -7674,8 +7412,8 @@ type GoogleCloudDialogflowV2beta1IntentMessageCard struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Buttons") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Action") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -7683,52 +7421,42 @@ type GoogleCloudDialogflowV2beta1IntentMessageCard struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCard +func (s *GoogleCloudDialogflowV2QueryResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2QueryResult raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageCardButton: Optional. -// Contains information about a button. -type GoogleCloudDialogflowV2beta1IntentMessageCardButton struct { - // Postback: Optional. The text to send back to the Dialogflow API or a - // URI to open. - Postback string `json:"postback,omitempty"` - - // Text: Optional. The text to show on the button. - Text string `json:"text,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Postback") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Postback") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` +func (s *GoogleCloudDialogflowV2QueryResult) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowV2QueryResult + var s1 struct { + IntentDetectionConfidence gensupport.JSONFloat64 `json:"intentDetectionConfidence"` + SpeechRecognitionConfidence gensupport.JSONFloat64 `json:"speechRecognitionConfidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.IntentDetectionConfidence = float64(s1.IntentDetectionConfidence) + s.SpeechRecognitionConfidence = float64(s1.SpeechRecognitionConfidence) + return nil } -func (s *GoogleCloudDialogflowV2beta1IntentMessageCardButton) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCardButton - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} +// GoogleCloudDialogflowV2Sentiment: The sentiment, such as +// positive/negative feeling or association, for a unit of analysis, +// such as the query text. +type GoogleCloudDialogflowV2Sentiment struct { + // Magnitude: A non-negative number in the [0, +inf) range, which + // represents the absolute magnitude of sentiment, regardless of score + // (positive or negative). + Magnitude float64 `json:"magnitude,omitempty"` -// GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect: The card for -// presenting a carousel of options to select from. -type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect struct { - // Items: Required. Carousel items. - Items []*GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem `json:"items,omitempty"` + // Score: Sentiment score between -1.0 (negative sentiment) and 1.0 + // (positive sentiment). + Score float64 `json:"score,omitempty"` - // ForceSendFields is a list of field names (e.g. "Items") to + // ForceSendFields is a list of field names (e.g. "Magnitude") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -7736,8 +7464,8 @@ type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Items") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Magnitude") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -7745,68 +7473,109 @@ type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect +func (s *GoogleCloudDialogflowV2Sentiment) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2Sentiment raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem: An item -// in the carousel. -type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem struct { - // Description: Optional. The body text of the card. - Description string `json:"description,omitempty"` - - // Image: Optional. The image to display. - Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` - - // Info: Required. Additional info about the option item. - Info *GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo `json:"info,omitempty"` +func (s *GoogleCloudDialogflowV2Sentiment) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowV2Sentiment + var s1 struct { + Magnitude gensupport.JSONFloat64 `json:"magnitude"` + Score gensupport.JSONFloat64 `json:"score"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Magnitude = float64(s1.Magnitude) + s.Score = float64(s1.Score) + return nil +} - // Title: Required. Title of the carousel item. - Title string `json:"title,omitempty"` +// GoogleCloudDialogflowV2SentimentAnalysisResult: The result of +// sentiment analysis. Sentiment analysis inspects user input and +// identifies the prevailing subjective opinion, especially to determine +// a user's attitude as positive, negative, or neutral. For +// Participants.DetectIntent, it needs to be configured in +// DetectIntentRequest.query_params. For +// Participants.StreamingDetectIntent, it needs to be configured in +// StreamingDetectIntentRequest.query_params. And for +// Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, +// it needs to be configured in +// ConversationProfile.human_agent_assistant_config +type GoogleCloudDialogflowV2SentimentAnalysisResult struct { + // QueryTextSentiment: The sentiment analysis result for `query_text`. + QueryTextSentiment *GoogleCloudDialogflowV2Sentiment `json:"queryTextSentiment,omitempty"` - // ForceSendFields is a list of field names (e.g. "Description") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "QueryTextSentiment") + // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Description") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "QueryTextSentiment") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem +func (s *GoogleCloudDialogflowV2SentimentAnalysisResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2SentimentAnalysisResult raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageColumnProperties: Column -// properties for TableCard. -type GoogleCloudDialogflowV2beta1IntentMessageColumnProperties struct { - // Header: Required. Column heading. - Header string `json:"header,omitempty"` +// GoogleCloudDialogflowV2SessionEntityType: A session represents a +// conversation between a Dialogflow agent and an end-user. You can +// create special entities, called session entities, during a session. +// Session entities can extend or replace custom entity types and only +// exist during the session that they were created for. All session +// data, including session entities, is stored by Dialogflow for 20 +// minutes. For more information, see the [session entity +// guide](https://cloud.google.com/dialogflow/docs/entities-session). +type GoogleCloudDialogflowV2SessionEntityType struct { + // Entities: Required. The collection of entities associated with this + // session entity type. + Entities []*GoogleCloudDialogflowV2EntityTypeEntity `json:"entities,omitempty"` - // HorizontalAlignment: Optional. Defines text alignment for all cells - // in this column. + // EntityOverrideMode: Required. Indicates whether the additional data + // should override or supplement the custom entity type definition. // // Possible values: - // "HORIZONTAL_ALIGNMENT_UNSPECIFIED" - Text is aligned to the leading - // edge of the column. - // "LEADING" - Text is aligned to the leading edge of the column. - // "CENTER" - Text is centered in the column. - // "TRAILING" - Text is aligned to the trailing edge of the column. - HorizontalAlignment string `json:"horizontalAlignment,omitempty"` + // "ENTITY_OVERRIDE_MODE_UNSPECIFIED" - Not specified. This value + // should be never used. + // "ENTITY_OVERRIDE_MODE_OVERRIDE" - The collection of session + // entities overrides the collection of entities in the corresponding + // custom entity type. + // "ENTITY_OVERRIDE_MODE_SUPPLEMENT" - The collection of session + // entities extends the collection of entities in the corresponding + // custom entity type. Note: Even in this override mode calls to + // `ListSessionEntityTypes`, `GetSessionEntityType`, + // `CreateSessionEntityType` and `UpdateSessionEntityType` only return + // the additional entities added in this session entity type. If you + // want to get the supplemented list, please call + // EntityTypes.GetEntityType on the custom entity type and merge. + EntityOverrideMode string `json:"entityOverrideMode,omitempty"` - // ForceSendFields is a list of field names (e.g. "Header") to + // Name: Required. The unique identifier of this session entity type. + // Format: `projects//agent/sessions//entityTypes/`, or + // `projects//agent/environments//users//sessions//entityTypes/`. If + // `Environment ID` is not specified, we assume default 'draft' + // environment. If `User ID` is not specified, we assume default '-' + // user. `` must be the display name of an existing entity type in the + // same agent that will be overridden or supplemented. + Name string `json:"name,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Entities") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -7814,8 +7583,8 @@ type GoogleCloudDialogflowV2beta1IntentMessageColumnProperties struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Header") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Entities") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -7823,68 +7592,129 @@ type GoogleCloudDialogflowV2beta1IntentMessageColumnProperties struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageColumnProperties) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageColumnProperties +func (s *GoogleCloudDialogflowV2SessionEntityType) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2SessionEntityType raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageImage: The image response -// message. -type GoogleCloudDialogflowV2beta1IntentMessageImage struct { - // AccessibilityText: A text description of the image to be used for - // accessibility, e.g., screen readers. Required if image_uri is set for - // CarouselSelect. - AccessibilityText string `json:"accessibilityText,omitempty"` +// GoogleCloudDialogflowV2WebhookRequest: The request message for a +// webhook call. +type GoogleCloudDialogflowV2WebhookRequest struct { + // OriginalDetectIntentRequest: Optional. The contents of the original + // request that was passed to `[Streaming]DetectIntent` call. + OriginalDetectIntentRequest *GoogleCloudDialogflowV2OriginalDetectIntentRequest `json:"originalDetectIntentRequest,omitempty"` - // ImageUri: Optional. The public URI to an image file. - ImageUri string `json:"imageUri,omitempty"` + // QueryResult: The result of the conversational query or event + // processing. Contains the same value as + // `[Streaming]DetectIntentResponse.query_result`. + QueryResult *GoogleCloudDialogflowV2QueryResult `json:"queryResult,omitempty"` - // ForceSendFields is a list of field names (e.g. "AccessibilityText") - // to unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. + // ResponseId: The unique identifier of the response. Contains the same + // value as `[Streaming]DetectIntentResponse.response_id`. + ResponseId string `json:"responseId,omitempty"` + + // Session: The unique identifier of detectIntent request session. Can + // be used to identify end-user inside webhook implementation. Format: + // `projects//agent/sessions/`, or + // `projects//agent/environments//users//sessions/`. + Session string `json:"session,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "OriginalDetectIntentRequest") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AccessibilityText") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. + // "OriginalDetectIntentRequest") to include in API requests with the + // JSON null value. By default, fields with empty values are omitted + // from API requests. However, any field with an empty value appearing + // in NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageImage) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageImage +func (s *GoogleCloudDialogflowV2WebhookRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2WebhookRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion: The -// suggestion chip message that allows the user to jump out to the app -// or website associated with this agent. -type GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion struct { - // DestinationName: Required. The name of the app or site this chip is - // linking to. - DestinationName string `json:"destinationName,omitempty"` - - // Uri: Required. The URI of the app or site to open when the user taps - // the suggestion chip. - Uri string `json:"uri,omitempty"` - - // ForceSendFields is a list of field names (e.g. "DestinationName") to - // unconditionally include in API requests. By default, fields with +// GoogleCloudDialogflowV2WebhookResponse: The response message for a +// webhook call. This response is validated by the Dialogflow server. If +// validation fails, an error will be returned in the +// QueryResult.diagnostic_info field. Setting JSON fields to an empty +// value with the wrong type is a common error. To avoid this error: - +// Use "" for empty strings - Use `{}` or `null` for empty objects - +// Use `[]` or `null` for empty arrays For more information, see the +// [Protocol Buffers Language +// Guide](https://developers.google.com/protocol-buffers/docs/proto3#json +// ). +type GoogleCloudDialogflowV2WebhookResponse struct { + // FollowupEventInput: Optional. Invokes the supplied events. When this + // field is set, Dialogflow ignores the `fulfillment_text`, + // `fulfillment_messages`, and `payload` fields. + FollowupEventInput *GoogleCloudDialogflowV2EventInput `json:"followupEventInput,omitempty"` + + // FulfillmentMessages: Optional. The rich response messages intended + // for the end-user. When provided, Dialogflow uses this field to + // populate QueryResult.fulfillment_messages sent to the integration or + // API caller. + FulfillmentMessages []*GoogleCloudDialogflowV2IntentMessage `json:"fulfillmentMessages,omitempty"` + + // FulfillmentText: Optional. The text response message intended for the + // end-user. It is recommended to use + // `fulfillment_messages.text.text[0]` instead. When provided, + // Dialogflow uses this field to populate QueryResult.fulfillment_text + // sent to the integration or API caller. + FulfillmentText string `json:"fulfillmentText,omitempty"` + + // OutputContexts: Optional. The collection of output contexts that will + // overwrite currently active contexts for the session and reset their + // lifespans. When provided, Dialogflow uses this field to populate + // QueryResult.output_contexts sent to the integration or API caller. + OutputContexts []*GoogleCloudDialogflowV2Context `json:"outputContexts,omitempty"` + + // Payload: Optional. This field can be used to pass custom data from + // your webhook to the integration or API caller. Arbitrary JSON objects + // are supported. When provided, Dialogflow uses this field to populate + // QueryResult.webhook_payload sent to the integration or API caller. + // This field is also used by the [Google Assistant + // integration](https://cloud.google.com/dialogflow/docs/integrations/aog + // ) for rich response messages. See the format definition at [Google + // Assistant Dialogflow webhook + // format](https://developers.google.com/assistant/actions/build/json/dia + // logflow-webhook-json) + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // SessionEntityTypes: Optional. Additional session entity types to + // replace or extend developer entity types with. The entity synonyms + // apply to all languages and persist for the session. Setting this data + // from a webhook overwrites the session entity types that have been set + // using `detectIntent`, `streamingDetectIntent` or SessionEntityType + // management methods. + SessionEntityTypes []*GoogleCloudDialogflowV2SessionEntityType `json:"sessionEntityTypes,omitempty"` + + // Source: Optional. A custom field used to identify the webhook source. + // Arbitrary strings are supported. When provided, Dialogflow uses this + // field to populate QueryResult.webhook_source sent to the integration + // or API caller. + Source string `json:"source,omitempty"` + + // ForceSendFields is a list of field names (e.g. "FollowupEventInput") + // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DestinationName") to + // NullFields is a list of field names (e.g. "FollowupEventInput") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -7894,25 +7724,19 @@ type GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion +func (s *GoogleCloudDialogflowV2WebhookResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2WebhookResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageListSelect: The card for -// presenting a list of options to select from. -type GoogleCloudDialogflowV2beta1IntentMessageListSelect struct { - // Items: Required. List items. - Items []*GoogleCloudDialogflowV2beta1IntentMessageListSelectItem `json:"items,omitempty"` - - // Subtitle: Optional. Subtitle of the list. - Subtitle string `json:"subtitle,omitempty"` - - // Title: Optional. The overall title of the list. - Title string `json:"title,omitempty"` +// GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse: The +// response message for EntityTypes.BatchUpdateEntityTypes. +type GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse struct { + // EntityTypes: The collection of updated or created entity types. + EntityTypes []*GoogleCloudDialogflowV2beta1EntityType `json:"entityTypes,omitempty"` - // ForceSendFields is a list of field names (e.g. "Items") to + // ForceSendFields is a list of field names (e.g. "EntityTypes") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -7920,37 +7744,28 @@ type GoogleCloudDialogflowV2beta1IntentMessageListSelect struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Items") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "EntityTypes") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageListSelect) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageListSelect +func (s *GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageListSelectItem: An item in -// the list. -type GoogleCloudDialogflowV2beta1IntentMessageListSelectItem struct { - // Description: Optional. The main text describing the item. - Description string `json:"description,omitempty"` - - // Image: Optional. The image to display. - Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` - - // Info: Required. Additional information about this option. - Info *GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo `json:"info,omitempty"` - - // Title: Required. The title of the list item. - Title string `json:"title,omitempty"` +// GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse: The response +// message for Intents.BatchUpdateIntents. +type GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse struct { + // Intents: The collection of updated or created intents. + Intents []*GoogleCloudDialogflowV2beta1Intent `json:"intents,omitempty"` - // ForceSendFields is a list of field names (e.g. "Description") to + // ForceSendFields is a list of field names (e.g. "Intents") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -7958,35 +7773,69 @@ type GoogleCloudDialogflowV2beta1IntentMessageListSelectItem struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Description") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Intents") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageListSelectItem) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageListSelectItem +func (s *GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageMediaContent: The media -// content card for Actions on Google. -type GoogleCloudDialogflowV2beta1IntentMessageMediaContent struct { - // MediaObjects: Required. List of media objects. - MediaObjects []*GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject `json:"mediaObjects,omitempty"` +// GoogleCloudDialogflowV2beta1Context: Dialogflow contexts are similar +// to natural language context. If a person says to you "they are +// orange", you need context in order to understand what "they" is +// referring to. Similarly, for Dialogflow to handle an end-user +// expression like that, it needs to be provided with context in order +// to correctly match an intent. Using contexts, you can control the +// flow of a conversation. You can configure contexts for an intent by +// setting input and output contexts, which are identified by string +// names. When an intent is matched, any configured output contexts for +// that intent become active. While any contexts are active, Dialogflow +// is more likely to match intents that are configured with input +// contexts that correspond to the currently active contexts. For more +// information about context, see the [Contexts +// guide](https://cloud.google.com/dialogflow/docs/contexts-overview). +type GoogleCloudDialogflowV2beta1Context struct { + // LifespanCount: Optional. The number of conversational query requests + // after which the context expires. The default is `0`. If set to `0`, + // the context expires immediately. Contexts expire automatically after + // 20 minutes if there are no matching queries. + LifespanCount int64 `json:"lifespanCount,omitempty"` - // MediaType: Optional. What type of media is the content (ie "audio"). - // - // Possible values: - // "RESPONSE_MEDIA_TYPE_UNSPECIFIED" - Unspecified. - // "AUDIO" - Response media type is audio. - MediaType string `json:"mediaType,omitempty"` + // Name: Required. The unique identifier of the context. Supported + // formats: - `projects//agent/sessions//contexts/`, - + // `projects//locations//agent/sessions//contexts/`, - + // `projects//agent/environments//users//sessions//contexts/`, - + // `projects//locations//agent/environments//users//sessions//contexts/`, + // The `Context ID` is always converted to lowercase, may only contain + // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If + // `Environment ID` is not specified, we assume default 'draft' + // environment. If `User ID` is not specified, we assume default '-' + // user. The following context names are reserved for internal use by + // Dialogflow. You should not use these contexts or create contexts with + // these names: * `__system_counters__` * `*_id_dialog_context` * + // `*_dialog_params_size` + Name string `json:"name,omitempty"` - // ForceSendFields is a list of field names (e.g. "MediaObjects") to + // Parameters: Optional. The collection of parameters associated with + // this context. Depending on your protocol or client library language, + // this is a map, associative array, symbol table, dictionary, or JSON + // object composed of a collection of (MapKey, MapValue) pairs: - MapKey + // type: string - MapKey value: parameter name - MapValue type: - If + // parameter's entity type is a composite entity: map - Else: string or + // number, depending on parameter value type - MapValue value: - If + // parameter's entity type is a composite entity: map from composite + // entity property names to property values - Else: parameter value + Parameters googleapi.RawMessage `json:"parameters,omitempty"` + + // ForceSendFields is a list of field names (e.g. "LifespanCount") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -7994,7 +7843,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageMediaContent struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "MediaObjects") to include + // NullFields is a list of field names (e.g. "LifespanCount") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -8003,63 +7852,107 @@ type GoogleCloudDialogflowV2beta1IntentMessageMediaContent struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageMediaContent) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageMediaContent +func (s *GoogleCloudDialogflowV2beta1Context) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1Context raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObje -// ct: Response media object for media content card. -type GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject struct { - // ContentUrl: Required. Url where the media is stored. - ContentUrl string `json:"contentUrl,omitempty"` +// GoogleCloudDialogflowV2beta1EntityType: Each intent parameter has a +// type, called the entity type, which dictates exactly how data from an +// end-user expression is extracted. Dialogflow provides predefined +// system entities that can match many common types of data. For +// example, there are system entities for matching dates, times, colors, +// email addresses, and so on. You can also create your own custom +// entities for matching custom data. For example, you could define a +// vegetable entity that can match the types of vegetables available for +// purchase with a grocery store agent. For more information, see the +// [Entity +// guide](https://cloud.google.com/dialogflow/docs/entities-overview). +type GoogleCloudDialogflowV2beta1EntityType struct { + // AutoExpansionMode: Optional. Indicates whether the entity type can be + // automatically expanded. + // + // Possible values: + // "AUTO_EXPANSION_MODE_UNSPECIFIED" - Auto expansion disabled for the + // entity. + // "AUTO_EXPANSION_MODE_DEFAULT" - Allows an agent to recognize values + // that have not been explicitly listed in the entity. + AutoExpansionMode string `json:"autoExpansionMode,omitempty"` - // Description: Optional. Description of media card. - Description string `json:"description,omitempty"` + // DisplayName: Required. The name of the entity type. + DisplayName string `json:"displayName,omitempty"` - // Icon: Optional. Icon to display above media content. - Icon *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"icon,omitempty"` + // EnableFuzzyExtraction: Optional. Enables fuzzy entity extraction + // during classification. + EnableFuzzyExtraction bool `json:"enableFuzzyExtraction,omitempty"` - // LargeImage: Optional. Image to display above media content. - LargeImage *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"largeImage,omitempty"` + // Entities: Optional. The collection of entity entries associated with + // the entity type. + Entities []*GoogleCloudDialogflowV2beta1EntityTypeEntity `json:"entities,omitempty"` - // Name: Required. Name of media card. - Name string `json:"name,omitempty"` + // Kind: Required. Indicates the kind of entity type. + // + // Possible values: + // "KIND_UNSPECIFIED" - Not specified. This value should be never + // used. + // "KIND_MAP" - Map entity types allow mapping of a group of synonyms + // to a reference value. + // "KIND_LIST" - List entity types contain a set of entries that do + // not map to reference values. However, list entity types can contain + // references to other entity types (with or without aliases). + // "KIND_REGEXP" - Regexp entity types allow to specify regular + // expressions in entries values. + Kind string `json:"kind,omitempty"` - // ForceSendFields is a list of field names (e.g. "ContentUrl") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, + // Name: The unique identifier of the entity type. Required for + // EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes + // methods. Supported formats: - `projects//agent/entityTypes/` - + // `projects//locations//agent/entityTypes/` + Name string `json:"name,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AutoExpansionMode") + // to unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ContentUrl") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "AutoExpansionMode") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject +func (s *GoogleCloudDialogflowV2beta1EntityType) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1EntityType raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageQuickReplies: The quick -// replies response message. -type GoogleCloudDialogflowV2beta1IntentMessageQuickReplies struct { - // QuickReplies: Optional. The collection of quick replies. - QuickReplies []string `json:"quickReplies,omitempty"` +// GoogleCloudDialogflowV2beta1EntityTypeEntity: An **entity entry** for +// an associated entity type. +type GoogleCloudDialogflowV2beta1EntityTypeEntity struct { + // Synonyms: Required. A collection of value synonyms. For example, if + // the entity type is *vegetable*, and `value` is *scallions*, a synonym + // could be *green onions*. For `KIND_LIST` entity types: * This + // collection must contain exactly one synonym equal to `value`. + Synonyms []string `json:"synonyms,omitempty"` - // Title: Optional. The title of the collection of quick replies. - Title string `json:"title,omitempty"` + // Value: Required. The primary value associated with this entity entry. + // For example, if the entity type is *vegetable*, the value could be + // *scallions*. For `KIND_MAP` entity types: * A reference value to be + // used in place of synonyms. For `KIND_LIST` entity types: * A string + // that can contain references to other entity types (with or without + // aliases). + Value string `json:"value,omitempty"` - // ForceSendFields is a list of field names (e.g. "QuickReplies") to + // ForceSendFields is a list of field names (e.g. "Synonyms") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -8067,41 +7960,49 @@ type GoogleCloudDialogflowV2beta1IntentMessageQuickReplies struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "QuickReplies") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Synonyms") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageQuickReplies) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageQuickReplies +func (s *GoogleCloudDialogflowV2beta1EntityTypeEntity) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1EntityTypeEntity raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent: Rich -// Business Messaging (RBM) Card content -type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent struct { - // Description: Optional. Description of the card (at most 2000 bytes). - // At least one of the title, description or media must be set. - Description string `json:"description,omitempty"` - - // Media: Optional. However at least one of the title, description or - // media must be set. Media (image, GIF or a video) to include in the - // card. - Media *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia `json:"media,omitempty"` +// GoogleCloudDialogflowV2beta1EventInput: Events allow for matching +// intents by event name instead of the natural language input. For +// instance, input `` can trigger a personalized welcome response. The +// parameter `name` may be used by the agent in the response: "Hello +// #welcome_event.name! What can I do for you today?". +type GoogleCloudDialogflowV2beta1EventInput struct { + // LanguageCode: Required. The language of this query. See [Language + // Support](https://cloud.google.com/dialogflow/docs/reference/language) + // for a list of the currently supported language codes. Note that + // queries in the same session do not necessarily need to specify the + // same language. + LanguageCode string `json:"languageCode,omitempty"` - // Suggestions: Optional. List of suggestions to include in the card. - Suggestions []*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion `json:"suggestions,omitempty"` + // Name: Required. The unique identifier of the event. + Name string `json:"name,omitempty"` - // Title: Optional. Title of the card (at most 200 bytes). At least one - // of the title, description or media must be set. - Title string `json:"title,omitempty"` + // Parameters: The collection of parameters associated with the event. + // Depending on your protocol or client library language, this is a map, + // associative array, symbol table, dictionary, or JSON object composed + // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: string or number, depending + // on parameter value type - MapValue value: - If parameter's entity + // type is a composite entity: map from composite entity property names + // to property values - Else: parameter value + Parameters googleapi.RawMessage `json:"parameters,omitempty"` - // ForceSendFields is a list of field names (e.g. "Description") to + // ForceSendFields is a list of field names (e.g. "LanguageCode") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -8109,7 +8010,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Description") to include + // NullFields is a list of field names (e.g. "LanguageCode") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -8118,87 +8019,24 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia: Rich -// Business Messaging (RBM) Media displayed in Cards The following -// media-types are currently supported: Image Types * image/jpeg * -// image/jpg' * image/gif * image/png Video Types * video/h263 * -// video/m4v * video/mp4 * video/mpeg * video/mpeg4 * video/webm -type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia struct { - // FileUri: Required. Publicly reachable URI of the file. The RBM - // platform determines the MIME type of the file from the content-type - // field in the HTTP headers when the platform fetches the file. The - // content-type field must be present and accurate in the HTTP response - // from the URL. - FileUri string `json:"fileUri,omitempty"` - - // Height: Required for cards with vertical orientation. The height of - // the media within a rich card with a vertical layout. For a standalone - // card with horizontal layout, height is not customizable, and this - // field is ignored. - // - // Possible values: - // "HEIGHT_UNSPECIFIED" - Not specified. - // "SHORT" - 112 DP. - // "MEDIUM" - 168 DP. - // "TALL" - 264 DP. Not available for rich card carousels when the - // card width is set to small. - Height string `json:"height,omitempty"` - - // ThumbnailUri: Optional. Publicly reachable URI of the thumbnail.If - // you don't provide a thumbnail URI, the RBM platform displays a blank - // placeholder thumbnail until the user's device downloads the file. - // Depending on the user's setting, the file may not download - // automatically and may require the user to tap a download button. - ThumbnailUri string `json:"thumbnailUri,omitempty"` - - // ForceSendFields is a list of field names (e.g. "FileUri") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "FileUri") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia +func (s *GoogleCloudDialogflowV2beta1EventInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1EventInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard: Carousel -// Rich Business Messaging (RBM) rich card. Rich cards allow you to -// respond to users with more vivid content, e.g. with media and -// suggestions. If you want to show a single card with more control over -// the layout, please use RbmStandaloneCard instead. -type GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard struct { - // CardContents: Required. The cards in the carousel. A carousel must - // have at least 2 cards and at most 10. - CardContents []*GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent `json:"cardContents,omitempty"` +// GoogleCloudDialogflowV2beta1ExportAgentResponse: The response message +// for Agents.ExportAgent. +type GoogleCloudDialogflowV2beta1ExportAgentResponse struct { + // AgentContent: Zip compressed raw byte content for agent. + AgentContent string `json:"agentContent,omitempty"` - // CardWidth: Required. The width of the cards in the carousel. - // - // Possible values: - // "CARD_WIDTH_UNSPECIFIED" - Not specified. - // "SMALL" - 120 DP. Note that tall media cannot be used. - // "MEDIUM" - 232 DP. - CardWidth string `json:"cardWidth,omitempty"` + // AgentUri: The URI to a file containing the exported agent. This field + // is populated only if `agent_uri` is specified in + // `ExportAgentRequest`. + AgentUri string `json:"agentUri,omitempty"` - // ForceSendFields is a list of field names (e.g. "CardContents") to + // ForceSendFields is a list of field names (e.g. "AgentContent") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -8206,7 +8044,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CardContents") to include + // NullFields is a list of field names (e.g. "AgentContent") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -8215,149 +8053,156 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard +func (s *GoogleCloudDialogflowV2beta1ExportAgentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1ExportAgentResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard: -// Standalone Rich Business Messaging (RBM) rich card. Rich cards allow -// you to respond to users with more vivid content, e.g. with media and -// suggestions. You can group multiple rich cards into one using -// RbmCarouselCard but carousel cards will give you less control over -// the card layout. -type GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard struct { - // CardContent: Required. Card content. - CardContent *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent `json:"cardContent,omitempty"` +// GoogleCloudDialogflowV2beta1Intent: An intent categorizes an +// end-user's intention for one conversation turn. For each agent, you +// define many intents, where your combined intents can handle a +// complete conversation. When an end-user writes or says something, +// referred to as an end-user expression or end-user input, Dialogflow +// matches the end-user input to the best intent in your agent. Matching +// an intent is also known as intent classification. For more +// information, see the [intent +// guide](https://cloud.google.com/dialogflow/docs/intents-overview). +type GoogleCloudDialogflowV2beta1Intent struct { + // Action: Optional. The name of the action associated with the intent. + // Note: The action name must not contain whitespaces. + Action string `json:"action,omitempty"` - // CardOrientation: Required. Orientation of the card. + // DefaultResponsePlatforms: Optional. The list of platforms for which + // the first responses will be copied from the messages in + // PLATFORM_UNSPECIFIED (i.e. default platform). // // Possible values: - // "CARD_ORIENTATION_UNSPECIFIED" - Not specified. - // "HORIZONTAL" - Horizontal layout. - // "VERTICAL" - Vertical layout. - CardOrientation string `json:"cardOrientation,omitempty"` + // "PLATFORM_UNSPECIFIED" - Not specified. + // "FACEBOOK" - Facebook. + // "SLACK" - Slack. + // "TELEGRAM" - Telegram. + // "KIK" - Kik. + // "SKYPE" - Skype. + // "LINE" - Line. + // "VIBER" - Viber. + // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook + // format](https://developers.google.com/assistant/actions/build/json/dia + // logflow-webhook-json) + // "TELEPHONY" - Telephony Gateway. + // "GOOGLE_HANGOUTS" - Google Hangouts. + DefaultResponsePlatforms []string `json:"defaultResponsePlatforms,omitempty"` - // ThumbnailImageAlignment: Required if orientation is horizontal. Image - // preview alignment for standalone cards with horizontal layout. - // - // Possible values: - // "THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED" - Not specified. - // "LEFT" - Thumbnail preview is left-aligned. - // "RIGHT" - Thumbnail preview is right-aligned. - ThumbnailImageAlignment string `json:"thumbnailImageAlignment,omitempty"` + // DisplayName: Required. The name of this intent. + DisplayName string `json:"displayName,omitempty"` - // ForceSendFields is a list of field names (e.g. "CardContent") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` + // EndInteraction: Optional. Indicates that this intent ends an + // interaction. Some integrations (e.g., Actions on Google or Dialogflow + // phone gateway) use this information to close interaction with an end + // user. Default is false. + EndInteraction bool `json:"endInteraction,omitempty"` - // NullFields is a list of field names (e.g. "CardContent") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} + // Events: Optional. The collection of event names that trigger the + // intent. If the collection of input contexts is not empty, all of the + // contexts must be present in the active user session for an event to + // trigger this intent. Event names are limited to 150 characters. + Events []string `json:"events,omitempty"` -func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // FollowupIntentInfo: Output only. Information about all followup + // intents that have this intent as a direct or indirect parent. We + // populate this field only in the output. + FollowupIntentInfo []*GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo `json:"followupIntentInfo,omitempty"` -// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction: Rich -// Business Messaging (RBM) suggested client-side action that the user -// can choose from the card. -type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction struct { - // Dial: Suggested client side action: Dial a phone number - Dial *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial `json:"dial,omitempty"` + // InputContextNames: Optional. The list of context names required for + // this intent to be triggered. Formats: - + // `projects//agent/sessions/-/contexts/` - + // `projects//locations//agent/sessions/-/contexts/` + InputContextNames []string `json:"inputContextNames,omitempty"` - // OpenUrl: Suggested client side action: Open a URI on device - OpenUrl *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri `json:"openUrl,omitempty"` + // IsFallback: Optional. Indicates whether this is a fallback intent. + IsFallback bool `json:"isFallback,omitempty"` - // PostbackData: Opaque payload that the Dialogflow receives in a user - // event when the user taps the suggested action. This data will be also - // forwarded to webhook to allow performing custom business logic. - PostbackData string `json:"postbackData,omitempty"` + // Messages: Optional. The collection of rich messages corresponding to + // the `Response` field in the Dialogflow console. + Messages []*GoogleCloudDialogflowV2beta1IntentMessage `json:"messages,omitempty"` - // ShareLocation: Suggested client side action: Share user location - ShareLocation *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation `json:"shareLocation,omitempty"` + // MlDisabled: Optional. Indicates whether Machine Learning is disabled + // for the intent. Note: If `ml_disabled` setting is set to true, then + // this intent is not taken into account during inference in `ML ONLY` + // match mode. Also, auto-markup in the UI is turned off. + MlDisabled bool `json:"mlDisabled,omitempty"` - // Text: Text to display alongside the action. - Text string `json:"text,omitempty"` + // MlEnabled: Optional. Indicates whether Machine Learning is enabled + // for the intent. Note: If `ml_enabled` setting is set to false, then + // this intent is not taken into account during inference in `ML ONLY` + // match mode. Also, auto-markup in the UI is turned off. DEPRECATED! + // Please use `ml_disabled` field instead. NOTE: If both `ml_enabled` + // and `ml_disabled` are either not set or false, then the default value + // is determined as follows: - Before April 15th, 2018 the default is: + // ml_enabled = false / ml_disabled = true. - After April 15th, 2018 the + // default is: ml_enabled = true / ml_disabled = false. + MlEnabled bool `json:"mlEnabled,omitempty"` - // ForceSendFields is a list of field names (e.g. "Dial") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` + // Name: Optional. The unique identifier of this intent. Required for + // Intents.UpdateIntent and Intents.BatchUpdateIntents methods. + // Supported formats: - `projects//agent/intents/` - + // `projects//locations//agent/intents/` + Name string `json:"name,omitempty"` - // NullFields is a list of field names (e.g. "Dial") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} + // OutputContexts: Optional. The collection of contexts that are + // activated when the intent is matched. Context messages in this + // collection should not set the parameters field. Setting the + // `lifespan_count` to 0 will reset the context when the intent is + // matched. Format: `projects//agent/sessions/-/contexts/`. + OutputContexts []*GoogleCloudDialogflowV2beta1Context `json:"outputContexts,omitempty"` -func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // Parameters: Optional. The collection of parameters associated with + // the intent. + Parameters []*GoogleCloudDialogflowV2beta1IntentParameter `json:"parameters,omitempty"` -// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggeste -// dActionDial: Opens the user's default dialer app with the specified -// phone number but does not dial automatically. -type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial struct { - // PhoneNumber: Required. The phone number to fill in the default dialer - // app. This field should be in - // [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a - // correctly formatted phone number: +15556767888. - PhoneNumber string `json:"phoneNumber,omitempty"` + // ParentFollowupIntentName: Optional. The unique identifier of the + // parent intent in the chain of followup intents. You can set this + // field when creating an intent, for example with CreateIntent or + // BatchUpdateIntents, in order to make this intent a followup intent. + // It identifies the parent followup intent. Format: + // `projects//agent/intents/`. + ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` - // ForceSendFields is a list of field names (e.g. "PhoneNumber") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` + // Priority: Optional. The priority of this intent. Higher numbers + // represent higher priorities. - If the supplied value is unspecified + // or 0, the service translates the value to 500,000, which corresponds + // to the `Normal` priority in the console. - If the supplied value is + // negative, the intent is ignored in runtime detect intent requests. + Priority int64 `json:"priority,omitempty"` - // NullFields is a list of field names (e.g. "PhoneNumber") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} + // ResetContexts: Optional. Indicates whether to delete all contexts in + // the current session when this intent is matched. + ResetContexts bool `json:"resetContexts,omitempty"` -func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // RootFollowupIntentName: Output only. The unique identifier of the + // root intent in the chain of followup intents. It identifies the + // correct followup intents chain for this intent. Format: + // `projects//agent/intents/`. + RootFollowupIntentName string `json:"rootFollowupIntentName,omitempty"` -// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggeste -// dActionOpenUri: Opens the user's default web browser app to the -// specified uri If the user has an app installed that is registered as -// the default handler for the URL, then this app will be opened -// instead, and its icon will be used in the suggested action UI. -type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri struct { - // Uri: Required. The uri to open on the user device - Uri string `json:"uri,omitempty"` + // TrainingPhrases: Optional. The collection of examples that the agent + // is trained on. + TrainingPhrases []*GoogleCloudDialogflowV2beta1IntentTrainingPhrase `json:"trainingPhrases,omitempty"` - // ForceSendFields is a list of field names (e.g. "Uri") to + // WebhookState: Optional. Indicates whether webhooks are enabled for + // the intent. + // + // Possible values: + // "WEBHOOK_STATE_UNSPECIFIED" - Webhook is disabled in the agent and + // in the intent. + // "WEBHOOK_STATE_ENABLED" - Webhook is enabled in the agent and in + // the intent. + // "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING" - Webhook is enabled in + // the agent and in the intent. Also, each slot filling prompt is + // forwarded to the webhook. + WebhookState string `json:"webhookState,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Action") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -8365,7 +8210,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActi // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Uri") to include in API + // NullFields is a list of field names (e.g. "Action") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -8374,97 +8219,135 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActi NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri +func (s *GoogleCloudDialogflowV2beta1Intent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1Intent raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggeste -// dActionShareLocation: Opens the device's location chooser so the user -// can pick a location to send back to the agent. -type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation struct { -} - -// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply: Rich -// Business Messaging (RBM) suggested reply that the user can click -// instead of typing in their own response. -type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply struct { - // PostbackData: Opaque payload that the Dialogflow receives in a user - // event when the user taps the suggested reply. This data will be also - // forwarded to webhook to allow performing custom business logic. - PostbackData string `json:"postbackData,omitempty"` +// GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo: Represents a +// single followup intent in the chain. +type GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo struct { + // FollowupIntentName: The unique identifier of the followup intent. + // Format: `projects//agent/intents/`. + FollowupIntentName string `json:"followupIntentName,omitempty"` - // Text: Suggested reply text. - Text string `json:"text,omitempty"` + // ParentFollowupIntentName: The unique identifier of the followup + // intent's parent. Format: `projects//agent/intents/`. + ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` - // ForceSendFields is a list of field names (e.g. "PostbackData") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "FollowupIntentName") + // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "PostbackData") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "FollowupIntentName") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply +func (s *GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion: Rich Business -// Messaging (RBM) suggestion. Suggestions allow user to easily -// select/click a predefined response or perform an action (like opening -// a web uri). -type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion struct { - // Action: Predefined client side actions that user can choose - Action *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction `json:"action,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessage: Corresponds to the +// `Response` field in the Dialogflow console. +type GoogleCloudDialogflowV2beta1IntentMessage struct { + // BasicCard: Displays a basic card for Actions on Google. + BasicCard *GoogleCloudDialogflowV2beta1IntentMessageBasicCard `json:"basicCard,omitempty"` - // Reply: Predefined replies for user to select instead of typing - Reply *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply `json:"reply,omitempty"` + // BrowseCarouselCard: Browse carousel card for Actions on Google. + BrowseCarouselCard *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard `json:"browseCarouselCard,omitempty"` - // ForceSendFields is a list of field names (e.g. "Action") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` + // Card: Displays a card. + Card *GoogleCloudDialogflowV2beta1IntentMessageCard `json:"card,omitempty"` - // NullFields is a list of field names (e.g. "Action") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} + // CarouselSelect: Displays a carousel card for Actions on Google. + CarouselSelect *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect `json:"carouselSelect,omitempty"` -func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // Image: Displays an image. + Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` -// GoogleCloudDialogflowV2beta1IntentMessageRbmText: Rich Business -// Messaging (RBM) text response with suggestions. -type GoogleCloudDialogflowV2beta1IntentMessageRbmText struct { - // RbmSuggestion: Optional. One or more suggestions to show to the user. - RbmSuggestion []*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion `json:"rbmSuggestion,omitempty"` + // LinkOutSuggestion: Displays a link out suggestion chip for Actions on + // Google. + LinkOutSuggestion *GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion `json:"linkOutSuggestion,omitempty"` - // Text: Required. Text sent and displayed to the user. - Text string `json:"text,omitempty"` + // ListSelect: Displays a list card for Actions on Google. + ListSelect *GoogleCloudDialogflowV2beta1IntentMessageListSelect `json:"listSelect,omitempty"` - // ForceSendFields is a list of field names (e.g. "RbmSuggestion") to + // MediaContent: The media content card for Actions on Google. + MediaContent *GoogleCloudDialogflowV2beta1IntentMessageMediaContent `json:"mediaContent,omitempty"` + + // Payload: A custom platform-specific response. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // Platform: Optional. The platform that this message is intended for. + // + // Possible values: + // "PLATFORM_UNSPECIFIED" - Not specified. + // "FACEBOOK" - Facebook. + // "SLACK" - Slack. + // "TELEGRAM" - Telegram. + // "KIK" - Kik. + // "SKYPE" - Skype. + // "LINE" - Line. + // "VIBER" - Viber. + // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook + // format](https://developers.google.com/assistant/actions/build/json/dia + // logflow-webhook-json) + // "TELEPHONY" - Telephony Gateway. + // "GOOGLE_HANGOUTS" - Google Hangouts. + Platform string `json:"platform,omitempty"` + + // QuickReplies: Displays quick replies. + QuickReplies *GoogleCloudDialogflowV2beta1IntentMessageQuickReplies `json:"quickReplies,omitempty"` + + // RbmCarouselRichCard: Rich Business Messaging (RBM) carousel rich card + // response. + RbmCarouselRichCard *GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard `json:"rbmCarouselRichCard,omitempty"` + + // RbmStandaloneRichCard: Standalone Rich Business Messaging (RBM) rich + // card response. + RbmStandaloneRichCard *GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard `json:"rbmStandaloneRichCard,omitempty"` + + // RbmText: Rich Business Messaging (RBM) text response. RBM allows + // businesses to send enriched and branded versions of SMS. See + // https://jibe.google.com/business-messaging. + RbmText *GoogleCloudDialogflowV2beta1IntentMessageRbmText `json:"rbmText,omitempty"` + + // SimpleResponses: Returns a voice or text-only response for Actions on + // Google. + SimpleResponses *GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses `json:"simpleResponses,omitempty"` + + // Suggestions: Displays suggestion chips for Actions on Google. + Suggestions *GoogleCloudDialogflowV2beta1IntentMessageSuggestions `json:"suggestions,omitempty"` + + // TableCard: Table card for Actions on Google. + TableCard *GoogleCloudDialogflowV2beta1IntentMessageTableCard `json:"tableCard,omitempty"` + + // TelephonyPlayAudio: Plays audio from a file in Telephony Gateway. + TelephonyPlayAudio *GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio `json:"telephonyPlayAudio,omitempty"` + + // TelephonySynthesizeSpeech: Synthesizes speech in Telephony Gateway. + TelephonySynthesizeSpeech *GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech `json:"telephonySynthesizeSpeech,omitempty"` + + // TelephonyTransferCall: Transfers the call in Telephony Gateway. + TelephonyTransferCall *GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall `json:"telephonyTransferCall,omitempty"` + + // Text: Returns a text response. + Text *GoogleCloudDialogflowV2beta1IntentMessageText `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "BasicCard") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -8472,33 +8355,41 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmText struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "RbmSuggestion") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "BasicCard") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmText) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmText +func (s *GoogleCloudDialogflowV2beta1IntentMessage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessage raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo: Additional -// info about the select item for when it is triggered in a dialog. -type GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo struct { - // Key: Required. A unique key that will be sent back to the agent if - // this response is given. - Key string `json:"key,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageBasicCard: The basic card +// message. Useful for displaying information. +type GoogleCloudDialogflowV2beta1IntentMessageBasicCard struct { + // Buttons: Optional. The collection of card buttons. + Buttons []*GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton `json:"buttons,omitempty"` - // Synonyms: Optional. A list of synonyms that can also be used to - // trigger this item in dialog. - Synonyms []string `json:"synonyms,omitempty"` + // FormattedText: Required, unless image is present. The body text of + // the card. + FormattedText string `json:"formattedText,omitempty"` - // ForceSendFields is a list of field names (e.g. "Key") to + // Image: Optional. The image for the card. + Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` + + // Subtitle: Optional. The subtitle of the card. + Subtitle string `json:"subtitle,omitempty"` + + // Title: Optional. The title of the card. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Buttons") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -8506,8 +8397,8 @@ type GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Key") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Buttons") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -8515,28 +8406,23 @@ type GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo +func (s *GoogleCloudDialogflowV2beta1IntentMessageBasicCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBasicCard raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse: The simple -// response message containing speech or text. -type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse struct { - // DisplayText: Optional. The text to display. - DisplayText string `json:"displayText,omitempty"` - - // Ssml: One of text_to_speech or ssml must be provided. Structured - // spoken response to the user in the SSML format. Mutually exclusive - // with text_to_speech. - Ssml string `json:"ssml,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton: The button +// object that appears at the bottom of a card. +type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton struct { + // OpenUriAction: Required. Action to take when a user taps on the + // button. + OpenUriAction *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction `json:"openUriAction,omitempty"` - // TextToSpeech: One of text_to_speech or ssml must be provided. The - // plain text of the speech output. Mutually exclusive with ssml. - TextToSpeech string `json:"textToSpeech,omitempty"` + // Title: Required. The title of the button. + Title string `json:"title,omitempty"` - // ForceSendFields is a list of field names (e.g. "DisplayText") to + // ForceSendFields is a list of field names (e.g. "OpenUriAction") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -8544,7 +8430,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DisplayText") to include + // NullFields is a list of field names (e.g. "OpenUriAction") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -8553,22 +8439,19 @@ type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse +func (s *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses: The -// collection of simple response candidates. This message in -// `QueryResult.fulfillment_messages` and -// `WebhookResponse.fulfillment_messages` should contain only one -// `SimpleResponse`. -type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses struct { - // SimpleResponses: Required. The list of simple responses. - SimpleResponses []*GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse `json:"simpleResponses,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction: +// Opens the given URI. +type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction struct { + // Uri: Required. The HTTP or HTTPS scheme URI. + Uri string `json:"uri,omitempty"` - // ForceSendFields is a list of field names (e.g. "SimpleResponses") to + // ForceSendFields is a list of field names (e.g. "Uri") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -8576,104 +8459,95 @@ type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "SimpleResponses") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "Uri") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses +func (s *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageSuggestion: The suggestion -// chip message that the user can tap to quickly post a reply to the -// conversation. -type GoogleCloudDialogflowV2beta1IntentMessageSuggestion struct { - // Title: Required. The text shown the in the suggestion chip. - Title string `json:"title,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard: Browse +// Carousel Card for Actions on Google. +// https://developers.google.com/actions/assistant/responses#browsing_carousel +type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard struct { + // ImageDisplayOptions: Optional. Settings for displaying the image. + // Applies to every image in items. + // + // Possible values: + // "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED" - Fill the gaps between the + // image and the image container with gray bars. + // "GRAY" - Fill the gaps between the image and the image container + // with gray bars. + // "WHITE" - Fill the gaps between the image and the image container + // with white bars. + // "CROPPED" - Image is scaled such that the image width and height + // match or exceed the container dimensions. This may crop the top and + // bottom of the image if the scaled image height is greater than the + // container height, or crop the left and right of the image if the + // scaled image width is greater than the container width. This is + // similar to "Zoom Mode" on a widescreen TV when playing a 4:3 video. + // "BLURRED_BACKGROUND" - Pad the gaps between image and image frame + // with a blurred copy of the same image. + ImageDisplayOptions string `json:"imageDisplayOptions,omitempty"` - // ForceSendFields is a list of field names (e.g. "Title") to - // unconditionally include in API requests. By default, fields with + // Items: Required. List of items in the Browse Carousel Card. Minimum + // of two items, maximum of ten. + Items []*GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem `json:"items,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ImageDisplayOptions") + // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Title") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "ImageDisplayOptions") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageSuggestion) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSuggestion - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleCloudDialogflowV2beta1IntentMessageSuggestions: The collection -// of suggestions. -type GoogleCloudDialogflowV2beta1IntentMessageSuggestions struct { - // Suggestions: Required. The list of suggested replies. - Suggestions []*GoogleCloudDialogflowV2beta1IntentMessageSuggestion `json:"suggestions,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Suggestions") to - // unconditionally include in API requests. By default, fields with - // empty values are omitted from API requests. However, any non-pointer, - // non-interface field appearing in ForceSendFields will be sent to the - // server regardless of whether the field is empty or not. This may be - // used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "Suggestions") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *GoogleCloudDialogflowV2beta1IntentMessageSuggestions) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSuggestions +func (s *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageTableCard: Table card for -// Actions on Google. -type GoogleCloudDialogflowV2beta1IntentMessageTableCard struct { - // Buttons: Optional. List of buttons for the card. - Buttons []*GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton `json:"buttons,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarou +// selCardItem: Browsing carousel tile +type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem struct { + // Description: Optional. Description of the carousel item. Maximum of + // four lines of text. + Description string `json:"description,omitempty"` - // ColumnProperties: Optional. Display properties for the columns in - // this table. - ColumnProperties []*GoogleCloudDialogflowV2beta1IntentMessageColumnProperties `json:"columnProperties,omitempty"` + // Footer: Optional. Text that appears at the bottom of the Browse + // Carousel Card. Maximum of one line of text. + Footer string `json:"footer,omitempty"` - // Image: Optional. Image which should be displayed on the card. + // Image: Optional. Hero image for the carousel item. Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` - // Rows: Optional. Rows in this table of data. - Rows []*GoogleCloudDialogflowV2beta1IntentMessageTableCardRow `json:"rows,omitempty"` - - // Subtitle: Optional. Subtitle to the title. - Subtitle string `json:"subtitle,omitempty"` + // OpenUriAction: Required. Action to present to the user. + OpenUriAction *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction `json:"openUriAction,omitempty"` - // Title: Required. Title of the card. + // Title: Required. Title of the carousel item. Maximum of two lines of + // text. Title string `json:"title,omitempty"` - // ForceSendFields is a list of field names (e.g. "Buttons") to + // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -8681,28 +8555,39 @@ type GoogleCloudDialogflowV2beta1IntentMessageTableCard struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Buttons") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Description") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageTableCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTableCard +func (s *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageTableCardCell: Cell of -// TableCardRow. -type GoogleCloudDialogflowV2beta1IntentMessageTableCardCell struct { - // Text: Required. Text in this cell. - Text string `json:"text,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarou +// selCardItemOpenUrlAction: Actions on Google action to open a given +// url. +type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction struct { + // Url: Required. URL + Url string `json:"url,omitempty"` - // ForceSendFields is a list of field names (e.g. "Text") to + // UrlTypeHint: Optional. Specifies the type of viewer that is used when + // opening the URL. Defaults to opening via web browser. + // + // Possible values: + // "URL_TYPE_HINT_UNSPECIFIED" - Unspecified + // "AMP_ACTION" - Url would be an amp action + // "AMP_CONTENT" - URL that points directly to AMP content, or to a + // canonical URL which refers to AMP content via . + UrlTypeHint string `json:"urlTypeHint,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Url") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -8710,7 +8595,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageTableCardCell struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Text") to include in API + // NullFields is a list of field names (e.g. "Url") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -8719,23 +8604,28 @@ type GoogleCloudDialogflowV2beta1IntentMessageTableCardCell struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageTableCardCell) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTableCardCell +func (s *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageTableCardRow: Row of -// TableCard. -type GoogleCloudDialogflowV2beta1IntentMessageTableCardRow struct { - // Cells: Optional. List of cells that make up this row. - Cells []*GoogleCloudDialogflowV2beta1IntentMessageTableCardCell `json:"cells,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageCard: The card response +// message. +type GoogleCloudDialogflowV2beta1IntentMessageCard struct { + // Buttons: Optional. The collection of card buttons. + Buttons []*GoogleCloudDialogflowV2beta1IntentMessageCardButton `json:"buttons,omitempty"` - // DividerAfter: Optional. Whether to add a visual divider after this - // row. - DividerAfter bool `json:"dividerAfter,omitempty"` + // ImageUri: Optional. The public URI to an image file for the card. + ImageUri string `json:"imageUri,omitempty"` - // ForceSendFields is a list of field names (e.g. "Cells") to + // Subtitle: Optional. The subtitle of the card. + Subtitle string `json:"subtitle,omitempty"` + + // Title: Optional. The title of the card. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Buttons") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -8743,8 +8633,8 @@ type GoogleCloudDialogflowV2beta1IntentMessageTableCardRow struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Cells") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Buttons") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -8752,29 +8642,23 @@ type GoogleCloudDialogflowV2beta1IntentMessageTableCardRow struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageTableCardRow) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTableCardRow +func (s *GoogleCloudDialogflowV2beta1IntentMessageCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCard raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio: Plays -// audio from a file in Telephony Gateway. -type GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio struct { - // AudioUri: Required. URI to a Google Cloud Storage object containing - // the audio to play, e.g., "gs://bucket/object". The object must - // contain a single channel (mono) of linear PCM audio (2 bytes / - // sample) at 8kHz. This object must be readable by the - // `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` service account - // where is the number of the Telephony Gateway project (usually the - // same as the Dialogflow agent project). If the Google Cloud Storage - // bucket is in the Telephony Gateway project, this permission is added - // by default when enabling the Dialogflow V2 API. For audio from other - // sources, consider using the `TelephonySynthesizeSpeech` message with - // SSML. - AudioUri string `json:"audioUri,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageCardButton: Optional. +// Contains information about a button. +type GoogleCloudDialogflowV2beta1IntentMessageCardButton struct { + // Postback: Optional. The text to send back to the Dialogflow API or a + // URI to open. + Postback string `json:"postback,omitempty"` - // ForceSendFields is a list of field names (e.g. "AudioUri") to + // Text: Optional. The text to show on the button. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Postback") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -8782,7 +8666,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AudioUri") to include in + // NullFields is a list of field names (e.g. "Postback") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -8791,27 +8675,19 @@ type GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio +func (s *GoogleCloudDialogflowV2beta1IntentMessageCardButton) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCardButton raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech: -// Synthesizes speech and plays back the synthesized audio to the caller -// in Telephony Gateway. Telephony Gateway takes the synthesizer -// settings from `DetectIntentResponse.output_audio_config` which can -// either be set at request-level or can come from the agent-level -// synthesizer config. -type GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech struct { - // Ssml: The SSML to be synthesized. For more information, see - // [SSML](https://developers.google.com/actions/reference/ssml). - Ssml string `json:"ssml,omitempty"` - - // Text: The raw text to be synthesized. - Text string `json:"text,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect: The card for +// presenting a carousel of options to select from. +type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect struct { + // Items: Required. Carousel items. + Items []*GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem `json:"items,omitempty"` - // ForceSendFields is a list of field names (e.g. "Ssml") to + // ForceSendFields is a list of field names (e.g. "Items") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -8819,7 +8695,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Ssml") to include in API + // NullFields is a list of field names (e.g. "Items") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -8828,21 +8704,28 @@ type GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech +func (s *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall: -// Transfers the call in Telephony Gateway. -type GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall struct { - // PhoneNumber: Required. The phone number to transfer the call to in - // [E.164 format](https://en.wikipedia.org/wiki/E.164). We currently - // only allow transferring to US numbers (+1xxxyyyzzzz). - PhoneNumber string `json:"phoneNumber,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem: An item +// in the carousel. +type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem struct { + // Description: Optional. The body text of the card. + Description string `json:"description,omitempty"` - // ForceSendFields is a list of field names (e.g. "PhoneNumber") to + // Image: Optional. The image to display. + Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` + + // Info: Required. Additional info about the option item. + Info *GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo `json:"info,omitempty"` + + // Title: Required. Title of the carousel item. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -8850,7 +8733,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "PhoneNumber") to include + // NullFields is a list of field names (e.g. "Description") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -8859,19 +8742,30 @@ type GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall +func (s *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageText: The text response -// message. -type GoogleCloudDialogflowV2beta1IntentMessageText struct { - // Text: Optional. The collection of the agent's responses. - Text []string `json:"text,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageColumnProperties: Column +// properties for TableCard. +type GoogleCloudDialogflowV2beta1IntentMessageColumnProperties struct { + // Header: Required. Column heading. + Header string `json:"header,omitempty"` - // ForceSendFields is a list of field names (e.g. "Text") to + // HorizontalAlignment: Optional. Defines text alignment for all cells + // in this column. + // + // Possible values: + // "HORIZONTAL_ALIGNMENT_UNSPECIFIED" - Text is aligned to the leading + // edge of the column. + // "LEADING" - Text is aligned to the leading edge of the column. + // "CENTER" - Text is centered in the column. + // "TRAILING" - Text is aligned to the trailing edge of the column. + HorizontalAlignment string `json:"horizontalAlignment,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Header") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -8879,7 +8773,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageText struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Text") to include in API + // NullFields is a list of field names (e.g. "Header") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -8888,115 +8782,60 @@ type GoogleCloudDialogflowV2beta1IntentMessageText struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageText) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageText +func (s *GoogleCloudDialogflowV2beta1IntentMessageColumnProperties) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageColumnProperties raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentParameter: Represents intent -// parameters. -type GoogleCloudDialogflowV2beta1IntentParameter struct { - // DefaultValue: Optional. The default value to use when the `value` - // yields an empty result. Default values can be extracted from contexts - // by using the following syntax: `#context_name.parameter_name`. - DefaultValue string `json:"defaultValue,omitempty"` - - // DisplayName: Required. The name of the parameter. - DisplayName string `json:"displayName,omitempty"` - - // EntityTypeDisplayName: Optional. The name of the entity type, - // prefixed with `@`, that describes values of the parameter. If the - // parameter is required, this must be provided. - EntityTypeDisplayName string `json:"entityTypeDisplayName,omitempty"` - - // IsList: Optional. Indicates whether the parameter represents a list - // of values. - IsList bool `json:"isList,omitempty"` - - // Mandatory: Optional. Indicates whether the parameter is required. - // That is, whether the intent cannot be completed without collecting - // the parameter value. - Mandatory bool `json:"mandatory,omitempty"` - - // Name: The unique identifier of this parameter. - Name string `json:"name,omitempty"` - - // Prompts: Optional. The collection of prompts that the agent can - // present to the user in order to collect a value for the parameter. - Prompts []string `json:"prompts,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageImage: The image response +// message. +type GoogleCloudDialogflowV2beta1IntentMessageImage struct { + // AccessibilityText: A text description of the image to be used for + // accessibility, e.g., screen readers. Required if image_uri is set for + // CarouselSelect. + AccessibilityText string `json:"accessibilityText,omitempty"` - // Value: Optional. The definition of the parameter value. It can be: - - // a constant string, - a parameter value defined as `$parameter_name`, - // - an original parameter value defined as `$parameter_name.original`, - // - a parameter value from some context defined as - // `#context_name.parameter_name`. - Value string `json:"value,omitempty"` + // ImageUri: Optional. The public URI to an image file. + ImageUri string `json:"imageUri,omitempty"` - // ForceSendFields is a list of field names (e.g. "DefaultValue") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "AccessibilityText") + // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DefaultValue") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "AccessibilityText") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentParameter) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentParameter +func (s *GoogleCloudDialogflowV2beta1IntentMessageImage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageImage raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentTrainingPhrase: Represents an -// example that the agent is trained on. -type GoogleCloudDialogflowV2beta1IntentTrainingPhrase struct { - // Name: Output only. The unique identifier of this training phrase. - Name string `json:"name,omitempty"` - - // Parts: Required. The ordered list of training phrase parts. The parts - // are concatenated in order to form the training phrase. Note: The API - // does not automatically annotate training phrases like the Dialogflow - // Console does. Note: Do not forget to include whitespace at part - // boundaries, so the training phrase is well formatted when the parts - // are concatenated. If the training phrase does not need to be - // annotated with parameters, you just need a single part with only the - // Part.text field set. If you want to annotate the training phrase, you - // must create multiple parts, where the fields of each part are - // populated in one of two ways: - `Part.text` is set to a part of the - // phrase that has no parameters. - `Part.text` is set to a part of the - // phrase that you want to annotate, and the `entity_type`, `alias`, and - // `user_defined` fields are all set. - Parts []*GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart `json:"parts,omitempty"` - - // TimesAddedCount: Optional. Indicates how many times this example was - // added to the intent. Each time a developer adds an existing sample by - // editing an intent or training, this counter is increased. - TimesAddedCount int64 `json:"timesAddedCount,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion: The +// suggestion chip message that allows the user to jump out to the app +// or website associated with this agent. +type GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion struct { + // DestinationName: Required. The name of the app or site this chip is + // linking to. + DestinationName string `json:"destinationName,omitempty"` - // Type: Required. The type of the training phrase. - // - // Possible values: - // "TYPE_UNSPECIFIED" - Not specified. This value should never be - // used. - // "EXAMPLE" - Examples do not contain @-prefixed entity type names, - // but example parts can be annotated with entity types. - // "TEMPLATE" - Templates are not annotated with entity types, but - // they can contain @-prefixed entity type names as substrings. Template - // mode has been deprecated. Example mode is the only supported way to - // create new training phrases. If you have existing training phrases - // that you've created in template mode, those will continue to work. - Type string `json:"type,omitempty"` + // Uri: Required. The URI of the app or site to open when the user taps + // the suggestion chip. + Uri string `json:"uri,omitempty"` - // ForceSendFields is a list of field names (e.g. "Name") to + // ForceSendFields is a list of field names (e.g. "DestinationName") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -9004,43 +8843,35 @@ type GoogleCloudDialogflowV2beta1IntentTrainingPhrase struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Name") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "DestinationName") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentTrainingPhrase) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentTrainingPhrase +func (s *GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart: Represents a -// part of a training phrase. -type GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart struct { - // Alias: Optional. The parameter name for the value extracted from the - // annotated part of the example. This field is required for annotated - // parts of the training phrase. - Alias string `json:"alias,omitempty"` - - // EntityType: Optional. The entity type name prefixed with `@`. This - // field is required for annotated parts of the training phrase. - EntityType string `json:"entityType,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageListSelect: The card for +// presenting a list of options to select from. +type GoogleCloudDialogflowV2beta1IntentMessageListSelect struct { + // Items: Required. List items. + Items []*GoogleCloudDialogflowV2beta1IntentMessageListSelectItem `json:"items,omitempty"` - // Text: Required. The text for this part. - Text string `json:"text,omitempty"` + // Subtitle: Optional. Subtitle of the list. + Subtitle string `json:"subtitle,omitempty"` - // UserDefined: Optional. Indicates whether the text was manually - // annotated. This field is set to true when the Dialogflow Console is - // used to manually annotate the part. When creating an annotated part - // with the API, you must set this to true. - UserDefined bool `json:"userDefined,omitempty"` + // Title: Optional. The overall title of the list. + Title string `json:"title,omitempty"` - // ForceSendFields is a list of field names (e.g. "Alias") to + // ForceSendFields is a list of field names (e.g. "Items") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -9048,7 +8879,7 @@ type GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Alias") to include in API + // NullFields is a list of field names (e.g. "Items") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -9057,19 +8888,28 @@ type GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart +func (s *GoogleCloudDialogflowV2beta1IntentMessageListSelect) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageListSelect raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1KnowledgeAnswers: Represents the result -// of querying a Knowledge base. -type GoogleCloudDialogflowV2beta1KnowledgeAnswers struct { - // Answers: A list of answers from Knowledge Connector. - Answers []*GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer `json:"answers,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageListSelectItem: An item in +// the list. +type GoogleCloudDialogflowV2beta1IntentMessageListSelectItem struct { + // Description: Optional. The main text describing the item. + Description string `json:"description,omitempty"` - // ForceSendFields is a list of field names (e.g. "Answers") to + // Image: Optional. The image to display. + Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` + + // Info: Required. Additional information about this option. + Info *GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo `json:"info,omitempty"` + + // Title: Required. The title of the list item. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -9077,60 +8917,35 @@ type GoogleCloudDialogflowV2beta1KnowledgeAnswers struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Answers") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "Description") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1KnowledgeAnswers) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1KnowledgeAnswers +func (s *GoogleCloudDialogflowV2beta1IntentMessageListSelectItem) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageListSelectItem raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer: An answer from -// Knowledge Connector. -type GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer struct { - // Answer: The piece of text from the `source` knowledge base document - // that answers this conversational query. - Answer string `json:"answer,omitempty"` - - // FaqQuestion: The corresponding FAQ question if the answer was - // extracted from a FAQ Document, empty otherwise. - FaqQuestion string `json:"faqQuestion,omitempty"` - - // MatchConfidence: The system's confidence score that this Knowledge - // answer is a good match for this conversational query. The range is - // from 0.0 (completely uncertain) to 1.0 (completely certain). Note: - // The confidence score is likely to vary somewhat (possibly even for - // identical requests), as the underlying model is under constant - // improvement. It may be deprecated in the future. We recommend using - // `match_confidence_level` which should be generally more stable. - MatchConfidence float64 `json:"matchConfidence,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageMediaContent: The media +// content card for Actions on Google. +type GoogleCloudDialogflowV2beta1IntentMessageMediaContent struct { + // MediaObjects: Required. List of media objects. + MediaObjects []*GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject `json:"mediaObjects,omitempty"` - // MatchConfidenceLevel: The system's confidence level that this - // knowledge answer is a good match for this conversational query. NOTE: - // The confidence level for a given `` pair may change without notice, - // as it depends on models that are constantly being improved. However, - // it will change less frequently than the confidence score below, and - // should be preferred for referencing the quality of an answer. + // MediaType: Optional. What type of media is the content (ie "audio"). // // Possible values: - // "MATCH_CONFIDENCE_LEVEL_UNSPECIFIED" - Not specified. - // "LOW" - Indicates that the confidence is low. - // "MEDIUM" - Indicates our confidence is medium. - // "HIGH" - Indicates our confidence is high. - MatchConfidenceLevel string `json:"matchConfidenceLevel,omitempty"` - - // Source: Indicates which Knowledge Document this answer was extracted - // from. Format: `projects//knowledgeBases//documents/`. - Source string `json:"source,omitempty"` + // "RESPONSE_MEDIA_TYPE_UNSPECIFIED" - Unspecified. + // "AUDIO" - Response media type is audio. + MediaType string `json:"mediaType,omitempty"` - // ForceSendFields is a list of field names (e.g. "Answer") to + // ForceSendFields is a list of field names (e.g. "MediaObjects") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -9138,48 +8953,40 @@ type GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Answer") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "MediaObjects") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer +func (s *GoogleCloudDialogflowV2beta1IntentMessageMediaContent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageMediaContent raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -func (s *GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer) UnmarshalJSON(data []byte) error { - type NoMethod GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer - var s1 struct { - MatchConfidence gensupport.JSONFloat64 `json:"matchConfidence"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.MatchConfidence = float64(s1.MatchConfidence) - return nil -} +// GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObje +// ct: Response media object for media content card. +type GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject struct { + // ContentUrl: Required. Url where the media is stored. + ContentUrl string `json:"contentUrl,omitempty"` -// GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata: Metadata in -// google::longrunning::Operation for Knowledge operations. -type GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata struct { - // State: Required. Output only. The current state of this operation. - // - // Possible values: - // "STATE_UNSPECIFIED" - State unspecified. - // "PENDING" - The operation has been created. - // "RUNNING" - The operation is currently running. - // "DONE" - The operation is done, either cancelled or completed. - State string `json:"state,omitempty"` + // Description: Optional. Description of media card. + Description string `json:"description,omitempty"` - // ForceSendFields is a list of field names (e.g. "State") to + // Icon: Optional. Icon to display above media content. + Icon *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"icon,omitempty"` + + // LargeImage: Optional. Image to display above media content. + LargeImage *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"largeImage,omitempty"` + + // Name: Required. Name of media card. + Name string `json:"name,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ContentUrl") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -9187,8 +8994,8 @@ type GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "State") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "ContentUrl") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -9196,37 +9003,22 @@ type GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata +func (s *GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest: Represents -// the contents of the original request that was passed to the -// `[Streaming]DetectIntent` call. -type GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest struct { - // Payload: Optional. This field is set to the value of the - // `QueryParameters.payload` field passed in the request. Some - // integrations that query a Dialogflow agent may provide additional - // information in the payload. In particular, for the Dialogflow Phone - // Gateway integration, this field has the form: { "telephony": { - // "caller_id": "+18558363987" } } Note: The caller ID field - // (`caller_id`) will be redacted for Trial Edition agents and populated - // with the caller ID in [E.164 - // format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition - // agents. - Payload googleapi.RawMessage `json:"payload,omitempty"` - - // Source: The source of this request, e.g., `google`, `facebook`, - // `slack`. It is set by Dialogflow-owned servers. - Source string `json:"source,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageQuickReplies: The quick +// replies response message. +type GoogleCloudDialogflowV2beta1IntentMessageQuickReplies struct { + // QuickReplies: Optional. The collection of quick replies. + QuickReplies []string `json:"quickReplies,omitempty"` - // Version: Optional. The version of the protocol used for this request. - // This field is AoG-specific. - Version string `json:"version,omitempty"` + // Title: Optional. The title of the collection of quick replies. + Title string `json:"title,omitempty"` - // ForceSendFields is a list of field names (e.g. "Payload") to + // ForceSendFields is a list of field names (e.g. "QuickReplies") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -9234,124 +9026,97 @@ type GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Payload") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "QuickReplies") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest +func (s *GoogleCloudDialogflowV2beta1IntentMessageQuickReplies) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageQuickReplies raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1QueryResult: Represents the result of -// conversational query or event processing. -type GoogleCloudDialogflowV2beta1QueryResult struct { - // Action: The action name from the matched intent. - Action string `json:"action,omitempty"` - - // AllRequiredParamsPresent: This field is set to: - `false` if the - // matched intent has required parameters and not all of the required - // parameter values have been collected. - `true` if all required - // parameter values have been collected, or if the matched intent - // doesn't contain any required parameters. - AllRequiredParamsPresent bool `json:"allRequiredParamsPresent,omitempty"` - - // DiagnosticInfo: Free-form diagnostic information for the associated - // detect intent request. The fields of this data can change without - // notice, so you should not write code that depends on its structure. - // The data may contain: - webhook call latency - webhook errors - DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` - - // FulfillmentMessages: The collection of rich messages to present to - // the user. - FulfillmentMessages []*GoogleCloudDialogflowV2beta1IntentMessage `json:"fulfillmentMessages,omitempty"` - - // FulfillmentText: The text to be pronounced to the user or shown on - // the screen. Note: This is a legacy field, `fulfillment_messages` - // should be preferred. - FulfillmentText string `json:"fulfillmentText,omitempty"` - - // Intent: The intent that matched the conversational query. Some, not - // all fields are filled in this message, including but not limited to: - // `name`, `display_name`, `end_interaction` and `is_fallback`. - Intent *GoogleCloudDialogflowV2beta1Intent `json:"intent,omitempty"` - - // IntentDetectionConfidence: The intent detection confidence. Values - // range from 0.0 (completely uncertain) to 1.0 (completely certain). - // This value is for informational purpose only and is only used to help - // match the best intent within the classification threshold. This value - // may change for the same end-user expression at any time due to a - // model retraining or change in implementation. If there are `multiple - // knowledge_answers` messages, this value is set to the greatest - // `knowledgeAnswers.match_confidence` value in the list. - IntentDetectionConfidence float64 `json:"intentDetectionConfidence,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent: Rich +// Business Messaging (RBM) Card content +type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent struct { + // Description: Optional. Description of the card (at most 2000 bytes). + // At least one of the title, description or media must be set. + Description string `json:"description,omitempty"` - // KnowledgeAnswers: The result from Knowledge Connector (if any), - // ordered by decreasing `KnowledgeAnswers.match_confidence`. - KnowledgeAnswers *GoogleCloudDialogflowV2beta1KnowledgeAnswers `json:"knowledgeAnswers,omitempty"` + // Media: Optional. However at least one of the title, description or + // media must be set. Media (image, GIF or a video) to include in the + // card. + Media *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia `json:"media,omitempty"` - // LanguageCode: The language that was triggered during intent - // detection. See [Language - // Support](https://cloud.google.com/dialogflow/docs/reference/language) - // for a list of the currently supported language codes. - LanguageCode string `json:"languageCode,omitempty"` + // Suggestions: Optional. List of suggestions to include in the card. + Suggestions []*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion `json:"suggestions,omitempty"` - // OutputContexts: The collection of output contexts. If applicable, - // `output_contexts.parameters` contains entries with name `.original` - // containing the original parameter values before the query. - OutputContexts []*GoogleCloudDialogflowV2beta1Context `json:"outputContexts,omitempty"` + // Title: Optional. Title of the card (at most 200 bytes). At least one + // of the title, description or media must be set. + Title string `json:"title,omitempty"` - // Parameters: The collection of extracted parameters. Depending on your - // protocol or client library language, this is a map, associative - // array, symbol table, dictionary, or JSON object composed of a - // collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: string or number, depending - // on parameter value type - MapValue value: - If parameter's entity - // type is a composite entity: map from composite entity property names - // to property values - Else: parameter value - Parameters googleapi.RawMessage `json:"parameters,omitempty"` + // ForceSendFields is a list of field names (e.g. "Description") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` - // QueryText: The original conversational query text: - If natural - // language text was provided as input, `query_text` contains a copy of - // the input. - If natural language speech audio was provided as input, - // `query_text` contains the speech recognition result. If speech - // recognizer produced multiple alternatives, a particular one is - // picked. - If automatic spell correction is enabled, `query_text` will - // contain the corrected user input. - QueryText string `json:"queryText,omitempty"` + // NullFields is a list of field names (e.g. "Description") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} - // SentimentAnalysisResult: The sentiment analysis result, which depends - // on the `sentiment_analysis_request_config` specified in the request. - SentimentAnalysisResult *GoogleCloudDialogflowV2beta1SentimentAnalysisResult `json:"sentimentAnalysisResult,omitempty"` +func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // SpeechRecognitionConfidence: The Speech recognition confidence - // between 0.0 and 1.0. A higher number indicates an estimated greater - // likelihood that the recognized words are correct. The default of 0.0 - // is a sentinel value indicating that confidence was not set. This - // field is not guaranteed to be accurate or set. In particular this - // field isn't set for StreamingDetectIntent since the streaming - // endpoint has separate confidence estimates per portion of the audio - // in StreamingRecognitionResult. - SpeechRecognitionConfidence float64 `json:"speechRecognitionConfidence,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia: Rich +// Business Messaging (RBM) Media displayed in Cards The following +// media-types are currently supported: Image Types * image/jpeg * +// image/jpg' * image/gif * image/png Video Types * video/h263 * +// video/m4v * video/mp4 * video/mpeg * video/mpeg4 * video/webm +type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia struct { + // FileUri: Required. Publicly reachable URI of the file. The RBM + // platform determines the MIME type of the file from the content-type + // field in the HTTP headers when the platform fetches the file. The + // content-type field must be present and accurate in the HTTP response + // from the URL. + FileUri string `json:"fileUri,omitempty"` - // WebhookPayload: If the query was fulfilled by a webhook call, this - // field is set to the value of the `payload` field returned in the - // webhook response. - WebhookPayload googleapi.RawMessage `json:"webhookPayload,omitempty"` + // Height: Required for cards with vertical orientation. The height of + // the media within a rich card with a vertical layout. For a standalone + // card with horizontal layout, height is not customizable, and this + // field is ignored. + // + // Possible values: + // "HEIGHT_UNSPECIFIED" - Not specified. + // "SHORT" - 112 DP. + // "MEDIUM" - 168 DP. + // "TALL" - 264 DP. Not available for rich card carousels when the + // card width is set to small. + Height string `json:"height,omitempty"` - // WebhookSource: If the query was fulfilled by a webhook call, this - // field is set to the value of the `source` field returned in the - // webhook response. - WebhookSource string `json:"webhookSource,omitempty"` + // ThumbnailUri: Optional. Publicly reachable URI of the thumbnail.If + // you don't provide a thumbnail URI, the RBM platform displays a blank + // placeholder thumbnail until the user's device downloads the file. + // Depending on the user's setting, the file may not download + // automatically and may require the user to tap a download button. + ThumbnailUri string `json:"thumbnailUri,omitempty"` - // ForceSendFields is a list of field names (e.g. "Action") to + // ForceSendFields is a list of field names (e.g. "FileUri") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -9359,8 +9124,8 @@ type GoogleCloudDialogflowV2beta1QueryResult struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Action") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "FileUri") to include in + // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -9368,42 +9133,31 @@ type GoogleCloudDialogflowV2beta1QueryResult struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1QueryResult) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1QueryResult +func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -func (s *GoogleCloudDialogflowV2beta1QueryResult) UnmarshalJSON(data []byte) error { - type NoMethod GoogleCloudDialogflowV2beta1QueryResult - var s1 struct { - IntentDetectionConfidence gensupport.JSONFloat64 `json:"intentDetectionConfidence"` - SpeechRecognitionConfidence gensupport.JSONFloat64 `json:"speechRecognitionConfidence"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.IntentDetectionConfidence = float64(s1.IntentDetectionConfidence) - s.SpeechRecognitionConfidence = float64(s1.SpeechRecognitionConfidence) - return nil -} - -// GoogleCloudDialogflowV2beta1Sentiment: The sentiment, such as -// positive/negative feeling or association, for a unit of analysis, -// such as the query text. -type GoogleCloudDialogflowV2beta1Sentiment struct { - // Magnitude: A non-negative number in the [0, +inf) range, which - // represents the absolute magnitude of sentiment, regardless of score - // (positive or negative). - Magnitude float64 `json:"magnitude,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard: Carousel +// Rich Business Messaging (RBM) rich card. Rich cards allow you to +// respond to users with more vivid content, e.g. with media and +// suggestions. If you want to show a single card with more control over +// the layout, please use RbmStandaloneCard instead. +type GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard struct { + // CardContents: Required. The cards in the carousel. A carousel must + // have at least 2 cards and at most 10. + CardContents []*GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent `json:"cardContents,omitempty"` - // Score: Sentiment score between -1.0 (negative sentiment) and 1.0 - // (positive sentiment). - Score float64 `json:"score,omitempty"` + // CardWidth: Required. The width of the cards in the carousel. + // + // Possible values: + // "CARD_WIDTH_UNSPECIFIED" - Not specified. + // "SMALL" - 120 DP. Note that tall media cannot be used. + // "MEDIUM" - 232 DP. + CardWidth string `json:"cardWidth,omitempty"` - // ForceSendFields is a list of field names (e.g. "Magnitude") to + // ForceSendFields is a list of field names (e.g. "CardContents") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -9411,122 +9165,93 @@ type GoogleCloudDialogflowV2beta1Sentiment struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Magnitude") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as + // NullFields is a list of field names (e.g. "CardContents") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1Sentiment) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1Sentiment +func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -func (s *GoogleCloudDialogflowV2beta1Sentiment) UnmarshalJSON(data []byte) error { - type NoMethod GoogleCloudDialogflowV2beta1Sentiment - var s1 struct { - Magnitude gensupport.JSONFloat64 `json:"magnitude"` - Score gensupport.JSONFloat64 `json:"score"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.Magnitude = float64(s1.Magnitude) - s.Score = float64(s1.Score) - return nil -} +// GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard: +// Standalone Rich Business Messaging (RBM) rich card. Rich cards allow +// you to respond to users with more vivid content, e.g. with media and +// suggestions. You can group multiple rich cards into one using +// RbmCarouselCard but carousel cards will give you less control over +// the card layout. +type GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard struct { + // CardContent: Required. Card content. + CardContent *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent `json:"cardContent,omitempty"` -// GoogleCloudDialogflowV2beta1SentimentAnalysisResult: The result of -// sentiment analysis. Sentiment analysis inspects user input and -// identifies the prevailing subjective opinion, especially to determine -// a user's attitude as positive, negative, or neutral. For -// Participants.DetectIntent, it needs to be configured in -// DetectIntentRequest.query_params. For -// Participants.StreamingDetectIntent, it needs to be configured in -// StreamingDetectIntentRequest.query_params. And for -// Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, -// it needs to be configured in -// ConversationProfile.human_agent_assistant_config -type GoogleCloudDialogflowV2beta1SentimentAnalysisResult struct { - // QueryTextSentiment: The sentiment analysis result for `query_text`. - QueryTextSentiment *GoogleCloudDialogflowV2beta1Sentiment `json:"queryTextSentiment,omitempty"` + // CardOrientation: Required. Orientation of the card. + // + // Possible values: + // "CARD_ORIENTATION_UNSPECIFIED" - Not specified. + // "HORIZONTAL" - Horizontal layout. + // "VERTICAL" - Vertical layout. + CardOrientation string `json:"cardOrientation,omitempty"` - // ForceSendFields is a list of field names (e.g. "QueryTextSentiment") - // to unconditionally include in API requests. By default, fields with + // ThumbnailImageAlignment: Required if orientation is horizontal. Image + // preview alignment for standalone cards with horizontal layout. + // + // Possible values: + // "THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED" - Not specified. + // "LEFT" - Thumbnail preview is left-aligned. + // "RIGHT" - Thumbnail preview is right-aligned. + ThumbnailImageAlignment string `json:"thumbnailImageAlignment,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CardContent") to + // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "QueryTextSentiment") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "CardContent") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1SentimentAnalysisResult) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1SentimentAnalysisResult +func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1SessionEntityType: A session represents a -// conversation between a Dialogflow agent and an end-user. You can -// create special entities, called session entities, during a session. -// Session entities can extend or replace custom entity types and only -// exist during the session that they were created for. All session -// data, including session entities, is stored by Dialogflow for 20 -// minutes. For more information, see the [session entity -// guide](https://cloud.google.com/dialogflow/docs/entities-session). -type GoogleCloudDialogflowV2beta1SessionEntityType struct { - // Entities: Required. The collection of entities associated with this - // session entity type. - Entities []*GoogleCloudDialogflowV2beta1EntityTypeEntity `json:"entities,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction: Rich +// Business Messaging (RBM) suggested client-side action that the user +// can choose from the card. +type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction struct { + // Dial: Suggested client side action: Dial a phone number + Dial *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial `json:"dial,omitempty"` - // EntityOverrideMode: Required. Indicates whether the additional data - // should override or supplement the custom entity type definition. - // - // Possible values: - // "ENTITY_OVERRIDE_MODE_UNSPECIFIED" - Not specified. This value - // should be never used. - // "ENTITY_OVERRIDE_MODE_OVERRIDE" - The collection of session - // entities overrides the collection of entities in the corresponding - // custom entity type. - // "ENTITY_OVERRIDE_MODE_SUPPLEMENT" - The collection of session - // entities extends the collection of entities in the corresponding - // custom entity type. Note: Even in this override mode calls to - // `ListSessionEntityTypes`, `GetSessionEntityType`, - // `CreateSessionEntityType` and `UpdateSessionEntityType` only return - // the additional entities added in this session entity type. If you - // want to get the supplemented list, please call - // EntityTypes.GetEntityType on the custom entity type and merge. - EntityOverrideMode string `json:"entityOverrideMode,omitempty"` + // OpenUrl: Suggested client side action: Open a URI on device + OpenUrl *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri `json:"openUrl,omitempty"` - // Name: Required. The unique identifier of this session entity type. - // Supported formats: - `projects//agent/sessions//entityTypes/` - - // `projects//locations//agent/sessions//entityTypes/` - - // `projects//agent/environments//users//sessions//entityTypes/` - - // `projects//locations//agent/environments/ - // /users//sessions//entityTypes/` If `Location ID` is not specified we - // assume default 'us' location. If `Environment ID` is not specified, - // we assume default 'draft' environment. If `User ID` is not specified, - // we assume default '-' user. `` must be the display name of an - // existing entity type in the same agent that will be overridden or - // supplemented. - Name string `json:"name,omitempty"` + // PostbackData: Opaque payload that the Dialogflow receives in a user + // event when the user taps the suggested action. This data will be also + // forwarded to webhook to allow performing custom business logic. + PostbackData string `json:"postbackData,omitempty"` - // ForceSendFields is a list of field names (e.g. "Entities") to + // ShareLocation: Suggested client side action: Share user location + ShareLocation *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation `json:"shareLocation,omitempty"` + + // Text: Text to display alongside the action. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Dial") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -9534,8 +9259,8 @@ type GoogleCloudDialogflowV2beta1SessionEntityType struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Entities") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Dial") to include in API + // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. @@ -9543,133 +9268,130 @@ type GoogleCloudDialogflowV2beta1SessionEntityType struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1SessionEntityType) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1SessionEntityType +func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1WebhookRequest: The request message for a -// webhook call. -type GoogleCloudDialogflowV2beta1WebhookRequest struct { - // AlternativeQueryResults: Alternative query results from - // KnowledgeService. - AlternativeQueryResults []*GoogleCloudDialogflowV2beta1QueryResult `json:"alternativeQueryResults,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggeste +// dActionDial: Opens the user's default dialer app with the specified +// phone number but does not dial automatically. +type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial struct { + // PhoneNumber: Required. The phone number to fill in the default dialer + // app. This field should be in + // [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a + // correctly formatted phone number: +15556767888. + PhoneNumber string `json:"phoneNumber,omitempty"` - // OriginalDetectIntentRequest: Optional. The contents of the original - // request that was passed to `[Streaming]DetectIntent` call. - OriginalDetectIntentRequest *GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest `json:"originalDetectIntentRequest,omitempty"` + // ForceSendFields is a list of field names (e.g. "PhoneNumber") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` - // QueryResult: The result of the conversational query or event - // processing. Contains the same value as - // `[Streaming]DetectIntentResponse.query_result`. - QueryResult *GoogleCloudDialogflowV2beta1QueryResult `json:"queryResult,omitempty"` + // NullFields is a list of field names (e.g. "PhoneNumber") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} - // ResponseId: The unique identifier of the response. Contains the same - // value as `[Streaming]DetectIntentResponse.response_id`. - ResponseId string `json:"responseId,omitempty"` +func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // Session: The unique identifier of detectIntent request session. Can - // be used to identify end-user inside webhook implementation. Supported - // formats: - `projects//agent/sessions/, - - // `projects//locations//agent/sessions/`, - - // `projects//agent/environments//users//sessions/`, - - // `projects//locations//agent/environments//users//sessions/`, - Session string `json:"session,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggeste +// dActionOpenUri: Opens the user's default web browser app to the +// specified uri If the user has an app installed that is registered as +// the default handler for the URL, then this app will be opened +// instead, and its icon will be used in the suggested action UI. +type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri struct { + // Uri: Required. The uri to open on the user device + Uri string `json:"uri,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "AlternativeQueryResults") to unconditionally include in API - // requests. By default, fields with empty values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. + // ForceSendFields is a list of field names (e.g. "Uri") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AlternativeQueryResults") - // to include in API requests with the JSON null value. By default, - // fields with empty values are omitted from API requests. However, any - // field with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "Uri") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1WebhookRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1WebhookRequest +func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1WebhookResponse: The response message for -// a webhook call. This response is validated by the Dialogflow server. -// If validation fails, an error will be returned in the -// QueryResult.diagnostic_info field. Setting JSON fields to an empty -// value with the wrong type is a common error. To avoid this error: - -// Use "" for empty strings - Use `{}` or `null` for empty objects - -// Use `[]` or `null` for empty arrays For more information, see the -// [Protocol Buffers Language -// Guide](https://developers.google.com/protocol-buffers/docs/proto3#json -// ). -type GoogleCloudDialogflowV2beta1WebhookResponse struct { - // EndInteraction: Optional. Indicates that this intent ends an - // interaction. Some integrations (e.g., Actions on Google or Dialogflow - // phone gateway) use this information to close interaction with an end - // user. Default is false. - EndInteraction bool `json:"endInteraction,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggeste +// dActionShareLocation: Opens the device's location chooser so the user +// can pick a location to send back to the agent. +type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation struct { +} - // FollowupEventInput: Optional. Invokes the supplied events. When this - // field is set, Dialogflow ignores the `fulfillment_text`, - // `fulfillment_messages`, and `payload` fields. - FollowupEventInput *GoogleCloudDialogflowV2beta1EventInput `json:"followupEventInput,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply: Rich +// Business Messaging (RBM) suggested reply that the user can click +// instead of typing in their own response. +type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply struct { + // PostbackData: Opaque payload that the Dialogflow receives in a user + // event when the user taps the suggested reply. This data will be also + // forwarded to webhook to allow performing custom business logic. + PostbackData string `json:"postbackData,omitempty"` - // FulfillmentMessages: Optional. The rich response messages intended - // for the end-user. When provided, Dialogflow uses this field to - // populate QueryResult.fulfillment_messages sent to the integration or - // API caller. - FulfillmentMessages []*GoogleCloudDialogflowV2beta1IntentMessage `json:"fulfillmentMessages,omitempty"` + // Text: Suggested reply text. + Text string `json:"text,omitempty"` - // FulfillmentText: Optional. The text response message intended for the - // end-user. It is recommended to use - // `fulfillment_messages.text.text[0]` instead. When provided, - // Dialogflow uses this field to populate QueryResult.fulfillment_text - // sent to the integration or API caller. - FulfillmentText string `json:"fulfillmentText,omitempty"` + // ForceSendFields is a list of field names (e.g. "PostbackData") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` - // OutputContexts: Optional. The collection of output contexts that will - // overwrite currently active contexts for the session and reset their - // lifespans. When provided, Dialogflow uses this field to populate - // QueryResult.output_contexts sent to the integration or API caller. - OutputContexts []*GoogleCloudDialogflowV2beta1Context `json:"outputContexts,omitempty"` + // NullFields is a list of field names (e.g. "PostbackData") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} - // Payload: Optional. This field can be used to pass custom data from - // your webhook to the integration or API caller. Arbitrary JSON objects - // are supported. When provided, Dialogflow uses this field to populate - // QueryResult.webhook_payload sent to the integration or API caller. - // This field is also used by the [Google Assistant - // integration](https://cloud.google.com/dialogflow/docs/integrations/aog - // ) for rich response messages. See the format definition at [Google - // Assistant Dialogflow webhook - // format](https://developers.google.com/assistant/actions/build/json/dia - // logflow-webhook-json) - Payload googleapi.RawMessage `json:"payload,omitempty"` +func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // SessionEntityTypes: Optional. Additional session entity types to - // replace or extend developer entity types with. The entity synonyms - // apply to all languages and persist for the session. Setting this data - // from a webhook overwrites the session entity types that have been set - // using `detectIntent`, `streamingDetectIntent` or SessionEntityType - // management methods. - SessionEntityTypes []*GoogleCloudDialogflowV2beta1SessionEntityType `json:"sessionEntityTypes,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion: Rich Business +// Messaging (RBM) suggestion. Suggestions allow user to easily +// select/click a predefined response or perform an action (like opening +// a web uri). +type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion struct { + // Action: Predefined client side actions that user can choose + Action *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction `json:"action,omitempty"` - // Source: Optional. A custom field used to identify the webhook source. - // Arbitrary strings are supported. When provided, Dialogflow uses this - // field to populate QueryResult.webhook_source sent to the integration - // or API caller. - Source string `json:"source,omitempty"` + // Reply: Predefined replies for user to select instead of typing + Reply *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply `json:"reply,omitempty"` - // ForceSendFields is a list of field names (e.g. "EndInteraction") to + // ForceSendFields is a list of field names (e.g. "Action") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -9677,37 +9399,31 @@ type GoogleCloudDialogflowV2beta1WebhookResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "EndInteraction") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "Action") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1WebhookResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1WebhookResponse +func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleLongrunningListOperationsResponse: The response message for -// Operations.ListOperations. -type GoogleLongrunningListOperationsResponse struct { - // NextPageToken: The standard List next-page token. - NextPageToken string `json:"nextPageToken,omitempty"` - - // Operations: A list of operations that matches the specified filter in - // the request. - Operations []*GoogleLongrunningOperation `json:"operations,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageRbmText: Rich Business +// Messaging (RBM) text response with suggestions. +type GoogleCloudDialogflowV2beta1IntentMessageRbmText struct { + // RbmSuggestion: Optional. One or more suggestions to show to the user. + RbmSuggestion []*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion `json:"rbmSuggestion,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // Text: Required. Text sent and displayed to the user. + Text string `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. "NextPageToken") to + // ForceSendFields is a list of field names (e.g. "RbmSuggestion") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -9715,7 +9431,7 @@ type GoogleLongrunningListOperationsResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "NextPageToken") to include + // NullFields is a list of field names (e.g. "RbmSuggestion") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as @@ -9724,52 +9440,24 @@ type GoogleLongrunningListOperationsResponse struct { NullFields []string `json:"-"` } -func (s *GoogleLongrunningListOperationsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleLongrunningListOperationsResponse +func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmText raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleLongrunningOperation: This resource represents a long-running -// operation that is the result of a network API call. -type GoogleLongrunningOperation struct { - // Done: If the value is `false`, it means the operation is still in - // progress. If `true`, the operation is completed, and either `error` - // or `response` is available. - Done bool `json:"done,omitempty"` - - // Error: The error result of the operation in case of failure or - // cancellation. - Error *GoogleRpcStatus `json:"error,omitempty"` - - // Metadata: Service-specific metadata associated with the operation. It - // typically contains progress information and common metadata such as - // create time. Some services might not provide such metadata. Any - // method that returns a long-running operation should document the - // metadata type, if any. - Metadata googleapi.RawMessage `json:"metadata,omitempty"` - - // Name: The server-assigned name, which is only unique within the same - // service that originally returns it. If you use the default HTTP - // mapping, the `name` should be a resource name ending with - // `operations/{unique_id}`. - Name string `json:"name,omitempty"` - - // Response: The normal response of the operation in case of success. If - // the original method returns no data on success, such as `Delete`, the - // response is `google.protobuf.Empty`. If the original method is - // standard `Get`/`Create`/`Update`, the response should be the - // resource. For other methods, the response should have the type - // `XxxResponse`, where `Xxx` is the original method name. For example, - // if the original method name is `TakeSnapshot()`, the inferred - // response type is `TakeSnapshotResponse`. - Response googleapi.RawMessage `json:"response,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo: Additional +// info about the select item for when it is triggered in a dialog. +type GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo struct { + // Key: Required. A unique key that will be sent back to the agent if + // this response is given. + Key string `json:"key,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // Synonyms: Optional. A list of synonyms that can also be used to + // trigger this item in dialog. + Synonyms []string `json:"synonyms,omitempty"` - // ForceSendFields is a list of field names (e.g. "Done") to + // ForceSendFields is a list of field names (e.g. "Key") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -9777,7 +9465,7 @@ type GoogleLongrunningOperation struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Done") to include in API + // NullFields is a list of field names (e.g. "Key") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -9786,46 +9474,28 @@ type GoogleLongrunningOperation struct { NullFields []string `json:"-"` } -func (s *GoogleLongrunningOperation) MarshalJSON() ([]byte, error) { - type NoMethod GoogleLongrunningOperation +func (s *GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleProtobufEmpty: A generic empty message that you can re-use to -// avoid defining duplicated empty messages in your APIs. A typical -// example is to use it as the request or the response type of an API -// method. For instance: service Foo { rpc Bar(google.protobuf.Empty) -// returns (google.protobuf.Empty); } The JSON representation for -// `Empty` is empty JSON object `{}`. -type GoogleProtobufEmpty struct { - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` -} - -// GoogleRpcStatus: 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). -type GoogleRpcStatus struct { - // Code: The status code, which should be an enum value of - // google.rpc.Code. - Code int64 `json:"code,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse: The simple +// response message containing speech or text. +type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse struct { + // DisplayText: Optional. The text to display. + DisplayText string `json:"displayText,omitempty"` - // Details: A list of messages that carry the error details. There is a - // common set of message types for APIs to use. - Details []googleapi.RawMessage `json:"details,omitempty"` + // Ssml: One of text_to_speech or ssml must be provided. Structured + // spoken response to the user in the SSML format. Mutually exclusive + // with text_to_speech. + Ssml string `json:"ssml,omitempty"` - // Message: A developer-facing error message, which should be in - // English. Any user-facing error message should be localized and sent - // in the google.rpc.Status.details field, or localized by the client. - Message string `json:"message,omitempty"` + // TextToSpeech: One of text_to_speech or ssml must be provided. The + // plain text of the speech output. Mutually exclusive with ssml. + TextToSpeech string `json:"textToSpeech,omitempty"` - // ForceSendFields is a list of field names (e.g. "Code") to + // ForceSendFields is a list of field names (e.g. "DisplayText") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -9833,7 +9503,70 @@ type GoogleRpcStatus struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Code") to include in API + // NullFields is a list of field names (e.g. "DisplayText") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses: The +// collection of simple response candidates. This message in +// `QueryResult.fulfillment_messages` and +// `WebhookResponse.fulfillment_messages` should contain only one +// `SimpleResponse`. +type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses struct { + // SimpleResponses: Required. The list of simple responses. + SimpleResponses []*GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse `json:"simpleResponses,omitempty"` + + // ForceSendFields is a list of field names (e.g. "SimpleResponses") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "SimpleResponses") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageSuggestion: The suggestion +// chip message that the user can tap to quickly post a reply to the +// conversation. +type GoogleCloudDialogflowV2beta1IntentMessageSuggestion struct { + // Title: Required. The text shown the in the suggestion chip. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Title") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Title") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -9842,27 +9575,64 @@ type GoogleRpcStatus struct { NullFields []string `json:"-"` } -func (s *GoogleRpcStatus) MarshalJSON() ([]byte, error) { - type NoMethod GoogleRpcStatus +func (s *GoogleCloudDialogflowV2beta1IntentMessageSuggestion) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSuggestion raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleTypeLatLng: An object that represents a latitude/longitude -// pair. This is expressed as a pair of doubles to represent degrees -// latitude and degrees longitude. Unless specified otherwise, this must -// conform to the WGS84 standard. Values must be within normalized -// ranges. -type GoogleTypeLatLng struct { - // Latitude: The latitude in degrees. It must be in the range [-90.0, - // +90.0]. - Latitude float64 `json:"latitude,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageSuggestions: The collection +// of suggestions. +type GoogleCloudDialogflowV2beta1IntentMessageSuggestions struct { + // Suggestions: Required. The list of suggested replies. + Suggestions []*GoogleCloudDialogflowV2beta1IntentMessageSuggestion `json:"suggestions,omitempty"` - // Longitude: The longitude in degrees. It must be in the range [-180.0, - // +180.0]. - Longitude float64 `json:"longitude,omitempty"` + // ForceSendFields is a list of field names (e.g. "Suggestions") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` - // ForceSendFields is a list of field names (e.g. "Latitude") to + // NullFields is a list of field names (e.g. "Suggestions") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageSuggestions) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSuggestions + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageTableCard: Table card for +// Actions on Google. +type GoogleCloudDialogflowV2beta1IntentMessageTableCard struct { + // Buttons: Optional. List of buttons for the card. + Buttons []*GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton `json:"buttons,omitempty"` + + // ColumnProperties: Optional. Display properties for the columns in + // this table. + ColumnProperties []*GoogleCloudDialogflowV2beta1IntentMessageColumnProperties `json:"columnProperties,omitempty"` + + // Image: Optional. Image which should be displayed on the card. + Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` + + // Rows: Optional. Rows in this table of data. + Rows []*GoogleCloudDialogflowV2beta1IntentMessageTableCardRow `json:"rows,omitempty"` + + // Subtitle: Optional. Subtitle to the title. + Subtitle string `json:"subtitle,omitempty"` + + // Title: Required. Title of the card. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Buttons") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -9870,7 +9640,7 @@ type GoogleTypeLatLng struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Latitude") to include in + // NullFields is a list of field names (e.g. "Buttons") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -9879,51 +9649,2001 @@ type GoogleTypeLatLng struct { NullFields []string `json:"-"` } -func (s *GoogleTypeLatLng) MarshalJSON() ([]byte, error) { - type NoMethod GoogleTypeLatLng +func (s *GoogleCloudDialogflowV2beta1IntentMessageTableCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTableCard raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -func (s *GoogleTypeLatLng) UnmarshalJSON(data []byte) error { - type NoMethod GoogleTypeLatLng - var s1 struct { - Latitude gensupport.JSONFloat64 `json:"latitude"` - Longitude gensupport.JSONFloat64 `json:"longitude"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err +// GoogleCloudDialogflowV2beta1IntentMessageTableCardCell: Cell of +// TableCardRow. +type GoogleCloudDialogflowV2beta1IntentMessageTableCardCell struct { + // Text: Required. Text in this cell. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Text") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Text") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageTableCardCell) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTableCardCell + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageTableCardRow: Row of +// TableCard. +type GoogleCloudDialogflowV2beta1IntentMessageTableCardRow struct { + // Cells: Optional. List of cells that make up this row. + Cells []*GoogleCloudDialogflowV2beta1IntentMessageTableCardCell `json:"cells,omitempty"` + + // DividerAfter: Optional. Whether to add a visual divider after this + // row. + DividerAfter bool `json:"dividerAfter,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Cells") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Cells") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageTableCardRow) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTableCardRow + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio: Plays +// audio from a file in Telephony Gateway. +type GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio struct { + // AudioUri: Required. URI to a Google Cloud Storage object containing + // the audio to play, e.g., "gs://bucket/object". The object must + // contain a single channel (mono) of linear PCM audio (2 bytes / + // sample) at 8kHz. This object must be readable by the + // `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` service account + // where is the number of the Telephony Gateway project (usually the + // same as the Dialogflow agent project). If the Google Cloud Storage + // bucket is in the Telephony Gateway project, this permission is added + // by default when enabling the Dialogflow V2 API. For audio from other + // sources, consider using the `TelephonySynthesizeSpeech` message with + // SSML. + AudioUri string `json:"audioUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AudioUri") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "AudioUri") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech: +// Synthesizes speech and plays back the synthesized audio to the caller +// in Telephony Gateway. Telephony Gateway takes the synthesizer +// settings from `DetectIntentResponse.output_audio_config` which can +// either be set at request-level or can come from the agent-level +// synthesizer config. +type GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech struct { + // Ssml: The SSML to be synthesized. For more information, see + // [SSML](https://developers.google.com/actions/reference/ssml). + Ssml string `json:"ssml,omitempty"` + + // Text: The raw text to be synthesized. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Ssml") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Ssml") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall: +// Transfers the call in Telephony Gateway. +type GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall struct { + // PhoneNumber: Required. The phone number to transfer the call to in + // [E.164 format](https://en.wikipedia.org/wiki/E.164). We currently + // only allow transferring to US numbers (+1xxxyyyzzzz). + PhoneNumber string `json:"phoneNumber,omitempty"` + + // ForceSendFields is a list of field names (e.g. "PhoneNumber") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "PhoneNumber") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageText: The text response +// message. +type GoogleCloudDialogflowV2beta1IntentMessageText struct { + // Text: Optional. The collection of the agent's responses. + Text []string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Text") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Text") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentMessageText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageText + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentParameter: Represents intent +// parameters. +type GoogleCloudDialogflowV2beta1IntentParameter struct { + // DefaultValue: Optional. The default value to use when the `value` + // yields an empty result. Default values can be extracted from contexts + // by using the following syntax: `#context_name.parameter_name`. + DefaultValue string `json:"defaultValue,omitempty"` + + // DisplayName: Required. The name of the parameter. + DisplayName string `json:"displayName,omitempty"` + + // EntityTypeDisplayName: Optional. The name of the entity type, + // prefixed with `@`, that describes values of the parameter. If the + // parameter is required, this must be provided. + EntityTypeDisplayName string `json:"entityTypeDisplayName,omitempty"` + + // IsList: Optional. Indicates whether the parameter represents a list + // of values. + IsList bool `json:"isList,omitempty"` + + // Mandatory: Optional. Indicates whether the parameter is required. + // That is, whether the intent cannot be completed without collecting + // the parameter value. + Mandatory bool `json:"mandatory,omitempty"` + + // Name: The unique identifier of this parameter. + Name string `json:"name,omitempty"` + + // Prompts: Optional. The collection of prompts that the agent can + // present to the user in order to collect a value for the parameter. + Prompts []string `json:"prompts,omitempty"` + + // Value: Optional. The definition of the parameter value. It can be: - + // a constant string, - a parameter value defined as `$parameter_name`, + // - an original parameter value defined as `$parameter_name.original`, + // - a parameter value from some context defined as + // `#context_name.parameter_name`. + Value string `json:"value,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DefaultValue") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "DefaultValue") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentParameter) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentParameter + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentTrainingPhrase: Represents an +// example that the agent is trained on. +type GoogleCloudDialogflowV2beta1IntentTrainingPhrase struct { + // Name: Output only. The unique identifier of this training phrase. + Name string `json:"name,omitempty"` + + // Parts: Required. The ordered list of training phrase parts. The parts + // are concatenated in order to form the training phrase. Note: The API + // does not automatically annotate training phrases like the Dialogflow + // Console does. Note: Do not forget to include whitespace at part + // boundaries, so the training phrase is well formatted when the parts + // are concatenated. If the training phrase does not need to be + // annotated with parameters, you just need a single part with only the + // Part.text field set. If you want to annotate the training phrase, you + // must create multiple parts, where the fields of each part are + // populated in one of two ways: - `Part.text` is set to a part of the + // phrase that has no parameters. - `Part.text` is set to a part of the + // phrase that you want to annotate, and the `entity_type`, `alias`, and + // `user_defined` fields are all set. + Parts []*GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart `json:"parts,omitempty"` + + // TimesAddedCount: Optional. Indicates how many times this example was + // added to the intent. Each time a developer adds an existing sample by + // editing an intent or training, this counter is increased. + TimesAddedCount int64 `json:"timesAddedCount,omitempty"` + + // Type: Required. The type of the training phrase. + // + // Possible values: + // "TYPE_UNSPECIFIED" - Not specified. This value should never be + // used. + // "EXAMPLE" - Examples do not contain @-prefixed entity type names, + // but example parts can be annotated with entity types. + // "TEMPLATE" - Templates are not annotated with entity types, but + // they can contain @-prefixed entity type names as substrings. Template + // mode has been deprecated. Example mode is the only supported way to + // create new training phrases. If you have existing training phrases + // that you've created in template mode, those will continue to work. + Type string `json:"type,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Name") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Name") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentTrainingPhrase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentTrainingPhrase + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart: Represents a +// part of a training phrase. +type GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart struct { + // Alias: Optional. The parameter name for the value extracted from the + // annotated part of the example. This field is required for annotated + // parts of the training phrase. + Alias string `json:"alias,omitempty"` + + // EntityType: Optional. The entity type name prefixed with `@`. This + // field is required for annotated parts of the training phrase. + EntityType string `json:"entityType,omitempty"` + + // Text: Required. The text for this part. + Text string `json:"text,omitempty"` + + // UserDefined: Optional. Indicates whether the text was manually + // annotated. This field is set to true when the Dialogflow Console is + // used to manually annotate the part. When creating an annotated part + // with the API, you must set this to true. + UserDefined bool `json:"userDefined,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Alias") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Alias") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1KnowledgeAnswers: Represents the result +// of querying a Knowledge base. +type GoogleCloudDialogflowV2beta1KnowledgeAnswers struct { + // Answers: A list of answers from Knowledge Connector. + Answers []*GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer `json:"answers,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Answers") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Answers") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1KnowledgeAnswers) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1KnowledgeAnswers + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer: An answer from +// Knowledge Connector. +type GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer struct { + // Answer: The piece of text from the `source` knowledge base document + // that answers this conversational query. + Answer string `json:"answer,omitempty"` + + // FaqQuestion: The corresponding FAQ question if the answer was + // extracted from a FAQ Document, empty otherwise. + FaqQuestion string `json:"faqQuestion,omitempty"` + + // MatchConfidence: The system's confidence score that this Knowledge + // answer is a good match for this conversational query. The range is + // from 0.0 (completely uncertain) to 1.0 (completely certain). Note: + // The confidence score is likely to vary somewhat (possibly even for + // identical requests), as the underlying model is under constant + // improvement. It may be deprecated in the future. We recommend using + // `match_confidence_level` which should be generally more stable. + MatchConfidence float64 `json:"matchConfidence,omitempty"` + + // MatchConfidenceLevel: The system's confidence level that this + // knowledge answer is a good match for this conversational query. NOTE: + // The confidence level for a given `` pair may change without notice, + // as it depends on models that are constantly being improved. However, + // it will change less frequently than the confidence score below, and + // should be preferred for referencing the quality of an answer. + // + // Possible values: + // "MATCH_CONFIDENCE_LEVEL_UNSPECIFIED" - Not specified. + // "LOW" - Indicates that the confidence is low. + // "MEDIUM" - Indicates our confidence is medium. + // "HIGH" - Indicates our confidence is high. + MatchConfidenceLevel string `json:"matchConfidenceLevel,omitempty"` + + // Source: Indicates which Knowledge Document this answer was extracted + // from. Format: `projects//knowledgeBases//documents/`. + Source string `json:"source,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Answer") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Answer") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer + var s1 struct { + MatchConfidence gensupport.JSONFloat64 `json:"matchConfidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.MatchConfidence = float64(s1.MatchConfidence) + return nil +} + +// GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata: Metadata in +// google::longrunning::Operation for Knowledge operations. +type GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata struct { + // State: Required. Output only. The current state of this operation. + // + // Possible values: + // "STATE_UNSPECIFIED" - State unspecified. + // "PENDING" - The operation has been created. + // "RUNNING" - The operation is currently running. + // "DONE" - The operation is done, either cancelled or completed. + State string `json:"state,omitempty"` + + // ForceSendFields is a list of field names (e.g. "State") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "State") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest: Represents +// the contents of the original request that was passed to the +// `[Streaming]DetectIntent` call. +type GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest struct { + // Payload: Optional. This field is set to the value of the + // `QueryParameters.payload` field passed in the request. Some + // integrations that query a Dialogflow agent may provide additional + // information in the payload. In particular, for the Dialogflow Phone + // Gateway integration, this field has the form: { "telephony": { + // "caller_id": "+18558363987" } } Note: The caller ID field + // (`caller_id`) will be redacted for Trial Edition agents and populated + // with the caller ID in [E.164 + // format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition + // agents. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // Source: The source of this request, e.g., `google`, `facebook`, + // `slack`. It is set by Dialogflow-owned servers. + Source string `json:"source,omitempty"` + + // Version: Optional. The version of the protocol used for this request. + // This field is AoG-specific. + Version string `json:"version,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Payload") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Payload") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1QueryResult: Represents the result of +// conversational query or event processing. +type GoogleCloudDialogflowV2beta1QueryResult struct { + // Action: The action name from the matched intent. + Action string `json:"action,omitempty"` + + // AllRequiredParamsPresent: This field is set to: - `false` if the + // matched intent has required parameters and not all of the required + // parameter values have been collected. - `true` if all required + // parameter values have been collected, or if the matched intent + // doesn't contain any required parameters. + AllRequiredParamsPresent bool `json:"allRequiredParamsPresent,omitempty"` + + // DiagnosticInfo: Free-form diagnostic information for the associated + // detect intent request. The fields of this data can change without + // notice, so you should not write code that depends on its structure. + // The data may contain: - webhook call latency - webhook errors + DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` + + // FulfillmentMessages: The collection of rich messages to present to + // the user. + FulfillmentMessages []*GoogleCloudDialogflowV2beta1IntentMessage `json:"fulfillmentMessages,omitempty"` + + // FulfillmentText: The text to be pronounced to the user or shown on + // the screen. Note: This is a legacy field, `fulfillment_messages` + // should be preferred. + FulfillmentText string `json:"fulfillmentText,omitempty"` + + // Intent: The intent that matched the conversational query. Some, not + // all fields are filled in this message, including but not limited to: + // `name`, `display_name`, `end_interaction` and `is_fallback`. + Intent *GoogleCloudDialogflowV2beta1Intent `json:"intent,omitempty"` + + // IntentDetectionConfidence: The intent detection confidence. Values + // range from 0.0 (completely uncertain) to 1.0 (completely certain). + // This value is for informational purpose only and is only used to help + // match the best intent within the classification threshold. This value + // may change for the same end-user expression at any time due to a + // model retraining or change in implementation. If there are `multiple + // knowledge_answers` messages, this value is set to the greatest + // `knowledgeAnswers.match_confidence` value in the list. + IntentDetectionConfidence float64 `json:"intentDetectionConfidence,omitempty"` + + // KnowledgeAnswers: The result from Knowledge Connector (if any), + // ordered by decreasing `KnowledgeAnswers.match_confidence`. + KnowledgeAnswers *GoogleCloudDialogflowV2beta1KnowledgeAnswers `json:"knowledgeAnswers,omitempty"` + + // LanguageCode: The language that was triggered during intent + // detection. See [Language + // Support](https://cloud.google.com/dialogflow/docs/reference/language) + // for a list of the currently supported language codes. + LanguageCode string `json:"languageCode,omitempty"` + + // OutputContexts: The collection of output contexts. If applicable, + // `output_contexts.parameters` contains entries with name `.original` + // containing the original parameter values before the query. + OutputContexts []*GoogleCloudDialogflowV2beta1Context `json:"outputContexts,omitempty"` + + // Parameters: The collection of extracted parameters. Depending on your + // protocol or client library language, this is a map, associative + // array, symbol table, dictionary, or JSON object composed of a + // collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: string or number, depending + // on parameter value type - MapValue value: - If parameter's entity + // type is a composite entity: map from composite entity property names + // to property values - Else: parameter value + Parameters googleapi.RawMessage `json:"parameters,omitempty"` + + // QueryText: The original conversational query text: - If natural + // language text was provided as input, `query_text` contains a copy of + // the input. - If natural language speech audio was provided as input, + // `query_text` contains the speech recognition result. If speech + // recognizer produced multiple alternatives, a particular one is + // picked. - If automatic spell correction is enabled, `query_text` will + // contain the corrected user input. + QueryText string `json:"queryText,omitempty"` + + // SentimentAnalysisResult: The sentiment analysis result, which depends + // on the `sentiment_analysis_request_config` specified in the request. + SentimentAnalysisResult *GoogleCloudDialogflowV2beta1SentimentAnalysisResult `json:"sentimentAnalysisResult,omitempty"` + + // SpeechRecognitionConfidence: The Speech recognition confidence + // between 0.0 and 1.0. A higher number indicates an estimated greater + // likelihood that the recognized words are correct. The default of 0.0 + // is a sentinel value indicating that confidence was not set. This + // field is not guaranteed to be accurate or set. In particular this + // field isn't set for StreamingDetectIntent since the streaming + // endpoint has separate confidence estimates per portion of the audio + // in StreamingRecognitionResult. + SpeechRecognitionConfidence float64 `json:"speechRecognitionConfidence,omitempty"` + + // WebhookPayload: If the query was fulfilled by a webhook call, this + // field is set to the value of the `payload` field returned in the + // webhook response. + WebhookPayload googleapi.RawMessage `json:"webhookPayload,omitempty"` + + // WebhookSource: If the query was fulfilled by a webhook call, this + // field is set to the value of the `source` field returned in the + // webhook response. + WebhookSource string `json:"webhookSource,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Action") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Action") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1QueryResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1QueryResult + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *GoogleCloudDialogflowV2beta1QueryResult) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowV2beta1QueryResult + var s1 struct { + IntentDetectionConfidence gensupport.JSONFloat64 `json:"intentDetectionConfidence"` + SpeechRecognitionConfidence gensupport.JSONFloat64 `json:"speechRecognitionConfidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.IntentDetectionConfidence = float64(s1.IntentDetectionConfidence) + s.SpeechRecognitionConfidence = float64(s1.SpeechRecognitionConfidence) + return nil +} + +// GoogleCloudDialogflowV2beta1Sentiment: The sentiment, such as +// positive/negative feeling or association, for a unit of analysis, +// such as the query text. +type GoogleCloudDialogflowV2beta1Sentiment struct { + // Magnitude: A non-negative number in the [0, +inf) range, which + // represents the absolute magnitude of sentiment, regardless of score + // (positive or negative). + Magnitude float64 `json:"magnitude,omitempty"` + + // Score: Sentiment score between -1.0 (negative sentiment) and 1.0 + // (positive sentiment). + Score float64 `json:"score,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Magnitude") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Magnitude") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1Sentiment) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1Sentiment + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *GoogleCloudDialogflowV2beta1Sentiment) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowV2beta1Sentiment + var s1 struct { + Magnitude gensupport.JSONFloat64 `json:"magnitude"` + Score gensupport.JSONFloat64 `json:"score"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Magnitude = float64(s1.Magnitude) + s.Score = float64(s1.Score) + return nil +} + +// GoogleCloudDialogflowV2beta1SentimentAnalysisResult: The result of +// sentiment analysis. Sentiment analysis inspects user input and +// identifies the prevailing subjective opinion, especially to determine +// a user's attitude as positive, negative, or neutral. For +// Participants.DetectIntent, it needs to be configured in +// DetectIntentRequest.query_params. For +// Participants.StreamingDetectIntent, it needs to be configured in +// StreamingDetectIntentRequest.query_params. And for +// Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, +// it needs to be configured in +// ConversationProfile.human_agent_assistant_config +type GoogleCloudDialogflowV2beta1SentimentAnalysisResult struct { + // QueryTextSentiment: The sentiment analysis result for `query_text`. + QueryTextSentiment *GoogleCloudDialogflowV2beta1Sentiment `json:"queryTextSentiment,omitempty"` + + // ForceSendFields is a list of field names (e.g. "QueryTextSentiment") + // to unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "QueryTextSentiment") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1SentimentAnalysisResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1SentimentAnalysisResult + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1SessionEntityType: A session represents a +// conversation between a Dialogflow agent and an end-user. You can +// create special entities, called session entities, during a session. +// Session entities can extend or replace custom entity types and only +// exist during the session that they were created for. All session +// data, including session entities, is stored by Dialogflow for 20 +// minutes. For more information, see the [session entity +// guide](https://cloud.google.com/dialogflow/docs/entities-session). +type GoogleCloudDialogflowV2beta1SessionEntityType struct { + // Entities: Required. The collection of entities associated with this + // session entity type. + Entities []*GoogleCloudDialogflowV2beta1EntityTypeEntity `json:"entities,omitempty"` + + // EntityOverrideMode: Required. Indicates whether the additional data + // should override or supplement the custom entity type definition. + // + // Possible values: + // "ENTITY_OVERRIDE_MODE_UNSPECIFIED" - Not specified. This value + // should be never used. + // "ENTITY_OVERRIDE_MODE_OVERRIDE" - The collection of session + // entities overrides the collection of entities in the corresponding + // custom entity type. + // "ENTITY_OVERRIDE_MODE_SUPPLEMENT" - The collection of session + // entities extends the collection of entities in the corresponding + // custom entity type. Note: Even in this override mode calls to + // `ListSessionEntityTypes`, `GetSessionEntityType`, + // `CreateSessionEntityType` and `UpdateSessionEntityType` only return + // the additional entities added in this session entity type. If you + // want to get the supplemented list, please call + // EntityTypes.GetEntityType on the custom entity type and merge. + EntityOverrideMode string `json:"entityOverrideMode,omitempty"` + + // Name: Required. The unique identifier of this session entity type. + // Supported formats: - `projects//agent/sessions//entityTypes/` - + // `projects//locations//agent/sessions//entityTypes/` - + // `projects//agent/environments//users//sessions//entityTypes/` - + // `projects//locations//agent/environments/ + // /users//sessions//entityTypes/` If `Location ID` is not specified we + // assume default 'us' location. If `Environment ID` is not specified, + // we assume default 'draft' environment. If `User ID` is not specified, + // we assume default '-' user. `` must be the display name of an + // existing entity type in the same agent that will be overridden or + // supplemented. + Name string `json:"name,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Entities") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Entities") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1SessionEntityType) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1SessionEntityType + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1WebhookRequest: The request message for a +// webhook call. +type GoogleCloudDialogflowV2beta1WebhookRequest struct { + // AlternativeQueryResults: Alternative query results from + // KnowledgeService. + AlternativeQueryResults []*GoogleCloudDialogflowV2beta1QueryResult `json:"alternativeQueryResults,omitempty"` + + // OriginalDetectIntentRequest: Optional. The contents of the original + // request that was passed to `[Streaming]DetectIntent` call. + OriginalDetectIntentRequest *GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest `json:"originalDetectIntentRequest,omitempty"` + + // QueryResult: The result of the conversational query or event + // processing. Contains the same value as + // `[Streaming]DetectIntentResponse.query_result`. + QueryResult *GoogleCloudDialogflowV2beta1QueryResult `json:"queryResult,omitempty"` + + // ResponseId: The unique identifier of the response. Contains the same + // value as `[Streaming]DetectIntentResponse.response_id`. + ResponseId string `json:"responseId,omitempty"` + + // Session: The unique identifier of detectIntent request session. Can + // be used to identify end-user inside webhook implementation. Supported + // formats: - `projects//agent/sessions/, - + // `projects//locations//agent/sessions/`, - + // `projects//agent/environments//users//sessions/`, - + // `projects//locations//agent/environments//users//sessions/`, + Session string `json:"session,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AlternativeQueryResults") to unconditionally include in API + // requests. By default, fields with empty values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "AlternativeQueryResults") + // to include in API requests with the JSON null value. By default, + // fields with empty values are omitted from API requests. However, any + // field with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1WebhookRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1WebhookRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1WebhookResponse: The response message for +// a webhook call. This response is validated by the Dialogflow server. +// If validation fails, an error will be returned in the +// QueryResult.diagnostic_info field. Setting JSON fields to an empty +// value with the wrong type is a common error. To avoid this error: - +// Use "" for empty strings - Use `{}` or `null` for empty objects - +// Use `[]` or `null` for empty arrays For more information, see the +// [Protocol Buffers Language +// Guide](https://developers.google.com/protocol-buffers/docs/proto3#json +// ). +type GoogleCloudDialogflowV2beta1WebhookResponse struct { + // EndInteraction: Optional. Indicates that this intent ends an + // interaction. Some integrations (e.g., Actions on Google or Dialogflow + // phone gateway) use this information to close interaction with an end + // user. Default is false. + EndInteraction bool `json:"endInteraction,omitempty"` + + // FollowupEventInput: Optional. Invokes the supplied events. When this + // field is set, Dialogflow ignores the `fulfillment_text`, + // `fulfillment_messages`, and `payload` fields. + FollowupEventInput *GoogleCloudDialogflowV2beta1EventInput `json:"followupEventInput,omitempty"` + + // FulfillmentMessages: Optional. The rich response messages intended + // for the end-user. When provided, Dialogflow uses this field to + // populate QueryResult.fulfillment_messages sent to the integration or + // API caller. + FulfillmentMessages []*GoogleCloudDialogflowV2beta1IntentMessage `json:"fulfillmentMessages,omitempty"` + + // FulfillmentText: Optional. The text response message intended for the + // end-user. It is recommended to use + // `fulfillment_messages.text.text[0]` instead. When provided, + // Dialogflow uses this field to populate QueryResult.fulfillment_text + // sent to the integration or API caller. + FulfillmentText string `json:"fulfillmentText,omitempty"` + + // OutputContexts: Optional. The collection of output contexts that will + // overwrite currently active contexts for the session and reset their + // lifespans. When provided, Dialogflow uses this field to populate + // QueryResult.output_contexts sent to the integration or API caller. + OutputContexts []*GoogleCloudDialogflowV2beta1Context `json:"outputContexts,omitempty"` + + // Payload: Optional. This field can be used to pass custom data from + // your webhook to the integration or API caller. Arbitrary JSON objects + // are supported. When provided, Dialogflow uses this field to populate + // QueryResult.webhook_payload sent to the integration or API caller. + // This field is also used by the [Google Assistant + // integration](https://cloud.google.com/dialogflow/docs/integrations/aog + // ) for rich response messages. See the format definition at [Google + // Assistant Dialogflow webhook + // format](https://developers.google.com/assistant/actions/build/json/dia + // logflow-webhook-json) + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // SessionEntityTypes: Optional. Additional session entity types to + // replace or extend developer entity types with. The entity synonyms + // apply to all languages and persist for the session. Setting this data + // from a webhook overwrites the session entity types that have been set + // using `detectIntent`, `streamingDetectIntent` or SessionEntityType + // management methods. + SessionEntityTypes []*GoogleCloudDialogflowV2beta1SessionEntityType `json:"sessionEntityTypes,omitempty"` + + // Source: Optional. A custom field used to identify the webhook source. + // Arbitrary strings are supported. When provided, Dialogflow uses this + // field to populate QueryResult.webhook_source sent to the integration + // or API caller. + Source string `json:"source,omitempty"` + + // ForceSendFields is a list of field names (e.g. "EndInteraction") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "EndInteraction") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDialogflowV2beta1WebhookResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1WebhookResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleLongrunningListOperationsResponse: The response message for +// Operations.ListOperations. +type GoogleLongrunningListOperationsResponse struct { + // NextPageToken: The standard List next-page token. + NextPageToken string `json:"nextPageToken,omitempty"` + + // Operations: A list of operations that matches the specified filter in + // the request. + Operations []*GoogleLongrunningOperation `json:"operations,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "NextPageToken") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "NextPageToken") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleLongrunningListOperationsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleLongrunningListOperationsResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleLongrunningOperation: This resource represents a long-running +// operation that is the result of a network API call. +type GoogleLongrunningOperation struct { + // Done: If the value is `false`, it means the operation is still in + // progress. If `true`, the operation is completed, and either `error` + // or `response` is available. + Done bool `json:"done,omitempty"` + + // Error: The error result of the operation in case of failure or + // cancellation. + Error *GoogleRpcStatus `json:"error,omitempty"` + + // Metadata: Service-specific metadata associated with the operation. It + // typically contains progress information and common metadata such as + // create time. Some services might not provide such metadata. Any + // method that returns a long-running operation should document the + // metadata type, if any. + Metadata googleapi.RawMessage `json:"metadata,omitempty"` + + // Name: The server-assigned name, which is only unique within the same + // service that originally returns it. If you use the default HTTP + // mapping, the `name` should be a resource name ending with + // `operations/{unique_id}`. + Name string `json:"name,omitempty"` + + // Response: The normal response of the operation in case of success. If + // the original method returns no data on success, such as `Delete`, the + // response is `google.protobuf.Empty`. If the original method is + // standard `Get`/`Create`/`Update`, the response should be the + // resource. For other methods, the response should have the type + // `XxxResponse`, where `Xxx` is the original method name. For example, + // if the original method name is `TakeSnapshot()`, the inferred + // response type is `TakeSnapshotResponse`. + Response googleapi.RawMessage `json:"response,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Done") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Done") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleLongrunningOperation) MarshalJSON() ([]byte, error) { + type NoMethod GoogleLongrunningOperation + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleProtobufEmpty: A generic empty message that you can re-use to +// avoid defining duplicated empty messages in your APIs. A typical +// example is to use it as the request or the response type of an API +// method. For instance: service Foo { rpc Bar(google.protobuf.Empty) +// returns (google.protobuf.Empty); } The JSON representation for +// `Empty` is empty JSON object `{}`. +type GoogleProtobufEmpty struct { + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` +} + +// GoogleRpcStatus: 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). +type GoogleRpcStatus struct { + // Code: The status code, which should be an enum value of + // google.rpc.Code. + Code int64 `json:"code,omitempty"` + + // Details: A list of messages that carry the error details. There is a + // common set of message types for APIs to use. + Details []googleapi.RawMessage `json:"details,omitempty"` + + // Message: A developer-facing error message, which should be in + // English. Any user-facing error message should be localized and sent + // in the google.rpc.Status.details field, or localized by the client. + Message string `json:"message,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Code") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Code") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleRpcStatus) MarshalJSON() ([]byte, error) { + type NoMethod GoogleRpcStatus + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleTypeLatLng: An object that represents a latitude/longitude +// pair. This is expressed as a pair of doubles to represent degrees +// latitude and degrees longitude. Unless specified otherwise, this must +// conform to the WGS84 standard. Values must be within normalized +// ranges. +type GoogleTypeLatLng struct { + // Latitude: The latitude in degrees. It must be in the range [-90.0, + // +90.0]. + Latitude float64 `json:"latitude,omitempty"` + + // Longitude: The longitude in degrees. It must be in the range [-180.0, + // +180.0]. + Longitude float64 `json:"longitude,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Latitude") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Latitude") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleTypeLatLng) MarshalJSON() ([]byte, error) { + type NoMethod GoogleTypeLatLng + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *GoogleTypeLatLng) UnmarshalJSON(data []byte) error { + type NoMethod GoogleTypeLatLng + var s1 struct { + Latitude gensupport.JSONFloat64 `json:"latitude"` + Longitude gensupport.JSONFloat64 `json:"longitude"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Latitude = float64(s1.Latitude) + s.Longitude = float64(s1.Longitude) + return nil +} + +// method id "dialogflow.projects.locations.agents.create": + +type ProjectsLocationsAgentsCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3beta1agent *GoogleCloudDialogflowCxV3beta1Agent + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Create: Creates an agent in the specified location. +func (r *ProjectsLocationsAgentsService) Create(parent string, googleclouddialogflowcxv3beta1agent *GoogleCloudDialogflowCxV3beta1Agent) *ProjectsLocationsAgentsCreateCall { + c := &ProjectsLocationsAgentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3beta1agent = googleclouddialogflowcxv3beta1agent + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsCreateCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsCreateCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsCreateCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsCreateCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1agent) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/agents") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Agent or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3beta1Agent.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Agent, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3beta1Agent{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Creates an agent in the specified location.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.create", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "parent": { + // "description": "Required. The location to create a agent for. Format: `projects//locations/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3beta1/{+parent}/agents", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1Agent" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3beta1Agent" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.delete": + +type ProjectsLocationsAgentsDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Delete: Deletes the specified agent. +func (r *ProjectsLocationsAgentsService) Delete(name string) *ProjectsLocationsAgentsDeleteCall { + c := &ProjectsLocationsAgentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsDeleteCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsDeleteCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsDeleteCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsDeleteCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("DELETE", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleProtobufEmpty{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Deletes the specified agent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.delete", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The name of the agent to delete. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3beta1/{+name}", + // "response": { + // "$ref": "GoogleProtobufEmpty" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.export": + +type ProjectsLocationsAgentsExportCall struct { + s *Service + name string + googleclouddialogflowcxv3beta1exportagentrequest *GoogleCloudDialogflowCxV3beta1ExportAgentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Export: Exports the specified agent to a binary file. +func (r *ProjectsLocationsAgentsService) Export(name string, googleclouddialogflowcxv3beta1exportagentrequest *GoogleCloudDialogflowCxV3beta1ExportAgentRequest) *ProjectsLocationsAgentsExportCall { + c := &ProjectsLocationsAgentsExportCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.googleclouddialogflowcxv3beta1exportagentrequest = googleclouddialogflowcxv3beta1exportagentrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsExportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsExportCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsExportCall) Context(ctx context.Context) *ProjectsLocationsAgentsExportCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsExportCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsExportCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1exportagentrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}:export") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.export" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsExportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleLongrunningOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Exports the specified agent to a binary file.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}:export", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.export", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The name of the agent to export. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3beta1/{+name}:export", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1ExportAgentRequest" + // }, + // "response": { + // "$ref": "GoogleLongrunningOperation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.get": + +type ProjectsLocationsAgentsGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Retrieves the specified agent. +func (r *ProjectsLocationsAgentsService) Get(name string) *ProjectsLocationsAgentsGetCall { + c := &ProjectsLocationsAgentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsGetCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Agent or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3beta1Agent.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Agent, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3beta1Agent{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Retrieves the specified agent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.get", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The name of the agent. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3beta1/{+name}", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3beta1Agent" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.list": + +type ProjectsLocationsAgentsListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Returns the list of all agents in the specified location. +func (r *ProjectsLocationsAgentsService) List(parent string) *ProjectsLocationsAgentsListCall { + c := &ProjectsLocationsAgentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 100 and at most 1000. +func (c *ProjectsLocationsAgentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsListCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsListCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/agents") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1ListAgentsResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1ListAgentsResponse.ServerResponse.Heade +// r or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListAgentsResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3beta1ListAgentsResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Returns the list of all agents in the specified location.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.list", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The location to list all agents for. Format: `projects//locations/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3beta1/{+parent}/agents", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3beta1ListAgentsResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListAgentsResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) } - s.Latitude = float64(s1.Latitude) - s.Longitude = float64(s1.Longitude) - return nil } -// method id "dialogflow.projects.locations.agents.create": +// method id "dialogflow.projects.locations.agents.patch": -type ProjectsLocationsAgentsCreateCall struct { +type ProjectsLocationsAgentsPatchCall struct { s *Service - parent string + nameid string googleclouddialogflowcxv3beta1agent *GoogleCloudDialogflowCxV3beta1Agent urlParams_ gensupport.URLParams ctx_ context.Context header_ http.Header } -// Create: Creates an agent in the specified location. -func (r *ProjectsLocationsAgentsService) Create(parent string, googleclouddialogflowcxv3beta1agent *GoogleCloudDialogflowCxV3beta1Agent) *ProjectsLocationsAgentsCreateCall { - c := &ProjectsLocationsAgentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent +// Patch: Updates the specified agent. +func (r *ProjectsLocationsAgentsService) Patch(nameid string, googleclouddialogflowcxv3beta1agent *GoogleCloudDialogflowCxV3beta1Agent) *ProjectsLocationsAgentsPatchCall { + c := &ProjectsLocationsAgentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.nameid = nameid c.googleclouddialogflowcxv3beta1agent = googleclouddialogflowcxv3beta1agent return c } +// UpdateMask sets the optional parameter "updateMask": The mask to +// control which fields get updated. If the mask is not present, all +// fields will be updated. +func (c *ProjectsLocationsAgentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsPatchCall { + c.urlParams_.Set("updateMask", updateMask) + return c +} + // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsCreateCall { +func (c *ProjectsLocationsAgentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -9931,23 +11651,23 @@ func (c *ProjectsLocationsAgentsCreateCall) Fields(s ...googleapi.Field) *Projec // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsCreateCall { +func (c *ProjectsLocationsAgentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsCreateCall) Header() http.Header { +func (c *ProjectsLocationsAgentsPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9960,20 +11680,20 @@ func (c *ProjectsLocationsAgentsCreateCall) doRequest(alt string) (*http.Respons reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/agents") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("PATCH", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "name": c.nameid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.create" call. +// Do executes the "dialogflow.projects.locations.agents.patch" call. // Exactly one of *GoogleCloudDialogflowCxV3beta1Agent or error will be // non-nil. Any non-2xx status code is an error. Response headers are in // either *GoogleCloudDialogflowCxV3beta1Agent.ServerResponse.Header or @@ -9981,7 +11701,7 @@ func (c *ProjectsLocationsAgentsCreateCall) doRequest(alt string) (*http.Respons // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Agent, error) { +func (c *ProjectsLocationsAgentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Agent, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -10012,23 +11732,29 @@ func (c *ProjectsLocationsAgentsCreateCall) Do(opts ...googleapi.CallOption) (*G } return ret, nil // { - // "description": "Creates an agent in the specified location.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.create", + // "description": "Updates the specified agent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.patch", // "parameterOrder": [ - // "parent" + // "name" // ], // "parameters": { - // "parent": { - // "description": "Required. The location to create a agent for. Format: `projects//locations/`.", + // "name": { + // "description": "The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: `projects//locations//agents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" + // }, + // "updateMask": { + // "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/agents", + // "path": "v3beta1/{+name}", // "request": { // "$ref": "GoogleCloudDialogflowCxV3beta1Agent" // }, @@ -10043,27 +11769,31 @@ func (c *ProjectsLocationsAgentsCreateCall) Do(opts ...googleapi.CallOption) (*G } -// method id "dialogflow.projects.locations.agents.delete": +// method id "dialogflow.projects.locations.agents.restore": -type ProjectsLocationsAgentsDeleteCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsRestoreCall struct { + s *Service + name string + googleclouddialogflowcxv3beta1restoreagentrequest *GoogleCloudDialogflowCxV3beta1RestoreAgentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Delete: Deletes the specified agent. -func (r *ProjectsLocationsAgentsService) Delete(name string) *ProjectsLocationsAgentsDeleteCall { - c := &ProjectsLocationsAgentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Restore: Restores the specified agent from a binary file. Replaces +// the current agent with a new one. Note that all existing resources in +// agent (e.g. intents, entity types, flows) will be removed. +func (r *ProjectsLocationsAgentsService) Restore(name string, googleclouddialogflowcxv3beta1restoreagentrequest *GoogleCloudDialogflowCxV3beta1RestoreAgentRequest) *ProjectsLocationsAgentsRestoreCall { + c := &ProjectsLocationsAgentsRestoreCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name + c.googleclouddialogflowcxv3beta1restoreagentrequest = googleclouddialogflowcxv3beta1restoreagentrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsDeleteCall { +func (c *ProjectsLocationsAgentsRestoreCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsRestoreCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -10071,51 +11801,212 @@ func (c *ProjectsLocationsAgentsDeleteCall) Fields(s ...googleapi.Field) *Projec // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsDeleteCall { +func (c *ProjectsLocationsAgentsRestoreCall) Context(ctx context.Context) *ProjectsLocationsAgentsRestoreCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsDeleteCall) Header() http.Header { +func (c *ProjectsLocationsAgentsRestoreCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsRestoreCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1restoreagentrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}:restore") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.restore" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsRestoreCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleLongrunningOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Restores the specified agent from a binary file. Replaces the current agent with a new one. Note that all existing resources in agent (e.g. intents, entity types, flows) will be removed.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}:restore", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.restore", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The name of the agent to restore into. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3beta1/{+name}:restore", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1RestoreAgentRequest" + // }, + // "response": { + // "$ref": "GoogleLongrunningOperation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.entityTypes.create": + +type ProjectsLocationsAgentsEntityTypesCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3beta1entitytype *GoogleCloudDialogflowCxV3beta1EntityType + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Create: Creates an entity type in the specified agent. +func (r *ProjectsLocationsAgentsEntityTypesService) Create(parent string, googleclouddialogflowcxv3beta1entitytype *GoogleCloudDialogflowCxV3beta1EntityType) *ProjectsLocationsAgentsEntityTypesCreateCall { + c := &ProjectsLocationsAgentsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3beta1entitytype = googleclouddialogflowcxv3beta1entitytype + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// of the following fields in `entity_type`: * +// `EntityType.entities.value` * `EntityType.entities.synonyms` * +// `EntityType.excluded_phrases.value` If not specified, the agent's +// default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsEntityTypesCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesCreateCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesCreateCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesCreateCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1entitytype) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/entityTypes") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("DELETE", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.delete" call. -// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any -// non-2xx status code is an error. Response headers are in either -// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was -// returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +// Do executes the "dialogflow.projects.locations.agents.entityTypes.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1EntityType or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1EntityType.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1EntityType, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -10134,7 +12025,7 @@ func (c *ProjectsLocationsAgentsDeleteCall) Do(opts ...googleapi.CallOption) (*G if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleProtobufEmpty{ + ret := &GoogleCloudDialogflowCxV3beta1EntityType{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -10146,25 +12037,33 @@ func (c *ProjectsLocationsAgentsDeleteCall) Do(opts ...googleapi.CallOption) (*G } return ret, nil // { - // "description": "Deletes the specified agent.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", - // "httpMethod": "DELETE", - // "id": "dialogflow.projects.locations.agents.delete", + // "description": "Creates an entity type in the specified agent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.entityTypes.create", // "parameterOrder": [ - // "name" + // "parent" // ], // "parameters": { - // "name": { - // "description": "Required. The name of the agent to delete. Format: `projects//locations//agents/`.", + // "languageCode": { + // "description": "The language of the following fields in `entity_type`: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The agent to create a entity type for. Format: `projects//locations//agents/`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+name}", + // "path": "v3beta1/{+parent}/entityTypes", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1EntityType" + // }, // "response": { - // "$ref": "GoogleProtobufEmpty" + // "$ref": "GoogleCloudDialogflowCxV3beta1EntityType" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -10174,29 +12073,40 @@ func (c *ProjectsLocationsAgentsDeleteCall) Do(opts ...googleapi.CallOption) (*G } -// method id "dialogflow.projects.locations.agents.export": +// method id "dialogflow.projects.locations.agents.entityTypes.delete": -type ProjectsLocationsAgentsExportCall struct { - s *Service - name string - googleclouddialogflowcxv3beta1exportagentrequest *GoogleCloudDialogflowCxV3beta1ExportAgentRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsEntityTypesDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Export: Exports the specified agent to a binary file. -func (r *ProjectsLocationsAgentsService) Export(name string, googleclouddialogflowcxv3beta1exportagentrequest *GoogleCloudDialogflowCxV3beta1ExportAgentRequest) *ProjectsLocationsAgentsExportCall { - c := &ProjectsLocationsAgentsExportCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Delete: Deletes the specified entity type. +func (r *ProjectsLocationsAgentsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsEntityTypesDeleteCall { + c := &ProjectsLocationsAgentsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name - c.googleclouddialogflowcxv3beta1exportagentrequest = googleclouddialogflowcxv3beta1exportagentrequest + return c +} + +// Force sets the optional parameter "force": This field has no effect +// for entity type not being used. For entity types that are used by +// intents or pages: * If `force` is set to false, an error will be +// returned with message indicating the referencing resources. * If +// `force` is set to true, Dialogflow will remove the entity type, as +// well as any references to the entity type (i.e. Page parameter of the +// entity type will be changed to '@sys.any' and intent parameter of the +// entity type will be removed). +func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Force(force bool) *ProjectsLocationsAgentsEntityTypesDeleteCall { + c.urlParams_.Set("force", fmt.Sprint(force)) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsExportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsExportCall { +func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -10204,38 +12114,33 @@ func (c *ProjectsLocationsAgentsExportCall) Fields(s ...googleapi.Field) *Projec // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsExportCall) Context(ctx context.Context) *ProjectsLocationsAgentsExportCall { +func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesDeleteCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsExportCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsExportCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1exportagentrequest) - if err != nil { - return nil, err - } - reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}:export") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("DELETE", urls, body) if err != nil { return nil, err } @@ -10246,14 +12151,14 @@ func (c *ProjectsLocationsAgentsExportCall) doRequest(alt string) (*http.Respons return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.export" call. -// Exactly one of *GoogleLongrunningOperation or error will be non-nil. -// Any non-2xx status code is an error. Response headers are in either -// *GoogleLongrunningOperation.ServerResponse.Header or (if a response -// was returned at all) in error.(*googleapi.Error).Header. Use +// Do executes the "dialogflow.projects.locations.agents.entityTypes.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsExportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { +func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -10272,7 +12177,7 @@ func (c *ProjectsLocationsAgentsExportCall) Do(opts ...googleapi.CallOption) (*G if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleLongrunningOperation{ + ret := &GoogleProtobufEmpty{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -10284,28 +12189,30 @@ func (c *ProjectsLocationsAgentsExportCall) Do(opts ...googleapi.CallOption) (*G } return ret, nil // { - // "description": "Exports the specified agent to a binary file.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}:export", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.export", + // "description": "Deletes the specified entity type.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes/{entityTypesId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.entityTypes.delete", // "parameterOrder": [ // "name" // ], // "parameters": { + // "force": { + // "description": "This field has no effect for entity type not being used. For entity types that are used by intents or pages: * If `force` is set to false, an error will be returned with message indicating the referencing resources. * If `force` is set to true, Dialogflow will remove the entity type, as well as any references to the entity type (i.e. Page parameter of the entity type will be changed to '@sys.any' and intent parameter of the entity type will be removed).", + // "location": "query", + // "type": "boolean" + // }, // "name": { - // "description": "Required. The name of the agent to export. Format: `projects//locations//agents/`.", + // "description": "Required. The name of the entity type to delete. Format: `projects//locations//agents//entityTypes/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/entityTypes/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+name}:export", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1ExportAgentRequest" - // }, + // "path": "v3beta1/{+name}", // "response": { - // "$ref": "GoogleLongrunningOperation" + // "$ref": "GoogleProtobufEmpty" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -10315,9 +12222,9 @@ func (c *ProjectsLocationsAgentsExportCall) Do(opts ...googleapi.CallOption) (*G } -// method id "dialogflow.projects.locations.agents.get": +// method id "dialogflow.projects.locations.agents.entityTypes.get": -type ProjectsLocationsAgentsGetCall struct { +type ProjectsLocationsAgentsEntityTypesGetCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -10326,17 +12233,30 @@ type ProjectsLocationsAgentsGetCall struct { header_ http.Header } -// Get: Retrieves the specified agent. -func (r *ProjectsLocationsAgentsService) Get(name string) *ProjectsLocationsAgentsGetCall { - c := &ProjectsLocationsAgentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Get: Retrieves the specified entity type. +func (r *ProjectsLocationsAgentsEntityTypesService) Get(name string) *ProjectsLocationsAgentsEntityTypesGetCall { + c := &ProjectsLocationsAgentsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } +// LanguageCode sets the optional parameter "languageCode": The language +// to retrieve the entity type for. The following fields are language +// dependent: * `EntityType.entities.value` * +// `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` +// If not specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsEntityTypesGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesGetCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsGetCall { +func (c *ProjectsLocationsAgentsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -10346,7 +12266,7 @@ func (c *ProjectsLocationsAgentsGetCall) Fields(s ...googleapi.Field) *ProjectsL // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsGetCall { +func (c *ProjectsLocationsAgentsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEntityTypesGetCall { c.ifNoneMatch_ = entityTag return c } @@ -10354,23 +12274,23 @@ func (c *ProjectsLocationsAgentsGetCall) IfNoneMatch(entityTag string) *Projects // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsGetCall { +func (c *ProjectsLocationsAgentsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesGetCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsGetCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEntityTypesGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10394,15 +12314,16 @@ func (c *ProjectsLocationsAgentsGetCall) doRequest(alt string) (*http.Response, return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.get" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Agent or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3beta1Agent.ServerResponse.Header or +// Do executes the "dialogflow.projects.locations.agents.entityTypes.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1EntityType or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1EntityType.ServerResponse.Header or // (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Agent, error) { +func (c *ProjectsLocationsAgentsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1EntityType, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -10421,7 +12342,7 @@ func (c *ProjectsLocationsAgentsGetCall) Do(opts ...googleapi.CallOption) (*Goog if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1Agent{ + ret := &GoogleCloudDialogflowCxV3beta1EntityType{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -10433,25 +12354,30 @@ func (c *ProjectsLocationsAgentsGetCall) Do(opts ...googleapi.CallOption) (*Goog } return ret, nil // { - // "description": "Retrieves the specified agent.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", + // "description": "Retrieves the specified entity type.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes/{entityTypesId}", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.get", + // "id": "dialogflow.projects.locations.agents.entityTypes.get", // "parameterOrder": [ // "name" // ], // "parameters": { + // "languageCode": { + // "description": "The language to retrieve the entity type for. The following fields are language dependent: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, // "name": { - // "description": "Required. The name of the agent. Format: `projects//locations//agents/`.", + // "description": "Required. The name of the entity type. Format: `projects//locations//agents//entityTypes/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/entityTypes/[^/]+$", // "required": true, // "type": "string" // } // }, // "path": "v3beta1/{+name}", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Agent" + // "$ref": "GoogleCloudDialogflowCxV3beta1EntityType" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -10461,9 +12387,9 @@ func (c *ProjectsLocationsAgentsGetCall) Do(opts ...googleapi.CallOption) (*Goog } -// method id "dialogflow.projects.locations.agents.list": +// method id "dialogflow.projects.locations.agents.entityTypes.list": -type ProjectsLocationsAgentsListCall struct { +type ProjectsLocationsAgentsEntityTypesListCall struct { s *Service parent string urlParams_ gensupport.URLParams @@ -10472,23 +12398,36 @@ type ProjectsLocationsAgentsListCall struct { header_ http.Header } -// List: Returns the list of all agents in the specified location. -func (r *ProjectsLocationsAgentsService) List(parent string) *ProjectsLocationsAgentsListCall { - c := &ProjectsLocationsAgentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// List: Returns the list of all entity types in the specified agent. +func (r *ProjectsLocationsAgentsEntityTypesService) List(parent string) *ProjectsLocationsAgentsEntityTypesListCall { + c := &ProjectsLocationsAgentsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent return c } +// LanguageCode sets the optional parameter "languageCode": The language +// to list entity types for. The following fields are language +// dependent: * `EntityType.entities.value` * +// `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` +// If not specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsEntityTypesListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesListCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + // PageSize sets the optional parameter "pageSize": The maximum number // of items to return in a single page. By default 100 and at most 1000. -func (c *ProjectsLocationsAgentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsListCall { +func (c *ProjectsLocationsAgentsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEntityTypesListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": The // next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsListCall { +func (c *ProjectsLocationsAgentsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEntityTypesListCall { c.urlParams_.Set("pageToken", pageToken) return c } @@ -10496,7 +12435,7 @@ func (c *ProjectsLocationsAgentsListCall) PageToken(pageToken string) *ProjectsL // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsListCall { +func (c *ProjectsLocationsAgentsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -10506,7 +12445,7 @@ func (c *ProjectsLocationsAgentsListCall) Fields(s ...googleapi.Field) *Projects // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsListCall { +func (c *ProjectsLocationsAgentsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEntityTypesListCall { c.ifNoneMatch_ = entityTag return c } @@ -10514,23 +12453,23 @@ func (c *ProjectsLocationsAgentsListCall) IfNoneMatch(entityTag string) *Project // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsListCall { +func (c *ProjectsLocationsAgentsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsListCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEntityTypesListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10541,7 +12480,7 @@ func (c *ProjectsLocationsAgentsListCall) doRequest(alt string) (*http.Response, var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/agents") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/entityTypes") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -10554,16 +12493,16 @@ func (c *ProjectsLocationsAgentsListCall) doRequest(alt string) (*http.Response, return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.list" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1ListAgentsResponse or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3beta1ListAgentsResponse.ServerResponse.Heade -// r or (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.entityTypes.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse +// or error will be non-nil. Any non-2xx status code is an error. +// Response headers are in either +// *GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse.ServerResponse. +// Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListAgentsResponse, error) { +func (c *ProjectsLocationsAgentsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -10582,7 +12521,7 @@ func (c *ProjectsLocationsAgentsListCall) Do(opts ...googleapi.CallOption) (*Goo if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1ListAgentsResponse{ + ret := &GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -10594,14 +12533,19 @@ func (c *ProjectsLocationsAgentsListCall) Do(opts ...googleapi.CallOption) (*Goo } return ret, nil // { - // "description": "Returns the list of all agents in the specified location.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents", + // "description": "Returns the list of all entity types in the specified agent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.list", + // "id": "dialogflow.projects.locations.agents.entityTypes.list", // "parameterOrder": [ // "parent" // ], // "parameters": { + // "languageCode": { + // "description": "The language to list entity types for. The following fields are language dependent: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, // "pageSize": { // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", // "format": "int32", @@ -10614,16 +12558,16 @@ func (c *ProjectsLocationsAgentsListCall) Do(opts ...googleapi.CallOption) (*Goo // "type": "string" // }, // "parent": { - // "description": "Required. The location to list all agents for. Format: `projects//locations/`.", + // "description": "Required. The agent to list all entity types for. Format: `projects//locations//agents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/agents", + // "path": "v3beta1/{+parent}/entityTypes", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1ListAgentsResponse" + // "$ref": "GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -10636,7 +12580,7 @@ func (c *ProjectsLocationsAgentsListCall) Do(opts ...googleapi.CallOption) (*Goo // Pages invokes f for each page of results. // A non-nil error returned from f will halt the iteration. // The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListAgentsResponse) error) error { +func (c *ProjectsLocationsAgentsEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse) error) error { c.ctx_ = ctx defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point for { @@ -10654,29 +12598,41 @@ func (c *ProjectsLocationsAgentsListCall) Pages(ctx context.Context, f func(*Goo } } -// method id "dialogflow.projects.locations.agents.patch": +// method id "dialogflow.projects.locations.agents.entityTypes.patch": -type ProjectsLocationsAgentsPatchCall struct { - s *Service - nameid string - googleclouddialogflowcxv3beta1agent *GoogleCloudDialogflowCxV3beta1Agent - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsEntityTypesPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3beta1entitytype *GoogleCloudDialogflowCxV3beta1EntityType + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Patch: Updates the specified agent. -func (r *ProjectsLocationsAgentsService) Patch(nameid string, googleclouddialogflowcxv3beta1agent *GoogleCloudDialogflowCxV3beta1Agent) *ProjectsLocationsAgentsPatchCall { - c := &ProjectsLocationsAgentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Patch: Updates the specified entity type. +func (r *ProjectsLocationsAgentsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3beta1entitytype *GoogleCloudDialogflowCxV3beta1EntityType) *ProjectsLocationsAgentsEntityTypesPatchCall { + c := &ProjectsLocationsAgentsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.nameid = nameid - c.googleclouddialogflowcxv3beta1agent = googleclouddialogflowcxv3beta1agent + c.googleclouddialogflowcxv3beta1entitytype = googleclouddialogflowcxv3beta1entitytype + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// of the following fields in `entity_type`: * +// `EntityType.entities.value` * `EntityType.entities.synonyms` * +// `EntityType.excluded_phrases.value` If not specified, the agent's +// default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsEntityTypesPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesPatchCall { + c.urlParams_.Set("languageCode", languageCode) return c } // UpdateMask sets the optional parameter "updateMask": The mask to -// control which fields get updated. If the mask is not present, all -// fields will be updated. -func (c *ProjectsLocationsAgentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsPatchCall { +// control which fields get updated. +func (c *ProjectsLocationsAgentsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEntityTypesPatchCall { c.urlParams_.Set("updateMask", updateMask) return c } @@ -10684,7 +12640,7 @@ func (c *ProjectsLocationsAgentsPatchCall) UpdateMask(updateMask string) *Projec // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsPatchCall { +func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -10692,29 +12648,29 @@ func (c *ProjectsLocationsAgentsPatchCall) Fields(s ...googleapi.Field) *Project // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsPatchCall { +func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsPatchCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1agent) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1entitytype) if err != nil { return nil, err } @@ -10734,15 +12690,16 @@ func (c *ProjectsLocationsAgentsPatchCall) doRequest(alt string) (*http.Response return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.patch" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Agent or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3beta1Agent.ServerResponse.Header or +// Do executes the "dialogflow.projects.locations.agents.entityTypes.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1EntityType or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1EntityType.ServerResponse.Header or // (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Agent, error) { +func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1EntityType, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -10761,7 +12718,7 @@ func (c *ProjectsLocationsAgentsPatchCall) Do(opts ...googleapi.CallOption) (*Go if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1Agent{ + ret := &GoogleCloudDialogflowCxV3beta1EntityType{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -10773,23 +12730,28 @@ func (c *ProjectsLocationsAgentsPatchCall) Do(opts ...googleapi.CallOption) (*Go } return ret, nil // { - // "description": "Updates the specified agent.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", + // "description": "Updates the specified entity type.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes/{entityTypesId}", // "httpMethod": "PATCH", - // "id": "dialogflow.projects.locations.agents.patch", + // "id": "dialogflow.projects.locations.agents.entityTypes.patch", // "parameterOrder": [ // "name" // ], // "parameters": { + // "languageCode": { + // "description": "The language of the following fields in `entity_type`: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, // "name": { - // "description": "The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: `projects//locations//agents/`.", + // "description": "The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType. Format: `projects//locations//agents//entityTypes/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/entityTypes/[^/]+$", // "required": true, // "type": "string" // }, // "updateMask": { - // "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", + // "description": "The mask to control which fields get updated.", // "format": "google-fieldmask", // "location": "query", // "type": "string" @@ -10797,153 +12759,10 @@ func (c *ProjectsLocationsAgentsPatchCall) Do(opts ...googleapi.CallOption) (*Go // }, // "path": "v3beta1/{+name}", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Agent" - // }, - // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Agent" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform", - // "https://www.googleapis.com/auth/dialogflow" - // ] - // } - -} - -// method id "dialogflow.projects.locations.agents.restore": - -type ProjectsLocationsAgentsRestoreCall struct { - s *Service - name string - googleclouddialogflowcxv3beta1restoreagentrequest *GoogleCloudDialogflowCxV3beta1RestoreAgentRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// Restore: Restores the specified agent from a binary file. Replaces -// the current agent with a new one. Note that all existing resources in -// agent (e.g. intents, entity types, flows) will be removed. -func (r *ProjectsLocationsAgentsService) Restore(name string, googleclouddialogflowcxv3beta1restoreagentrequest *GoogleCloudDialogflowCxV3beta1RestoreAgentRequest) *ProjectsLocationsAgentsRestoreCall { - c := &ProjectsLocationsAgentsRestoreCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - c.googleclouddialogflowcxv3beta1restoreagentrequest = googleclouddialogflowcxv3beta1restoreagentrequest - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse -// for more information. -func (c *ProjectsLocationsAgentsRestoreCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsRestoreCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// Context sets the context to be used in this call's Do method. Any -// pending HTTP request will be aborted if the provided context is -// canceled. -func (c *ProjectsLocationsAgentsRestoreCall) Context(ctx context.Context) *ProjectsLocationsAgentsRestoreCall { - c.ctx_ = ctx - return c -} - -// Header returns an http.Header that can be modified by the caller to -// add HTTP headers to the request. -func (c *ProjectsLocationsAgentsRestoreCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsAgentsRestoreCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") - for k, v := range c.header_ { - reqHeaders[k] = v - } - reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1restoreagentrequest) - if err != nil { - return nil, err - } - reqHeaders.Set("Content-Type", "application/json") - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}:restore") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "name": c.name, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "dialogflow.projects.locations.agents.restore" call. -// Exactly one of *GoogleLongrunningOperation or error will be non-nil. -// Any non-2xx status code is an error. Response headers are in either -// *GoogleLongrunningOperation.ServerResponse.Header or (if a response -// was returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsRestoreCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, &googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - } - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, err - } - ret := &GoogleLongrunningOperation{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil - // { - // "description": "Restores the specified agent from a binary file. Replaces the current agent with a new one. Note that all existing resources in agent (e.g. intents, entity types, flows) will be removed.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}:restore", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.restore", - // "parameterOrder": [ - // "name" - // ], - // "parameters": { - // "name": { - // "description": "Required. The name of the agent to restore into. Format: `projects//locations//agents/`.", - // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", - // "required": true, - // "type": "string" - // } - // }, - // "path": "v3beta1/{+name}:restore", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1RestoreAgentRequest" + // "$ref": "GoogleCloudDialogflowCxV3beta1EntityType" // }, // "response": { - // "$ref": "GoogleLongrunningOperation" + // "$ref": "GoogleCloudDialogflowCxV3beta1EntityType" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -10953,42 +12772,29 @@ func (c *ProjectsLocationsAgentsRestoreCall) Do(opts ...googleapi.CallOption) (* } -// method id "dialogflow.projects.locations.agents.entityTypes.create": +// method id "dialogflow.projects.locations.agents.environments.create": -type ProjectsLocationsAgentsEntityTypesCreateCall struct { - s *Service - parent string - googleclouddialogflowcxv3beta1entitytype *GoogleCloudDialogflowCxV3beta1EntityType - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsEnvironmentsCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3beta1environment *GoogleCloudDialogflowCxV3beta1Environment + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Create: Creates an entity type in the specified agent. -func (r *ProjectsLocationsAgentsEntityTypesService) Create(parent string, googleclouddialogflowcxv3beta1entitytype *GoogleCloudDialogflowCxV3beta1EntityType) *ProjectsLocationsAgentsEntityTypesCreateCall { - c := &ProjectsLocationsAgentsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Create: Creates an Environment in the specified Agent. +func (r *ProjectsLocationsAgentsEnvironmentsService) Create(parent string, googleclouddialogflowcxv3beta1environment *GoogleCloudDialogflowCxV3beta1Environment) *ProjectsLocationsAgentsEnvironmentsCreateCall { + c := &ProjectsLocationsAgentsEnvironmentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent - c.googleclouddialogflowcxv3beta1entitytype = googleclouddialogflowcxv3beta1entitytype - return c -} - -// LanguageCode sets the optional parameter "languageCode": The language -// of the following fields in `entity_type`: * -// `EntityType.entities.value` * `EntityType.entities.synonyms` * -// `EntityType.excluded_phrases.value` If not specified, the agent's -// default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsEntityTypesCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesCreateCall { - c.urlParams_.Set("languageCode", languageCode) + c.googleclouddialogflowcxv3beta1environment = googleclouddialogflowcxv3beta1environment return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesCreateCall { +func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -10996,36 +12802,36 @@ func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Fields(s ...googleapi.Fie // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesCreateCall { +func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsCreateCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1entitytype) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1environment) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/entityTypes") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/environments") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -11038,16 +12844,14 @@ func (c *ProjectsLocationsAgentsEntityTypesCreateCall) doRequest(alt string) (*h return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.entityTypes.create" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1EntityType or error -// will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3beta1EntityType.ServerResponse.Header or -// (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1EntityType, error) { +// Do executes the "dialogflow.projects.locations.agents.environments.create" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -11066,7 +12870,7 @@ func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Do(opts ...googleapi.Call if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1EntityType{ + ret := &GoogleLongrunningOperation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -11078,33 +12882,28 @@ func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Do(opts ...googleapi.Call } return ret, nil // { - // "description": "Creates an entity type in the specified agent.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes", + // "description": "Creates an Environment in the specified Agent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments", // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.entityTypes.create", + // "id": "dialogflow.projects.locations.agents.environments.create", // "parameterOrder": [ // "parent" // ], // "parameters": { - // "languageCode": { - // "description": "The language of the following fields in `entity_type`: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, // "parent": { - // "description": "Required. The agent to create a entity type for. Format: `projects//locations//agents/`.", + // "description": "Required. The Agent to create an Environment for. Format: `projects//locations//agents/`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/entityTypes", + // "path": "v3beta1/{+parent}/environments", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1EntityType" + // "$ref": "GoogleCloudDialogflowCxV3beta1Environment" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1EntityType" + // "$ref": "GoogleLongrunningOperation" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -11114,9 +12913,9 @@ func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Do(opts ...googleapi.Call } -// method id "dialogflow.projects.locations.agents.entityTypes.delete": +// method id "dialogflow.projects.locations.agents.environments.delete": -type ProjectsLocationsAgentsEntityTypesDeleteCall struct { +type ProjectsLocationsAgentsEnvironmentsDeleteCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -11124,30 +12923,17 @@ type ProjectsLocationsAgentsEntityTypesDeleteCall struct { header_ http.Header } -// Delete: Deletes the specified entity type. -func (r *ProjectsLocationsAgentsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsEntityTypesDeleteCall { - c := &ProjectsLocationsAgentsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Delete: Deletes the specified Environment. +func (r *ProjectsLocationsAgentsEnvironmentsService) Delete(name string) *ProjectsLocationsAgentsEnvironmentsDeleteCall { + c := &ProjectsLocationsAgentsEnvironmentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } -// Force sets the optional parameter "force": This field has no effect -// for entity type not being used. For entity types that are used by -// intents or pages: * If `force` is set to false, an error will be -// returned with message indicating the referencing resources. * If -// `force` is set to true, Dialogflow will remove the entity type, as -// well as any references to the entity type (i.e. Page parameter of the -// entity type will be changed to '@sys.any' and intent parameter of the -// entity type will be removed). -func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Force(force bool) *ProjectsLocationsAgentsEntityTypesDeleteCall { - c.urlParams_.Set("force", fmt.Sprint(force)) - return c -} - // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesDeleteCall { +func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -11155,23 +12941,23 @@ func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Fields(s ...googleapi.Fie // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesDeleteCall { +func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsDeleteCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11192,14 +12978,14 @@ func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) doRequest(alt string) (*h return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.entityTypes.delete" call. +// Do executes the "dialogflow.projects.locations.agents.environments.delete" call. // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any // non-2xx status code is an error. Response headers are in either // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was // returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -11230,23 +13016,18 @@ func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Do(opts ...googleapi.Call } return ret, nil // { - // "description": "Deletes the specified entity type.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes/{entityTypesId}", + // "description": "Deletes the specified Environment.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}", // "httpMethod": "DELETE", - // "id": "dialogflow.projects.locations.agents.entityTypes.delete", + // "id": "dialogflow.projects.locations.agents.environments.delete", // "parameterOrder": [ // "name" // ], // "parameters": { - // "force": { - // "description": "This field has no effect for entity type not being used. For entity types that are used by intents or pages: * If `force` is set to false, an error will be returned with message indicating the referencing resources. * If `force` is set to true, Dialogflow will remove the entity type, as well as any references to the entity type (i.e. Page parameter of the entity type will be changed to '@sys.any' and intent parameter of the entity type will be removed).", - // "location": "query", - // "type": "boolean" - // }, // "name": { - // "description": "Required. The name of the entity type to delete. Format: `projects//locations//agents//entityTypes/`.", + // "description": "Required. The name of the Environment to delete. Format: `projects//locations//agents//environments/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/entityTypes/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", // "required": true, // "type": "string" // } @@ -11263,9 +13044,9 @@ func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Do(opts ...googleapi.Call } -// method id "dialogflow.projects.locations.agents.entityTypes.get": +// method id "dialogflow.projects.locations.agents.environments.get": -type ProjectsLocationsAgentsEntityTypesGetCall struct { +type ProjectsLocationsAgentsEnvironmentsGetCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -11274,30 +13055,17 @@ type ProjectsLocationsAgentsEntityTypesGetCall struct { header_ http.Header } -// Get: Retrieves the specified entity type. -func (r *ProjectsLocationsAgentsEntityTypesService) Get(name string) *ProjectsLocationsAgentsEntityTypesGetCall { - c := &ProjectsLocationsAgentsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Get: Retrieves the specified Environment. +func (r *ProjectsLocationsAgentsEnvironmentsService) Get(name string) *ProjectsLocationsAgentsEnvironmentsGetCall { + c := &ProjectsLocationsAgentsEnvironmentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } -// LanguageCode sets the optional parameter "languageCode": The language -// to retrieve the entity type for. The following fields are language -// dependent: * `EntityType.entities.value` * -// `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` -// If not specified, the agent's default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsEntityTypesGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesGetCall { - c.urlParams_.Set("languageCode", languageCode) - return c -} - // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesGetCall { +func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -11307,7 +13075,7 @@ func (c *ProjectsLocationsAgentsEntityTypesGetCall) Fields(s ...googleapi.Field) // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEntityTypesGetCall { +func (c *ProjectsLocationsAgentsEnvironmentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsGetCall { c.ifNoneMatch_ = entityTag return c } @@ -11315,23 +13083,23 @@ func (c *ProjectsLocationsAgentsEntityTypesGetCall) IfNoneMatch(entityTag string // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesGetCall { +func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsGetCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEntityTypesGetCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11355,16 +13123,16 @@ func (c *ProjectsLocationsAgentsEntityTypesGetCall) doRequest(alt string) (*http return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.entityTypes.get" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1EntityType or error +// Do executes the "dialogflow.projects.locations.agents.environments.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Environment or error // will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3beta1EntityType.ServerResponse.Header or +// *GoogleCloudDialogflowCxV3beta1Environment.ServerResponse.Header or // (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1EntityType, error) { +func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Environment, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -11383,7 +13151,7 @@ func (c *ProjectsLocationsAgentsEntityTypesGetCall) Do(opts ...googleapi.CallOpt if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1EntityType{ + ret := &GoogleCloudDialogflowCxV3beta1Environment{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -11395,30 +13163,25 @@ func (c *ProjectsLocationsAgentsEntityTypesGetCall) Do(opts ...googleapi.CallOpt } return ret, nil // { - // "description": "Retrieves the specified entity type.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes/{entityTypesId}", + // "description": "Retrieves the specified Environment.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.entityTypes.get", + // "id": "dialogflow.projects.locations.agents.environments.get", // "parameterOrder": [ // "name" // ], // "parameters": { - // "languageCode": { - // "description": "The language to retrieve the entity type for. The following fields are language dependent: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, // "name": { - // "description": "Required. The name of the entity type. Format: `projects//locations//agents//entityTypes/`.", + // "description": "Required. The name of the Environment. Format: `projects//locations//agents//environments/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/entityTypes/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", // "required": true, // "type": "string" // } // }, // "path": "v3beta1/{+name}", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1EntityType" + // "$ref": "GoogleCloudDialogflowCxV3beta1Environment" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -11428,9 +13191,9 @@ func (c *ProjectsLocationsAgentsEntityTypesGetCall) Do(opts ...googleapi.CallOpt } -// method id "dialogflow.projects.locations.agents.entityTypes.list": +// method id "dialogflow.projects.locations.agents.environments.list": -type ProjectsLocationsAgentsEntityTypesListCall struct { +type ProjectsLocationsAgentsEnvironmentsListCall struct { s *Service parent string urlParams_ gensupport.URLParams @@ -11439,36 +13202,23 @@ type ProjectsLocationsAgentsEntityTypesListCall struct { header_ http.Header } -// List: Returns the list of all entity types in the specified agent. -func (r *ProjectsLocationsAgentsEntityTypesService) List(parent string) *ProjectsLocationsAgentsEntityTypesListCall { - c := &ProjectsLocationsAgentsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// List: Returns the list of all environments in the specified Agent. +func (r *ProjectsLocationsAgentsEnvironmentsService) List(parent string) *ProjectsLocationsAgentsEnvironmentsListCall { + c := &ProjectsLocationsAgentsEnvironmentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent return c } -// LanguageCode sets the optional parameter "languageCode": The language -// to list entity types for. The following fields are language -// dependent: * `EntityType.entities.value` * -// `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` -// If not specified, the agent's default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsEntityTypesListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesListCall { - c.urlParams_.Set("languageCode", languageCode) - return c -} - // PageSize sets the optional parameter "pageSize": The maximum number -// of items to return in a single page. By default 100 and at most 1000. -func (c *ProjectsLocationsAgentsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEntityTypesListCall { +// of items to return in a single page. By default 20 and at most 100. +func (c *ProjectsLocationsAgentsEnvironmentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": The // next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEntityTypesListCall { +func (c *ProjectsLocationsAgentsEnvironmentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsListCall { c.urlParams_.Set("pageToken", pageToken) return c } @@ -11476,7 +13226,7 @@ func (c *ProjectsLocationsAgentsEntityTypesListCall) PageToken(pageToken string) // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesListCall { +func (c *ProjectsLocationsAgentsEnvironmentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -11486,7 +13236,7 @@ func (c *ProjectsLocationsAgentsEntityTypesListCall) Fields(s ...googleapi.Field // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEntityTypesListCall { +func (c *ProjectsLocationsAgentsEnvironmentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsListCall { c.ifNoneMatch_ = entityTag return c } @@ -11494,23 +13244,23 @@ func (c *ProjectsLocationsAgentsEntityTypesListCall) IfNoneMatch(entityTag strin // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesListCall { +func (c *ProjectsLocationsAgentsEnvironmentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEntityTypesListCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11521,7 +13271,7 @@ func (c *ProjectsLocationsAgentsEntityTypesListCall) doRequest(alt string) (*htt var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/entityTypes") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/environments") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -11534,16 +13284,17 @@ func (c *ProjectsLocationsAgentsEntityTypesListCall) doRequest(alt string) (*htt return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.entityTypes.list" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse -// or error will be non-nil. Any non-2xx status code is an error. -// Response headers are in either -// *GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse.ServerResponse. -// Header or (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.environments.list" call. +// Exactly one of +// *GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse or error will +// be non-nil. Any non-2xx status code is an error. Response headers are +// in either +// *GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse.ServerResponse +// .Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse, error) { +func (c *ProjectsLocationsAgentsEnvironmentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -11562,7 +13313,7 @@ func (c *ProjectsLocationsAgentsEntityTypesListCall) Do(opts ...googleapi.CallOp if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse{ + ret := &GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -11574,21 +13325,16 @@ func (c *ProjectsLocationsAgentsEntityTypesListCall) Do(opts ...googleapi.CallOp } return ret, nil // { - // "description": "Returns the list of all entity types in the specified agent.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes", + // "description": "Returns the list of all environments in the specified Agent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.entityTypes.list", + // "id": "dialogflow.projects.locations.agents.environments.list", // "parameterOrder": [ // "parent" // ], // "parameters": { - // "languageCode": { - // "description": "The language to list entity types for. The following fields are language dependent: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, // "pageSize": { - // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "description": "The maximum number of items to return in a single page. By default 20 and at most 100.", // "format": "int32", // "location": "query", // "type": "integer" @@ -11599,16 +13345,16 @@ func (c *ProjectsLocationsAgentsEntityTypesListCall) Do(opts ...googleapi.CallOp // "type": "string" // }, // "parent": { - // "description": "Required. The agent to list all entity types for. Format: `projects//locations//agents/`.", + // "description": "Required. The Agent to list all environments for. Format: `projects//locations//agents/`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/entityTypes", + // "path": "v3beta1/{+parent}/environments", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse" + // "$ref": "GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -11621,7 +13367,7 @@ func (c *ProjectsLocationsAgentsEntityTypesListCall) Do(opts ...googleapi.CallOp // Pages invokes f for each page of results. // A non-nil error returned from f will halt the iteration. // The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse) error) error { +func (c *ProjectsLocationsAgentsEnvironmentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse) error) error { c.ctx_ = ctx defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point for { @@ -11639,108 +13385,111 @@ func (c *ProjectsLocationsAgentsEntityTypesListCall) Pages(ctx context.Context, } } -// method id "dialogflow.projects.locations.agents.entityTypes.patch": +// method id "dialogflow.projects.locations.agents.environments.lookupEnvironmentHistory": -type ProjectsLocationsAgentsEntityTypesPatchCall struct { - s *Service - nameid string - googleclouddialogflowcxv3beta1entitytype *GoogleCloudDialogflowCxV3beta1EntityType - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// Patch: Updates the specified entity type. -func (r *ProjectsLocationsAgentsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3beta1entitytype *GoogleCloudDialogflowCxV3beta1EntityType) *ProjectsLocationsAgentsEntityTypesPatchCall { - c := &ProjectsLocationsAgentsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.nameid = nameid - c.googleclouddialogflowcxv3beta1entitytype = googleclouddialogflowcxv3beta1entitytype +// LookupEnvironmentHistory: Looks up the history of the specified +// Environment. +func (r *ProjectsLocationsAgentsEnvironmentsService) LookupEnvironmentHistory(name string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { + c := &ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name return c } -// LanguageCode sets the optional parameter "languageCode": The language -// of the following fields in `entity_type`: * -// `EntityType.entities.value` * `EntityType.entities.synonyms` * -// `EntityType.excluded_phrases.value` If not specified, the agent's -// default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsEntityTypesPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesPatchCall { - c.urlParams_.Set("languageCode", languageCode) +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 100 and at most 1000. +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } -// UpdateMask sets the optional parameter "updateMask": The mask to -// control which fields get updated. -func (c *ProjectsLocationsAgentsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEntityTypesPatchCall { - c.urlParams_.Set("updateMask", updateMask) +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { + c.urlParams_.Set("pageToken", pageToken) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesPatchCall { +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesPatchCall { +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1entitytype) - if err != nil { - return nil, err + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } - reqHeaders.Set("Content-Type", "application/json") + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}:lookupEnvironmentHistory") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("PATCH", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.nameid, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.entityTypes.patch" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1EntityType or error -// will be non-nil. Any non-2xx status code is an error. Response +// Do executes the "dialogflow.projects.locations.agents.environments.lookupEnvironmentHistory" call. +// Exactly one of +// *GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse or +// error will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3beta1EntityType.ServerResponse.Header or -// (if a response was returned at all) in +// *GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse.Server +// Response.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1EntityType, error) { +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -11759,7 +13508,7 @@ func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Do(opts ...googleapi.CallO if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1EntityType{ + ret := &GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -11771,39 +13520,36 @@ func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Do(opts ...googleapi.CallO } return ret, nil // { - // "description": "Updates the specified entity type.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes/{entityTypesId}", - // "httpMethod": "PATCH", - // "id": "dialogflow.projects.locations.agents.entityTypes.patch", + // "description": "Looks up the history of the specified Environment.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}:lookupEnvironmentHistory", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.environments.lookupEnvironmentHistory", // "parameterOrder": [ // "name" // ], // "parameters": { - // "languageCode": { - // "description": "The language of the following fields in `entity_type`: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, // "name": { - // "description": "The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType. Format: `projects//locations//agents//entityTypes/`.", + // "description": "Required. Resource name of the environment to look up the history for. Format: `projects//locations//agents//environments/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/entityTypes/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", // "required": true, // "type": "string" // }, - // "updateMask": { - // "description": "The mask to control which fields get updated.", - // "format": "google-fieldmask", + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", // "location": "query", // "type": "string" // } // }, - // "path": "v3beta1/{+name}", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1EntityType" - // }, + // "path": "v3beta1/{+name}:lookupEnvironmentHistory", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1EntityType" + // "$ref": "GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -11813,29 +13559,57 @@ func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Do(opts ...googleapi.CallO } -// method id "dialogflow.projects.locations.agents.environments.create": +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} -type ProjectsLocationsAgentsEnvironmentsCreateCall struct { +// method id "dialogflow.projects.locations.agents.environments.patch": + +type ProjectsLocationsAgentsEnvironmentsPatchCall struct { s *Service - parent string + name string googleclouddialogflowcxv3beta1environment *GoogleCloudDialogflowCxV3beta1Environment urlParams_ gensupport.URLParams ctx_ context.Context header_ http.Header } -// Create: Creates an Environment in the specified Agent. -func (r *ProjectsLocationsAgentsEnvironmentsService) Create(parent string, googleclouddialogflowcxv3beta1environment *GoogleCloudDialogflowCxV3beta1Environment) *ProjectsLocationsAgentsEnvironmentsCreateCall { - c := &ProjectsLocationsAgentsEnvironmentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent +// Patch: Updates the specified Environment. +func (r *ProjectsLocationsAgentsEnvironmentsService) Patch(name string, googleclouddialogflowcxv3beta1environment *GoogleCloudDialogflowCxV3beta1Environment) *ProjectsLocationsAgentsEnvironmentsPatchCall { + c := &ProjectsLocationsAgentsEnvironmentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name c.googleclouddialogflowcxv3beta1environment = googleclouddialogflowcxv3beta1environment return c } +// UpdateMask sets the optional parameter "updateMask": Required. The +// mask to control which fields get updated. +func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEnvironmentsPatchCall { + c.urlParams_.Set("updateMask", updateMask) + return c +} + // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsCreateCall { +func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -11843,23 +13617,23 @@ func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Fields(s ...googleapi.Fi // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsCreateCall { +func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11872,27 +13646,27 @@ func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) doRequest(alt string) (* reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/environments") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("PATCH", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.create" call. +// Do executes the "dialogflow.projects.locations.agents.environments.patch" call. // Exactly one of *GoogleLongrunningOperation or error will be non-nil. // Any non-2xx status code is an error. Response headers are in either // *GoogleLongrunningOperation.ServerResponse.Header or (if a response // was returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { +func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -11923,23 +13697,29 @@ func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Do(opts ...googleapi.Cal } return ret, nil // { - // "description": "Creates an Environment in the specified Agent.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.environments.create", + // "description": "Updates the specified Environment.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.environments.patch", // "parameterOrder": [ - // "parent" + // "name" // ], // "parameters": { - // "parent": { - // "description": "Required. The Agent to create an Environment for. Format: `projects//locations//agents/`.", + // "name": { + // "description": "The name of the environment. Format: `projects//locations//agents//environments/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", // "required": true, // "type": "string" + // }, + // "updateMask": { + // "description": "Required. The mask to control which fields get updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/environments", + // "path": "v3beta1/{+name}", // "request": { // "$ref": "GoogleCloudDialogflowCxV3beta1Environment" // }, @@ -11954,27 +13734,35 @@ func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Do(opts ...googleapi.Cal } -// method id "dialogflow.projects.locations.agents.environments.delete": +// method id "dialogflow.projects.locations.agents.environments.sessions.detectIntent": -type ProjectsLocationsAgentsEnvironmentsDeleteCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall struct { + s *Service + sessionid string + googleclouddialogflowcxv3beta1detectintentrequest *GoogleCloudDialogflowCxV3beta1DetectIntentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Delete: Deletes the specified Environment. -func (r *ProjectsLocationsAgentsEnvironmentsService) Delete(name string) *ProjectsLocationsAgentsEnvironmentsDeleteCall { - c := &ProjectsLocationsAgentsEnvironmentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name +// DetectIntent: Processes a natural language query and returns +// structured, actionable data as a result. This method is not +// idempotent, because it may cause session entity types to be updated, +// which in turn might affect results of future queries. Note: Always +// use agent versions for production traffic. See [Versions and +// environments](https://cloud.google.com/dialogflow/cx/docs/concept/vers +// ion). +func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) DetectIntent(sessionid string, googleclouddialogflowcxv3beta1detectintentrequest *GoogleCloudDialogflowCxV3beta1DetectIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.sessionid = sessionid + c.googleclouddialogflowcxv3beta1detectintentrequest = googleclouddialogflowcxv3beta1detectintentrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsDeleteCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -11982,51 +13770,58 @@ func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Fields(s ...googleapi.Fi // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsDeleteCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1detectintentrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+session}:detectIntent") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("DELETE", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "session": c.sessionid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.delete" call. -// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any -// non-2xx status code is an error. Response headers are in either -// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was -// returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.detectIntent" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1DetectIntentResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1DetectIntentResponse.ServerResponse.Hea +// der or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1DetectIntentResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -12045,7 +13840,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Do(opts ...googleapi.Cal if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleProtobufEmpty{ + ret := &GoogleCloudDialogflowCxV3beta1DetectIntentResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -12057,25 +13852,28 @@ func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Do(opts ...googleapi.Cal } return ret, nil // { - // "description": "Deletes the specified Environment.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}", - // "httpMethod": "DELETE", - // "id": "dialogflow.projects.locations.agents.environments.delete", + // "description": "Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause session entity types to be updated, which in turn might affect results of future queries. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:detectIntent", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.environments.sessions.detectIntent", // "parameterOrder": [ - // "name" + // "session" // ], // "parameters": { - // "name": { - // "description": "Required. The name of the Environment to delete. Format: `projects//locations//agents//environments/`.", + // "session": { + // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+name}", + // "path": "v3beta1/{+session}:detectIntent", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1DetectIntentRequest" + // }, // "response": { - // "$ref": "GoogleProtobufEmpty" + // "$ref": "GoogleCloudDialogflowCxV3beta1DetectIntentResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -12085,95 +13883,90 @@ func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Do(opts ...googleapi.Cal } -// method id "dialogflow.projects.locations.agents.environments.get": +// method id "dialogflow.projects.locations.agents.environments.sessions.fulfillIntent": -type ProjectsLocationsAgentsEnvironmentsGetCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall struct { + s *Service + sessionid string + googleclouddialogflowcxv3beta1fulfillintentrequest *GoogleCloudDialogflowCxV3beta1FulfillIntentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Get: Retrieves the specified Environment. -func (r *ProjectsLocationsAgentsEnvironmentsService) Get(name string) *ProjectsLocationsAgentsEnvironmentsGetCall { - c := &ProjectsLocationsAgentsEnvironmentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name +// FulfillIntent: Fulfills a matched intent returned by MatchIntent. +// Must be called after MatchIntent, with input from +// MatchIntentResponse. Otherwise, the behavior is undefined. +func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) FulfillIntent(sessionid string, googleclouddialogflowcxv3beta1fulfillintentrequest *GoogleCloudDialogflowCxV3beta1FulfillIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.sessionid = sessionid + c.googleclouddialogflowcxv3beta1fulfillintentrequest = googleclouddialogflowcxv3beta1fulfillintentrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsGetCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsEnvironmentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsGetCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsGetCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1fulfillintentrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+session}:fulfillIntent") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "session": c.sessionid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.get" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Environment or error -// will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3beta1Environment.ServerResponse.Header or -// (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.fulfillIntent" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1FulfillIntentResponse +// or error will be non-nil. Any non-2xx status code is an error. +// Response headers are in either +// *GoogleCloudDialogflowCxV3beta1FulfillIntentResponse.ServerResponse.He +// ader or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Environment, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1FulfillIntentResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -12192,7 +13985,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Do(opts ...googleapi.CallOp if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1Environment{ + ret := &GoogleCloudDialogflowCxV3beta1FulfillIntentResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -12204,25 +13997,28 @@ func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Do(opts ...googleapi.CallOp } return ret, nil // { - // "description": "Retrieves the specified Environment.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}", - // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.environments.get", + // "description": "Fulfills a matched intent returned by MatchIntent. Must be called after MatchIntent, with input from MatchIntentResponse. Otherwise, the behavior is undefined.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:fulfillIntent", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.environments.sessions.fulfillIntent", // "parameterOrder": [ - // "name" + // "session" // ], // "parameters": { - // "name": { - // "description": "Required. The name of the Environment. Format: `projects//locations//agents//environments/`.", + // "session": { + // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+name}", + // "path": "v3beta1/{+session}:fulfillIntent", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1FulfillIntentRequest" + // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Environment" + // "$ref": "GoogleCloudDialogflowCxV3beta1FulfillIntentResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -12232,110 +14028,89 @@ func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Do(opts ...googleapi.CallOp } -// method id "dialogflow.projects.locations.agents.environments.list": - -type ProjectsLocationsAgentsEnvironmentsListCall struct { - s *Service - parent string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header -} - -// List: Returns the list of all environments in the specified Agent. -func (r *ProjectsLocationsAgentsEnvironmentsService) List(parent string) *ProjectsLocationsAgentsEnvironmentsListCall { - c := &ProjectsLocationsAgentsEnvironmentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - return c -} +// method id "dialogflow.projects.locations.agents.environments.sessions.matchIntent": -// PageSize sets the optional parameter "pageSize": The maximum number -// of items to return in a single page. By default 20 and at most 100. -func (c *ProjectsLocationsAgentsEnvironmentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsListCall { - c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) - return c +type ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall struct { + s *Service + sessionid string + googleclouddialogflowcxv3beta1matchintentrequest *GoogleCloudDialogflowCxV3beta1MatchIntentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// PageToken sets the optional parameter "pageToken": The -// next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsEnvironmentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsListCall { - c.urlParams_.Set("pageToken", pageToken) +// MatchIntent: Returns preliminary intent match results, doesn't change +// the session status. +func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) MatchIntent(sessionid string, googleclouddialogflowcxv3beta1matchintentrequest *GoogleCloudDialogflowCxV3beta1MatchIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.sessionid = sessionid + c.googleclouddialogflowcxv3beta1matchintentrequest = googleclouddialogflowcxv3beta1matchintentrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsListCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsEnvironmentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsListCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsListCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsListCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1matchintentrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/environments") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+session}:matchIntent") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "session": c.sessionid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.list" call. -// Exactly one of -// *GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse or error will -// be non-nil. Any non-2xx status code is an error. Response headers are -// in either -// *GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse.ServerResponse -// .Header or (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.matchIntent" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1MatchIntentResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1MatchIntentResponse.ServerResponse.Head +// er or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsEnvironmentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1MatchIntentResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -12354,7 +14129,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsListCall) Do(opts ...googleapi.CallO if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse{ + ret := &GoogleCloudDialogflowCxV3beta1MatchIntentResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -12366,36 +14141,28 @@ func (c *ProjectsLocationsAgentsEnvironmentsListCall) Do(opts ...googleapi.CallO } return ret, nil // { - // "description": "Returns the list of all environments in the specified Agent.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments", - // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.environments.list", + // "description": "Returns preliminary intent match results, doesn't change the session status.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:matchIntent", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.environments.sessions.matchIntent", // "parameterOrder": [ - // "parent" + // "session" // ], // "parameters": { - // "pageSize": { - // "description": "The maximum number of items to return in a single page. By default 20 and at most 100.", - // "format": "int32", - // "location": "query", - // "type": "integer" - // }, - // "pageToken": { - // "description": "The next_page_token value returned from a previous list request.", - // "location": "query", - // "type": "string" - // }, - // "parent": { - // "description": "Required. The Agent to list all environments for. Format: `projects//locations//agents/`.", + // "session": { + // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/environments", + // "path": "v3beta1/{+session}:matchIntent", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1MatchIntentRequest" + // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse" + // "$ref": "GoogleCloudDialogflowCxV3beta1MatchIntentResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -12405,132 +14172,89 @@ func (c *ProjectsLocationsAgentsEnvironmentsListCall) Do(opts ...googleapi.CallO } -// Pages invokes f for each page of results. -// A non-nil error returned from f will halt the iteration. -// The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsEnvironmentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse) error) error { - c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point - for { - x, err := c.Do() - if err != nil { - return err - } - if err := f(x); err != nil { - return err - } - if x.NextPageToken == "" { - return nil - } - c.PageToken(x.NextPageToken) - } -} - -// method id "dialogflow.projects.locations.agents.environments.lookupEnvironmentHistory": - -type ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header -} - -// LookupEnvironmentHistory: Looks up the history of the specified -// Environment. -func (r *ProjectsLocationsAgentsEnvironmentsService) LookupEnvironmentHistory(name string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { - c := &ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - return c -} +// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.create": -// PageSize sets the optional parameter "pageSize": The maximum number -// of items to return in a single page. By default 100 and at most 1000. -func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { - c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) - return c +type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// PageToken sets the optional parameter "pageToken": The -// next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { - c.urlParams_.Set("pageToken", pageToken) +// Create: Creates a session entity type. If the specified session +// entity type already exists, overrides the session entity type. +func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Create(parent string, googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3beta1sessionentitytype = googleclouddialogflowcxv3beta1sessionentitytype return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1sessionentitytype) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}:lookupEnvironmentHistory") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/entityTypes") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.lookupEnvironmentHistory" call. -// Exactly one of -// *GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse or +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1SessionEntityType or // error will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse.Server -// Response.Header or (if a response was returned at all) in +// *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header +// or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -12549,7 +14273,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Do(opt if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse{ + ret := &GoogleCloudDialogflowCxV3beta1SessionEntityType{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -12561,36 +14285,28 @@ func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Do(opt } return ret, nil // { - // "description": "Looks up the history of the specified Environment.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}:lookupEnvironmentHistory", - // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.environments.lookupEnvironmentHistory", + // "description": "Creates a session entity type. If the specified session entity type already exists, overrides the session entity type.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.create", // "parameterOrder": [ - // "name" + // "parent" // ], // "parameters": { - // "name": { - // "description": "Required. Resource name of the environment to look up the history for. Format: `projects//locations//agents//environments/`.", + // "parent": { + // "description": "Required. The session to create a session entity type for. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", // "required": true, // "type": "string" - // }, - // "pageSize": { - // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", - // "format": "int32", - // "location": "query", - // "type": "integer" - // }, - // "pageToken": { - // "description": "The next_page_token value returned from a previous list request.", - // "location": "query", - // "type": "string" // } // }, - // "path": "v3beta1/{+name}:lookupEnvironmentHistory", + // "path": "v3beta1/{+parent}/entityTypes", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" + // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse" + // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -12600,57 +14316,27 @@ func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Do(opt } -// Pages invokes f for each page of results. -// A non-nil error returned from f will halt the iteration. -// The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse) error) error { - c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point - for { - x, err := c.Do() - if err != nil { - return err - } - if err := f(x); err != nil { - return err - } - if x.NextPageToken == "" { - return nil - } - c.PageToken(x.NextPageToken) - } -} - -// method id "dialogflow.projects.locations.agents.environments.patch": +// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.delete": -type ProjectsLocationsAgentsEnvironmentsPatchCall struct { - s *Service - name string - googleclouddialogflowcxv3beta1environment *GoogleCloudDialogflowCxV3beta1Environment - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Patch: Updates the specified Environment. -func (r *ProjectsLocationsAgentsEnvironmentsService) Patch(name string, googleclouddialogflowcxv3beta1environment *GoogleCloudDialogflowCxV3beta1Environment) *ProjectsLocationsAgentsEnvironmentsPatchCall { - c := &ProjectsLocationsAgentsEnvironmentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Delete: Deletes the specified session entity type. +func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name - c.googleclouddialogflowcxv3beta1environment = googleclouddialogflowcxv3beta1environment - return c -} - -// UpdateMask sets the optional parameter "updateMask": Required. The -// mask to control which fields get updated. -func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEnvironmentsPatchCall { - c.urlParams_.Set("updateMask", updateMask) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsPatchCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -12658,38 +14344,33 @@ func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Fields(s ...googleapi.Fie // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsPatchCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1environment) - if err != nil { - return nil, err - } - reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("PATCH", urls, body) + req, err := http.NewRequest("DELETE", urls, body) if err != nil { return nil, err } @@ -12700,14 +14381,14 @@ func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) doRequest(alt string) (*h return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.patch" call. -// Exactly one of *GoogleLongrunningOperation or error will be non-nil. -// Any non-2xx status code is an error. Response headers are in either -// *GoogleLongrunningOperation.ServerResponse.Header or (if a response -// was returned at all) in error.(*googleapi.Error).Header. Use +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -12726,7 +14407,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Do(opts ...googleapi.Call if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleLongrunningOperation{ + ret := &GoogleProtobufEmpty{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -12738,34 +14419,25 @@ func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Do(opts ...googleapi.Call } return ret, nil // { - // "description": "Updates the specified Environment.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}", - // "httpMethod": "PATCH", - // "id": "dialogflow.projects.locations.agents.environments.patch", + // "description": "Deletes the specified session entity type.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.delete", // "parameterOrder": [ // "name" // ], // "parameters": { // "name": { - // "description": "The name of the environment. Format: `projects//locations//agents//environments/`.", + // "description": "Required. The name of the session entity type to delete. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", // "required": true, // "type": "string" - // }, - // "updateMask": { - // "description": "Required. The mask to control which fields get updated.", - // "format": "google-fieldmask", - // "location": "query", - // "type": "string" // } // }, // "path": "v3beta1/{+name}", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Environment" - // }, // "response": { - // "$ref": "GoogleLongrunningOperation" + // "$ref": "GoogleProtobufEmpty" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -12775,94 +14447,95 @@ func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Do(opts ...googleapi.Call } -// method id "dialogflow.projects.locations.agents.environments.sessions.detectIntent": +// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.get": -type ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall struct { - s *Service - sessionid string - googleclouddialogflowcxv3beta1detectintentrequest *GoogleCloudDialogflowCxV3beta1DetectIntentRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// DetectIntent: Processes a natural language query and returns -// structured, actionable data as a result. This method is not -// idempotent, because it may cause session entity types to be updated, -// which in turn might affect results of future queries. Note: Always -// use agent versions for production traffic. See [Versions and -// environments](https://cloud.google.com/dialogflow/cx/docs/concept/vers -// ion). -func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) DetectIntent(sessionid string, googleclouddialogflowcxv3beta1detectintentrequest *GoogleCloudDialogflowCxV3beta1DetectIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall { - c := &ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.sessionid = sessionid - c.googleclouddialogflowcxv3beta1detectintentrequest = googleclouddialogflowcxv3beta1detectintentrequest +// Get: Retrieves the specified session entity type. +func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1detectintentrequest) - if err != nil { - return nil, err + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } - reqHeaders.Set("Content-Type", "application/json") + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+session}:detectIntent") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "session": c.sessionid, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.sessions.detectIntent" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1DetectIntentResponse or +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1SessionEntityType or // error will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3beta1DetectIntentResponse.ServerResponse.Hea -// der or (if a response was returned at all) in +// *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header +// or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1DetectIntentResponse, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -12881,7 +14554,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Do(opts .. if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1DetectIntentResponse{ + ret := &GoogleCloudDialogflowCxV3beta1SessionEntityType{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -12893,28 +14566,25 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Do(opts .. } return ret, nil // { - // "description": "Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause session entity types to be updated, which in turn might affect results of future queries. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:detectIntent", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.environments.sessions.detectIntent", + // "description": "Retrieves the specified session entity type.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.get", // "parameterOrder": [ - // "session" + // "name" // ], // "parameters": { - // "session": { - // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", + // "name": { + // "description": "Required. The name of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+session}:detectIntent", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1DetectIntentRequest" - // }, + // "path": "v3beta1/{+name}", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1DetectIntentResponse" + // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -12924,90 +14594,111 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Do(opts .. } -// method id "dialogflow.projects.locations.agents.environments.sessions.fulfillIntent": +// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.list": -type ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall struct { - s *Service - sessionid string - googleclouddialogflowcxv3beta1fulfillintentrequest *GoogleCloudDialogflowCxV3beta1FulfillIntentRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// FulfillIntent: Fulfills a matched intent returned by MatchIntent. -// Must be called after MatchIntent, with input from -// MatchIntentResponse. Otherwise, the behavior is undefined. -func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) FulfillIntent(sessionid string, googleclouddialogflowcxv3beta1fulfillintentrequest *GoogleCloudDialogflowCxV3beta1FulfillIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall { - c := &ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.sessionid = sessionid - c.googleclouddialogflowcxv3beta1fulfillintentrequest = googleclouddialogflowcxv3beta1fulfillintentrequest +// List: Returns the list of all session entity types in the specified +// session. +func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 100 and at most 1000. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { + c.urlParams_.Set("pageToken", pageToken) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1fulfillintentrequest) - if err != nil { - return nil, err + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } - reqHeaders.Set("Content-Type", "application/json") + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+session}:fulfillIntent") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/entityTypes") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "session": c.sessionid, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.sessions.fulfillIntent" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1FulfillIntentResponse -// or error will be non-nil. Any non-2xx status code is an error. -// Response headers are in either -// *GoogleCloudDialogflowCxV3beta1FulfillIntentResponse.ServerResponse.He -// ader or (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.list" call. +// Exactly one of +// *GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse.ServerRe +// sponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1FulfillIntentResponse, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -13026,7 +14717,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Do(opts . if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1FulfillIntentResponse{ + ret := &GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -13038,28 +14729,36 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Do(opts . } return ret, nil // { - // "description": "Fulfills a matched intent returned by MatchIntent. Must be called after MatchIntent, with input from MatchIntentResponse. Otherwise, the behavior is undefined.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:fulfillIntent", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.environments.sessions.fulfillIntent", + // "description": "Returns the list of all session entity types in the specified session.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.list", // "parameterOrder": [ - // "session" + // "parent" // ], // "parameters": { - // "session": { - // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The session to list all session entity types from. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+session}:fulfillIntent", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1FulfillIntentRequest" - // }, + // "path": "v3beta1/{+parent}/entityTypes", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1FulfillIntentResponse" + // "$ref": "GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -13069,30 +14768,57 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Do(opts . } -// method id "dialogflow.projects.locations.agents.environments.sessions.matchIntent": +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + +// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.patch": -type ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall struct { - s *Service - sessionid string - googleclouddialogflowcxv3beta1matchintentrequest *GoogleCloudDialogflowCxV3beta1MatchIntentRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// MatchIntent: Returns preliminary intent match results, doesn't change -// the session status. -func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) MatchIntent(sessionid string, googleclouddialogflowcxv3beta1matchintentrequest *GoogleCloudDialogflowCxV3beta1MatchIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall { - c := &ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.sessionid = sessionid - c.googleclouddialogflowcxv3beta1matchintentrequest = googleclouddialogflowcxv3beta1matchintentrequest +// Patch: Updates the specified session entity type. +func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.nameid = nameid + c.googleclouddialogflowcxv3beta1sessionentitytype = googleclouddialogflowcxv3beta1sessionentitytype + return c +} + +// UpdateMask sets the optional parameter "updateMask": The mask to +// control which fields get updated. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall { + c.urlParams_.Set("updateMask", updateMask) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -13100,58 +14826,58 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Fields(s .. // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1matchintentrequest) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1sessionentitytype) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+session}:matchIntent") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("PATCH", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "session": c.sessionid, + "name": c.nameid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.sessions.matchIntent" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1MatchIntentResponse or +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1SessionEntityType or // error will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3beta1MatchIntentResponse.ServerResponse.Head -// er or (if a response was returned at all) in +// *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header +// or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1MatchIntentResponse, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -13170,7 +14896,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Do(opts ... if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1MatchIntentResponse{ + ret := &GoogleCloudDialogflowCxV3beta1SessionEntityType{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -13182,28 +14908,34 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Do(opts ... } return ret, nil // { - // "description": "Returns preliminary intent match results, doesn't change the session status.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:matchIntent", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.environments.sessions.matchIntent", + // "description": "Updates the specified session entity type.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.patch", // "parameterOrder": [ - // "session" + // "name" // ], // "parameters": { - // "session": { - // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", + // "name": { + // "description": "Required. The unique identifier of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", // "required": true, // "type": "string" + // }, + // "updateMask": { + // "description": "The mask to control which fields get updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" // } // }, - // "path": "v3beta1/{+session}:matchIntent", + // "path": "v3beta1/{+name}", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1MatchIntentRequest" + // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1MatchIntentResponse" + // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -13213,30 +14945,42 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Do(opts ... } -// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.create": +// method id "dialogflow.projects.locations.agents.flows.create": -type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall struct { - s *Service - parent string - googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsFlowsCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3beta1flow *GoogleCloudDialogflowCxV3beta1Flow + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Create: Creates a session entity type. If the specified session -// entity type already exists, overrides the session entity type. -func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Create(parent string, googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall { - c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Create: Creates a flow in the specified agent. +func (r *ProjectsLocationsAgentsFlowsService) Create(parent string, googleclouddialogflowcxv3beta1flow *GoogleCloudDialogflowCxV3beta1Flow) *ProjectsLocationsAgentsFlowsCreateCall { + c := &ProjectsLocationsAgentsFlowsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent - c.googleclouddialogflowcxv3beta1sessionentitytype = googleclouddialogflowcxv3beta1sessionentitytype + c.googleclouddialogflowcxv3beta1flow = googleclouddialogflowcxv3beta1flow + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// of the following fields in `flow`: * +// `Flow.event_handlers.trigger_fulfillment.messages` * +// `Flow.transition_routes.trigger_fulfillment.messages` If not +// specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsCreateCall { + c.urlParams_.Set("languageCode", languageCode) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall { +func (c *ProjectsLocationsAgentsFlowsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -13244,36 +14988,36 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Field // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall { +func (c *ProjectsLocationsAgentsFlowsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsCreateCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1sessionentitytype) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1flow) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/entityTypes") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/flows") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -13286,16 +15030,15 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) doReq return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.create" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1SessionEntityType or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header -// or (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.flows.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Flow or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3beta1Flow.ServerResponse.Header or +// (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error) { +func (c *ProjectsLocationsAgentsFlowsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Flow, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -13314,7 +15057,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Do(op if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1SessionEntityType{ + ret := &GoogleCloudDialogflowCxV3beta1Flow{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -13326,28 +15069,33 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Do(op } return ret, nil // { - // "description": "Creates a session entity type. If the specified session entity type already exists, overrides the session entity type.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes", + // "description": "Creates a flow in the specified agent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows", // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.create", + // "id": "dialogflow.projects.locations.agents.flows.create", // "parameterOrder": [ // "parent" // ], // "parameters": { + // "languageCode": { + // "description": "The language of the following fields in `flow`: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, // "parent": { - // "description": "Required. The session to create a session entity type for. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "description": "Required. The agent to create a flow for. Format: `projects//locations//agents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/entityTypes", + // "path": "v3beta1/{+parent}/flows", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" + // "$ref": "GoogleCloudDialogflowCxV3beta1Flow" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" + // "$ref": "GoogleCloudDialogflowCxV3beta1Flow" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -13357,9 +15105,9 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Do(op } -// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.delete": +// method id "dialogflow.projects.locations.agents.flows.delete": -type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall struct { +type ProjectsLocationsAgentsFlowsDeleteCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -13367,17 +15115,29 @@ type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall struct { header_ http.Header } -// Delete: Deletes the specified session entity type. -func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall { - c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Delete: Deletes a specified flow. +func (r *ProjectsLocationsAgentsFlowsService) Delete(name string) *ProjectsLocationsAgentsFlowsDeleteCall { + c := &ProjectsLocationsAgentsFlowsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } +// Force sets the optional parameter "force": This field has no effect +// for flows with no incoming transitions. For flows with incoming +// transitions: * If `force` is set to false, an error will be returned +// with message indicating the incoming transitions. * If `force` is set +// to true, Dialogflow will remove the flow, as well as any transitions +// to the flow (i.e. Target flow in event handlers or Target flow in +// transition routes that point to this flow will be cleared). +func (c *ProjectsLocationsAgentsFlowsDeleteCall) Force(force bool) *ProjectsLocationsAgentsFlowsDeleteCall { + c.urlParams_.Set("force", fmt.Sprint(force)) + return c +} + // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall { +func (c *ProjectsLocationsAgentsFlowsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -13385,23 +15145,23 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Field // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall { +func (c *ProjectsLocationsAgentsFlowsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsDeleteCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13422,14 +15182,14 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) doReq return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.delete" call. +// Do executes the "dialogflow.projects.locations.agents.flows.delete" call. // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any // non-2xx status code is an error. Response headers are in either // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was // returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +func (c *ProjectsLocationsAgentsFlowsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -13460,18 +15220,23 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Do(op } return ret, nil // { - // "description": "Deletes the specified session entity type.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "description": "Deletes a specified flow.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}", // "httpMethod": "DELETE", - // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.delete", + // "id": "dialogflow.projects.locations.agents.flows.delete", // "parameterOrder": [ // "name" // ], // "parameters": { + // "force": { + // "description": "This field has no effect for flows with no incoming transitions. For flows with incoming transitions: * If `force` is set to false, an error will be returned with message indicating the incoming transitions. * If `force` is set to true, Dialogflow will remove the flow, as well as any transitions to the flow (i.e. Target flow in event handlers or Target flow in transition routes that point to this flow will be cleared).", + // "location": "query", + // "type": "boolean" + // }, // "name": { - // "description": "Required. The name of the session entity type to delete. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "description": "Required. The name of the flow to delete. Format: `projects//locations//agents//flows/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", // "required": true, // "type": "string" // } @@ -13488,9 +15253,9 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Do(op } -// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.get": +// method id "dialogflow.projects.locations.agents.flows.get": -type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall struct { +type ProjectsLocationsAgentsFlowsGetCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -13499,17 +15264,30 @@ type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall struct { header_ http.Header } -// Get: Retrieves the specified session entity type. -func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall { - c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Get: Retrieves the specified flow. +func (r *ProjectsLocationsAgentsFlowsService) Get(name string) *ProjectsLocationsAgentsFlowsGetCall { + c := &ProjectsLocationsAgentsFlowsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } +// LanguageCode sets the optional parameter "languageCode": The language +// to retrieve the flow for. The following fields are language +// dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * +// `Flow.transition_routes.trigger_fulfillment.messages` If not +// specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsGetCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall { +func (c *ProjectsLocationsAgentsFlowsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -13519,7 +15297,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Fields(s // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall { +func (c *ProjectsLocationsAgentsFlowsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsGetCall { c.ifNoneMatch_ = entityTag return c } @@ -13527,23 +15305,23 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) IfNoneMa // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall { +func (c *ProjectsLocationsAgentsFlowsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsGetCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13567,16 +15345,15 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) doReques return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.get" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1SessionEntityType or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header -// or (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.flows.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Flow or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3beta1Flow.ServerResponse.Header or +// (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error) { +func (c *ProjectsLocationsAgentsFlowsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Flow, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -13595,7 +15372,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Do(opts if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1SessionEntityType{ + ret := &GoogleCloudDialogflowCxV3beta1Flow{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -13607,25 +15384,30 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Do(opts } return ret, nil // { - // "description": "Retrieves the specified session entity type.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "description": "Retrieves the specified flow.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.get", + // "id": "dialogflow.projects.locations.agents.flows.get", // "parameterOrder": [ // "name" // ], // "parameters": { + // "languageCode": { + // "description": "The language to retrieve the flow for. The following fields are language dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, // "name": { - // "description": "Required. The name of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "description": "Required. The name of the flow to get. Format: `projects//locations//agents//flows/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", // "required": true, // "type": "string" // } // }, // "path": "v3beta1/{+name}", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" + // "$ref": "GoogleCloudDialogflowCxV3beta1Flow" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -13635,9 +15417,9 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Do(opts } -// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.list": +// method id "dialogflow.projects.locations.agents.flows.list": -type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall struct { +type ProjectsLocationsAgentsFlowsListCall struct { s *Service parent string urlParams_ gensupport.URLParams @@ -13646,24 +15428,36 @@ type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall struct { header_ http.Header } -// List: Returns the list of all session entity types in the specified -// session. -func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { - c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// List: Returns the list of all flows in the specified agent. +func (r *ProjectsLocationsAgentsFlowsService) List(parent string) *ProjectsLocationsAgentsFlowsListCall { + c := &ProjectsLocationsAgentsFlowsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent return c } +// LanguageCode sets the optional parameter "languageCode": The language +// to list flows for. The following fields are language dependent: * +// `Flow.event_handlers.trigger_fulfillment.messages` * +// `Flow.transition_routes.trigger_fulfillment.messages` If not +// specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsListCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + // PageSize sets the optional parameter "pageSize": The maximum number // of items to return in a single page. By default 100 and at most 1000. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { +func (c *ProjectsLocationsAgentsFlowsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": The // next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { +func (c *ProjectsLocationsAgentsFlowsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsListCall { c.urlParams_.Set("pageToken", pageToken) return c } @@ -13671,7 +15465,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) PageTok // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { +func (c *ProjectsLocationsAgentsFlowsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -13681,7 +15475,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Fields( // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { +func (c *ProjectsLocationsAgentsFlowsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsListCall { c.ifNoneMatch_ = entityTag return c } @@ -13689,23 +15483,23 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) IfNoneM // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { +func (c *ProjectsLocationsAgentsFlowsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13716,7 +15510,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) doReque var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/entityTypes") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/flows") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -13729,17 +15523,16 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) doReque return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.list" call. -// Exactly one of -// *GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse or +// Do executes the "dialogflow.projects.locations.agents.flows.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1ListFlowsResponse or // error will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse.ServerRe -// sponse.Header or (if a response was returned at all) in +// *GoogleCloudDialogflowCxV3beta1ListFlowsResponse.ServerResponse.Header +// or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse, error) { +func (c *ProjectsLocationsAgentsFlowsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListFlowsResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -13758,7 +15551,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Do(opts if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse{ + ret := &GoogleCloudDialogflowCxV3beta1ListFlowsResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -13770,14 +15563,19 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Do(opts } return ret, nil // { - // "description": "Returns the list of all session entity types in the specified session.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes", + // "description": "Returns the list of all flows in the specified agent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.list", + // "id": "dialogflow.projects.locations.agents.flows.list", // "parameterOrder": [ // "parent" // ], // "parameters": { + // "languageCode": { + // "description": "The language to list flows for. The following fields are language dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, // "pageSize": { // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", // "format": "int32", @@ -13790,16 +15588,16 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Do(opts // "type": "string" // }, // "parent": { - // "description": "Required. The session to list all session entity types from. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "description": "Required. The agent containing the flows. Format: `projects//locations//agents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/entityTypes", + // "path": "v3beta1/{+parent}/flows", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse" + // "$ref": "GoogleCloudDialogflowCxV3beta1ListFlowsResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -13812,7 +15610,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Do(opts // Pages invokes f for each page of results. // A non-nil error returned from f will halt the iteration. // The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse) error) error { +func (c *ProjectsLocationsAgentsFlowsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListFlowsResponse) error) error { c.ctx_ = ctx defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point for { @@ -13830,28 +15628,42 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Pages(c } } -// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.patch": +// method id "dialogflow.projects.locations.agents.flows.patch": -type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall struct { - s *Service - nameid string - googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsFlowsPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3beta1flow *GoogleCloudDialogflowCxV3beta1Flow + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Patch: Updates the specified session entity type. -func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall { - c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Patch: Updates the specified flow. +func (r *ProjectsLocationsAgentsFlowsService) Patch(nameid string, googleclouddialogflowcxv3beta1flow *GoogleCloudDialogflowCxV3beta1Flow) *ProjectsLocationsAgentsFlowsPatchCall { + c := &ProjectsLocationsAgentsFlowsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.nameid = nameid - c.googleclouddialogflowcxv3beta1sessionentitytype = googleclouddialogflowcxv3beta1sessionentitytype + c.googleclouddialogflowcxv3beta1flow = googleclouddialogflowcxv3beta1flow return c } -// UpdateMask sets the optional parameter "updateMask": The mask to -// control which fields get updated. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall { +// LanguageCode sets the optional parameter "languageCode": The language +// of the following fields in `flow`: * +// `Flow.event_handlers.trigger_fulfillment.messages` * +// `Flow.transition_routes.trigger_fulfillment.messages` If not +// specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPatchCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// UpdateMask sets the optional parameter "updateMask": Required. The +// mask to control which fields get updated. If `update_mask` is not +// specified, an error will be returned. +func (c *ProjectsLocationsAgentsFlowsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsPatchCall { c.urlParams_.Set("updateMask", updateMask) return c } @@ -13859,7 +15671,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Update // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall { +func (c *ProjectsLocationsAgentsFlowsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -13867,29 +15679,29 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Fields // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall { +func (c *ProjectsLocationsAgentsFlowsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1sessionentitytype) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1flow) if err != nil { return nil, err } @@ -13909,16 +15721,15 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) doRequ return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.patch" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1SessionEntityType or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header -// or (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.flows.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Flow or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3beta1Flow.ServerResponse.Header or +// (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error) { +func (c *ProjectsLocationsAgentsFlowsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Flow, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -13937,7 +15748,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Do(opt if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1SessionEntityType{ + ret := &GoogleCloudDialogflowCxV3beta1Flow{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -13949,23 +15760,28 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Do(opt } return ret, nil // { - // "description": "Updates the specified session entity type.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "description": "Updates the specified flow.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}", // "httpMethod": "PATCH", - // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.patch", + // "id": "dialogflow.projects.locations.agents.flows.patch", // "parameterOrder": [ // "name" // ], // "parameters": { + // "languageCode": { + // "description": "The language of the following fields in `flow`: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, // "name": { - // "description": "Required. The unique identifier of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "description": "The unique identifier of the flow. Format: `projects//locations//agents//flows/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", // "required": true, // "type": "string" // }, // "updateMask": { - // "description": "The mask to control which fields get updated.", + // "description": "Required. The mask to control which fields get updated. If `update_mask` is not specified, an error will be returned.", // "format": "google-fieldmask", // "location": "query", // "type": "string" @@ -13973,10 +15789,10 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Do(opt // }, // "path": "v3beta1/{+name}", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" + // "$ref": "GoogleCloudDialogflowCxV3beta1Flow" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" + // "$ref": "GoogleCloudDialogflowCxV3beta1Flow" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -13986,42 +15802,30 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Do(opt } -// method id "dialogflow.projects.locations.agents.flows.create": - -type ProjectsLocationsAgentsFlowsCreateCall struct { - s *Service - parent string - googleclouddialogflowcxv3beta1flow *GoogleCloudDialogflowCxV3beta1Flow - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} +// method id "dialogflow.projects.locations.agents.flows.train": -// Create: Creates a flow in the specified agent. -func (r *ProjectsLocationsAgentsFlowsService) Create(parent string, googleclouddialogflowcxv3beta1flow *GoogleCloudDialogflowCxV3beta1Flow) *ProjectsLocationsAgentsFlowsCreateCall { - c := &ProjectsLocationsAgentsFlowsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - c.googleclouddialogflowcxv3beta1flow = googleclouddialogflowcxv3beta1flow - return c +type ProjectsLocationsAgentsFlowsTrainCall struct { + s *Service + name string + googleclouddialogflowcxv3beta1trainflowrequest *GoogleCloudDialogflowCxV3beta1TrainFlowRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// LanguageCode sets the optional parameter "languageCode": The language -// of the following fields in `flow`: * -// `Flow.event_handlers.trigger_fulfillment.messages` * -// `Flow.transition_routes.trigger_fulfillment.messages` If not -// specified, the agent's default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsFlowsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsCreateCall { - c.urlParams_.Set("languageCode", languageCode) +// Train: Trains the specified flow. Note that only the flow in 'draft' +// environment is trained. +func (r *ProjectsLocationsAgentsFlowsService) Train(name string, googleclouddialogflowcxv3beta1trainflowrequest *GoogleCloudDialogflowCxV3beta1TrainFlowRequest) *ProjectsLocationsAgentsFlowsTrainCall { + c := &ProjectsLocationsAgentsFlowsTrainCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.googleclouddialogflowcxv3beta1trainflowrequest = googleclouddialogflowcxv3beta1trainflowrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsCreateCall { +func (c *ProjectsLocationsAgentsFlowsTrainCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTrainCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -14029,36 +15833,36 @@ func (c *ProjectsLocationsAgentsFlowsCreateCall) Fields(s ...googleapi.Field) *P // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsCreateCall { +func (c *ProjectsLocationsAgentsFlowsTrainCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTrainCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsCreateCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsTrainCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsTrainCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1flow) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1trainflowrequest) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/flows") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}:train") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -14066,20 +15870,19 @@ func (c *ProjectsLocationsAgentsFlowsCreateCall) doRequest(alt string) (*http.Re } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.create" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Flow or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3beta1Flow.ServerResponse.Header or -// (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsFlowsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Flow, error) { +// Do executes the "dialogflow.projects.locations.agents.flows.train" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsTrainCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -14098,7 +15901,7 @@ func (c *ProjectsLocationsAgentsFlowsCreateCall) Do(opts ...googleapi.CallOption if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1Flow{ + ret := &GoogleLongrunningOperation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -14110,33 +15913,28 @@ func (c *ProjectsLocationsAgentsFlowsCreateCall) Do(opts ...googleapi.CallOption } return ret, nil // { - // "description": "Creates a flow in the specified agent.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows", + // "description": "Trains the specified flow. Note that only the flow in 'draft' environment is trained.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}:train", // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.flows.create", + // "id": "dialogflow.projects.locations.agents.flows.train", // "parameterOrder": [ - // "parent" + // "name" // ], // "parameters": { - // "languageCode": { - // "description": "The language of the following fields in `flow`: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, - // "parent": { - // "description": "Required. The agent to create a flow for. Format: `projects//locations//agents/`.", + // "name": { + // "description": "Required. The flow to train. Format: `projects//locations//agents//flows/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/flows", + // "path": "v3beta1/{+name}:train", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Flow" + // "$ref": "GoogleCloudDialogflowCxV3beta1TrainFlowRequest" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Flow" + // "$ref": "GoogleLongrunningOperation" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -14146,39 +15944,46 @@ func (c *ProjectsLocationsAgentsFlowsCreateCall) Do(opts ...googleapi.CallOption } -// method id "dialogflow.projects.locations.agents.flows.delete": +// method id "dialogflow.projects.locations.agents.flows.pages.create": -type ProjectsLocationsAgentsFlowsDeleteCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsFlowsPagesCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3beta1page *GoogleCloudDialogflowCxV3beta1Page + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Delete: Deletes a specified flow. -func (r *ProjectsLocationsAgentsFlowsService) Delete(name string) *ProjectsLocationsAgentsFlowsDeleteCall { - c := &ProjectsLocationsAgentsFlowsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name +// Create: Creates a page in the specified flow. +func (r *ProjectsLocationsAgentsFlowsPagesService) Create(parent string, googleclouddialogflowcxv3beta1page *GoogleCloudDialogflowCxV3beta1Page) *ProjectsLocationsAgentsFlowsPagesCreateCall { + c := &ProjectsLocationsAgentsFlowsPagesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3beta1page = googleclouddialogflowcxv3beta1page return c } -// Force sets the optional parameter "force": This field has no effect -// for flows with no incoming transitions. For flows with incoming -// transitions: * If `force` is set to false, an error will be returned -// with message indicating the incoming transitions. * If `force` is set -// to true, Dialogflow will remove the flow, as well as any transitions -// to the flow (i.e. Target flow in event handlers or Target flow in -// transition routes that point to this flow will be cleared). -func (c *ProjectsLocationsAgentsFlowsDeleteCall) Force(force bool) *ProjectsLocationsAgentsFlowsDeleteCall { - c.urlParams_.Set("force", fmt.Sprint(force)) +// LanguageCode sets the optional parameter "languageCode": The language +// of the following fields in `page`: * +// `Page.entry_fulfillment.messages` * +// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message +// s` * +// `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` +// * `Page.transition_routes.trigger_fulfillment.messages` * +// `Page.transition_route_groups.transition_routes.trigger_fulfillment.me +// ssages` If not specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesCreateCall { + c.urlParams_.Set("languageCode", languageCode) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsDeleteCall { +func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -14186,51 +15991,57 @@ func (c *ProjectsLocationsAgentsFlowsDeleteCall) Fields(s ...googleapi.Field) *P // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsDeleteCall { +func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesCreateCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsDeleteCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1page) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/pages") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("DELETE", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.delete" call. -// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any -// non-2xx status code is an error. Response headers are in either -// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was -// returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +// Do executes the "dialogflow.projects.locations.agents.flows.pages.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Page or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3beta1Page.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Page, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -14249,7 +16060,7 @@ func (c *ProjectsLocationsAgentsFlowsDeleteCall) Do(opts ...googleapi.CallOption if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleProtobufEmpty{ + ret := &GoogleCloudDialogflowCxV3beta1Page{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -14261,30 +16072,33 @@ func (c *ProjectsLocationsAgentsFlowsDeleteCall) Do(opts ...googleapi.CallOption } return ret, nil // { - // "description": "Deletes a specified flow.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}", - // "httpMethod": "DELETE", - // "id": "dialogflow.projects.locations.agents.flows.delete", + // "description": "Creates a page in the specified flow.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.flows.pages.create", // "parameterOrder": [ - // "name" + // "parent" // ], // "parameters": { - // "force": { - // "description": "This field has no effect for flows with no incoming transitions. For flows with incoming transitions: * If `force` is set to false, an error will be returned with message indicating the incoming transitions. * If `force` is set to true, Dialogflow will remove the flow, as well as any transitions to the flow (i.e. Target flow in event handlers or Target flow in transition routes that point to this flow will be cleared).", + // "languageCode": { + // "description": "The language of the following fields in `page`: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", // "location": "query", - // "type": "boolean" + // "type": "string" // }, - // "name": { - // "description": "Required. The name of the flow to delete. Format: `projects//locations//agents//flows/`.", + // "parent": { + // "description": "Required. The flow to create a page for. Format: `projects//locations//agents//flows/`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+name}", + // "path": "v3beta1/{+parent}/pages", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1Page" + // }, // "response": { - // "$ref": "GoogleProtobufEmpty" + // "$ref": "GoogleCloudDialogflowCxV3beta1Page" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -14294,88 +16108,73 @@ func (c *ProjectsLocationsAgentsFlowsDeleteCall) Do(opts ...googleapi.CallOption } -// method id "dialogflow.projects.locations.agents.flows.get": +// method id "dialogflow.projects.locations.agents.flows.pages.delete": -type ProjectsLocationsAgentsFlowsGetCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsFlowsPagesDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Get: Retrieves the specified flow. -func (r *ProjectsLocationsAgentsFlowsService) Get(name string) *ProjectsLocationsAgentsFlowsGetCall { - c := &ProjectsLocationsAgentsFlowsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Delete: Deletes the specified page. +func (r *ProjectsLocationsAgentsFlowsPagesService) Delete(name string) *ProjectsLocationsAgentsFlowsPagesDeleteCall { + c := &ProjectsLocationsAgentsFlowsPagesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } -// LanguageCode sets the optional parameter "languageCode": The language -// to retrieve the flow for. The following fields are language -// dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * -// `Flow.transition_routes.trigger_fulfillment.messages` If not -// specified, the agent's default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsFlowsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsGetCall { - c.urlParams_.Set("languageCode", languageCode) +// Force sets the optional parameter "force": This field has no effect +// for pages with no incoming transitions. For pages with incoming +// transitions: * If `force` is set to false, an error will be returned +// with message indicating the incoming transitions. * If `force` is set +// to true, Dialogflow will remove the page, as well as any transitions +// to the page (i.e. Target page in event handlers or Target page in +// transition routes that point to this page will be cleared). +func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Force(force bool) *ProjectsLocationsAgentsFlowsPagesDeleteCall { + c.urlParams_.Set("force", fmt.Sprint(force)) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsGetCall { +func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsFlowsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsGetCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsGetCall { +func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesDeleteCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsGetCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("DELETE", urls, body) if err != nil { return nil, err } @@ -14386,15 +16185,14 @@ func (c *ProjectsLocationsAgentsFlowsGetCall) doRequest(alt string) (*http.Respo return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.get" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Flow or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3beta1Flow.ServerResponse.Header or -// (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsFlowsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Flow, error) { +// Do executes the "dialogflow.projects.locations.agents.flows.pages.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -14413,7 +16211,7 @@ func (c *ProjectsLocationsAgentsFlowsGetCall) Do(opts ...googleapi.CallOption) ( if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1Flow{ + ret := &GoogleProtobufEmpty{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -14425,30 +16223,30 @@ func (c *ProjectsLocationsAgentsFlowsGetCall) Do(opts ...googleapi.CallOption) ( } return ret, nil // { - // "description": "Retrieves the specified flow.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}", - // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.flows.get", + // "description": "Deletes the specified page.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages/{pagesId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.flows.pages.delete", // "parameterOrder": [ // "name" // ], - // "parameters": { - // "languageCode": { - // "description": "The language to retrieve the flow for. The following fields are language dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "parameters": { + // "force": { + // "description": "This field has no effect for pages with no incoming transitions. For pages with incoming transitions: * If `force` is set to false, an error will be returned with message indicating the incoming transitions. * If `force` is set to true, Dialogflow will remove the page, as well as any transitions to the page (i.e. Target page in event handlers or Target page in transition routes that point to this page will be cleared).", // "location": "query", - // "type": "string" + // "type": "boolean" // }, // "name": { - // "description": "Required. The name of the flow to get. Format: `projects//locations//agents//flows/`.", + // "description": "Required. The name of the page to delete. Format: `projects//locations//agents//Flows//pages/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/pages/[^/]+$", // "required": true, // "type": "string" // } // }, // "path": "v3beta1/{+name}", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Flow" + // "$ref": "GoogleProtobufEmpty" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -14458,55 +16256,45 @@ func (c *ProjectsLocationsAgentsFlowsGetCall) Do(opts ...googleapi.CallOption) ( } -// method id "dialogflow.projects.locations.agents.flows.list": +// method id "dialogflow.projects.locations.agents.flows.pages.get": -type ProjectsLocationsAgentsFlowsListCall struct { +type ProjectsLocationsAgentsFlowsPagesGetCall struct { s *Service - parent string + name string urlParams_ gensupport.URLParams ifNoneMatch_ string ctx_ context.Context header_ http.Header } -// List: Returns the list of all flows in the specified agent. -func (r *ProjectsLocationsAgentsFlowsService) List(parent string) *ProjectsLocationsAgentsFlowsListCall { - c := &ProjectsLocationsAgentsFlowsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent +// Get: Retrieves the specified page. +func (r *ProjectsLocationsAgentsFlowsPagesService) Get(name string) *ProjectsLocationsAgentsFlowsPagesGetCall { + c := &ProjectsLocationsAgentsFlowsPagesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name return c } // LanguageCode sets the optional parameter "languageCode": The language -// to list flows for. The following fields are language dependent: * -// `Flow.event_handlers.trigger_fulfillment.messages` * -// `Flow.transition_routes.trigger_fulfillment.messages` If not -// specified, the agent's default language is used. [Many +// to retrieve the page for. The following fields are language +// dependent: * `Page.entry_fulfillment.messages` * +// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message +// s` * +// `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` +// * `Page.transition_routes.trigger_fulfillment.messages` * +// `Page.transition_route_groups.transition_routes.trigger_fulfillment.me +// ssages` If not specified, the agent's default language is used. [Many // languages](https://cloud.google.com/dialogflow/docs/reference/language // ) are supported. Note: languages must be enabled in the agent before // they can be used. -func (c *ProjectsLocationsAgentsFlowsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsListCall { +func (c *ProjectsLocationsAgentsFlowsPagesGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesGetCall { c.urlParams_.Set("languageCode", languageCode) return c } -// PageSize sets the optional parameter "pageSize": The maximum number -// of items to return in a single page. By default 100 and at most 1000. -func (c *ProjectsLocationsAgentsFlowsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsListCall { - c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) - return c -} - -// PageToken sets the optional parameter "pageToken": The -// next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsFlowsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsListCall { - c.urlParams_.Set("pageToken", pageToken) - return c -} - // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsListCall { +func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -14516,7 +16304,7 @@ func (c *ProjectsLocationsAgentsFlowsListCall) Fields(s ...googleapi.Field) *Pro // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsFlowsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsListCall { +func (c *ProjectsLocationsAgentsFlowsPagesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsPagesGetCall { c.ifNoneMatch_ = entityTag return c } @@ -14524,23 +16312,23 @@ func (c *ProjectsLocationsAgentsFlowsListCall) IfNoneMatch(entityTag string) *Pr // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsListCall { +func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesGetCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsListCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsPagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14551,7 +16339,7 @@ func (c *ProjectsLocationsAgentsFlowsListCall) doRequest(alt string) (*http.Resp var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/flows") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -14559,21 +16347,20 @@ func (c *ProjectsLocationsAgentsFlowsListCall) doRequest(alt string) (*http.Resp } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.list" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1ListFlowsResponse or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3beta1ListFlowsResponse.ServerResponse.Header -// or (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.flows.pages.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Page or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3beta1Page.ServerResponse.Header or +// (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsFlowsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListFlowsResponse, error) { +func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Page, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -14592,7 +16379,7 @@ func (c *ProjectsLocationsAgentsFlowsListCall) Do(opts ...googleapi.CallOption) if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1ListFlowsResponse{ + ret := &GoogleCloudDialogflowCxV3beta1Page{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -14604,41 +16391,30 @@ func (c *ProjectsLocationsAgentsFlowsListCall) Do(opts ...googleapi.CallOption) } return ret, nil // { - // "description": "Returns the list of all flows in the specified agent.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows", + // "description": "Retrieves the specified page.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages/{pagesId}", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.flows.list", + // "id": "dialogflow.projects.locations.agents.flows.pages.get", // "parameterOrder": [ - // "parent" + // "name" // ], // "parameters": { // "languageCode": { - // "description": "The language to list flows for. The following fields are language dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, - // "pageSize": { - // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", - // "format": "int32", - // "location": "query", - // "type": "integer" - // }, - // "pageToken": { - // "description": "The next_page_token value returned from a previous list request.", + // "description": "The language to retrieve the page for. The following fields are language dependent: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", // "location": "query", // "type": "string" // }, - // "parent": { - // "description": "Required. The agent containing the flows. Format: `projects//locations//agents/`.", + // "name": { + // "description": "Required. The name of the page. Format: `projects//locations//agents//flows//pages/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/pages/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/flows", + // "path": "v3beta1/{+name}", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1ListFlowsResponse" + // "$ref": "GoogleCloudDialogflowCxV3beta1Page" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -14648,129 +16424,126 @@ func (c *ProjectsLocationsAgentsFlowsListCall) Do(opts ...googleapi.CallOption) } -// Pages invokes f for each page of results. -// A non-nil error returned from f will halt the iteration. -// The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsFlowsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListFlowsResponse) error) error { - c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point - for { - x, err := c.Do() - if err != nil { - return err - } - if err := f(x); err != nil { - return err - } - if x.NextPageToken == "" { - return nil - } - c.PageToken(x.NextPageToken) - } -} - -// method id "dialogflow.projects.locations.agents.flows.patch": +// method id "dialogflow.projects.locations.agents.flows.pages.list": -type ProjectsLocationsAgentsFlowsPatchCall struct { - s *Service - nameid string - googleclouddialogflowcxv3beta1flow *GoogleCloudDialogflowCxV3beta1Flow - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsFlowsPagesListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// Patch: Updates the specified flow. -func (r *ProjectsLocationsAgentsFlowsService) Patch(nameid string, googleclouddialogflowcxv3beta1flow *GoogleCloudDialogflowCxV3beta1Flow) *ProjectsLocationsAgentsFlowsPatchCall { - c := &ProjectsLocationsAgentsFlowsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.nameid = nameid - c.googleclouddialogflowcxv3beta1flow = googleclouddialogflowcxv3beta1flow +// List: Returns the list of all pages in the specified flow. +func (r *ProjectsLocationsAgentsFlowsPagesService) List(parent string) *ProjectsLocationsAgentsFlowsPagesListCall { + c := &ProjectsLocationsAgentsFlowsPagesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent return c } // LanguageCode sets the optional parameter "languageCode": The language -// of the following fields in `flow`: * -// `Flow.event_handlers.trigger_fulfillment.messages` * -// `Flow.transition_routes.trigger_fulfillment.messages` If not -// specified, the agent's default language is used. [Many +// to list pages for. The following fields are language dependent: * +// `Page.entry_fulfillment.messages` * +// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message +// s` * +// `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` +// * `Page.transition_routes.trigger_fulfillment.messages` * +// `Page.transition_route_groups.transition_routes.trigger_fulfillment.me +// ssages` If not specified, the agent's default language is used. [Many // languages](https://cloud.google.com/dialogflow/docs/reference/language // ) are supported. Note: languages must be enabled in the agent before // they can be used. -func (c *ProjectsLocationsAgentsFlowsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPatchCall { +func (c *ProjectsLocationsAgentsFlowsPagesListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesListCall { c.urlParams_.Set("languageCode", languageCode) return c } -// UpdateMask sets the optional parameter "updateMask": Required. The -// mask to control which fields get updated. If `update_mask` is not -// specified, an error will be returned. -func (c *ProjectsLocationsAgentsFlowsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsPatchCall { - c.urlParams_.Set("updateMask", updateMask) +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 100 and at most 1000. +func (c *ProjectsLocationsAgentsFlowsPagesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsPagesListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsFlowsPagesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsPagesListCall { + c.urlParams_.Set("pageToken", pageToken) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPatchCall { +func (c *ProjectsLocationsAgentsFlowsPagesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsFlowsPagesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsPagesListCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPatchCall { +func (c *ProjectsLocationsAgentsFlowsPagesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsPatchCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsPagesListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsPagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1flow) - if err != nil { - return nil, err + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } - reqHeaders.Set("Content-Type", "application/json") + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/pages") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("PATCH", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.nameid, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.patch" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Flow or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3beta1Flow.ServerResponse.Header or -// (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.flows.pages.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1ListPagesResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1ListPagesResponse.ServerResponse.Header +// or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsFlowsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Flow, error) { +func (c *ProjectsLocationsAgentsFlowsPagesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListPagesResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -14789,7 +16562,7 @@ func (c *ProjectsLocationsAgentsFlowsPatchCall) Do(opts ...googleapi.CallOption) if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1Flow{ + ret := &GoogleCloudDialogflowCxV3beta1ListPagesResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -14801,39 +16574,41 @@ func (c *ProjectsLocationsAgentsFlowsPatchCall) Do(opts ...googleapi.CallOption) } return ret, nil // { - // "description": "Updates the specified flow.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}", - // "httpMethod": "PATCH", - // "id": "dialogflow.projects.locations.agents.flows.patch", + // "description": "Returns the list of all pages in the specified flow.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.flows.pages.list", // "parameterOrder": [ - // "name" + // "parent" // ], // "parameters": { // "languageCode": { - // "description": "The language of the following fields in `flow`: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "description": "The language to list pages for. The following fields are language dependent: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", // "location": "query", // "type": "string" // }, - // "name": { - // "description": "The unique identifier of the flow. Format: `projects//locations//agents//flows/`.", + // "parent": { + // "description": "Required. The flow to list all pages for. Format: `projects//locations//agents//flows/`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", // "required": true, // "type": "string" - // }, - // "updateMask": { - // "description": "Required. The mask to control which fields get updated. If `update_mask` is not specified, an error will be returned.", - // "format": "google-fieldmask", - // "location": "query", - // "type": "string" // } // }, - // "path": "v3beta1/{+name}", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Flow" - // }, + // "path": "v3beta1/{+parent}/pages", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Flow" + // "$ref": "GoogleCloudDialogflowCxV3beta1ListPagesResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -14843,30 +16618,75 @@ func (c *ProjectsLocationsAgentsFlowsPatchCall) Do(opts ...googleapi.CallOption) } -// method id "dialogflow.projects.locations.agents.flows.train": +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsFlowsPagesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListPagesResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} -type ProjectsLocationsAgentsFlowsTrainCall struct { - s *Service - name string - googleclouddialogflowcxv3beta1trainflowrequest *GoogleCloudDialogflowCxV3beta1TrainFlowRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +// method id "dialogflow.projects.locations.agents.flows.pages.patch": + +type ProjectsLocationsAgentsFlowsPagesPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3beta1page *GoogleCloudDialogflowCxV3beta1Page + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Train: Trains the specified flow. Note that only the flow in 'draft' -// environment is trained. -func (r *ProjectsLocationsAgentsFlowsService) Train(name string, googleclouddialogflowcxv3beta1trainflowrequest *GoogleCloudDialogflowCxV3beta1TrainFlowRequest) *ProjectsLocationsAgentsFlowsTrainCall { - c := &ProjectsLocationsAgentsFlowsTrainCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - c.googleclouddialogflowcxv3beta1trainflowrequest = googleclouddialogflowcxv3beta1trainflowrequest +// Patch: Updates the specified page. +func (r *ProjectsLocationsAgentsFlowsPagesService) Patch(nameid string, googleclouddialogflowcxv3beta1page *GoogleCloudDialogflowCxV3beta1Page) *ProjectsLocationsAgentsFlowsPagesPatchCall { + c := &ProjectsLocationsAgentsFlowsPagesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.nameid = nameid + c.googleclouddialogflowcxv3beta1page = googleclouddialogflowcxv3beta1page + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// of the following fields in `page`: * +// `Page.entry_fulfillment.messages` * +// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message +// s` * +// `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` +// * `Page.transition_routes.trigger_fulfillment.messages` * +// `Page.transition_route_groups.transition_routes.trigger_fulfillment.me +// ssages` If not specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesPatchCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// UpdateMask sets the optional parameter "updateMask": The mask to +// control which fields get updated. If the mask is not present, all +// fields will be updated. +func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsPagesPatchCall { + c.urlParams_.Set("updateMask", updateMask) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsTrainCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTrainCall { +func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -14874,56 +16694,57 @@ func (c *ProjectsLocationsAgentsFlowsTrainCall) Fields(s ...googleapi.Field) *Pr // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsTrainCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTrainCall { +func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsTrainCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsTrainCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1trainflowrequest) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1page) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}:train") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("PATCH", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "name": c.nameid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.train" call. -// Exactly one of *GoogleLongrunningOperation or error will be non-nil. -// Any non-2xx status code is an error. Response headers are in either -// *GoogleLongrunningOperation.ServerResponse.Header or (if a response -// was returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsTrainCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { +// Do executes the "dialogflow.projects.locations.agents.flows.pages.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Page or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3beta1Page.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Page, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -14942,7 +16763,7 @@ func (c *ProjectsLocationsAgentsFlowsTrainCall) Do(opts ...googleapi.CallOption) if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleLongrunningOperation{ + ret := &GoogleCloudDialogflowCxV3beta1Page{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -14954,28 +16775,39 @@ func (c *ProjectsLocationsAgentsFlowsTrainCall) Do(opts ...googleapi.CallOption) } return ret, nil // { - // "description": "Trains the specified flow. Note that only the flow in 'draft' environment is trained.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}:train", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.flows.train", + // "description": "Updates the specified page.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages/{pagesId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.flows.pages.patch", // "parameterOrder": [ // "name" // ], // "parameters": { + // "languageCode": { + // "description": "The language of the following fields in `page`: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, // "name": { - // "description": "Required. The flow to train. Format: `projects//locations//agents//flows/`.", + // "description": "The unique identifier of the page. Required for the Pages.UpdatePage method. Pages.CreatePage populates the name automatically. Format: `projects//locations//agents//flows//pages/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/pages/[^/]+$", // "required": true, // "type": "string" + // }, + // "updateMask": { + // "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" // } // }, - // "path": "v3beta1/{+name}:train", + // "path": "v3beta1/{+name}", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1TrainFlowRequest" + // "$ref": "GoogleCloudDialogflowCxV3beta1Page" // }, // "response": { - // "$ref": "GoogleLongrunningOperation" + // "$ref": "GoogleCloudDialogflowCxV3beta1Page" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -14985,38 +16817,33 @@ func (c *ProjectsLocationsAgentsFlowsTrainCall) Do(opts ...googleapi.CallOption) } -// method id "dialogflow.projects.locations.agents.flows.pages.create": +// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.create": -type ProjectsLocationsAgentsFlowsPagesCreateCall struct { - s *Service - parent string - googleclouddialogflowcxv3beta1page *GoogleCloudDialogflowCxV3beta1Page - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3beta1transitionroutegroup *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Create: Creates a page in the specified flow. -func (r *ProjectsLocationsAgentsFlowsPagesService) Create(parent string, googleclouddialogflowcxv3beta1page *GoogleCloudDialogflowCxV3beta1Page) *ProjectsLocationsAgentsFlowsPagesCreateCall { - c := &ProjectsLocationsAgentsFlowsPagesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Create: Creates an TransitionRouteGroup in the specified flow. +func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Create(parent string, googleclouddialogflowcxv3beta1transitionroutegroup *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall { + c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent - c.googleclouddialogflowcxv3beta1page = googleclouddialogflowcxv3beta1page + c.googleclouddialogflowcxv3beta1transitionroutegroup = googleclouddialogflowcxv3beta1transitionroutegroup return c } // LanguageCode sets the optional parameter "languageCode": The language -// of the following fields in `page`: * -// `Page.entry_fulfillment.messages` * -// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message -// s` * -// `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` -// * `Page.transition_routes.trigger_fulfillment.messages` * -// `Page.transition_route_groups.transition_routes.trigger_fulfillment.me -// ssages` If not specified, the agent's default language is used. [Many +// to list transition route groups for. The field `messages` in +// TransitionRoute is language dependent. If not specified, the agent's +// default language is used. [Many // languages](https://cloud.google.com/dialogflow/docs/reference/language // ) are supported. Note: languages must be enabled in the agent before // they can be used. -func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesCreateCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall { c.urlParams_.Set("languageCode", languageCode) return c } @@ -15024,7 +16851,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) LanguageCode(languageCode // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesCreateCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -15032,36 +16859,36 @@ func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Fields(s ...googleapi.Fiel // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesCreateCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1page) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1transitionroutegroup) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/pages") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/transitionRouteGroups") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -15074,15 +16901,16 @@ func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) doRequest(alt string) (*ht return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.pages.create" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Page or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3beta1Page.ServerResponse.Header or -// (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup.ServerResponse.Hea +// der or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Page, error) { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1TransitionRouteGroup, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -15101,7 +16929,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Do(opts ...googleapi.CallO if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1Page{ + ret := &GoogleCloudDialogflowCxV3beta1TransitionRouteGroup{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -15113,33 +16941,33 @@ func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Do(opts ...googleapi.CallO } return ret, nil // { - // "description": "Creates a page in the specified flow.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages", + // "description": "Creates an TransitionRouteGroup in the specified flow.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups", // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.flows.pages.create", + // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.create", // "parameterOrder": [ // "parent" // ], // "parameters": { // "languageCode": { - // "description": "The language of the following fields in `page`: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", // "location": "query", // "type": "string" // }, // "parent": { - // "description": "Required. The flow to create a page for. Format: `projects//locations//agents//flows/`.", + // "description": "Required. The flow to create an TransitionRouteGroup for. Format: `projects//locations//agents//flows/`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/pages", + // "path": "v3beta1/{+parent}/transitionRouteGroups", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Page" + // "$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Page" + // "$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -15149,9 +16977,9 @@ func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Do(opts ...googleapi.CallO } -// method id "dialogflow.projects.locations.agents.flows.pages.delete": +// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.delete": -type ProjectsLocationsAgentsFlowsPagesDeleteCall struct { +type ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -15159,21 +16987,21 @@ type ProjectsLocationsAgentsFlowsPagesDeleteCall struct { header_ http.Header } -// Delete: Deletes the specified page. -func (r *ProjectsLocationsAgentsFlowsPagesService) Delete(name string) *ProjectsLocationsAgentsFlowsPagesDeleteCall { - c := &ProjectsLocationsAgentsFlowsPagesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Delete: Deletes the specified TransitionRouteGroup. +func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Delete(name string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall { + c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } // Force sets the optional parameter "force": This field has no effect -// for pages with no incoming transitions. For pages with incoming -// transitions: * If `force` is set to false, an error will be returned -// with message indicating the incoming transitions. * If `force` is set -// to true, Dialogflow will remove the page, as well as any transitions -// to the page (i.e. Target page in event handlers or Target page in -// transition routes that point to this page will be cleared). -func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Force(force bool) *ProjectsLocationsAgentsFlowsPagesDeleteCall { +// for transition route group that no page is using. If the transition +// route group is referenced by any page: * If `force` is set to false, +// an error will be returned with message indicating pages that +// reference the transition route group. * If `force` is set to true, +// Dialogflow will remove the transition route group, as well as any +// reference to it. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Force(force bool) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall { c.urlParams_.Set("force", fmt.Sprint(force)) return c } @@ -15181,7 +17009,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Force(force bool) *Project // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesDeleteCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -15189,23 +17017,23 @@ func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Fields(s ...googleapi.Fiel // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesDeleteCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15226,14 +17054,14 @@ func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) doRequest(alt string) (*ht return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.pages.delete" call. +// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.delete" call. // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any // non-2xx status code is an error. Response headers are in either // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was // returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -15264,23 +17092,23 @@ func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Do(opts ...googleapi.CallO } return ret, nil // { - // "description": "Deletes the specified page.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages/{pagesId}", + // "description": "Deletes the specified TransitionRouteGroup.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups/{transitionRouteGroupsId}", // "httpMethod": "DELETE", - // "id": "dialogflow.projects.locations.agents.flows.pages.delete", + // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.delete", // "parameterOrder": [ // "name" // ], // "parameters": { // "force": { - // "description": "This field has no effect for pages with no incoming transitions. For pages with incoming transitions: * If `force` is set to false, an error will be returned with message indicating the incoming transitions. * If `force` is set to true, Dialogflow will remove the page, as well as any transitions to the page (i.e. Target page in event handlers or Target page in transition routes that point to this page will be cleared).", + // "description": "This field has no effect for transition route group that no page is using. If the transition route group is referenced by any page: * If `force` is set to false, an error will be returned with message indicating pages that reference the transition route group. * If `force` is set to true, Dialogflow will remove the transition route group, as well as any reference to it.", // "location": "query", // "type": "boolean" // }, // "name": { - // "description": "Required. The name of the page to delete. Format: `projects//locations//agents//Flows//pages/`.", + // "description": "Required. The name of the TransitionRouteGroup to delete. Format: `projects//locations//agents//flows//transitionRouteGroups/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/pages/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+$", // "required": true, // "type": "string" // } @@ -15297,9 +17125,9 @@ func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Do(opts ...googleapi.CallO } -// method id "dialogflow.projects.locations.agents.flows.pages.get": +// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.get": -type ProjectsLocationsAgentsFlowsPagesGetCall struct { +type ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -15308,26 +17136,21 @@ type ProjectsLocationsAgentsFlowsPagesGetCall struct { header_ http.Header } -// Get: Retrieves the specified page. -func (r *ProjectsLocationsAgentsFlowsPagesService) Get(name string) *ProjectsLocationsAgentsFlowsPagesGetCall { - c := &ProjectsLocationsAgentsFlowsPagesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Get: Retrieves the specified TransitionRouteGroup. +func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Get(name string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { + c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } // LanguageCode sets the optional parameter "languageCode": The language -// to retrieve the page for. The following fields are language -// dependent: * `Page.entry_fulfillment.messages` * -// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message -// s` * -// `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` -// * `Page.transition_routes.trigger_fulfillment.messages` * -// `Page.transition_route_groups.transition_routes.trigger_fulfillment.me -// ssages` If not specified, the agent's default language is used. [Many +// to list transition route groups for. The field `messages` in +// TransitionRoute is language dependent. If not specified, the agent's +// default language is used. [Many // languages](https://cloud.google.com/dialogflow/docs/reference/language // ) are supported. Note: languages must be enabled in the agent before // they can be used. -func (c *ProjectsLocationsAgentsFlowsPagesGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesGetCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { c.urlParams_.Set("languageCode", languageCode) return c } @@ -15335,7 +17158,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesGetCall) LanguageCode(languageCode str // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesGetCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -15345,7 +17168,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Fields(s ...googleapi.Field) // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsFlowsPagesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsPagesGetCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { c.ifNoneMatch_ = entityTag return c } @@ -15353,23 +17176,23 @@ func (c *ProjectsLocationsAgentsFlowsPagesGetCall) IfNoneMatch(entityTag string) // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesGetCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsPagesGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15393,15 +17216,16 @@ func (c *ProjectsLocationsAgentsFlowsPagesGetCall) doRequest(alt string) (*http. return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.pages.get" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Page or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3beta1Page.ServerResponse.Header or -// (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup.ServerResponse.Hea +// der or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Page, error) { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1TransitionRouteGroup, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -15420,7 +17244,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Do(opts ...googleapi.CallOpti if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1Page{ + ret := &GoogleCloudDialogflowCxV3beta1TransitionRouteGroup{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -15432,30 +17256,30 @@ func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Do(opts ...googleapi.CallOpti } return ret, nil // { - // "description": "Retrieves the specified page.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages/{pagesId}", + // "description": "Retrieves the specified TransitionRouteGroup.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups/{transitionRouteGroupsId}", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.flows.pages.get", + // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.get", // "parameterOrder": [ // "name" // ], // "parameters": { // "languageCode": { - // "description": "The language to retrieve the page for. The following fields are language dependent: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", // "location": "query", // "type": "string" // }, // "name": { - // "description": "Required. The name of the page. Format: `projects//locations//agents//flows//pages/`.", + // "description": "Required. The name of the TransitionRouteGroup. Format: `projects//locations//agents//flows//transitionRouteGroups/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/pages/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+$", // "required": true, // "type": "string" // } // }, // "path": "v3beta1/{+name}", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Page" + // "$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -15465,9 +17289,9 @@ func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Do(opts ...googleapi.CallOpti } -// method id "dialogflow.projects.locations.agents.flows.pages.list": +// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.list": -type ProjectsLocationsAgentsFlowsPagesListCall struct { +type ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall struct { s *Service parent string urlParams_ gensupport.URLParams @@ -15476,40 +17300,36 @@ type ProjectsLocationsAgentsFlowsPagesListCall struct { header_ http.Header } -// List: Returns the list of all pages in the specified flow. -func (r *ProjectsLocationsAgentsFlowsPagesService) List(parent string) *ProjectsLocationsAgentsFlowsPagesListCall { - c := &ProjectsLocationsAgentsFlowsPagesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// List: Returns the list of all transition route groups in the +// specified flow. +func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) List(parent string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { + c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent return c } // LanguageCode sets the optional parameter "languageCode": The language -// to list pages for. The following fields are language dependent: * -// `Page.entry_fulfillment.messages` * -// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message -// s` * -// `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` -// * `Page.transition_routes.trigger_fulfillment.messages` * -// `Page.transition_route_groups.transition_routes.trigger_fulfillment.me -// ssages` If not specified, the agent's default language is used. [Many +// to list transition route groups for. The field `messages` in +// TransitionRoute is language dependent. If not specified, the agent's +// default language is used. [Many // languages](https://cloud.google.com/dialogflow/docs/reference/language // ) are supported. Note: languages must be enabled in the agent before // they can be used. -func (c *ProjectsLocationsAgentsFlowsPagesListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesListCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { c.urlParams_.Set("languageCode", languageCode) return c } // PageSize sets the optional parameter "pageSize": The maximum number // of items to return in a single page. By default 100 and at most 1000. -func (c *ProjectsLocationsAgentsFlowsPagesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsPagesListCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": The // next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsFlowsPagesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsPagesListCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { c.urlParams_.Set("pageToken", pageToken) return c } @@ -15517,7 +17337,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesListCall) PageToken(pageToken string) // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsPagesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesListCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -15527,7 +17347,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesListCall) Fields(s ...googleapi.Field) // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsFlowsPagesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsPagesListCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { c.ifNoneMatch_ = entityTag return c } @@ -15535,23 +17355,23 @@ func (c *ProjectsLocationsAgentsFlowsPagesListCall) IfNoneMatch(entityTag string // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsPagesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesListCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsPagesListCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsPagesListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15562,7 +17382,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesListCall) doRequest(alt string) (*http var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/pages") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/transitionRouteGroups") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -15575,16 +17395,17 @@ func (c *ProjectsLocationsAgentsFlowsPagesListCall) doRequest(alt string) (*http return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.pages.list" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1ListPagesResponse or +// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.list" call. +// Exactly one of +// *GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse or // error will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3beta1ListPagesResponse.ServerResponse.Header -// or (if a response was returned at all) in +// *GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse.Serve +// rResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsFlowsPagesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListPagesResponse, error) { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -15603,7 +17424,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesListCall) Do(opts ...googleapi.CallOpt if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1ListPagesResponse{ + ret := &GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -15615,16 +17436,16 @@ func (c *ProjectsLocationsAgentsFlowsPagesListCall) Do(opts ...googleapi.CallOpt } return ret, nil // { - // "description": "Returns the list of all pages in the specified flow.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages", + // "description": "Returns the list of all transition route groups in the specified flow.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.flows.pages.list", + // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.list", // "parameterOrder": [ // "parent" // ], // "parameters": { // "languageCode": { - // "description": "The language to list pages for. The following fields are language dependent: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", // "location": "query", // "type": "string" // }, @@ -15640,16 +17461,16 @@ func (c *ProjectsLocationsAgentsFlowsPagesListCall) Do(opts ...googleapi.CallOpt // "type": "string" // }, // "parent": { - // "description": "Required. The flow to list all pages for. Format: `projects//locations//agents//flows/`.", + // "description": "Required. The flow to list all transition route groups for. Format: `projects//locations//agents//flows/`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/pages", + // "path": "v3beta1/{+parent}/transitionRouteGroups", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1ListPagesResponse" + // "$ref": "GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -15662,7 +17483,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesListCall) Do(opts ...googleapi.CallOpt // Pages invokes f for each page of results. // A non-nil error returned from f will halt the iteration. // The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsFlowsPagesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListPagesResponse) error) error { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse) error) error { c.ctx_ = ctx defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point for { @@ -15680,46 +17501,40 @@ func (c *ProjectsLocationsAgentsFlowsPagesListCall) Pages(ctx context.Context, f } } -// method id "dialogflow.projects.locations.agents.flows.pages.patch": +// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch": -type ProjectsLocationsAgentsFlowsPagesPatchCall struct { - s *Service - nameid string - googleclouddialogflowcxv3beta1page *GoogleCloudDialogflowCxV3beta1Page - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3beta1transitionroutegroup *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Patch: Updates the specified page. -func (r *ProjectsLocationsAgentsFlowsPagesService) Patch(nameid string, googleclouddialogflowcxv3beta1page *GoogleCloudDialogflowCxV3beta1Page) *ProjectsLocationsAgentsFlowsPagesPatchCall { - c := &ProjectsLocationsAgentsFlowsPagesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Patch: Updates the specified TransitionRouteGroup. +func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Patch(nameid string, googleclouddialogflowcxv3beta1transitionroutegroup *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { + c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.nameid = nameid - c.googleclouddialogflowcxv3beta1page = googleclouddialogflowcxv3beta1page + c.googleclouddialogflowcxv3beta1transitionroutegroup = googleclouddialogflowcxv3beta1transitionroutegroup return c } // LanguageCode sets the optional parameter "languageCode": The language -// of the following fields in `page`: * -// `Page.entry_fulfillment.messages` * -// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message -// s` * -// `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` -// * `Page.transition_routes.trigger_fulfillment.messages` * -// `Page.transition_route_groups.transition_routes.trigger_fulfillment.me -// ssages` If not specified, the agent's default language is used. [Many +// to list transition route groups for. The field `messages` in +// TransitionRoute is language dependent. If not specified, the agent's +// default language is used. [Many // languages](https://cloud.google.com/dialogflow/docs/reference/language // ) are supported. Note: languages must be enabled in the agent before // they can be used. -func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesPatchCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { c.urlParams_.Set("languageCode", languageCode) return c } // UpdateMask sets the optional parameter "updateMask": The mask to -// control which fields get updated. If the mask is not present, all -// fields will be updated. -func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsPagesPatchCall { +// control which fields get updated. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { c.urlParams_.Set("updateMask", updateMask) return c } @@ -15727,7 +17542,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) UpdateMask(updateMask strin // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesPatchCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -15735,29 +17550,29 @@ func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Fields(s ...googleapi.Field // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesPatchCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1page) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1transitionroutegroup) if err != nil { return nil, err } @@ -15777,15 +17592,16 @@ func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) doRequest(alt string) (*htt return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.pages.patch" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Page or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3beta1Page.ServerResponse.Header or -// (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup.ServerResponse.Hea +// der or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Page, error) { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1TransitionRouteGroup, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -15804,7 +17620,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Do(opts ...googleapi.CallOp if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1Page{ + ret := &GoogleCloudDialogflowCxV3beta1TransitionRouteGroup{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -15816,28 +17632,28 @@ func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Do(opts ...googleapi.CallOp } return ret, nil // { - // "description": "Updates the specified page.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages/{pagesId}", + // "description": "Updates the specified TransitionRouteGroup.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups/{transitionRouteGroupsId}", // "httpMethod": "PATCH", - // "id": "dialogflow.projects.locations.agents.flows.pages.patch", + // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch", // "parameterOrder": [ // "name" // ], // "parameters": { // "languageCode": { - // "description": "The language of the following fields in `page`: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", // "location": "query", // "type": "string" // }, // "name": { - // "description": "The unique identifier of the page. Required for the Pages.UpdatePage method. Pages.CreatePage populates the name automatically. Format: `projects//locations//agents//flows//pages/`.", + // "description": "The unique identifier of the transition route group. TransitionRouteGroups.CreateTransitionRouteGroup populates the name automatically. Format: `projects//locations//agents//flows//transitionRouteGroups/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/pages/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+$", // "required": true, // "type": "string" // }, // "updateMask": { - // "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", + // "description": "The mask to control which fields get updated.", // "format": "google-fieldmask", // "location": "query", // "type": "string" @@ -15845,10 +17661,10 @@ func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Do(opts ...googleapi.CallOp // }, // "path": "v3beta1/{+name}", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Page" + // "$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Page" + // "$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -15858,41 +17674,29 @@ func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Do(opts ...googleapi.CallOp } -// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.create": - -type ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall struct { - s *Service - parent string - googleclouddialogflowcxv3beta1transitionroutegroup *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// Create: Creates an TransitionRouteGroup in the specified flow. -func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Create(parent string, googleclouddialogflowcxv3beta1transitionroutegroup *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall { - c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - c.googleclouddialogflowcxv3beta1transitionroutegroup = googleclouddialogflowcxv3beta1transitionroutegroup - return c +// method id "dialogflow.projects.locations.agents.flows.versions.create": + +type ProjectsLocationsAgentsFlowsVersionsCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3beta1version *GoogleCloudDialogflowCxV3beta1Version + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// LanguageCode sets the optional parameter "languageCode": The language -// to list transition route groups for. The field `messages` in -// TransitionRoute is language dependent. If not specified, the agent's -// default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall { - c.urlParams_.Set("languageCode", languageCode) +// Create: Creates a Version in the specified Flow. +func (r *ProjectsLocationsAgentsFlowsVersionsService) Create(parent string, googleclouddialogflowcxv3beta1version *GoogleCloudDialogflowCxV3beta1Version) *ProjectsLocationsAgentsFlowsVersionsCreateCall { + c := &ProjectsLocationsAgentsFlowsVersionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3beta1version = googleclouddialogflowcxv3beta1version return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall { +func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -15900,36 +17704,36 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Fields(s . // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall { +func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsCreateCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1transitionroutegroup) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1version) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/transitionRouteGroups") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/versions") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -15942,16 +17746,14 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) doRequest( return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.create" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup.ServerResponse.Hea -// der or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1TransitionRouteGroup, error) { +// Do executes the "dialogflow.projects.locations.agents.flows.versions.create" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -15970,7 +17772,7 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Do(opts .. if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1TransitionRouteGroup{ + ret := &GoogleLongrunningOperation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -15982,33 +17784,28 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Do(opts .. } return ret, nil // { - // "description": "Creates an TransitionRouteGroup in the specified flow.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups", + // "description": "Creates a Version in the specified Flow.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions", // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.create", + // "id": "dialogflow.projects.locations.agents.flows.versions.create", // "parameterOrder": [ // "parent" // ], // "parameters": { - // "languageCode": { - // "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, // "parent": { - // "description": "Required. The flow to create an TransitionRouteGroup for. Format: `projects//locations//agents//flows/`.", + // "description": "Required. The Flow to create an Version for. Format: `projects//locations//agents//flows/`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/transitionRouteGroups", + // "path": "v3beta1/{+parent}/versions", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" + // "$ref": "GoogleCloudDialogflowCxV3beta1Version" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" + // "$ref": "GoogleLongrunningOperation" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -16018,9 +17815,9 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Do(opts .. } -// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.delete": +// method id "dialogflow.projects.locations.agents.flows.versions.delete": -type ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall struct { +type ProjectsLocationsAgentsFlowsVersionsDeleteCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -16028,29 +17825,17 @@ type ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall struct { header_ http.Header } -// Delete: Deletes the specified TransitionRouteGroup. -func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Delete(name string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall { - c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Delete: Deletes the specified Version. +func (r *ProjectsLocationsAgentsFlowsVersionsService) Delete(name string) *ProjectsLocationsAgentsFlowsVersionsDeleteCall { + c := &ProjectsLocationsAgentsFlowsVersionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } -// Force sets the optional parameter "force": This field has no effect -// for transition route group that no page is using. If the transition -// route group is referenced by any page: * If `force` is set to false, -// an error will be returned with message indicating pages that -// reference the transition route group. * If `force` is set to true, -// Dialogflow will remove the transition route group, as well as any -// reference to it. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Force(force bool) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall { - c.urlParams_.Set("force", fmt.Sprint(force)) - return c -} - // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall { +func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -16058,23 +17843,23 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Fields(s . // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall { +func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsDeleteCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16095,14 +17880,14 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) doRequest( return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.delete" call. +// Do executes the "dialogflow.projects.locations.agents.flows.versions.delete" call. // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any // non-2xx status code is an error. Response headers are in either // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was // returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -16133,23 +17918,18 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Do(opts .. } return ret, nil // { - // "description": "Deletes the specified TransitionRouteGroup.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups/{transitionRouteGroupsId}", + // "description": "Deletes the specified Version.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}", // "httpMethod": "DELETE", - // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.delete", + // "id": "dialogflow.projects.locations.agents.flows.versions.delete", // "parameterOrder": [ // "name" // ], // "parameters": { - // "force": { - // "description": "This field has no effect for transition route group that no page is using. If the transition route group is referenced by any page: * If `force` is set to false, an error will be returned with message indicating pages that reference the transition route group. * If `force` is set to true, Dialogflow will remove the transition route group, as well as any reference to it.", - // "location": "query", - // "type": "boolean" - // }, // "name": { - // "description": "Required. The name of the TransitionRouteGroup to delete. Format: `projects//locations//agents//flows//transitionRouteGroups/`.", + // "description": "Required. The name of the Version to delete. Format: `projects//locations//agents//flows//versions/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", // "required": true, // "type": "string" // } @@ -16166,9 +17946,9 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Do(opts .. } -// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.get": +// method id "dialogflow.projects.locations.agents.flows.versions.get": -type ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall struct { +type ProjectsLocationsAgentsFlowsVersionsGetCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -16177,29 +17957,17 @@ type ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall struct { header_ http.Header } -// Get: Retrieves the specified TransitionRouteGroup. -func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Get(name string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { - c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Get: Retrieves the specified Version. +func (r *ProjectsLocationsAgentsFlowsVersionsService) Get(name string) *ProjectsLocationsAgentsFlowsVersionsGetCall { + c := &ProjectsLocationsAgentsFlowsVersionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } -// LanguageCode sets the optional parameter "languageCode": The language -// to list transition route groups for. The field `messages` in -// TransitionRoute is language dependent. If not specified, the agent's -// default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { - c.urlParams_.Set("languageCode", languageCode) - return c -} - // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { +func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -16209,7 +17977,7 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Fields(s ...g // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { +func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsVersionsGetCall { c.ifNoneMatch_ = entityTag return c } @@ -16217,23 +17985,23 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) IfNoneMatch(e // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { +func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsGetCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16257,16 +18025,15 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) doRequest(alt return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.get" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup.ServerResponse.Hea -// der or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1TransitionRouteGroup, error) { +// Do executes the "dialogflow.projects.locations.agents.flows.versions.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Version or error will +// be non-nil. Any non-2xx status code is an error. Response headers are +// in either +// *GoogleCloudDialogflowCxV3beta1Version.ServerResponse.Header or (if a +// response was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Version, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -16285,7 +18052,7 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Do(opts ...go if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1TransitionRouteGroup{ + ret := &GoogleCloudDialogflowCxV3beta1Version{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -16297,30 +18064,25 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Do(opts ...go } return ret, nil // { - // "description": "Retrieves the specified TransitionRouteGroup.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups/{transitionRouteGroupsId}", + // "description": "Retrieves the specified Version.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.get", + // "id": "dialogflow.projects.locations.agents.flows.versions.get", // "parameterOrder": [ // "name" // ], // "parameters": { - // "languageCode": { - // "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, // "name": { - // "description": "Required. The name of the TransitionRouteGroup. Format: `projects//locations//agents//flows//transitionRouteGroups/`.", + // "description": "Required. The name of the Version. Format: `projects//locations//agents//flows//versions/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", // "required": true, // "type": "string" // } // }, // "path": "v3beta1/{+name}", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" + // "$ref": "GoogleCloudDialogflowCxV3beta1Version" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -16330,9 +18092,9 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Do(opts ...go } -// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.list": +// method id "dialogflow.projects.locations.agents.flows.versions.list": -type ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall struct { +type ProjectsLocationsAgentsFlowsVersionsListCall struct { s *Service parent string urlParams_ gensupport.URLParams @@ -16341,36 +18103,23 @@ type ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall struct { header_ http.Header } -// List: Returns the list of all transition route groups in the -// specified flow. -func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) List(parent string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { - c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// List: Returns the list of all versions in the specified Flow. +func (r *ProjectsLocationsAgentsFlowsVersionsService) List(parent string) *ProjectsLocationsAgentsFlowsVersionsListCall { + c := &ProjectsLocationsAgentsFlowsVersionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent return c } -// LanguageCode sets the optional parameter "languageCode": The language -// to list transition route groups for. The field `messages` in -// TransitionRoute is language dependent. If not specified, the agent's -// default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { - c.urlParams_.Set("languageCode", languageCode) - return c -} - // PageSize sets the optional parameter "pageSize": The maximum number -// of items to return in a single page. By default 100 and at most 1000. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { +// of items to return in a single page. By default 20 and at most 100. +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsVersionsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": The // next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsVersionsListCall { c.urlParams_.Set("pageToken", pageToken) return c } @@ -16378,7 +18127,7 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) PageToken(pa // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -16388,7 +18137,7 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Fields(s ... // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsVersionsListCall { c.ifNoneMatch_ = entityTag return c } @@ -16396,23 +18145,23 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) IfNoneMatch( // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16423,7 +18172,7 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) doRequest(al var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/transitionRouteGroups") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/versions") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -16436,17 +18185,16 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) doRequest(al return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.list" call. -// Exactly one of -// *GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse or +// Do executes the "dialogflow.projects.locations.agents.flows.versions.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1ListVersionsResponse or // error will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse.Serve -// rResponse.Header or (if a response was returned at all) in +// *GoogleCloudDialogflowCxV3beta1ListVersionsResponse.ServerResponse.Hea +// der or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse, error) { +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListVersionsResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -16465,7 +18213,7 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Do(opts ...g if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse{ + ret := &GoogleCloudDialogflowCxV3beta1ListVersionsResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -16476,22 +18224,17 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Do(opts ...g return nil, err } return ret, nil - // { - // "description": "Returns the list of all transition route groups in the specified flow.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups", + // { + // "description": "Returns the list of all versions in the specified Flow.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.list", + // "id": "dialogflow.projects.locations.agents.flows.versions.list", // "parameterOrder": [ // "parent" // ], // "parameters": { - // "languageCode": { - // "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, // "pageSize": { - // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "description": "The maximum number of items to return in a single page. By default 20 and at most 100.", // "format": "int32", // "location": "query", // "type": "integer" @@ -16502,16 +18245,16 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Do(opts ...g // "type": "string" // }, // "parent": { - // "description": "Required. The flow to list all transition route groups for. Format: `projects//locations//agents//flows/`.", + // "description": "Required. The Flow to list all versions for. Format: `projects//locations//agents//flows/`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/transitionRouteGroups", + // "path": "v3beta1/{+parent}/versions", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse" + // "$ref": "GoogleCloudDialogflowCxV3beta1ListVersionsResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -16524,7 +18267,7 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Do(opts ...g // Pages invokes f for each page of results. // A non-nil error returned from f will halt the iteration. // The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse) error) error { +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListVersionsResponse) error) error { c.ctx_ = ctx defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point for { @@ -16542,48 +18285,29 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Pages(ctx co } } -// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch": - -type ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall struct { - s *Service - nameid string - googleclouddialogflowcxv3beta1transitionroutegroup *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// Patch: Updates the specified TransitionRouteGroup. -func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Patch(nameid string, googleclouddialogflowcxv3beta1transitionroutegroup *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { - c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.nameid = nameid - c.googleclouddialogflowcxv3beta1transitionroutegroup = googleclouddialogflowcxv3beta1transitionroutegroup - return c -} +// method id "dialogflow.projects.locations.agents.flows.versions.load": -// LanguageCode sets the optional parameter "languageCode": The language -// to list transition route groups for. The field `messages` in -// TransitionRoute is language dependent. If not specified, the agent's -// default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { - c.urlParams_.Set("languageCode", languageCode) - return c +type ProjectsLocationsAgentsFlowsVersionsLoadCall struct { + s *Service + name string + googleclouddialogflowcxv3beta1loadversionrequest *GoogleCloudDialogflowCxV3beta1LoadVersionRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// UpdateMask sets the optional parameter "updateMask": The mask to -// control which fields get updated. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { - c.urlParams_.Set("updateMask", updateMask) +// Load: Loads a specified version to draft version. +func (r *ProjectsLocationsAgentsFlowsVersionsService) Load(name string, googleclouddialogflowcxv3beta1loadversionrequest *GoogleCloudDialogflowCxV3beta1LoadVersionRequest) *ProjectsLocationsAgentsFlowsVersionsLoadCall { + c := &ProjectsLocationsAgentsFlowsVersionsLoadCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.googleclouddialogflowcxv3beta1loadversionrequest = googleclouddialogflowcxv3beta1loadversionrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { +func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsLoadCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -16591,58 +18315,56 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Fields(s .. // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { +func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsLoadCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1transitionroutegroup) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1loadversionrequest) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}:load") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("PATCH", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.nameid, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup.ServerResponse.Hea -// der or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1TransitionRouteGroup, error) { +// Do executes the "dialogflow.projects.locations.agents.flows.versions.load" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -16661,7 +18383,7 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Do(opts ... if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1TransitionRouteGroup{ + ret := &GoogleLongrunningOperation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -16673,39 +18395,28 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Do(opts ... } return ret, nil // { - // "description": "Updates the specified TransitionRouteGroup.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups/{transitionRouteGroupsId}", - // "httpMethod": "PATCH", - // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch", + // "description": "Loads a specified version to draft version.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}:load", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.flows.versions.load", // "parameterOrder": [ // "name" // ], // "parameters": { - // "languageCode": { - // "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, // "name": { - // "description": "The unique identifier of the transition route group. TransitionRouteGroups.CreateTransitionRouteGroup populates the name automatically. Format: `projects//locations//agents//flows//transitionRouteGroups/`.", + // "description": "Required. The Version to be loaded to draft version. Format: `projects//locations//agents//flows//versions/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", // "required": true, // "type": "string" - // }, - // "updateMask": { - // "description": "The mask to control which fields get updated.", - // "format": "google-fieldmask", - // "location": "query", - // "type": "string" // } // }, - // "path": "v3beta1/{+name}", + // "path": "v3beta1/{+name}:load", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" + // "$ref": "GoogleCloudDialogflowCxV3beta1LoadVersionRequest" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" + // "$ref": "GoogleLongrunningOperation" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -16715,29 +18426,37 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Do(opts ... } -// method id "dialogflow.projects.locations.agents.flows.versions.create": +// method id "dialogflow.projects.locations.agents.flows.versions.patch": -type ProjectsLocationsAgentsFlowsVersionsCreateCall struct { +type ProjectsLocationsAgentsFlowsVersionsPatchCall struct { s *Service - parent string + name string googleclouddialogflowcxv3beta1version *GoogleCloudDialogflowCxV3beta1Version urlParams_ gensupport.URLParams ctx_ context.Context header_ http.Header } -// Create: Creates a Version in the specified Flow. -func (r *ProjectsLocationsAgentsFlowsVersionsService) Create(parent string, googleclouddialogflowcxv3beta1version *GoogleCloudDialogflowCxV3beta1Version) *ProjectsLocationsAgentsFlowsVersionsCreateCall { - c := &ProjectsLocationsAgentsFlowsVersionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent +// Patch: Updates the specified Version. +func (r *ProjectsLocationsAgentsFlowsVersionsService) Patch(name string, googleclouddialogflowcxv3beta1version *GoogleCloudDialogflowCxV3beta1Version) *ProjectsLocationsAgentsFlowsVersionsPatchCall { + c := &ProjectsLocationsAgentsFlowsVersionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name c.googleclouddialogflowcxv3beta1version = googleclouddialogflowcxv3beta1version return c } +// UpdateMask sets the optional parameter "updateMask": Required. The +// mask to control which fields get updated. Currently only +// `description` and `display_name` can be updated. +func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsVersionsPatchCall { + c.urlParams_.Set("updateMask", updateMask) + return c +} + // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsCreateCall { +func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -16745,23 +18464,23 @@ func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Fields(s ...googleapi.F // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsCreateCall { +func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16774,27 +18493,28 @@ func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) doRequest(alt string) ( reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/versions") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("PATCH", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.versions.create" call. -// Exactly one of *GoogleLongrunningOperation or error will be non-nil. -// Any non-2xx status code is an error. Response headers are in either -// *GoogleLongrunningOperation.ServerResponse.Header or (if a response -// was returned at all) in error.(*googleapi.Error).Header. Use +// Do executes the "dialogflow.projects.locations.agents.flows.versions.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Version or error will +// be non-nil. Any non-2xx status code is an error. Response headers are +// in either +// *GoogleCloudDialogflowCxV3beta1Version.ServerResponse.Header or (if a +// response was returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { +func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Version, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -16813,7 +18533,7 @@ func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Do(opts ...googleapi.Ca if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleLongrunningOperation{ + ret := &GoogleCloudDialogflowCxV3beta1Version{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -16825,28 +18545,34 @@ func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Do(opts ...googleapi.Ca } return ret, nil // { - // "description": "Creates a Version in the specified Flow.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.flows.versions.create", + // "description": "Updates the specified Version.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.flows.versions.patch", // "parameterOrder": [ - // "parent" + // "name" // ], // "parameters": { - // "parent": { - // "description": "Required. The Flow to create an Version for. Format: `projects//locations//agents//flows/`.", + // "name": { + // "description": "Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", // "required": true, // "type": "string" + // }, + // "updateMask": { + // "description": "Required. The mask to control which fields get updated. Currently only `description` and `display_name` can be updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/versions", + // "path": "v3beta1/{+name}", // "request": { // "$ref": "GoogleCloudDialogflowCxV3beta1Version" // }, // "response": { - // "$ref": "GoogleLongrunningOperation" + // "$ref": "GoogleCloudDialogflowCxV3beta1Version" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -16856,27 +18582,41 @@ func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Do(opts ...googleapi.Ca } -// method id "dialogflow.projects.locations.agents.flows.versions.delete": +// method id "dialogflow.projects.locations.agents.intents.create": -type ProjectsLocationsAgentsFlowsVersionsDeleteCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsIntentsCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3beta1intent *GoogleCloudDialogflowCxV3beta1Intent + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Delete: Deletes the specified Version. -func (r *ProjectsLocationsAgentsFlowsVersionsService) Delete(name string) *ProjectsLocationsAgentsFlowsVersionsDeleteCall { - c := &ProjectsLocationsAgentsFlowsVersionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name +// Create: Creates an intent in the specified agent. +func (r *ProjectsLocationsAgentsIntentsService) Create(parent string, googleclouddialogflowcxv3beta1intent *GoogleCloudDialogflowCxV3beta1Intent) *ProjectsLocationsAgentsIntentsCreateCall { + c := &ProjectsLocationsAgentsIntentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3beta1intent = googleclouddialogflowcxv3beta1intent + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// of the following fields in `intent`: * +// `Intent.training_phrases.parts.text` If not specified, the agent's +// default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsIntentsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsCreateCall { + c.urlParams_.Set("languageCode", languageCode) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsDeleteCall { +func (c *ProjectsLocationsAgentsIntentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -16884,51 +18624,57 @@ func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Fields(s ...googleapi.F // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsDeleteCall { +func (c *ProjectsLocationsAgentsIntentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsCreateCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Header() http.Header { +func (c *ProjectsLocationsAgentsIntentsCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsIntentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } - reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1intent) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/intents") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("DELETE", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.versions.delete" call. -// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any -// non-2xx status code is an error. Response headers are in either -// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was -// returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +// Do executes the "dialogflow.projects.locations.agents.intents.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Intent or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3beta1Intent.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsIntentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Intent, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -16947,7 +18693,7 @@ func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Do(opts ...googleapi.Ca if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleProtobufEmpty{ + ret := &GoogleCloudDialogflowCxV3beta1Intent{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -16959,25 +18705,33 @@ func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Do(opts ...googleapi.Ca } return ret, nil // { - // "description": "Deletes the specified Version.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}", - // "httpMethod": "DELETE", - // "id": "dialogflow.projects.locations.agents.flows.versions.delete", + // "description": "Creates an intent in the specified agent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.intents.create", // "parameterOrder": [ - // "name" + // "parent" // ], // "parameters": { - // "name": { - // "description": "Required. The name of the Version to delete. Format: `projects//locations//agents//flows//versions/`.", + // "languageCode": { + // "description": "The language of the following fields in `intent`: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The agent to create an intent for. Format: `projects//locations//agents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+name}", + // "path": "v3beta1/{+parent}/intents", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1Intent" + // }, // "response": { - // "$ref": "GoogleProtobufEmpty" + // "$ref": "GoogleCloudDialogflowCxV3beta1Intent" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -16987,20 +18741,19 @@ func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Do(opts ...googleapi.Ca } -// method id "dialogflow.projects.locations.agents.flows.versions.get": +// method id "dialogflow.projects.locations.agents.intents.delete": -type ProjectsLocationsAgentsFlowsVersionsGetCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsIntentsDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Get: Retrieves the specified Version. -func (r *ProjectsLocationsAgentsFlowsVersionsService) Get(name string) *ProjectsLocationsAgentsFlowsVersionsGetCall { - c := &ProjectsLocationsAgentsFlowsVersionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Delete: Deletes the specified intent. +func (r *ProjectsLocationsAgentsIntentsService) Delete(name string) *ProjectsLocationsAgentsIntentsDeleteCall { + c := &ProjectsLocationsAgentsIntentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } @@ -17008,54 +18761,41 @@ func (r *ProjectsLocationsAgentsFlowsVersionsService) Get(name string) *Projects // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsGetCall { +func (c *ProjectsLocationsAgentsIntentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsVersionsGetCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsGetCall { +func (c *ProjectsLocationsAgentsIntentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsDeleteCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Header() http.Header { +func (c *ProjectsLocationsAgentsIntentsDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsIntentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("DELETE", urls, body) if err != nil { return nil, err } @@ -17066,15 +18806,14 @@ func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) doRequest(alt string) (*ht return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.versions.get" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Version or error will -// be non-nil. Any non-2xx status code is an error. Response headers are -// in either -// *GoogleCloudDialogflowCxV3beta1Version.ServerResponse.Header or (if a -// response was returned at all) in error.(*googleapi.Error).Header. Use +// Do executes the "dialogflow.projects.locations.agents.intents.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Version, error) { +func (c *ProjectsLocationsAgentsIntentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -17093,7 +18832,7 @@ func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Do(opts ...googleapi.CallO if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1Version{ + ret := &GoogleProtobufEmpty{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -17105,25 +18844,25 @@ func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Do(opts ...googleapi.CallO } return ret, nil // { - // "description": "Retrieves the specified Version.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}", - // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.flows.versions.get", + // "description": "Deletes the specified intent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents/{intentsId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.intents.delete", // "parameterOrder": [ // "name" // ], // "parameters": { // "name": { - // "description": "Required. The name of the Version. Format: `projects//locations//agents//flows//versions/`.", + // "description": "Required. The name of the intent to delete. Format: `projects//locations//agents//intents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/intents/[^/]+$", // "required": true, // "type": "string" // } // }, // "path": "v3beta1/{+name}", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Version" + // "$ref": "GoogleProtobufEmpty" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -17133,42 +18872,40 @@ func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Do(opts ...googleapi.CallO } -// method id "dialogflow.projects.locations.agents.flows.versions.list": +// method id "dialogflow.projects.locations.agents.intents.get": -type ProjectsLocationsAgentsFlowsVersionsListCall struct { +type ProjectsLocationsAgentsIntentsGetCall struct { s *Service - parent string + name string urlParams_ gensupport.URLParams ifNoneMatch_ string ctx_ context.Context header_ http.Header } -// List: Returns the list of all versions in the specified Flow. -func (r *ProjectsLocationsAgentsFlowsVersionsService) List(parent string) *ProjectsLocationsAgentsFlowsVersionsListCall { - c := &ProjectsLocationsAgentsFlowsVersionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - return c -} - -// PageSize sets the optional parameter "pageSize": The maximum number -// of items to return in a single page. By default 20 and at most 100. -func (c *ProjectsLocationsAgentsFlowsVersionsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsVersionsListCall { - c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) +// Get: Retrieves the specified intent. +func (r *ProjectsLocationsAgentsIntentsService) Get(name string) *ProjectsLocationsAgentsIntentsGetCall { + c := &ProjectsLocationsAgentsIntentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name return c } -// PageToken sets the optional parameter "pageToken": The -// next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsFlowsVersionsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsVersionsListCall { - c.urlParams_.Set("pageToken", pageToken) +// LanguageCode sets the optional parameter "languageCode": The language +// to retrieve the intent for. The following fields are language +// dependent: * `Intent.training_phrases.parts.text` If not specified, +// the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsIntentsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsGetCall { + c.urlParams_.Set("languageCode", languageCode) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsListCall { +func (c *ProjectsLocationsAgentsIntentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -17178,7 +18915,7 @@ func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Fields(s ...googleapi.Fie // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsFlowsVersionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsVersionsListCall { +func (c *ProjectsLocationsAgentsIntentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsIntentsGetCall { c.ifNoneMatch_ = entityTag return c } @@ -17186,23 +18923,23 @@ func (c *ProjectsLocationsAgentsFlowsVersionsListCall) IfNoneMatch(entityTag str // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsListCall { +func (c *ProjectsLocationsAgentsIntentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsGetCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Header() http.Header { +func (c *ProjectsLocationsAgentsIntentsGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsVersionsListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsIntentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17213,7 +18950,7 @@ func (c *ProjectsLocationsAgentsFlowsVersionsListCall) doRequest(alt string) (*h var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/versions") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -17221,21 +18958,20 @@ func (c *ProjectsLocationsAgentsFlowsVersionsListCall) doRequest(alt string) (*h } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.versions.list" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1ListVersionsResponse or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3beta1ListVersionsResponse.ServerResponse.Hea -// der or (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.intents.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Intent or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3beta1Intent.ServerResponse.Header or +// (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListVersionsResponse, error) { +func (c *ProjectsLocationsAgentsIntentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Intent, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -17254,7 +18990,7 @@ func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Do(opts ...googleapi.Call if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1ListVersionsResponse{ + ret := &GoogleCloudDialogflowCxV3beta1Intent{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -17266,36 +19002,30 @@ func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Do(opts ...googleapi.Call } return ret, nil // { - // "description": "Returns the list of all versions in the specified Flow.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions", + // "description": "Retrieves the specified intent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents/{intentsId}", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.flows.versions.list", + // "id": "dialogflow.projects.locations.agents.intents.get", // "parameterOrder": [ - // "parent" + // "name" // ], // "parameters": { - // "pageSize": { - // "description": "The maximum number of items to return in a single page. By default 20 and at most 100.", - // "format": "int32", - // "location": "query", - // "type": "integer" - // }, - // "pageToken": { - // "description": "The next_page_token value returned from a previous list request.", + // "languageCode": { + // "description": "The language to retrieve the intent for. The following fields are language dependent: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", // "location": "query", // "type": "string" // }, - // "parent": { - // "description": "Required. The Flow to list all versions for. Format: `projects//locations//agents//flows/`.", + // "name": { + // "description": "Required. The name of the intent. Format: `projects//locations//agents//intents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/intents/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/versions", + // "path": "v3beta1/{+name}", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1ListVersionsResponse" + // "$ref": "GoogleCloudDialogflowCxV3beta1Intent" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -17305,107 +19035,135 @@ func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Do(opts ...googleapi.Call } -// Pages invokes f for each page of results. -// A non-nil error returned from f will halt the iteration. -// The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListVersionsResponse) error) error { - c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point - for { - x, err := c.Do() - if err != nil { - return err - } - if err := f(x); err != nil { - return err - } - if x.NextPageToken == "" { - return nil - } - c.PageToken(x.NextPageToken) - } +// method id "dialogflow.projects.locations.agents.intents.list": + +type ProjectsLocationsAgentsIntentsListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Returns the list of all intents in the specified agent. +func (r *ProjectsLocationsAgentsIntentsService) List(parent string) *ProjectsLocationsAgentsIntentsListCall { + c := &ProjectsLocationsAgentsIntentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c } -// method id "dialogflow.projects.locations.agents.flows.versions.load": +// IntentView sets the optional parameter "intentView": The resource +// view to apply to the returned intent. +// +// Possible values: +// "INTENT_VIEW_UNSPECIFIED" - Not specified. Treated as +// INTENT_VIEW_FULL. +// "INTENT_VIEW_PARTIAL" - Training phrases field is not populated in +// the response. +// "INTENT_VIEW_FULL" - All fields are populated. +func (c *ProjectsLocationsAgentsIntentsListCall) IntentView(intentView string) *ProjectsLocationsAgentsIntentsListCall { + c.urlParams_.Set("intentView", intentView) + return c +} -type ProjectsLocationsAgentsFlowsVersionsLoadCall struct { - s *Service - name string - googleclouddialogflowcxv3beta1loadversionrequest *GoogleCloudDialogflowCxV3beta1LoadVersionRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +// LanguageCode sets the optional parameter "languageCode": The language +// to list intents for. The following fields are language dependent: * +// `Intent.training_phrases.parts.text` If not specified, the agent's +// default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsIntentsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsListCall { + c.urlParams_.Set("languageCode", languageCode) + return c } -// Load: Loads a specified version to draft version. -func (r *ProjectsLocationsAgentsFlowsVersionsService) Load(name string, googleclouddialogflowcxv3beta1loadversionrequest *GoogleCloudDialogflowCxV3beta1LoadVersionRequest) *ProjectsLocationsAgentsFlowsVersionsLoadCall { - c := &ProjectsLocationsAgentsFlowsVersionsLoadCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - c.googleclouddialogflowcxv3beta1loadversionrequest = googleclouddialogflowcxv3beta1loadversionrequest +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 100 and at most 1000. +func (c *ProjectsLocationsAgentsIntentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsIntentsListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsIntentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsIntentsListCall { + c.urlParams_.Set("pageToken", pageToken) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsLoadCall { +func (c *ProjectsLocationsAgentsIntentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsIntentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsIntentsListCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsLoadCall { +func (c *ProjectsLocationsAgentsIntentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Header() http.Header { +func (c *ProjectsLocationsAgentsIntentsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsIntentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1loadversionrequest) - if err != nil { - return nil, err + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } - reqHeaders.Set("Content-Type", "application/json") + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}:load") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/intents") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.versions.load" call. -// Exactly one of *GoogleLongrunningOperation or error will be non-nil. -// Any non-2xx status code is an error. Response headers are in either -// *GoogleLongrunningOperation.ServerResponse.Header or (if a response -// was returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { +// Do executes the "dialogflow.projects.locations.agents.intents.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1ListIntentsResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1ListIntentsResponse.ServerResponse.Head +// er or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsIntentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListIntentsResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -17424,7 +19182,7 @@ func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Do(opts ...googleapi.Call if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleLongrunningOperation{ + ret := &GoogleCloudDialogflowCxV3beta1ListIntentsResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -17436,28 +19194,56 @@ func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Do(opts ...googleapi.Call } return ret, nil // { - // "description": "Loads a specified version to draft version.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}:load", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.flows.versions.load", + // "description": "Returns the list of all intents in the specified agent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.intents.list", // "parameterOrder": [ - // "name" + // "parent" // ], // "parameters": { - // "name": { - // "description": "Required. The Version to be loaded to draft version. Format: `projects//locations//agents//flows//versions/`.", + // "intentView": { + // "description": "The resource view to apply to the returned intent.", + // "enum": [ + // "INTENT_VIEW_UNSPECIFIED", + // "INTENT_VIEW_PARTIAL", + // "INTENT_VIEW_FULL" + // ], + // "enumDescriptions": [ + // "Not specified. Treated as INTENT_VIEW_FULL.", + // "Training phrases field is not populated in the response.", + // "All fields are populated." + // ], + // "location": "query", + // "type": "string" + // }, + // "languageCode": { + // "description": "The language to list intents for. The following fields are language dependent: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The agent to list all intents for. Format: `projects//locations//agents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+name}:load", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1LoadVersionRequest" - // }, + // "path": "v3beta1/{+parent}/intents", // "response": { - // "$ref": "GoogleLongrunningOperation" + // "$ref": "GoogleCloudDialogflowCxV3beta1ListIntentsResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -17467,29 +19253,62 @@ func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Do(opts ...googleapi.Call } -// method id "dialogflow.projects.locations.agents.flows.versions.patch": +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsIntentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListIntentsResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} -type ProjectsLocationsAgentsFlowsVersionsPatchCall struct { - s *Service - name string - googleclouddialogflowcxv3beta1version *GoogleCloudDialogflowCxV3beta1Version - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +// method id "dialogflow.projects.locations.agents.intents.patch": + +type ProjectsLocationsAgentsIntentsPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3beta1intent *GoogleCloudDialogflowCxV3beta1Intent + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Patch: Updates the specified Version. -func (r *ProjectsLocationsAgentsFlowsVersionsService) Patch(name string, googleclouddialogflowcxv3beta1version *GoogleCloudDialogflowCxV3beta1Version) *ProjectsLocationsAgentsFlowsVersionsPatchCall { - c := &ProjectsLocationsAgentsFlowsVersionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - c.googleclouddialogflowcxv3beta1version = googleclouddialogflowcxv3beta1version +// Patch: Updates the specified intent. +func (r *ProjectsLocationsAgentsIntentsService) Patch(nameid string, googleclouddialogflowcxv3beta1intent *GoogleCloudDialogflowCxV3beta1Intent) *ProjectsLocationsAgentsIntentsPatchCall { + c := &ProjectsLocationsAgentsIntentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.nameid = nameid + c.googleclouddialogflowcxv3beta1intent = googleclouddialogflowcxv3beta1intent return c } -// UpdateMask sets the optional parameter "updateMask": Required. The -// mask to control which fields get updated. Currently only -// `description` and `display_name` can be updated. -func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsVersionsPatchCall { +// LanguageCode sets the optional parameter "languageCode": The language +// of the following fields in `intent`: * +// `Intent.training_phrases.parts.text` If not specified, the agent's +// default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsIntentsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsPatchCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// UpdateMask sets the optional parameter "updateMask": The mask to +// control which fields get updated. If the mask is not present, all +// fields will be updated. +func (c *ProjectsLocationsAgentsIntentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsIntentsPatchCall { c.urlParams_.Set("updateMask", updateMask) return c } @@ -17497,7 +19316,7 @@ func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) UpdateMask(updateMask st // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsPatchCall { +func (c *ProjectsLocationsAgentsIntentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -17505,29 +19324,29 @@ func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Fields(s ...googleapi.Fi // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsPatchCall { +func (c *ProjectsLocationsAgentsIntentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Header() http.Header { +func (c *ProjectsLocationsAgentsIntentsPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsIntentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1version) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1intent) if err != nil { return nil, err } @@ -17542,20 +19361,20 @@ func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) doRequest(alt string) (* } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "name": c.nameid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.versions.patch" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Version or error will -// be non-nil. Any non-2xx status code is an error. Response headers are -// in either -// *GoogleCloudDialogflowCxV3beta1Version.ServerResponse.Header or (if a -// response was returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Version, error) { +// Do executes the "dialogflow.projects.locations.agents.intents.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Intent or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3beta1Intent.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsIntentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Intent, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -17574,7 +19393,7 @@ func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Do(opts ...googleapi.Cal if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1Version{ + ret := &GoogleCloudDialogflowCxV3beta1Intent{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -17586,23 +19405,28 @@ func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Do(opts ...googleapi.Cal } return ret, nil // { - // "description": "Updates the specified Version.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}", + // "description": "Updates the specified intent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents/{intentsId}", // "httpMethod": "PATCH", - // "id": "dialogflow.projects.locations.agents.flows.versions.patch", + // "id": "dialogflow.projects.locations.agents.intents.patch", // "parameterOrder": [ // "name" // ], // "parameters": { + // "languageCode": { + // "description": "The language of the following fields in `intent`: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, // "name": { - // "description": "Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.", + // "description": "The unique identifier of the intent. Required for the Intents.UpdateIntent method. Intents.CreateIntent populates the name automatically. Format: `projects//locations//agents//intents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/intents/[^/]+$", // "required": true, // "type": "string" // }, // "updateMask": { - // "description": "Required. The mask to control which fields get updated. Currently only `description` and `display_name` can be updated.", + // "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", // "format": "google-fieldmask", // "location": "query", // "type": "string" @@ -17610,10 +19434,10 @@ func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Do(opts ...googleapi.Cal // }, // "path": "v3beta1/{+name}", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Version" + // "$ref": "GoogleCloudDialogflowCxV3beta1Intent" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Version" + // "$ref": "GoogleCloudDialogflowCxV3beta1Intent" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -17623,41 +19447,35 @@ func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Do(opts ...googleapi.Cal } -// method id "dialogflow.projects.locations.agents.intents.create": - -type ProjectsLocationsAgentsIntentsCreateCall struct { - s *Service - parent string - googleclouddialogflowcxv3beta1intent *GoogleCloudDialogflowCxV3beta1Intent - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} +// method id "dialogflow.projects.locations.agents.sessions.detectIntent": -// Create: Creates an intent in the specified agent. -func (r *ProjectsLocationsAgentsIntentsService) Create(parent string, googleclouddialogflowcxv3beta1intent *GoogleCloudDialogflowCxV3beta1Intent) *ProjectsLocationsAgentsIntentsCreateCall { - c := &ProjectsLocationsAgentsIntentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - c.googleclouddialogflowcxv3beta1intent = googleclouddialogflowcxv3beta1intent - return c +type ProjectsLocationsAgentsSessionsDetectIntentCall struct { + s *Service + sessionid string + googleclouddialogflowcxv3beta1detectintentrequest *GoogleCloudDialogflowCxV3beta1DetectIntentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// LanguageCode sets the optional parameter "languageCode": The language -// of the following fields in `intent`: * -// `Intent.training_phrases.parts.text` If not specified, the agent's -// default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsIntentsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsCreateCall { - c.urlParams_.Set("languageCode", languageCode) +// DetectIntent: Processes a natural language query and returns +// structured, actionable data as a result. This method is not +// idempotent, because it may cause session entity types to be updated, +// which in turn might affect results of future queries. Note: Always +// use agent versions for production traffic. See [Versions and +// environments](https://cloud.google.com/dialogflow/cx/docs/concept/vers +// ion). +func (r *ProjectsLocationsAgentsSessionsService) DetectIntent(sessionid string, googleclouddialogflowcxv3beta1detectintentrequest *GoogleCloudDialogflowCxV3beta1DetectIntentRequest) *ProjectsLocationsAgentsSessionsDetectIntentCall { + c := &ProjectsLocationsAgentsSessionsDetectIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.sessionid = sessionid + c.googleclouddialogflowcxv3beta1detectintentrequest = googleclouddialogflowcxv3beta1detectintentrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsIntentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsCreateCall { +func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsDetectIntentCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -17665,36 +19483,36 @@ func (c *ProjectsLocationsAgentsIntentsCreateCall) Fields(s ...googleapi.Field) // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsIntentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsCreateCall { +func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsDetectIntentCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsIntentsCreateCall) Header() http.Header { +func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsIntentsCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1intent) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1detectintentrequest) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/intents") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+session}:detectIntent") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -17702,20 +19520,21 @@ func (c *ProjectsLocationsAgentsIntentsCreateCall) doRequest(alt string) (*http. } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "session": c.sessionid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.intents.create" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Intent or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3beta1Intent.ServerResponse.Header or -// (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.sessions.detectIntent" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1DetectIntentResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1DetectIntentResponse.ServerResponse.Hea +// der or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsIntentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Intent, error) { +func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1DetectIntentResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -17734,7 +19553,7 @@ func (c *ProjectsLocationsAgentsIntentsCreateCall) Do(opts ...googleapi.CallOpti if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1Intent{ + ret := &GoogleCloudDialogflowCxV3beta1DetectIntentResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -17746,33 +19565,28 @@ func (c *ProjectsLocationsAgentsIntentsCreateCall) Do(opts ...googleapi.CallOpti } return ret, nil // { - // "description": "Creates an intent in the specified agent.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents", + // "description": "Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause session entity types to be updated, which in turn might affect results of future queries. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:detectIntent", // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.intents.create", + // "id": "dialogflow.projects.locations.agents.sessions.detectIntent", // "parameterOrder": [ - // "parent" + // "session" // ], // "parameters": { - // "languageCode": { - // "description": "The language of the following fields in `intent`: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, - // "parent": { - // "description": "Required. The agent to create an intent for. Format: `projects//locations//agents/`.", + // "session": { + // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/intents", + // "path": "v3beta1/{+session}:detectIntent", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Intent" + // "$ref": "GoogleCloudDialogflowCxV3beta1DetectIntentRequest" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Intent" + // "$ref": "GoogleCloudDialogflowCxV3beta1DetectIntentResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -17782,27 +19596,31 @@ func (c *ProjectsLocationsAgentsIntentsCreateCall) Do(opts ...googleapi.CallOpti } -// method id "dialogflow.projects.locations.agents.intents.delete": +// method id "dialogflow.projects.locations.agents.sessions.fulfillIntent": -type ProjectsLocationsAgentsIntentsDeleteCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsSessionsFulfillIntentCall struct { + s *Service + sessionid string + googleclouddialogflowcxv3beta1fulfillintentrequest *GoogleCloudDialogflowCxV3beta1FulfillIntentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Delete: Deletes the specified intent. -func (r *ProjectsLocationsAgentsIntentsService) Delete(name string) *ProjectsLocationsAgentsIntentsDeleteCall { - c := &ProjectsLocationsAgentsIntentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name +// FulfillIntent: Fulfills a matched intent returned by MatchIntent. +// Must be called after MatchIntent, with input from +// MatchIntentResponse. Otherwise, the behavior is undefined. +func (r *ProjectsLocationsAgentsSessionsService) FulfillIntent(sessionid string, googleclouddialogflowcxv3beta1fulfillintentrequest *GoogleCloudDialogflowCxV3beta1FulfillIntentRequest) *ProjectsLocationsAgentsSessionsFulfillIntentCall { + c := &ProjectsLocationsAgentsSessionsFulfillIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.sessionid = sessionid + c.googleclouddialogflowcxv3beta1fulfillintentrequest = googleclouddialogflowcxv3beta1fulfillintentrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsIntentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsDeleteCall { +func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsFulfillIntentCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -17810,51 +19628,58 @@ func (c *ProjectsLocationsAgentsIntentsDeleteCall) Fields(s ...googleapi.Field) // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsIntentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsDeleteCall { +func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsFulfillIntentCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsIntentsDeleteCall) Header() http.Header { +func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsIntentsDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1fulfillintentrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+session}:fulfillIntent") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("DELETE", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "session": c.sessionid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.intents.delete" call. -// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any -// non-2xx status code is an error. Response headers are in either -// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was -// returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsIntentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +// Do executes the "dialogflow.projects.locations.agents.sessions.fulfillIntent" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1FulfillIntentResponse +// or error will be non-nil. Any non-2xx status code is an error. +// Response headers are in either +// *GoogleCloudDialogflowCxV3beta1FulfillIntentResponse.ServerResponse.He +// ader or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1FulfillIntentResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -17873,7 +19698,7 @@ func (c *ProjectsLocationsAgentsIntentsDeleteCall) Do(opts ...googleapi.CallOpti if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleProtobufEmpty{ + ret := &GoogleCloudDialogflowCxV3beta1FulfillIntentResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -17885,25 +19710,28 @@ func (c *ProjectsLocationsAgentsIntentsDeleteCall) Do(opts ...googleapi.CallOpti } return ret, nil // { - // "description": "Deletes the specified intent.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents/{intentsId}", - // "httpMethod": "DELETE", - // "id": "dialogflow.projects.locations.agents.intents.delete", + // "description": "Fulfills a matched intent returned by MatchIntent. Must be called after MatchIntent, with input from MatchIntentResponse. Otherwise, the behavior is undefined.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:fulfillIntent", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.sessions.fulfillIntent", // "parameterOrder": [ - // "name" + // "session" // ], // "parameters": { - // "name": { - // "description": "Required. The name of the intent to delete. Format: `projects//locations//agents//intents/`.", + // "session": { + // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/intents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+name}", + // "path": "v3beta1/{+session}:fulfillIntent", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1FulfillIntentRequest" + // }, // "response": { - // "$ref": "GoogleProtobufEmpty" + // "$ref": "GoogleCloudDialogflowCxV3beta1FulfillIntentResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -17913,106 +19741,89 @@ func (c *ProjectsLocationsAgentsIntentsDeleteCall) Do(opts ...googleapi.CallOpti } -// method id "dialogflow.projects.locations.agents.intents.get": - -type ProjectsLocationsAgentsIntentsGetCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header -} - -// Get: Retrieves the specified intent. -func (r *ProjectsLocationsAgentsIntentsService) Get(name string) *ProjectsLocationsAgentsIntentsGetCall { - c := &ProjectsLocationsAgentsIntentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - return c -} +// method id "dialogflow.projects.locations.agents.sessions.matchIntent": -// LanguageCode sets the optional parameter "languageCode": The language -// to retrieve the intent for. The following fields are language -// dependent: * `Intent.training_phrases.parts.text` If not specified, -// the agent's default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsIntentsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsGetCall { - c.urlParams_.Set("languageCode", languageCode) - return c +type ProjectsLocationsAgentsSessionsMatchIntentCall struct { + s *Service + sessionid string + googleclouddialogflowcxv3beta1matchintentrequest *GoogleCloudDialogflowCxV3beta1MatchIntentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse -// for more information. -func (c *ProjectsLocationsAgentsIntentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsGetCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) +// MatchIntent: Returns preliminary intent match results, doesn't change +// the session status. +func (r *ProjectsLocationsAgentsSessionsService) MatchIntent(sessionid string, googleclouddialogflowcxv3beta1matchintentrequest *GoogleCloudDialogflowCxV3beta1MatchIntentRequest) *ProjectsLocationsAgentsSessionsMatchIntentCall { + c := &ProjectsLocationsAgentsSessionsMatchIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.sessionid = sessionid + c.googleclouddialogflowcxv3beta1matchintentrequest = googleclouddialogflowcxv3beta1matchintentrequest return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsIntentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsIntentsGetCall { - c.ifNoneMatch_ = entityTag +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsMatchIntentCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsIntentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsGetCall { +func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsMatchIntentCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsIntentsGetCall) Header() http.Header { +func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsIntentsGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1matchintentrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+session}:matchIntent") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "session": c.sessionid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.intents.get" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Intent or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3beta1Intent.ServerResponse.Header or -// (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.sessions.matchIntent" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1MatchIntentResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1MatchIntentResponse.ServerResponse.Head +// er or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsIntentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Intent, error) { +func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1MatchIntentResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -18031,7 +19842,7 @@ func (c *ProjectsLocationsAgentsIntentsGetCall) Do(opts ...googleapi.CallOption) if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1Intent{ + ret := &GoogleCloudDialogflowCxV3beta1MatchIntentResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -18043,30 +19854,28 @@ func (c *ProjectsLocationsAgentsIntentsGetCall) Do(opts ...googleapi.CallOption) } return ret, nil // { - // "description": "Retrieves the specified intent.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents/{intentsId}", - // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.intents.get", + // "description": "Returns preliminary intent match results, doesn't change the session status.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:matchIntent", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.sessions.matchIntent", // "parameterOrder": [ - // "name" + // "session" // ], // "parameters": { - // "languageCode": { - // "description": "The language to retrieve the intent for. The following fields are language dependent: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, - // "name": { - // "description": "Required. The name of the intent. Format: `projects//locations//agents//intents/`.", + // "session": { + // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/intents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+name}", + // "path": "v3beta1/{+session}:matchIntent", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1MatchIntentRequest" + // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Intent" + // "$ref": "GoogleCloudDialogflowCxV3beta1MatchIntentResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -18076,115 +19885,69 @@ func (c *ProjectsLocationsAgentsIntentsGetCall) Do(opts ...googleapi.CallOption) } -// method id "dialogflow.projects.locations.agents.intents.list": +// method id "dialogflow.projects.locations.agents.sessions.entityTypes.create": -type ProjectsLocationsAgentsIntentsListCall struct { - s *Service - parent string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsSessionsEntityTypesCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// List: Returns the list of all intents in the specified agent. -func (r *ProjectsLocationsAgentsIntentsService) List(parent string) *ProjectsLocationsAgentsIntentsListCall { - c := &ProjectsLocationsAgentsIntentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Create: Creates a session entity type. If the specified session +// entity type already exists, overrides the session entity type. +func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Create(parent string, googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall { + c := &ProjectsLocationsAgentsSessionsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent - return c -} - -// IntentView sets the optional parameter "intentView": The resource -// view to apply to the returned intent. -// -// Possible values: -// "INTENT_VIEW_UNSPECIFIED" - Not specified. Treated as -// INTENT_VIEW_FULL. -// "INTENT_VIEW_PARTIAL" - Training phrases field is not populated in -// the response. -// "INTENT_VIEW_FULL" - All fields are populated. -func (c *ProjectsLocationsAgentsIntentsListCall) IntentView(intentView string) *ProjectsLocationsAgentsIntentsListCall { - c.urlParams_.Set("intentView", intentView) - return c -} - -// LanguageCode sets the optional parameter "languageCode": The language -// to list intents for. The following fields are language dependent: * -// `Intent.training_phrases.parts.text` If not specified, the agent's -// default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsIntentsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsListCall { - c.urlParams_.Set("languageCode", languageCode) - return c -} - -// PageSize sets the optional parameter "pageSize": The maximum number -// of items to return in a single page. By default 100 and at most 1000. -func (c *ProjectsLocationsAgentsIntentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsIntentsListCall { - c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) - return c -} - -// PageToken sets the optional parameter "pageToken": The -// next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsIntentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsIntentsListCall { - c.urlParams_.Set("pageToken", pageToken) + c.googleclouddialogflowcxv3beta1sessionentitytype = googleclouddialogflowcxv3beta1sessionentitytype return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsIntentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsListCall { +func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsIntentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsIntentsListCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsIntentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsListCall { +func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsIntentsListCall) Header() http.Header { +func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsIntentsListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1sessionentitytype) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/intents") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/entityTypes") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } @@ -18195,16 +19958,16 @@ func (c *ProjectsLocationsAgentsIntentsListCall) doRequest(alt string) (*http.Re return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.intents.list" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1ListIntentsResponse or +// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1SessionEntityType or // error will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3beta1ListIntentsResponse.ServerResponse.Head -// er or (if a response was returned at all) in +// *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header +// or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsIntentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListIntentsResponse, error) { +func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -18223,7 +19986,7 @@ func (c *ProjectsLocationsAgentsIntentsListCall) Do(opts ...googleapi.CallOption if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1ListIntentsResponse{ + ret := &GoogleCloudDialogflowCxV3beta1SessionEntityType{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -18235,129 +19998,58 @@ func (c *ProjectsLocationsAgentsIntentsListCall) Do(opts ...googleapi.CallOption } return ret, nil // { - // "description": "Returns the list of all intents in the specified agent.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents", - // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.intents.list", + // "description": "Creates a session entity type. If the specified session entity type already exists, overrides the session entity type.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.create", // "parameterOrder": [ // "parent" // ], - // "parameters": { - // "intentView": { - // "description": "The resource view to apply to the returned intent.", - // "enum": [ - // "INTENT_VIEW_UNSPECIFIED", - // "INTENT_VIEW_PARTIAL", - // "INTENT_VIEW_FULL" - // ], - // "enumDescriptions": [ - // "Not specified. Treated as INTENT_VIEW_FULL.", - // "Training phrases field is not populated in the response.", - // "All fields are populated." - // ], - // "location": "query", - // "type": "string" - // }, - // "languageCode": { - // "description": "The language to list intents for. The following fields are language dependent: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, - // "pageSize": { - // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", - // "format": "int32", - // "location": "query", - // "type": "integer" - // }, - // "pageToken": { - // "description": "The next_page_token value returned from a previous list request.", - // "location": "query", - // "type": "string" - // }, - // "parent": { - // "description": "Required. The agent to list all intents for. Format: `projects//locations//agents/`.", - // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", - // "required": true, - // "type": "string" - // } - // }, - // "path": "v3beta1/{+parent}/intents", - // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1ListIntentsResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform", - // "https://www.googleapis.com/auth/dialogflow" - // ] - // } - -} - -// Pages invokes f for each page of results. -// A non-nil error returned from f will halt the iteration. -// The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsIntentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListIntentsResponse) error) error { - c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point - for { - x, err := c.Do() - if err != nil { - return err - } - if err := f(x); err != nil { - return err - } - if x.NextPageToken == "" { - return nil - } - c.PageToken(x.NextPageToken) - } -} - -// method id "dialogflow.projects.locations.agents.intents.patch": + // "parameters": { + // "parent": { + // "description": "Required. The session to create a session entity type for. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3beta1/{+parent}/entityTypes", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } -type ProjectsLocationsAgentsIntentsPatchCall struct { - s *Service - nameid string - googleclouddialogflowcxv3beta1intent *GoogleCloudDialogflowCxV3beta1Intent - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header } -// Patch: Updates the specified intent. -func (r *ProjectsLocationsAgentsIntentsService) Patch(nameid string, googleclouddialogflowcxv3beta1intent *GoogleCloudDialogflowCxV3beta1Intent) *ProjectsLocationsAgentsIntentsPatchCall { - c := &ProjectsLocationsAgentsIntentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.nameid = nameid - c.googleclouddialogflowcxv3beta1intent = googleclouddialogflowcxv3beta1intent - return c -} +// method id "dialogflow.projects.locations.agents.sessions.entityTypes.delete": -// LanguageCode sets the optional parameter "languageCode": The language -// of the following fields in `intent`: * -// `Intent.training_phrases.parts.text` If not specified, the agent's -// default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsIntentsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsPatchCall { - c.urlParams_.Set("languageCode", languageCode) - return c +type ProjectsLocationsAgentsSessionsEntityTypesDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// UpdateMask sets the optional parameter "updateMask": The mask to -// control which fields get updated. If the mask is not present, all -// fields will be updated. -func (c *ProjectsLocationsAgentsIntentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsIntentsPatchCall { - c.urlParams_.Set("updateMask", updateMask) +// Delete: Deletes the specified session entity type. +func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall { + c := &ProjectsLocationsAgentsSessionsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsIntentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsPatchCall { +func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -18365,57 +20057,51 @@ func (c *ProjectsLocationsAgentsIntentsPatchCall) Fields(s ...googleapi.Field) * // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsIntentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsPatchCall { +func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsIntentsPatchCall) Header() http.Header { +func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsIntentsPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1intent) - if err != nil { - return nil, err - } - reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("PATCH", urls, body) + req, err := http.NewRequest("DELETE", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.nameid, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.intents.patch" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Intent or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3beta1Intent.ServerResponse.Header or -// (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsIntentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Intent, error) { +// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -18434,7 +20120,7 @@ func (c *ProjectsLocationsAgentsIntentsPatchCall) Do(opts ...googleapi.CallOptio if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1Intent{ + ret := &GoogleProtobufEmpty{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -18446,39 +20132,25 @@ func (c *ProjectsLocationsAgentsIntentsPatchCall) Do(opts ...googleapi.CallOptio } return ret, nil // { - // "description": "Updates the specified intent.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents/{intentsId}", - // "httpMethod": "PATCH", - // "id": "dialogflow.projects.locations.agents.intents.patch", + // "description": "Deletes the specified session entity type.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.delete", // "parameterOrder": [ // "name" // ], // "parameters": { - // "languageCode": { - // "description": "The language of the following fields in `intent`: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, // "name": { - // "description": "The unique identifier of the intent. Required for the Intents.UpdateIntent method. Intents.CreateIntent populates the name automatically. Format: `projects//locations//agents//intents/`.", + // "description": "Required. The name of the session entity type to delete. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/intents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", // "required": true, // "type": "string" - // }, - // "updateMask": { - // "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", - // "format": "google-fieldmask", - // "location": "query", - // "type": "string" // } // }, // "path": "v3beta1/{+name}", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Intent" - // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Intent" + // "$ref": "GoogleProtobufEmpty" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -18488,94 +20160,95 @@ func (c *ProjectsLocationsAgentsIntentsPatchCall) Do(opts ...googleapi.CallOptio } -// method id "dialogflow.projects.locations.agents.sessions.detectIntent": +// method id "dialogflow.projects.locations.agents.sessions.entityTypes.get": -type ProjectsLocationsAgentsSessionsDetectIntentCall struct { - s *Service - sessionid string - googleclouddialogflowcxv3beta1detectintentrequest *GoogleCloudDialogflowCxV3beta1DetectIntentRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsSessionsEntityTypesGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// DetectIntent: Processes a natural language query and returns -// structured, actionable data as a result. This method is not -// idempotent, because it may cause session entity types to be updated, -// which in turn might affect results of future queries. Note: Always -// use agent versions for production traffic. See [Versions and -// environments](https://cloud.google.com/dialogflow/cx/docs/concept/vers -// ion). -func (r *ProjectsLocationsAgentsSessionsService) DetectIntent(sessionid string, googleclouddialogflowcxv3beta1detectintentrequest *GoogleCloudDialogflowCxV3beta1DetectIntentRequest) *ProjectsLocationsAgentsSessionsDetectIntentCall { - c := &ProjectsLocationsAgentsSessionsDetectIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.sessionid = sessionid - c.googleclouddialogflowcxv3beta1detectintentrequest = googleclouddialogflowcxv3beta1detectintentrequest +// Get: Retrieves the specified session entity type. +func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentsSessionsEntityTypesGetCall { + c := &ProjectsLocationsAgentsSessionsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsDetectIntentCall { +func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsSessionsEntityTypesGetCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsDetectIntentCall { +func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesGetCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Header() http.Header { +func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1detectintentrequest) - if err != nil { - return nil, err + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } - reqHeaders.Set("Content-Type", "application/json") + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+session}:detectIntent") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "session": c.sessionid, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.sessions.detectIntent" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1DetectIntentResponse or +// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1SessionEntityType or // error will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3beta1DetectIntentResponse.ServerResponse.Hea -// der or (if a response was returned at all) in +// *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header +// or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1DetectIntentResponse, error) { +func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -18594,7 +20267,7 @@ func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Do(opts ...googleapi.C if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1DetectIntentResponse{ + ret := &GoogleCloudDialogflowCxV3beta1SessionEntityType{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -18606,28 +20279,25 @@ func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Do(opts ...googleapi.C } return ret, nil // { - // "description": "Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause session entity types to be updated, which in turn might affect results of future queries. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:detectIntent", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.sessions.detectIntent", + // "description": "Retrieves the specified session entity type.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.get", // "parameterOrder": [ - // "session" + // "name" // ], // "parameters": { - // "session": { - // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", + // "name": { + // "description": "Required. The name of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+session}:detectIntent", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1DetectIntentRequest" - // }, + // "path": "v3beta1/{+name}", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1DetectIntentResponse" + // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -18637,90 +20307,111 @@ func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Do(opts ...googleapi.C } -// method id "dialogflow.projects.locations.agents.sessions.fulfillIntent": +// method id "dialogflow.projects.locations.agents.sessions.entityTypes.list": -type ProjectsLocationsAgentsSessionsFulfillIntentCall struct { - s *Service - sessionid string - googleclouddialogflowcxv3beta1fulfillintentrequest *GoogleCloudDialogflowCxV3beta1FulfillIntentRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsSessionsEntityTypesListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// FulfillIntent: Fulfills a matched intent returned by MatchIntent. -// Must be called after MatchIntent, with input from -// MatchIntentResponse. Otherwise, the behavior is undefined. -func (r *ProjectsLocationsAgentsSessionsService) FulfillIntent(sessionid string, googleclouddialogflowcxv3beta1fulfillintentrequest *GoogleCloudDialogflowCxV3beta1FulfillIntentRequest) *ProjectsLocationsAgentsSessionsFulfillIntentCall { - c := &ProjectsLocationsAgentsSessionsFulfillIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.sessionid = sessionid - c.googleclouddialogflowcxv3beta1fulfillintentrequest = googleclouddialogflowcxv3beta1fulfillintentrequest +// List: Returns the list of all session entity types in the specified +// session. +func (r *ProjectsLocationsAgentsSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentsSessionsEntityTypesListCall { + c := &ProjectsLocationsAgentsSessionsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 100 and at most 1000. +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsSessionsEntityTypesListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsSessionsEntityTypesListCall { + c.urlParams_.Set("pageToken", pageToken) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsFulfillIntentCall { +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsSessionsEntityTypesListCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsFulfillIntentCall { +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Header() http.Header { +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1fulfillintentrequest) - if err != nil { - return nil, err + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } - reqHeaders.Set("Content-Type", "application/json") + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+session}:fulfillIntent") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/entityTypes") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "session": c.sessionid, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.sessions.fulfillIntent" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1FulfillIntentResponse -// or error will be non-nil. Any non-2xx status code is an error. -// Response headers are in either -// *GoogleCloudDialogflowCxV3beta1FulfillIntentResponse.ServerResponse.He -// ader or (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.list" call. +// Exactly one of +// *GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse.ServerRe +// sponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1FulfillIntentResponse, error) { +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -18739,7 +20430,7 @@ func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Do(opts ...googleapi. if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1FulfillIntentResponse{ + ret := &GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -18751,28 +20442,36 @@ func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Do(opts ...googleapi. } return ret, nil // { - // "description": "Fulfills a matched intent returned by MatchIntent. Must be called after MatchIntent, with input from MatchIntentResponse. Otherwise, the behavior is undefined.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:fulfillIntent", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.sessions.fulfillIntent", + // "description": "Returns the list of all session entity types in the specified session.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.list", // "parameterOrder": [ - // "session" + // "parent" // ], // "parameters": { - // "session": { - // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The session to list all session entity types from. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+session}:fulfillIntent", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1FulfillIntentRequest" - // }, + // "path": "v3beta1/{+parent}/entityTypes", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1FulfillIntentResponse" + // "$ref": "GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -18782,30 +20481,57 @@ func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Do(opts ...googleapi. } -// method id "dialogflow.projects.locations.agents.sessions.matchIntent": +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} -type ProjectsLocationsAgentsSessionsMatchIntentCall struct { - s *Service - sessionid string - googleclouddialogflowcxv3beta1matchintentrequest *GoogleCloudDialogflowCxV3beta1MatchIntentRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +// method id "dialogflow.projects.locations.agents.sessions.entityTypes.patch": + +type ProjectsLocationsAgentsSessionsEntityTypesPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// MatchIntent: Returns preliminary intent match results, doesn't change -// the session status. -func (r *ProjectsLocationsAgentsSessionsService) MatchIntent(sessionid string, googleclouddialogflowcxv3beta1matchintentrequest *GoogleCloudDialogflowCxV3beta1MatchIntentRequest) *ProjectsLocationsAgentsSessionsMatchIntentCall { - c := &ProjectsLocationsAgentsSessionsMatchIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.sessionid = sessionid - c.googleclouddialogflowcxv3beta1matchintentrequest = googleclouddialogflowcxv3beta1matchintentrequest +// Patch: Updates the specified session entity type. +func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall { + c := &ProjectsLocationsAgentsSessionsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.nameid = nameid + c.googleclouddialogflowcxv3beta1sessionentitytype = googleclouddialogflowcxv3beta1sessionentitytype + return c +} + +// UpdateMask sets the optional parameter "updateMask": The mask to +// control which fields get updated. +func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall { + c.urlParams_.Set("updateMask", updateMask) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsMatchIntentCall { +func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -18813,58 +20539,58 @@ func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Fields(s ...googleapi.F // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsMatchIntentCall { +func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Header() http.Header { +func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1matchintentrequest) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1sessionentitytype) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+session}:matchIntent") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("PATCH", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "session": c.sessionid, + "name": c.nameid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.sessions.matchIntent" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1MatchIntentResponse or +// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1SessionEntityType or // error will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3beta1MatchIntentResponse.ServerResponse.Head -// er or (if a response was returned at all) in +// *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header +// or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1MatchIntentResponse, error) { +func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -18883,7 +20609,7 @@ func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Do(opts ...googleapi.Ca if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1MatchIntentResponse{ + ret := &GoogleCloudDialogflowCxV3beta1SessionEntityType{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -18895,28 +20621,34 @@ func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Do(opts ...googleapi.Ca } return ret, nil // { - // "description": "Returns preliminary intent match results, doesn't change the session status.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:matchIntent", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.sessions.matchIntent", + // "description": "Updates the specified session entity type.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.patch", // "parameterOrder": [ - // "session" + // "name" // ], // "parameters": { - // "session": { - // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", + // "name": { + // "description": "Required. The unique identifier of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", // "required": true, // "type": "string" + // }, + // "updateMask": { + // "description": "The mask to control which fields get updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" // } // }, - // "path": "v3beta1/{+session}:matchIntent", + // "path": "v3beta1/{+name}", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1MatchIntentRequest" + // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1MatchIntentResponse" + // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -18926,30 +20658,29 @@ func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Do(opts ...googleapi.Ca } -// method id "dialogflow.projects.locations.agents.sessions.entityTypes.create": +// method id "dialogflow.projects.locations.agents.webhooks.create": -type ProjectsLocationsAgentsSessionsEntityTypesCreateCall struct { - s *Service - parent string - googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsWebhooksCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3beta1webhook *GoogleCloudDialogflowCxV3beta1Webhook + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Create: Creates a session entity type. If the specified session -// entity type already exists, overrides the session entity type. -func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Create(parent string, googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall { - c := &ProjectsLocationsAgentsSessionsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Create: Creates a webhook in the specified agent. +func (r *ProjectsLocationsAgentsWebhooksService) Create(parent string, googleclouddialogflowcxv3beta1webhook *GoogleCloudDialogflowCxV3beta1Webhook) *ProjectsLocationsAgentsWebhooksCreateCall { + c := &ProjectsLocationsAgentsWebhooksCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent - c.googleclouddialogflowcxv3beta1sessionentitytype = googleclouddialogflowcxv3beta1sessionentitytype + c.googleclouddialogflowcxv3beta1webhook = googleclouddialogflowcxv3beta1webhook return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall { +func (c *ProjectsLocationsAgentsWebhooksCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsWebhooksCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -18957,58 +20688,57 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Fields(s ...googl // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall { +func (c *ProjectsLocationsAgentsWebhooksCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsWebhooksCreateCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Header() http.Header { +func (c *ProjectsLocationsAgentsWebhooksCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsWebhooksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1sessionentitytype) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1webhook) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/entityTypes") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/webhooks") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.create" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1SessionEntityType or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header -// or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error) { + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.webhooks.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Webhook or error will +// be non-nil. Any non-2xx status code is an error. Response headers are +// in either +// *GoogleCloudDialogflowCxV3beta1Webhook.ServerResponse.Header or (if a +// response was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsWebhooksCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Webhook, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -19027,7 +20757,7 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Do(opts ...google if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1SessionEntityType{ + ret := &GoogleCloudDialogflowCxV3beta1Webhook{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -19039,28 +20769,28 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Do(opts ...google } return ret, nil // { - // "description": "Creates a session entity type. If the specified session entity type already exists, overrides the session entity type.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes", + // "description": "Creates a webhook in the specified agent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks", // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.create", + // "id": "dialogflow.projects.locations.agents.webhooks.create", // "parameterOrder": [ // "parent" // ], // "parameters": { // "parent": { - // "description": "Required. The session to create a session entity type for. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "description": "Required. The agent to create a webhook for. Format: `projects//locations//agents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/entityTypes", + // "path": "v3beta1/{+parent}/webhooks", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" + // "$ref": "GoogleCloudDialogflowCxV3beta1Webhook" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" + // "$ref": "GoogleCloudDialogflowCxV3beta1Webhook" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -19070,9 +20800,9 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Do(opts ...google } -// method id "dialogflow.projects.locations.agents.sessions.entityTypes.delete": +// method id "dialogflow.projects.locations.agents.webhooks.delete": -type ProjectsLocationsAgentsSessionsEntityTypesDeleteCall struct { +type ProjectsLocationsAgentsWebhooksDeleteCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -19080,17 +20810,29 @@ type ProjectsLocationsAgentsSessionsEntityTypesDeleteCall struct { header_ http.Header } -// Delete: Deletes the specified session entity type. -func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall { - c := &ProjectsLocationsAgentsSessionsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Delete: Deletes the specified webhook. +func (r *ProjectsLocationsAgentsWebhooksService) Delete(name string) *ProjectsLocationsAgentsWebhooksDeleteCall { + c := &ProjectsLocationsAgentsWebhooksDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } +// Force sets the optional parameter "force": This field has no effect +// for webhook not being used. For webhooks that are used by +// pages/flows/transition route groups: * If `force` is set to false, an +// error will be returned with message indicating the referenced +// resources. * If `force` is set to true, Dialogflow will remove the +// webhook, as well as any references to the webhook (i.e. Webhook and +// tagin fulfillments that point to this webhook will be removed). +func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Force(force bool) *ProjectsLocationsAgentsWebhooksDeleteCall { + c.urlParams_.Set("force", fmt.Sprint(force)) + return c +} + // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall { +func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsWebhooksDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -19098,23 +20840,23 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Fields(s ...googl // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall { +func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsWebhooksDeleteCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Header() http.Header { +func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsWebhooksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19135,14 +20877,14 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) doRequest(alt str return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.delete" call. +// Do executes the "dialogflow.projects.locations.agents.webhooks.delete" call. // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any // non-2xx status code is an error. Response headers are in either // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was // returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -19173,18 +20915,23 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Do(opts ...google } return ret, nil // { - // "description": "Deletes the specified session entity type.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "description": "Deletes the specified webhook.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks/{webhooksId}", // "httpMethod": "DELETE", - // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.delete", + // "id": "dialogflow.projects.locations.agents.webhooks.delete", // "parameterOrder": [ // "name" // ], // "parameters": { + // "force": { + // "description": "This field has no effect for webhook not being used. For webhooks that are used by pages/flows/transition route groups: * If `force` is set to false, an error will be returned with message indicating the referenced resources. * If `force` is set to true, Dialogflow will remove the webhook, as well as any references to the webhook (i.e. Webhook and tagin fulfillments that point to this webhook will be removed).", + // "location": "query", + // "type": "boolean" + // }, // "name": { - // "description": "Required. The name of the session entity type to delete. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "description": "Required. The name of the webhook to delete. Format: `projects//locations//agents//webhooks/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+$", // "required": true, // "type": "string" // } @@ -19201,9 +20948,9 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Do(opts ...google } -// method id "dialogflow.projects.locations.agents.sessions.entityTypes.get": +// method id "dialogflow.projects.locations.agents.webhooks.get": -type ProjectsLocationsAgentsSessionsEntityTypesGetCall struct { +type ProjectsLocationsAgentsWebhooksGetCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -19212,9 +20959,9 @@ type ProjectsLocationsAgentsSessionsEntityTypesGetCall struct { header_ http.Header } -// Get: Retrieves the specified session entity type. -func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentsSessionsEntityTypesGetCall { - c := &ProjectsLocationsAgentsSessionsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Get: Retrieves the specified webhook. +func (r *ProjectsLocationsAgentsWebhooksService) Get(name string) *ProjectsLocationsAgentsWebhooksGetCall { + c := &ProjectsLocationsAgentsWebhooksGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } @@ -19222,7 +20969,7 @@ func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Get(name string) *Pr // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesGetCall { +func (c *ProjectsLocationsAgentsWebhooksGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsWebhooksGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -19232,7 +20979,7 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Fields(s ...googleap // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsSessionsEntityTypesGetCall { +func (c *ProjectsLocationsAgentsWebhooksGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsWebhooksGetCall { c.ifNoneMatch_ = entityTag return c } @@ -19240,23 +20987,23 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) IfNoneMatch(entityTa // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesGetCall { +func (c *ProjectsLocationsAgentsWebhooksGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsWebhooksGetCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Header() http.Header { +func (c *ProjectsLocationsAgentsWebhooksGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsWebhooksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19280,16 +21027,15 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) doRequest(alt string return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.get" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1SessionEntityType or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header -// or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error) { +// Do executes the "dialogflow.projects.locations.agents.webhooks.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Webhook or error will +// be non-nil. Any non-2xx status code is an error. Response headers are +// in either +// *GoogleCloudDialogflowCxV3beta1Webhook.ServerResponse.Header or (if a +// response was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsWebhooksGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Webhook, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -19308,7 +21054,7 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Do(opts ...googleapi if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1SessionEntityType{ + ret := &GoogleCloudDialogflowCxV3beta1Webhook{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -19320,25 +21066,25 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Do(opts ...googleapi } return ret, nil // { - // "description": "Retrieves the specified session entity type.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "description": "Retrieves the specified webhook.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks/{webhooksId}", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.get", + // "id": "dialogflow.projects.locations.agents.webhooks.get", // "parameterOrder": [ // "name" // ], // "parameters": { // "name": { - // "description": "Required. The name of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "description": "Required. The name of the webhook. Format: `projects//locations//agents//webhooks/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+$", // "required": true, // "type": "string" // } // }, // "path": "v3beta1/{+name}", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" + // "$ref": "GoogleCloudDialogflowCxV3beta1Webhook" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -19348,9 +21094,9 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Do(opts ...googleapi } -// method id "dialogflow.projects.locations.agents.sessions.entityTypes.list": +// method id "dialogflow.projects.locations.agents.webhooks.list": -type ProjectsLocationsAgentsSessionsEntityTypesListCall struct { +type ProjectsLocationsAgentsWebhooksListCall struct { s *Service parent string urlParams_ gensupport.URLParams @@ -19359,24 +21105,23 @@ type ProjectsLocationsAgentsSessionsEntityTypesListCall struct { header_ http.Header } -// List: Returns the list of all session entity types in the specified -// session. -func (r *ProjectsLocationsAgentsSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentsSessionsEntityTypesListCall { - c := &ProjectsLocationsAgentsSessionsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// List: Returns the list of all webhooks in the specified agent. +func (r *ProjectsLocationsAgentsWebhooksService) List(parent string) *ProjectsLocationsAgentsWebhooksListCall { + c := &ProjectsLocationsAgentsWebhooksListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent return c } // PageSize sets the optional parameter "pageSize": The maximum number // of items to return in a single page. By default 100 and at most 1000. -func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsSessionsEntityTypesListCall { +func (c *ProjectsLocationsAgentsWebhooksListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsWebhooksListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": The // next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsSessionsEntityTypesListCall { +func (c *ProjectsLocationsAgentsWebhooksListCall) PageToken(pageToken string) *ProjectsLocationsAgentsWebhooksListCall { c.urlParams_.Set("pageToken", pageToken) return c } @@ -19384,7 +21129,7 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) PageToken(pageToken // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesListCall { +func (c *ProjectsLocationsAgentsWebhooksListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsWebhooksListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -19394,7 +21139,7 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Fields(s ...googlea // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsSessionsEntityTypesListCall { +func (c *ProjectsLocationsAgentsWebhooksListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsWebhooksListCall { c.ifNoneMatch_ = entityTag return c } @@ -19402,23 +21147,23 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) IfNoneMatch(entityT // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesListCall { +func (c *ProjectsLocationsAgentsWebhooksListCall) Context(ctx context.Context) *ProjectsLocationsAgentsWebhooksListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Header() http.Header { +func (c *ProjectsLocationsAgentsWebhooksListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsWebhooksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19429,7 +21174,7 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) doRequest(alt strin var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/entityTypes") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/webhooks") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -19442,17 +21187,16 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) doRequest(alt strin return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.list" call. -// Exactly one of -// *GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse or +// Do executes the "dialogflow.projects.locations.agents.webhooks.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1ListWebhooksResponse or // error will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse.ServerRe -// sponse.Header or (if a response was returned at all) in +// *GoogleCloudDialogflowCxV3beta1ListWebhooksResponse.ServerResponse.Hea +// der or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse, error) { +func (c *ProjectsLocationsAgentsWebhooksListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListWebhooksResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -19471,7 +21215,7 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Do(opts ...googleap if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse{ + ret := &GoogleCloudDialogflowCxV3beta1ListWebhooksResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -19483,10 +21227,10 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Do(opts ...googleap } return ret, nil // { - // "description": "Returns the list of all session entity types in the specified session.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes", + // "description": "Returns the list of all webhooks in the specified agent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.list", + // "id": "dialogflow.projects.locations.agents.webhooks.list", // "parameterOrder": [ // "parent" // ], @@ -19503,16 +21247,16 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Do(opts ...googleap // "type": "string" // }, // "parent": { - // "description": "Required. The session to list all session entity types from. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "description": "Required. The agent to list all webhooks for. Format: `projects//locations//agents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/entityTypes", + // "path": "v3beta1/{+parent}/webhooks", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse" + // "$ref": "GoogleCloudDialogflowCxV3beta1ListWebhooksResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -19525,7 +21269,7 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Do(opts ...googleap // Pages invokes f for each page of results. // A non-nil error returned from f will halt the iteration. // The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse) error) error { +func (c *ProjectsLocationsAgentsWebhooksListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListWebhooksResponse) error) error { c.ctx_ = ctx defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point for { @@ -19543,28 +21287,29 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Pages(ctx context.C } } -// method id "dialogflow.projects.locations.agents.sessions.entityTypes.patch": +// method id "dialogflow.projects.locations.agents.webhooks.patch": -type ProjectsLocationsAgentsSessionsEntityTypesPatchCall struct { - s *Service - nameid string - googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsWebhooksPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3beta1webhook *GoogleCloudDialogflowCxV3beta1Webhook + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Patch: Updates the specified session entity type. -func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall { - c := &ProjectsLocationsAgentsSessionsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Patch: Updates the specified webhook. +func (r *ProjectsLocationsAgentsWebhooksService) Patch(nameid string, googleclouddialogflowcxv3beta1webhook *GoogleCloudDialogflowCxV3beta1Webhook) *ProjectsLocationsAgentsWebhooksPatchCall { + c := &ProjectsLocationsAgentsWebhooksPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.nameid = nameid - c.googleclouddialogflowcxv3beta1sessionentitytype = googleclouddialogflowcxv3beta1sessionentitytype + c.googleclouddialogflowcxv3beta1webhook = googleclouddialogflowcxv3beta1webhook return c } // UpdateMask sets the optional parameter "updateMask": The mask to -// control which fields get updated. -func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall { +// control which fields get updated. If the mask is not present, all +// fields will be updated. +func (c *ProjectsLocationsAgentsWebhooksPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsWebhooksPatchCall { c.urlParams_.Set("updateMask", updateMask) return c } @@ -19572,7 +21317,7 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) UpdateMask(updateM // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall { +func (c *ProjectsLocationsAgentsWebhooksPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsWebhooksPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -19580,29 +21325,29 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Fields(s ...google // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall { +func (c *ProjectsLocationsAgentsWebhooksPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsWebhooksPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Header() http.Header { +func (c *ProjectsLocationsAgentsWebhooksPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsWebhooksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1sessionentitytype) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1webhook) if err != nil { return nil, err } @@ -19622,16 +21367,15 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) doRequest(alt stri return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.patch" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1SessionEntityType or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header -// or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error) { +// Do executes the "dialogflow.projects.locations.agents.webhooks.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Webhook or error will +// be non-nil. Any non-2xx status code is an error. Response headers are +// in either +// *GoogleCloudDialogflowCxV3beta1Webhook.ServerResponse.Header or (if a +// response was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsWebhooksPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Webhook, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -19650,7 +21394,7 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Do(opts ...googlea if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1SessionEntityType{ + ret := &GoogleCloudDialogflowCxV3beta1Webhook{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -19662,23 +21406,23 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Do(opts ...googlea } return ret, nil // { - // "description": "Updates the specified session entity type.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "description": "Updates the specified webhook.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks/{webhooksId}", // "httpMethod": "PATCH", - // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.patch", + // "id": "dialogflow.projects.locations.agents.webhooks.patch", // "parameterOrder": [ // "name" // ], // "parameters": { // "name": { - // "description": "Required. The unique identifier of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "description": "The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: `projects//locations//agents//webhooks/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+$", // "required": true, // "type": "string" // }, // "updateMask": { - // "description": "The mask to control which fields get updated.", + // "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", // "format": "google-fieldmask", // "location": "query", // "type": "string" @@ -19686,10 +21430,10 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Do(opts ...googlea // }, // "path": "v3beta1/{+name}", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" + // "$ref": "GoogleCloudDialogflowCxV3beta1Webhook" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" + // "$ref": "GoogleCloudDialogflowCxV3beta1Webhook" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -19699,29 +21443,36 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Do(opts ...googlea } -// method id "dialogflow.projects.locations.agents.webhooks.create": +// method id "dialogflow.projects.locations.operations.cancel": -type ProjectsLocationsAgentsWebhooksCreateCall struct { - s *Service - parent string - googleclouddialogflowcxv3beta1webhook *GoogleCloudDialogflowCxV3beta1Webhook - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsOperationsCancelCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Create: Creates a webhook in the specified agent. -func (r *ProjectsLocationsAgentsWebhooksService) Create(parent string, googleclouddialogflowcxv3beta1webhook *GoogleCloudDialogflowCxV3beta1Webhook) *ProjectsLocationsAgentsWebhooksCreateCall { - c := &ProjectsLocationsAgentsWebhooksCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - c.googleclouddialogflowcxv3beta1webhook = googleclouddialogflowcxv3beta1webhook +// Cancel: Starts asynchronous cancellation on a long-running operation. +// The server makes a best effort to cancel the operation, but success +// is not guaranteed. If the server doesn't support this method, it +// returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use +// Operations.GetOperation or other methods to check whether the +// cancellation succeeded or whether the operation completed despite +// cancellation. On successful cancellation, the operation is not +// deleted; instead, it becomes an operation with an Operation.error +// value with a google.rpc.Status.code of 1, corresponding to +// `Code.CANCELLED`. +func (r *ProjectsLocationsOperationsService) Cancel(name string) *ProjectsLocationsOperationsCancelCall { + c := &ProjectsLocationsOperationsCancelCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsWebhooksCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsWebhooksCreateCall { +func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -19729,36 +21480,31 @@ func (c *ProjectsLocationsAgentsWebhooksCreateCall) Fields(s ...googleapi.Field) // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsWebhooksCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsWebhooksCreateCall { +func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsOperationsCancelCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsWebhooksCreateCall) Header() http.Header { +func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsWebhooksCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1webhook) - if err != nil { - return nil, err - } - reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/webhooks") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}:cancel") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -19766,20 +21512,19 @@ func (c *ProjectsLocationsAgentsWebhooksCreateCall) doRequest(alt string) (*http } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.webhooks.create" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Webhook or error will -// be non-nil. Any non-2xx status code is an error. Response headers are -// in either -// *GoogleCloudDialogflowCxV3beta1Webhook.ServerResponse.Header or (if a -// response was returned at all) in error.(*googleapi.Error).Header. Use +// Do executes the "dialogflow.projects.locations.operations.cancel" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsWebhooksCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Webhook, error) { +func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -19798,7 +21543,7 @@ func (c *ProjectsLocationsAgentsWebhooksCreateCall) Do(opts ...googleapi.CallOpt if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1Webhook{ + ret := &GoogleProtobufEmpty{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -19810,28 +21555,25 @@ func (c *ProjectsLocationsAgentsWebhooksCreateCall) Do(opts ...googleapi.CallOpt } return ret, nil // { - // "description": "Creates a webhook in the specified agent.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks", + // "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.webhooks.create", + // "id": "dialogflow.projects.locations.operations.cancel", // "parameterOrder": [ - // "parent" + // "name" // ], // "parameters": { - // "parent": { - // "description": "Required. The agent to create a webhook for. Format: `projects//locations//agents/`.", + // "name": { + // "description": "The name of the operation resource to be cancelled.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/webhooks", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Webhook" - // }, + // "path": "v3beta1/{+name}:cancel", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Webhook" + // "$ref": "GoogleProtobufEmpty" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -19841,73 +21583,77 @@ func (c *ProjectsLocationsAgentsWebhooksCreateCall) Do(opts ...googleapi.CallOpt } -// method id "dialogflow.projects.locations.agents.webhooks.delete": +// method id "dialogflow.projects.locations.operations.get": -type ProjectsLocationsAgentsWebhooksDeleteCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsOperationsGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// Delete: Deletes the specified webhook. -func (r *ProjectsLocationsAgentsWebhooksService) Delete(name string) *ProjectsLocationsAgentsWebhooksDeleteCall { - c := &ProjectsLocationsAgentsWebhooksDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Get: Gets the latest state of a long-running operation. Clients can +// use this method to poll the operation result at intervals as +// recommended by the API service. +func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall { + c := &ProjectsLocationsOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } -// Force sets the optional parameter "force": This field has no effect -// for webhook not being used. For webhooks that are used by -// pages/flows/transition route groups: * If `force` is set to false, an -// error will be returned with message indicating the referenced -// resources. * If `force` is set to true, Dialogflow will remove the -// webhook, as well as any references to the webhook (i.e. Webhook and -// tagin fulfillments that point to this webhook will be removed). -func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Force(force bool) *ProjectsLocationsAgentsWebhooksDeleteCall { - c.urlParams_.Set("force", fmt.Sprint(force)) - return c -} - // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsWebhooksDeleteCall { +func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsWebhooksDeleteCall { +func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsOperationsGetCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Header() http.Header { +func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsWebhooksDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("DELETE", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } @@ -19918,14 +21664,14 @@ func (c *ProjectsLocationsAgentsWebhooksDeleteCall) doRequest(alt string) (*http return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.webhooks.delete" call. -// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any -// non-2xx status code is an error. Response headers are in either -// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was -// returned at all) in error.(*googleapi.Error).Header. Use +// Do executes the "dialogflow.projects.locations.operations.get" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -19944,7 +21690,7 @@ func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Do(opts ...googleapi.CallOpt if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleProtobufEmpty{ + ret := &GoogleLongrunningOperation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -19956,30 +21702,25 @@ func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Do(opts ...googleapi.CallOpt } return ret, nil // { - // "description": "Deletes the specified webhook.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks/{webhooksId}", - // "httpMethod": "DELETE", - // "id": "dialogflow.projects.locations.agents.webhooks.delete", + // "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.operations.get", // "parameterOrder": [ // "name" // ], // "parameters": { - // "force": { - // "description": "This field has no effect for webhook not being used. For webhooks that are used by pages/flows/transition route groups: * If `force` is set to false, an error will be returned with message indicating the referenced resources. * If `force` is set to true, Dialogflow will remove the webhook, as well as any references to the webhook (i.e. Webhook and tagin fulfillments that point to this webhook will be removed).", - // "location": "query", - // "type": "boolean" - // }, // "name": { - // "description": "Required. The name of the webhook to delete. Format: `projects//locations//agents//webhooks/`.", + // "description": "The name of the operation resource.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", // "required": true, // "type": "string" // } // }, // "path": "v3beta1/{+name}", // "response": { - // "$ref": "GoogleProtobufEmpty" + // "$ref": "GoogleLongrunningOperation" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -19989,9 +21730,9 @@ func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Do(opts ...googleapi.CallOpt } -// method id "dialogflow.projects.locations.agents.webhooks.get": +// method id "dialogflow.projects.locations.operations.list": -type ProjectsLocationsAgentsWebhooksGetCall struct { +type ProjectsLocationsOperationsListCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -20000,17 +21741,47 @@ type ProjectsLocationsAgentsWebhooksGetCall struct { header_ http.Header } -// Get: Retrieves the specified webhook. -func (r *ProjectsLocationsAgentsWebhooksService) Get(name string) *ProjectsLocationsAgentsWebhooksGetCall { - c := &ProjectsLocationsAgentsWebhooksGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// List: Lists operations that match the specified filter in the +// request. If the server doesn't support this method, it returns +// `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to +// override the binding to use different resource name schemes, such as +// `users/*/operations`. To override the binding, API services can add a +// binding such as "/v1/{name=users/*}/operations" to their service +// configuration. For backwards compatibility, the default name includes +// the operations collection id, however overriding users must ensure +// the name binding is the parent resource, without the operations +// collection id. +func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall { + c := &ProjectsLocationsOperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } +// Filter sets the optional parameter "filter": The standard list +// filter. +func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *ProjectsLocationsOperationsListCall { + c.urlParams_.Set("filter", filter) + return c +} + +// PageSize sets the optional parameter "pageSize": The standard list +// page size. +func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The standard list +// page token. +func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsWebhooksGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsWebhooksGetCall { +func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -20020,7 +21791,7 @@ func (c *ProjectsLocationsAgentsWebhooksGetCall) Fields(s ...googleapi.Field) *P // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsWebhooksGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsWebhooksGetCall { +func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall { c.ifNoneMatch_ = entityTag return c } @@ -20028,23 +21799,23 @@ func (c *ProjectsLocationsAgentsWebhooksGetCall) IfNoneMatch(entityTag string) * // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsWebhooksGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsWebhooksGetCall { +func (c *ProjectsLocationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsOperationsListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsWebhooksGetCall) Header() http.Header { +func (c *ProjectsLocationsOperationsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsWebhooksGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20055,7 +21826,7 @@ func (c *ProjectsLocationsAgentsWebhooksGetCall) doRequest(alt string) (*http.Re var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}/operations") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -20068,15 +21839,15 @@ func (c *ProjectsLocationsAgentsWebhooksGetCall) doRequest(alt string) (*http.Re return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.webhooks.get" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Webhook or error will +// Do executes the "dialogflow.projects.locations.operations.list" call. +// Exactly one of *GoogleLongrunningListOperationsResponse or error will // be non-nil. Any non-2xx status code is an error. Response headers are // in either -// *GoogleCloudDialogflowCxV3beta1Webhook.ServerResponse.Header or (if a -// response was returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was +// *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if +// a response was returned at all) in error.(*googleapi.Error).Header. +// Use googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsWebhooksGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Webhook, error) { +func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -20095,7 +21866,7 @@ func (c *ProjectsLocationsAgentsWebhooksGetCall) Do(opts ...googleapi.CallOption if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1Webhook{ + ret := &GoogleLongrunningListOperationsResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -20107,25 +21878,41 @@ func (c *ProjectsLocationsAgentsWebhooksGetCall) Do(opts ...googleapi.CallOption } return ret, nil // { - // "description": "Retrieves the specified webhook.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks/{webhooksId}", + // "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/operations", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.webhooks.get", + // "id": "dialogflow.projects.locations.operations.list", // "parameterOrder": [ // "name" // ], // "parameters": { + // "filter": { + // "description": "The standard list filter.", + // "location": "query", + // "type": "string" + // }, // "name": { - // "description": "Required. The name of the webhook. Format: `projects//locations//agents//webhooks/`.", + // "description": "The name of the operation's parent resource.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+$", // "required": true, // "type": "string" + // }, + // "pageSize": { + // "description": "The standard list page size.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The standard list page token.", + // "location": "query", + // "type": "string" // } // }, - // "path": "v3beta1/{+name}", + // "path": "v3beta1/{+name}/operations", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Webhook" + // "$ref": "GoogleLongrunningListOperationsResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -20135,89 +21922,89 @@ func (c *ProjectsLocationsAgentsWebhooksGetCall) Do(opts ...googleapi.CallOption } -// method id "dialogflow.projects.locations.agents.webhooks.list": - -type ProjectsLocationsAgentsWebhooksListCall struct { - s *Service - parent string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } } -// List: Returns the list of all webhooks in the specified agent. -func (r *ProjectsLocationsAgentsWebhooksService) List(parent string) *ProjectsLocationsAgentsWebhooksListCall { - c := &ProjectsLocationsAgentsWebhooksListCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - return c -} +// method id "dialogflow.projects.locations.securitySettings.create": -// PageSize sets the optional parameter "pageSize": The maximum number -// of items to return in a single page. By default 100 and at most 1000. -func (c *ProjectsLocationsAgentsWebhooksListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsWebhooksListCall { - c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) - return c +type ProjectsLocationsSecuritySettingsCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3beta1securitysettings *GoogleCloudDialogflowCxV3beta1SecuritySettings + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// PageToken sets the optional parameter "pageToken": The -// next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsWebhooksListCall) PageToken(pageToken string) *ProjectsLocationsAgentsWebhooksListCall { - c.urlParams_.Set("pageToken", pageToken) +// Create: Create security settings in the specified location. +func (r *ProjectsLocationsSecuritySettingsService) Create(parent string, googleclouddialogflowcxv3beta1securitysettings *GoogleCloudDialogflowCxV3beta1SecuritySettings) *ProjectsLocationsSecuritySettingsCreateCall { + c := &ProjectsLocationsSecuritySettingsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3beta1securitysettings = googleclouddialogflowcxv3beta1securitysettings return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsWebhooksListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsWebhooksListCall { +func (c *ProjectsLocationsSecuritySettingsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSecuritySettingsCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsWebhooksListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsWebhooksListCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsWebhooksListCall) Context(ctx context.Context) *ProjectsLocationsAgentsWebhooksListCall { +func (c *ProjectsLocationsSecuritySettingsCreateCall) Context(ctx context.Context) *ProjectsLocationsSecuritySettingsCreateCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsWebhooksListCall) Header() http.Header { +func (c *ProjectsLocationsSecuritySettingsCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsWebhooksListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsSecuritySettingsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1securitysettings) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/webhooks") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/securitySettings") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } @@ -20228,16 +22015,16 @@ func (c *ProjectsLocationsAgentsWebhooksListCall) doRequest(alt string) (*http.R return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.webhooks.list" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1ListWebhooksResponse or +// Do executes the "dialogflow.projects.locations.securitySettings.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1SecuritySettings or // error will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3beta1ListWebhooksResponse.ServerResponse.Hea -// der or (if a response was returned at all) in +// *GoogleCloudDialogflowCxV3beta1SecuritySettings.ServerResponse.Header +// or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsWebhooksListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListWebhooksResponse, error) { +func (c *ProjectsLocationsSecuritySettingsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SecuritySettings, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -20256,7 +22043,7 @@ func (c *ProjectsLocationsAgentsWebhooksListCall) Do(opts ...googleapi.CallOptio if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1ListWebhooksResponse{ + ret := &GoogleCloudDialogflowCxV3beta1SecuritySettings{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -20268,36 +22055,28 @@ func (c *ProjectsLocationsAgentsWebhooksListCall) Do(opts ...googleapi.CallOptio } return ret, nil // { - // "description": "Returns the list of all webhooks in the specified agent.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks", - // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.webhooks.list", + // "description": "Create security settings in the specified location.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/securitySettings", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.securitySettings.create", // "parameterOrder": [ // "parent" // ], // "parameters": { - // "pageSize": { - // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", - // "format": "int32", - // "location": "query", - // "type": "integer" - // }, - // "pageToken": { - // "description": "The next_page_token value returned from a previous list request.", - // "location": "query", - // "type": "string" - // }, // "parent": { - // "description": "Required. The agent to list all webhooks for. Format: `projects//locations//agents/`.", + // "description": "Required. The location to create an SecuritySettings for. Format: `projects//locations/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/webhooks", + // "path": "v3beta1/{+parent}/securitySettings", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1SecuritySettings" + // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1ListWebhooksResponse" + // "$ref": "GoogleCloudDialogflowCxV3beta1SecuritySettings" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -20307,58 +22086,27 @@ func (c *ProjectsLocationsAgentsWebhooksListCall) Do(opts ...googleapi.CallOptio } -// Pages invokes f for each page of results. -// A non-nil error returned from f will halt the iteration. -// The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsWebhooksListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListWebhooksResponse) error) error { - c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point - for { - x, err := c.Do() - if err != nil { - return err - } - if err := f(x); err != nil { - return err - } - if x.NextPageToken == "" { - return nil - } - c.PageToken(x.NextPageToken) - } -} - -// method id "dialogflow.projects.locations.agents.webhooks.patch": - -type ProjectsLocationsAgentsWebhooksPatchCall struct { - s *Service - nameid string - googleclouddialogflowcxv3beta1webhook *GoogleCloudDialogflowCxV3beta1Webhook - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} +// method id "dialogflow.projects.locations.securitySettings.delete": -// Patch: Updates the specified webhook. -func (r *ProjectsLocationsAgentsWebhooksService) Patch(nameid string, googleclouddialogflowcxv3beta1webhook *GoogleCloudDialogflowCxV3beta1Webhook) *ProjectsLocationsAgentsWebhooksPatchCall { - c := &ProjectsLocationsAgentsWebhooksPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.nameid = nameid - c.googleclouddialogflowcxv3beta1webhook = googleclouddialogflowcxv3beta1webhook - return c +type ProjectsLocationsSecuritySettingsDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// UpdateMask sets the optional parameter "updateMask": The mask to -// control which fields get updated. If the mask is not present, all -// fields will be updated. -func (c *ProjectsLocationsAgentsWebhooksPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsWebhooksPatchCall { - c.urlParams_.Set("updateMask", updateMask) +// Delete: Deletes the specified SecuritySettings. +func (r *ProjectsLocationsSecuritySettingsService) Delete(name string) *ProjectsLocationsSecuritySettingsDeleteCall { + c := &ProjectsLocationsSecuritySettingsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsWebhooksPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsWebhooksPatchCall { +func (c *ProjectsLocationsSecuritySettingsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSecuritySettingsDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -20366,57 +22114,51 @@ func (c *ProjectsLocationsAgentsWebhooksPatchCall) Fields(s ...googleapi.Field) // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsWebhooksPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsWebhooksPatchCall { +func (c *ProjectsLocationsSecuritySettingsDeleteCall) Context(ctx context.Context) *ProjectsLocationsSecuritySettingsDeleteCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsWebhooksPatchCall) Header() http.Header { +func (c *ProjectsLocationsSecuritySettingsDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsWebhooksPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsSecuritySettingsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1webhook) - if err != nil { - return nil, err - } - reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("PATCH", urls, body) + req, err := http.NewRequest("DELETE", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.nameid, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.webhooks.patch" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Webhook or error will -// be non-nil. Any non-2xx status code is an error. Response headers are -// in either -// *GoogleCloudDialogflowCxV3beta1Webhook.ServerResponse.Header or (if a -// response was returned at all) in error.(*googleapi.Error).Header. Use +// Do executes the "dialogflow.projects.locations.securitySettings.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsWebhooksPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Webhook, error) { +func (c *ProjectsLocationsSecuritySettingsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -20435,7 +22177,7 @@ func (c *ProjectsLocationsAgentsWebhooksPatchCall) Do(opts ...googleapi.CallOpti if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1Webhook{ + ret := &GoogleProtobufEmpty{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -20447,34 +22189,25 @@ func (c *ProjectsLocationsAgentsWebhooksPatchCall) Do(opts ...googleapi.CallOpti } return ret, nil // { - // "description": "Updates the specified webhook.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks/{webhooksId}", - // "httpMethod": "PATCH", - // "id": "dialogflow.projects.locations.agents.webhooks.patch", + // "description": "Deletes the specified SecuritySettings.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/securitySettings/{securitySettingsId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.securitySettings.delete", // "parameterOrder": [ // "name" // ], // "parameters": { // "name": { - // "description": "The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: `projects//locations//agents//webhooks/`.", + // "description": "Required. The name of the SecuritySettings to delete. Format: `projects//locations//securitySettings/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/securitySettings/[^/]+$", // "required": true, // "type": "string" - // }, - // "updateMask": { - // "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", - // "format": "google-fieldmask", - // "location": "query", - // "type": "string" // } // }, // "path": "v3beta1/{+name}", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Webhook" - // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Webhook" + // "$ref": "GoogleProtobufEmpty" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -20484,28 +22217,21 @@ func (c *ProjectsLocationsAgentsWebhooksPatchCall) Do(opts ...googleapi.CallOpti } -// method id "dialogflow.projects.locations.operations.cancel": +// method id "dialogflow.projects.locations.securitySettings.get": -type ProjectsLocationsOperationsCancelCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsSecuritySettingsGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// Cancel: Starts asynchronous cancellation on a long-running operation. -// The server makes a best effort to cancel the operation, but success -// is not guaranteed. If the server doesn't support this method, it -// returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use -// Operations.GetOperation or other methods to check whether the -// cancellation succeeded or whether the operation completed despite -// cancellation. On successful cancellation, the operation is not -// deleted; instead, it becomes an operation with an Operation.error -// value with a google.rpc.Status.code of 1, corresponding to -// `Code.CANCELLED`. -func (r *ProjectsLocationsOperationsService) Cancel(name string) *ProjectsLocationsOperationsCancelCall { - c := &ProjectsLocationsOperationsCancelCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Get: Retrieves the specified SecuritySettings. The returned settings +// may be stale by up to 1 minute. +func (r *ProjectsLocationsSecuritySettingsService) Get(name string) *ProjectsLocationsSecuritySettingsGetCall { + c := &ProjectsLocationsSecuritySettingsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } @@ -20513,41 +22239,54 @@ func (r *ProjectsLocationsOperationsService) Cancel(name string) *ProjectsLocati // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall { +func (c *ProjectsLocationsSecuritySettingsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSecuritySettingsGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsSecuritySettingsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSecuritySettingsGetCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsOperationsCancelCall { +func (c *ProjectsLocationsSecuritySettingsGetCall) Context(ctx context.Context) *ProjectsLocationsSecuritySettingsGetCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { +func (c *ProjectsLocationsSecuritySettingsGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsSecuritySettingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}:cancel") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } @@ -20558,14 +22297,16 @@ func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Res return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.operations.cancel" call. -// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any -// non-2xx status code is an error. Response headers are in either -// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was -// returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +// Do executes the "dialogflow.projects.locations.securitySettings.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1SecuritySettings or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1SecuritySettings.ServerResponse.Header +// or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsSecuritySettingsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SecuritySettings, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -20584,7 +22325,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleProtobufEmpty{ + ret := &GoogleCloudDialogflowCxV3beta1SecuritySettings{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -20596,25 +22337,25 @@ func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) } return ret, nil // { - // "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.operations.cancel", + // "description": "Retrieves the specified SecuritySettings. The returned settings may be stale by up to 1 minute.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/securitySettings/{securitySettingsId}", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.securitySettings.get", // "parameterOrder": [ // "name" // ], // "parameters": { // "name": { - // "description": "The name of the operation resource to be cancelled.", + // "description": "Required. Resource name of the settings. Format: `projects//locations//securitySettings/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/securitySettings/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+name}:cancel", + // "path": "v3beta1/{+name}", // "response": { - // "$ref": "GoogleProtobufEmpty" + // "$ref": "GoogleCloudDialogflowCxV3beta1SecuritySettings" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -20624,30 +22365,43 @@ func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) } -// method id "dialogflow.projects.locations.operations.get": +// method id "dialogflow.projects.locations.securitySettings.list": -type ProjectsLocationsOperationsGetCall struct { +type ProjectsLocationsSecuritySettingsListCall struct { s *Service - name string + parent string urlParams_ gensupport.URLParams ifNoneMatch_ string ctx_ context.Context header_ http.Header } -// Get: Gets the latest state of a long-running operation. Clients can -// use this method to poll the operation result at intervals as -// recommended by the API service. -func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall { - c := &ProjectsLocationsOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name +// List: Returns the list of all security settings in the specified +// location. +func (r *ProjectsLocationsSecuritySettingsService) List(parent string) *ProjectsLocationsSecuritySettingsListCall { + c := &ProjectsLocationsSecuritySettingsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 20 and at most 100. +func (c *ProjectsLocationsSecuritySettingsListCall) PageSize(pageSize int64) *ProjectsLocationsSecuritySettingsListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsSecuritySettingsListCall) PageToken(pageToken string) *ProjectsLocationsSecuritySettingsListCall { + c.urlParams_.Set("pageToken", pageToken) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall { +func (c *ProjectsLocationsSecuritySettingsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSecuritySettingsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -20657,7 +22411,7 @@ func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *Proje // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall { +func (c *ProjectsLocationsSecuritySettingsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSecuritySettingsListCall { c.ifNoneMatch_ = entityTag return c } @@ -20665,23 +22419,23 @@ func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *Proj // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsOperationsGetCall { +func (c *ProjectsLocationsSecuritySettingsListCall) Context(ctx context.Context) *ProjectsLocationsSecuritySettingsListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { +func (c *ProjectsLocationsSecuritySettingsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsSecuritySettingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20692,7 +22446,7 @@ func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Respon var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/securitySettings") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -20700,19 +22454,22 @@ func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Respon } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.operations.get" call. -// Exactly one of *GoogleLongrunningOperation or error will be non-nil. -// Any non-2xx status code is an error. Response headers are in either -// *GoogleLongrunningOperation.ServerResponse.Header or (if a response -// was returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { +// Do executes the "dialogflow.projects.locations.securitySettings.list" call. +// Exactly one of +// *GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse.ServerResp +// onse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsSecuritySettingsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -20731,7 +22488,7 @@ func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (* if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleLongrunningOperation{ + ret := &GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -20743,25 +22500,36 @@ func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (* } return ret, nil // { - // "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + // "description": "Returns the list of all security settings in the specified location.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/securitySettings", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.operations.get", + // "id": "dialogflow.projects.locations.securitySettings.list", // "parameterOrder": [ - // "name" + // "parent" // ], // "parameters": { - // "name": { - // "description": "The name of the operation resource.", + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 20 and at most 100.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The location to list all security settings for. Format: `projects//locations/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+name}", + // "path": "v3beta1/{+parent}/securitySettings", // "response": { - // "$ref": "GoogleLongrunningOperation" + // "$ref": "GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -20771,105 +22539,97 @@ func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (* } -// method id "dialogflow.projects.locations.operations.list": - -type ProjectsLocationsOperationsListCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsSecuritySettingsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } } -// List: Lists operations that match the specified filter in the -// request. If the server doesn't support this method, it returns -// `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to -// override the binding to use different resource name schemes, such as -// `users/*/operations`. To override the binding, API services can add a -// binding such as "/v1/{name=users/*}/operations" to their service -// configuration. For backwards compatibility, the default name includes -// the operations collection id, however overriding users must ensure -// the name binding is the parent resource, without the operations -// collection id. -func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall { - c := &ProjectsLocationsOperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - return c -} +// method id "dialogflow.projects.locations.securitySettings.patch": -// Filter sets the optional parameter "filter": The standard list -// filter. -func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *ProjectsLocationsOperationsListCall { - c.urlParams_.Set("filter", filter) - return c +type ProjectsLocationsSecuritySettingsPatchCall struct { + s *Service + name string + googleclouddialogflowcxv3beta1securitysettings *GoogleCloudDialogflowCxV3beta1SecuritySettings + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// PageSize sets the optional parameter "pageSize": The standard list -// page size. -func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall { - c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) +// Patch: Updates the specified SecuritySettings. +func (r *ProjectsLocationsSecuritySettingsService) Patch(name string, googleclouddialogflowcxv3beta1securitysettings *GoogleCloudDialogflowCxV3beta1SecuritySettings) *ProjectsLocationsSecuritySettingsPatchCall { + c := &ProjectsLocationsSecuritySettingsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.googleclouddialogflowcxv3beta1securitysettings = googleclouddialogflowcxv3beta1securitysettings return c } -// PageToken sets the optional parameter "pageToken": The standard list -// page token. -func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall { - c.urlParams_.Set("pageToken", pageToken) +// UpdateMask sets the optional parameter "updateMask": Required. The +// mask to control which fields get updated. If the mask is not present, +// all fields will be updated. +func (c *ProjectsLocationsSecuritySettingsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsSecuritySettingsPatchCall { + c.urlParams_.Set("updateMask", updateMask) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall { +func (c *ProjectsLocationsSecuritySettingsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsSecuritySettingsPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. -func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsOperationsListCall { +func (c *ProjectsLocationsSecuritySettingsPatchCall) Context(ctx context.Context) *ProjectsLocationsSecuritySettingsPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsOperationsListCall) Header() http.Header { +func (c *ProjectsLocationsSecuritySettingsPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsSecuritySettingsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1securitysettings) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}/operations") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("PATCH", urls, body) if err != nil { return nil, err } @@ -20880,15 +22640,16 @@ func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Respo return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.operations.list" call. -// Exactly one of *GoogleLongrunningListOperationsResponse or error will -// be non-nil. Any non-2xx status code is an error. Response headers are -// in either -// *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if -// a response was returned at all) in error.(*googleapi.Error).Header. -// Use googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error) { +// Do executes the "dialogflow.projects.locations.securitySettings.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1SecuritySettings or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1SecuritySettings.ServerResponse.Header +// or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsSecuritySettingsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SecuritySettings, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -20907,7 +22668,7 @@ func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) ( if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleLongrunningListOperationsResponse{ + ret := &GoogleCloudDialogflowCxV3beta1SecuritySettings{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -20919,41 +22680,34 @@ func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) ( } return ret, nil // { - // "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/operations", - // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.operations.list", + // "description": "Updates the specified SecuritySettings.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/securitySettings/{securitySettingsId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.securitySettings.patch", // "parameterOrder": [ // "name" // ], // "parameters": { - // "filter": { - // "description": "The standard list filter.", - // "location": "query", - // "type": "string" - // }, // "name": { - // "description": "The name of the operation's parent resource.", + // "description": "Required. Resource name of the settings. Format: `projects//locations//securitySettings/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/securitySettings/[^/]+$", // "required": true, // "type": "string" // }, - // "pageSize": { - // "description": "The standard list page size.", - // "format": "int32", - // "location": "query", - // "type": "integer" - // }, - // "pageToken": { - // "description": "The standard list page token.", + // "updateMask": { + // "description": "Required. The mask to control which fields get updated. If the mask is not present, all fields will be updated.", + // "format": "google-fieldmask", // "location": "query", // "type": "string" // } // }, - // "path": "v3beta1/{+name}/operations", + // "path": "v3beta1/{+name}", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1SecuritySettings" + // }, // "response": { - // "$ref": "GoogleLongrunningListOperationsResponse" + // "$ref": "GoogleCloudDialogflowCxV3beta1SecuritySettings" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -20963,27 +22717,6 @@ func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) ( } -// Pages invokes f for each page of results. -// A non-nil error returned from f will halt the iteration. -// The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error { - c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point - for { - x, err := c.Do() - if err != nil { - return err - } - if err := f(x); err != nil { - return err - } - if x.NextPageToken == "" { - return nil - } - c.PageToken(x.NextPageToken) - } -} - // method id "dialogflow.projects.operations.cancel": type ProjectsOperationsCancelCall struct { @@ -21037,7 +22770,7 @@ func (c *ProjectsOperationsCancelCall) Header() http.Header { func (c *ProjectsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21181,7 +22914,7 @@ func (c *ProjectsOperationsGetCall) Header() http.Header { func (c *ProjectsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21356,7 +23089,7 @@ func (c *ProjectsOperationsListCall) Header() http.Header { func (c *ProjectsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/digitalassetlinks/v1/digitalassetlinks-gen.go b/digitalassetlinks/v1/digitalassetlinks-gen.go index 8b033715348..42836eada74 100644 --- a/digitalassetlinks/v1/digitalassetlinks-gen.go +++ b/digitalassetlinks/v1/digitalassetlinks-gen.go @@ -689,7 +689,7 @@ func (c *AssetlinksCheckCall) Header() http.Header { func (c *AssetlinksCheckCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -933,7 +933,7 @@ func (c *StatementsListCall) Header() http.Header { func (c *StatementsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/discovery/v1/discovery-gen.go b/discovery/v1/discovery-gen.go index d0825beb4f7..4e765c1adfe 100644 --- a/discovery/v1/discovery-gen.go +++ b/discovery/v1/discovery-gen.go @@ -1054,7 +1054,7 @@ func (c *ApisGetRestCall) Header() http.Header { func (c *ApisGetRestCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1213,7 +1213,7 @@ func (c *ApisListCall) Header() http.Header { func (c *ApisListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/displayvideo/v1/displayvideo-gen.go b/displayvideo/v1/displayvideo-gen.go index 098514c1364..258612cb0e5 100644 --- a/displayvideo/v1/displayvideo-gen.go +++ b/displayvideo/v1/displayvideo-gen.go @@ -12971,7 +12971,7 @@ func (c *AdvertisersAuditCall) Header() http.Header { func (c *AdvertisersAuditCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13118,7 +13118,7 @@ func (c *AdvertisersBulkEditAdvertiserAssignedTargetingOptionsCall) Header() htt func (c *AdvertisersBulkEditAdvertiserAssignedTargetingOptionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13314,7 +13314,7 @@ func (c *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) Header() htt func (c *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13494,7 +13494,7 @@ func (c *AdvertisersCreateCall) Header() http.Header { func (c *AdvertisersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13621,7 +13621,7 @@ func (c *AdvertisersDeleteCall) Header() http.Header { func (c *AdvertisersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13763,7 +13763,7 @@ func (c *AdvertisersGetCall) Header() http.Header { func (c *AdvertisersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13958,7 +13958,7 @@ func (c *AdvertisersListCall) Header() http.Header { func (c *AdvertisersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14137,7 +14137,7 @@ func (c *AdvertisersPatchCall) Header() http.Header { func (c *AdvertisersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14326,7 +14326,7 @@ func (c *AdvertisersAssetsUploadCall) Header() http.Header { func (c *AdvertisersAssetsUploadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14508,7 +14508,7 @@ func (c *AdvertisersCampaignsCreateCall) Header() http.Header { func (c *AdvertisersCampaignsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14652,7 +14652,7 @@ func (c *AdvertisersCampaignsDeleteCall) Header() http.Header { func (c *AdvertisersCampaignsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14807,7 +14807,7 @@ func (c *AdvertisersCampaignsGetCall) Header() http.Header { func (c *AdvertisersCampaignsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15016,7 +15016,7 @@ func (c *AdvertisersCampaignsListCall) Header() http.Header { func (c *AdvertisersCampaignsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15205,7 +15205,7 @@ func (c *AdvertisersCampaignsPatchCall) Header() http.Header { func (c *AdvertisersCampaignsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15371,7 +15371,7 @@ func (c *AdvertisersChannelsCreateCall) Header() http.Header { func (c *AdvertisersChannelsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15536,7 +15536,7 @@ func (c *AdvertisersChannelsGetCall) Header() http.Header { func (c *AdvertisersChannelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15746,7 +15746,7 @@ func (c *AdvertisersChannelsListCall) Header() http.Header { func (c *AdvertisersChannelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15946,7 +15946,7 @@ func (c *AdvertisersChannelsPatchCall) Header() http.Header { func (c *AdvertisersChannelsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16112,7 +16112,7 @@ func (c *AdvertisersChannelsSitesBulkEditCall) Header() http.Header { func (c *AdvertisersChannelsSitesBulkEditCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16271,7 +16271,7 @@ func (c *AdvertisersChannelsSitesCreateCall) Header() http.Header { func (c *AdvertisersChannelsSitesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16436,7 +16436,7 @@ func (c *AdvertisersChannelsSitesDeleteCall) Header() http.Header { func (c *AdvertisersChannelsSitesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16651,7 +16651,7 @@ func (c *AdvertisersChannelsSitesListCall) Header() http.Header { func (c *AdvertisersChannelsSitesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16846,7 +16846,7 @@ func (c *AdvertisersCreativesCreateCall) Header() http.Header { func (c *AdvertisersCreativesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16990,7 +16990,7 @@ func (c *AdvertisersCreativesDeleteCall) Header() http.Header { func (c *AdvertisersCreativesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17144,7 +17144,7 @@ func (c *AdvertisersCreativesGetCall) Header() http.Header { func (c *AdvertisersCreativesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17373,7 +17373,7 @@ func (c *AdvertisersCreativesListCall) Header() http.Header { func (c *AdvertisersCreativesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17561,7 +17561,7 @@ func (c *AdvertisersCreativesPatchCall) Header() http.Header { func (c *AdvertisersCreativesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17719,7 +17719,7 @@ func (c *AdvertisersInsertionOrdersCreateCall) Header() http.Header { func (c *AdvertisersInsertionOrdersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17863,7 +17863,7 @@ func (c *AdvertisersInsertionOrdersDeleteCall) Header() http.Header { func (c *AdvertisersInsertionOrdersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18018,7 +18018,7 @@ func (c *AdvertisersInsertionOrdersGetCall) Header() http.Header { func (c *AdvertisersInsertionOrdersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18236,7 +18236,7 @@ func (c *AdvertisersInsertionOrdersListCall) Header() http.Header { func (c *AdvertisersInsertionOrdersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18424,7 +18424,7 @@ func (c *AdvertisersInsertionOrdersPatchCall) Header() http.Header { func (c *AdvertisersInsertionOrdersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18588,7 +18588,7 @@ func (c *AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall) Heade func (c *AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18800,7 +18800,7 @@ func (c *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) Heade func (c *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18991,7 +18991,7 @@ func (c *AdvertisersLineItemsCreateCall) Header() http.Header { func (c *AdvertisersLineItemsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19135,7 +19135,7 @@ func (c *AdvertisersLineItemsDeleteCall) Header() http.Header { func (c *AdvertisersLineItemsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19289,7 +19289,7 @@ func (c *AdvertisersLineItemsGetCall) Header() http.Header { func (c *AdvertisersLineItemsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19512,7 +19512,7 @@ func (c *AdvertisersLineItemsListCall) Header() http.Header { func (c *AdvertisersLineItemsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19700,7 +19700,7 @@ func (c *AdvertisersLineItemsPatchCall) Header() http.Header { func (c *AdvertisersLineItemsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19862,7 +19862,7 @@ func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsCreateCall) H func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20106,7 +20106,7 @@ func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsDeleteCall) H func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20362,7 +20362,7 @@ func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall) Head func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20665,7 +20665,7 @@ func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall) Hea func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20945,7 +20945,7 @@ func (c *AdvertisersLocationListsCreateCall) Header() http.Header { func (c *AdvertisersLocationListsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21097,7 +21097,7 @@ func (c *AdvertisersLocationListsGetCall) Header() http.Header { func (c *AdvertisersLocationListsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21294,7 +21294,7 @@ func (c *AdvertisersLocationListsListCall) Header() http.Header { func (c *AdvertisersLocationListsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21482,7 +21482,7 @@ func (c *AdvertisersLocationListsPatchCall) Header() http.Header { func (c *AdvertisersLocationListsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21645,7 +21645,7 @@ func (c *AdvertisersLocationListsAssignedLocationsBulkEditCall) Header() http.He func (c *AdvertisersLocationListsAssignedLocationsBulkEditCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21798,7 +21798,7 @@ func (c *AdvertisersLocationListsAssignedLocationsCreateCall) Header() http.Head func (c *AdvertisersLocationListsAssignedLocationsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21950,7 +21950,7 @@ func (c *AdvertisersLocationListsAssignedLocationsDeleteCall) Header() http.Head func (c *AdvertisersLocationListsAssignedLocationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22153,7 +22153,7 @@ func (c *AdvertisersLocationListsAssignedLocationsListCall) Header() http.Header func (c *AdvertisersLocationListsAssignedLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22343,7 +22343,7 @@ func (c *AdvertisersManualTriggersActivateCall) Header() http.Header { func (c *AdvertisersManualTriggersActivateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22495,7 +22495,7 @@ func (c *AdvertisersManualTriggersCreateCall) Header() http.Header { func (c *AdvertisersManualTriggersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22638,7 +22638,7 @@ func (c *AdvertisersManualTriggersDeactivateCall) Header() http.Header { func (c *AdvertisersManualTriggersDeactivateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22800,7 +22800,7 @@ func (c *AdvertisersManualTriggersGetCall) Header() http.Header { func (c *AdvertisersManualTriggersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22998,7 +22998,7 @@ func (c *AdvertisersManualTriggersListCall) Header() http.Header { func (c *AdvertisersManualTriggersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23186,7 +23186,7 @@ func (c *AdvertisersManualTriggersPatchCall) Header() http.Header { func (c *AdvertisersManualTriggersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23344,7 +23344,7 @@ func (c *AdvertisersNegativeKeywordListsCreateCall) Header() http.Header { func (c *AdvertisersNegativeKeywordListsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23486,7 +23486,7 @@ func (c *AdvertisersNegativeKeywordListsDeleteCall) Header() http.Header { func (c *AdvertisersNegativeKeywordListsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23641,7 +23641,7 @@ func (c *AdvertisersNegativeKeywordListsGetCall) Header() http.Header { func (c *AdvertisersNegativeKeywordListsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23814,7 +23814,7 @@ func (c *AdvertisersNegativeKeywordListsListCall) Header() http.Header { func (c *AdvertisersNegativeKeywordListsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23992,7 +23992,7 @@ func (c *AdvertisersNegativeKeywordListsPatchCall) Header() http.Header { func (c *AdvertisersNegativeKeywordListsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24156,7 +24156,7 @@ func (c *AdvertisersNegativeKeywordListsNegativeKeywordsBulkEditCall) Header() h func (c *AdvertisersNegativeKeywordListsNegativeKeywordsBulkEditCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24308,7 +24308,7 @@ func (c *AdvertisersNegativeKeywordListsNegativeKeywordsCreateCall) Header() htt func (c *AdvertisersNegativeKeywordListsNegativeKeywordsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24460,7 +24460,7 @@ func (c *AdvertisersNegativeKeywordListsNegativeKeywordsDeleteCall) Header() htt func (c *AdvertisersNegativeKeywordListsNegativeKeywordsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24663,7 +24663,7 @@ func (c *AdvertisersNegativeKeywordListsNegativeKeywordsListCall) Header() http. func (c *AdvertisersNegativeKeywordListsNegativeKeywordsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24854,7 +24854,7 @@ func (c *AdvertisersTargetingTypesAssignedTargetingOptionsCreateCall) Header() h func (c *AdvertisersTargetingTypesAssignedTargetingOptionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25086,7 +25086,7 @@ func (c *AdvertisersTargetingTypesAssignedTargetingOptionsDeleteCall) Header() h func (c *AdvertisersTargetingTypesAssignedTargetingOptionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25330,7 +25330,7 @@ func (c *AdvertisersTargetingTypesAssignedTargetingOptionsGetCall) Header() http func (c *AdvertisersTargetingTypesAssignedTargetingOptionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25618,7 +25618,7 @@ func (c *AdvertisersTargetingTypesAssignedTargetingOptionsListCall) Header() htt func (c *AdvertisersTargetingTypesAssignedTargetingOptionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25910,7 +25910,7 @@ func (c *CombinedAudiencesGetCall) Header() http.Header { func (c *CombinedAudiencesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26122,7 +26122,7 @@ func (c *CombinedAudiencesListCall) Header() http.Header { func (c *CombinedAudiencesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26322,7 +26322,7 @@ func (c *CustomBiddingAlgorithmsGetCall) Header() http.Header { func (c *CustomBiddingAlgorithmsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26545,7 +26545,7 @@ func (c *CustomBiddingAlgorithmsListCall) Header() http.Header { func (c *CustomBiddingAlgorithmsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26739,7 +26739,7 @@ func (c *CustomListsGetCall) Header() http.Header { func (c *CustomListsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26938,7 +26938,7 @@ func (c *CustomListsListCall) Header() http.Header { func (c *CustomListsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27134,7 +27134,7 @@ func (c *FirstAndThirdPartyAudiencesGetCall) Header() http.Header { func (c *FirstAndThirdPartyAudiencesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27349,7 +27349,7 @@ func (c *FirstAndThirdPartyAudiencesListCall) Header() http.Header { func (c *FirstAndThirdPartyAudiencesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27543,7 +27543,7 @@ func (c *FloodlightGroupsGetCall) Header() http.Header { func (c *FloodlightGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27700,7 +27700,7 @@ func (c *FloodlightGroupsPatchCall) Header() http.Header { func (c *FloodlightGroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27875,7 +27875,7 @@ func (c *GoogleAudiencesGetCall) Header() http.Header { func (c *GoogleAudiencesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28087,7 +28087,7 @@ func (c *GoogleAudiencesListCall) Header() http.Header { func (c *GoogleAudiencesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28280,7 +28280,7 @@ func (c *InventorySourceGroupsCreateCall) Header() http.Header { func (c *InventorySourceGroupsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28434,7 +28434,7 @@ func (c *InventorySourceGroupsDeleteCall) Header() http.Header { func (c *InventorySourceGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28605,7 +28605,7 @@ func (c *InventorySourceGroupsGetCall) Header() http.Header { func (c *InventorySourceGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28817,7 +28817,7 @@ func (c *InventorySourceGroupsListCall) Header() http.Header { func (c *InventorySourceGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29019,7 +29019,7 @@ func (c *InventorySourceGroupsPatchCall) Header() http.Header { func (c *InventorySourceGroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29183,7 +29183,7 @@ func (c *InventorySourceGroupsAssignedInventorySourcesBulkEditCall) Header() htt func (c *InventorySourceGroupsAssignedInventorySourcesBulkEditCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29344,7 +29344,7 @@ func (c *InventorySourceGroupsAssignedInventorySourcesCreateCall) Header() http. func (c *InventorySourceGroupsAssignedInventorySourcesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29515,7 +29515,7 @@ func (c *InventorySourceGroupsAssignedInventorySourcesDeleteCall) Header() http. func (c *InventorySourceGroupsAssignedInventorySourcesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29739,7 +29739,7 @@ func (c *InventorySourceGroupsAssignedInventorySourcesListCall) Header() http.He func (c *InventorySourceGroupsAssignedInventorySourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29947,7 +29947,7 @@ func (c *InventorySourcesGetCall) Header() http.Header { func (c *InventorySourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30159,7 +30159,7 @@ func (c *InventorySourcesListCall) Header() http.Header { func (c *InventorySourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30347,7 +30347,7 @@ func (c *MediaDownloadCall) Header() http.Header { func (c *MediaDownloadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30505,7 +30505,7 @@ func (c *PartnersBulkEditPartnerAssignedTargetingOptionsCall) Header() http.Head func (c *PartnersBulkEditPartnerAssignedTargetingOptionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30657,7 +30657,7 @@ func (c *PartnersGetCall) Header() http.Header { func (c *PartnersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30842,7 +30842,7 @@ func (c *PartnersListCall) Header() http.Header { func (c *PartnersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31015,7 +31015,7 @@ func (c *PartnersChannelsCreateCall) Header() http.Header { func (c *PartnersChannelsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31180,7 +31180,7 @@ func (c *PartnersChannelsGetCall) Header() http.Header { func (c *PartnersChannelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31390,7 +31390,7 @@ func (c *PartnersChannelsListCall) Header() http.Header { func (c *PartnersChannelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31590,7 +31590,7 @@ func (c *PartnersChannelsPatchCall) Header() http.Header { func (c *PartnersChannelsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31756,7 +31756,7 @@ func (c *PartnersChannelsSitesBulkEditCall) Header() http.Header { func (c *PartnersChannelsSitesBulkEditCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31915,7 +31915,7 @@ func (c *PartnersChannelsSitesCreateCall) Header() http.Header { func (c *PartnersChannelsSitesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32080,7 +32080,7 @@ func (c *PartnersChannelsSitesDeleteCall) Header() http.Header { func (c *PartnersChannelsSitesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32295,7 +32295,7 @@ func (c *PartnersChannelsSitesListCall) Header() http.Header { func (c *PartnersChannelsSitesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32492,7 +32492,7 @@ func (c *PartnersTargetingTypesAssignedTargetingOptionsCreateCall) Header() http func (c *PartnersTargetingTypesAssignedTargetingOptionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32724,7 +32724,7 @@ func (c *PartnersTargetingTypesAssignedTargetingOptionsDeleteCall) Header() http func (c *PartnersTargetingTypesAssignedTargetingOptionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32968,7 +32968,7 @@ func (c *PartnersTargetingTypesAssignedTargetingOptionsGetCall) Header() http.He func (c *PartnersTargetingTypesAssignedTargetingOptionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33256,7 +33256,7 @@ func (c *PartnersTargetingTypesAssignedTargetingOptionsListCall) Header() http.H func (c *PartnersTargetingTypesAssignedTargetingOptionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33531,7 +33531,7 @@ func (c *SdfdownloadtasksCreateCall) Header() http.Header { func (c *SdfdownloadtasksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33669,7 +33669,7 @@ func (c *SdfdownloadtasksOperationsGetCall) Header() http.Header { func (c *SdfdownloadtasksOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33823,7 +33823,7 @@ func (c *TargetingTypesTargetingOptionsGetCall) Header() http.Header { func (c *TargetingTypesTargetingOptionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34118,7 +34118,7 @@ func (c *TargetingTypesTargetingOptionsListCall) Header() http.Header { func (c *TargetingTypesTargetingOptionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34382,7 +34382,7 @@ func (c *TargetingTypesTargetingOptionsSearchCall) Header() http.Header { func (c *TargetingTypesTargetingOptionsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34627,7 +34627,7 @@ func (c *UsersBulkEditAssignedUserRolesCall) Header() http.Header { func (c *UsersBulkEditAssignedUserRolesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34768,7 +34768,7 @@ func (c *UsersCreateCall) Header() http.Header { func (c *UsersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34893,7 +34893,7 @@ func (c *UsersDeleteCall) Header() http.Header { func (c *UsersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35035,7 +35035,7 @@ func (c *UsersGetCall) Header() http.Header { func (c *UsersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35237,7 +35237,7 @@ func (c *UsersListCall) Header() http.Header { func (c *UsersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35410,7 +35410,7 @@ func (c *UsersPatchCall) Header() http.Header { func (c *UsersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/dlp/v2/dlp-gen.go b/dlp/v2/dlp-gen.go index 275f0f3735d..c0f2d2ef772 100644 --- a/dlp/v2/dlp-gen.go +++ b/dlp/v2/dlp-gen.go @@ -8223,7 +8223,7 @@ func (c *InfoTypesListCall) Header() http.Header { func (c *InfoTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8402,7 +8402,7 @@ func (c *LocationsInfoTypesListCall) Header() http.Header { func (c *LocationsInfoTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8556,7 +8556,7 @@ func (c *OrganizationsDeidentifyTemplatesCreateCall) Header() http.Header { func (c *OrganizationsDeidentifyTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8697,7 +8697,7 @@ func (c *OrganizationsDeidentifyTemplatesDeleteCall) Header() http.Header { func (c *OrganizationsDeidentifyTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8840,7 +8840,7 @@ func (c *OrganizationsDeidentifyTemplatesGetCall) Header() http.Header { func (c *OrganizationsDeidentifyTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9024,7 +9024,7 @@ func (c *OrganizationsDeidentifyTemplatesListCall) Header() http.Header { func (c *OrganizationsDeidentifyTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9205,7 +9205,7 @@ func (c *OrganizationsDeidentifyTemplatesPatchCall) Header() http.Header { func (c *OrganizationsDeidentifyTemplatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9348,7 +9348,7 @@ func (c *OrganizationsInspectTemplatesCreateCall) Header() http.Header { func (c *OrganizationsInspectTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9488,7 +9488,7 @@ func (c *OrganizationsInspectTemplatesDeleteCall) Header() http.Header { func (c *OrganizationsInspectTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9630,7 +9630,7 @@ func (c *OrganizationsInspectTemplatesGetCall) Header() http.Header { func (c *OrganizationsInspectTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9813,7 +9813,7 @@ func (c *OrganizationsInspectTemplatesListCall) Header() http.Header { func (c *OrganizationsInspectTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9993,7 +9993,7 @@ func (c *OrganizationsInspectTemplatesPatchCall) Header() http.Header { func (c *OrganizationsInspectTemplatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10137,7 +10137,7 @@ func (c *OrganizationsLocationsDeidentifyTemplatesCreateCall) Header() http.Head func (c *OrganizationsLocationsDeidentifyTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10278,7 +10278,7 @@ func (c *OrganizationsLocationsDeidentifyTemplatesDeleteCall) Header() http.Head func (c *OrganizationsLocationsDeidentifyTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10421,7 +10421,7 @@ func (c *OrganizationsLocationsDeidentifyTemplatesGetCall) Header() http.Header func (c *OrganizationsLocationsDeidentifyTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10605,7 +10605,7 @@ func (c *OrganizationsLocationsDeidentifyTemplatesListCall) Header() http.Header func (c *OrganizationsLocationsDeidentifyTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10786,7 +10786,7 @@ func (c *OrganizationsLocationsDeidentifyTemplatesPatchCall) Header() http.Heade func (c *OrganizationsLocationsDeidentifyTemplatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11009,7 +11009,7 @@ func (c *OrganizationsLocationsDlpJobsListCall) Header() http.Header { func (c *OrganizationsLocationsDlpJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11209,7 +11209,7 @@ func (c *OrganizationsLocationsInspectTemplatesCreateCall) Header() http.Header func (c *OrganizationsLocationsInspectTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11349,7 +11349,7 @@ func (c *OrganizationsLocationsInspectTemplatesDeleteCall) Header() http.Header func (c *OrganizationsLocationsInspectTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11491,7 +11491,7 @@ func (c *OrganizationsLocationsInspectTemplatesGetCall) Header() http.Header { func (c *OrganizationsLocationsInspectTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11674,7 +11674,7 @@ func (c *OrganizationsLocationsInspectTemplatesListCall) Header() http.Header { func (c *OrganizationsLocationsInspectTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11854,7 +11854,7 @@ func (c *OrganizationsLocationsInspectTemplatesPatchCall) Header() http.Header { func (c *OrganizationsLocationsInspectTemplatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11998,7 +11998,7 @@ func (c *OrganizationsLocationsJobTriggersCreateCall) Header() http.Header { func (c *OrganizationsLocationsJobTriggersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12138,7 +12138,7 @@ func (c *OrganizationsLocationsJobTriggersDeleteCall) Header() http.Header { func (c *OrganizationsLocationsJobTriggersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12281,7 +12281,7 @@ func (c *OrganizationsLocationsJobTriggersGetCall) Header() http.Header { func (c *OrganizationsLocationsJobTriggersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12486,7 +12486,7 @@ func (c *OrganizationsLocationsJobTriggersListCall) Header() http.Header { func (c *OrganizationsLocationsJobTriggersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12672,7 +12672,7 @@ func (c *OrganizationsLocationsJobTriggersPatchCall) Header() http.Header { func (c *OrganizationsLocationsJobTriggersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12815,7 +12815,7 @@ func (c *OrganizationsLocationsStoredInfoTypesCreateCall) Header() http.Header { func (c *OrganizationsLocationsStoredInfoTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12955,7 +12955,7 @@ func (c *OrganizationsLocationsStoredInfoTypesDeleteCall) Header() http.Header { func (c *OrganizationsLocationsStoredInfoTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13098,7 +13098,7 @@ func (c *OrganizationsLocationsStoredInfoTypesGetCall) Header() http.Header { func (c *OrganizationsLocationsStoredInfoTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13281,7 +13281,7 @@ func (c *OrganizationsLocationsStoredInfoTypesListCall) Header() http.Header { func (c *OrganizationsLocationsStoredInfoTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13464,7 +13464,7 @@ func (c *OrganizationsLocationsStoredInfoTypesPatchCall) Header() http.Header { func (c *OrganizationsLocationsStoredInfoTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13607,7 +13607,7 @@ func (c *OrganizationsStoredInfoTypesCreateCall) Header() http.Header { func (c *OrganizationsStoredInfoTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13747,7 +13747,7 @@ func (c *OrganizationsStoredInfoTypesDeleteCall) Header() http.Header { func (c *OrganizationsStoredInfoTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13890,7 +13890,7 @@ func (c *OrganizationsStoredInfoTypesGetCall) Header() http.Header { func (c *OrganizationsStoredInfoTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14073,7 +14073,7 @@ func (c *OrganizationsStoredInfoTypesListCall) Header() http.Header { func (c *OrganizationsStoredInfoTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14256,7 +14256,7 @@ func (c *OrganizationsStoredInfoTypesPatchCall) Header() http.Header { func (c *OrganizationsStoredInfoTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14402,7 +14402,7 @@ func (c *ProjectsContentDeidentifyCall) Header() http.Header { func (c *ProjectsContentDeidentifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14551,7 +14551,7 @@ func (c *ProjectsContentInspectCall) Header() http.Header { func (c *ProjectsContentInspectCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14695,7 +14695,7 @@ func (c *ProjectsContentReidentifyCall) Header() http.Header { func (c *ProjectsContentReidentifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14840,7 +14840,7 @@ func (c *ProjectsDeidentifyTemplatesCreateCall) Header() http.Header { func (c *ProjectsDeidentifyTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14981,7 +14981,7 @@ func (c *ProjectsDeidentifyTemplatesDeleteCall) Header() http.Header { func (c *ProjectsDeidentifyTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15124,7 +15124,7 @@ func (c *ProjectsDeidentifyTemplatesGetCall) Header() http.Header { func (c *ProjectsDeidentifyTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15308,7 +15308,7 @@ func (c *ProjectsDeidentifyTemplatesListCall) Header() http.Header { func (c *ProjectsDeidentifyTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15489,7 +15489,7 @@ func (c *ProjectsDeidentifyTemplatesPatchCall) Header() http.Header { func (c *ProjectsDeidentifyTemplatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15635,7 +15635,7 @@ func (c *ProjectsDlpJobsCancelCall) Header() http.Header { func (c *ProjectsDlpJobsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15781,7 +15781,7 @@ func (c *ProjectsDlpJobsCreateCall) Header() http.Header { func (c *ProjectsDlpJobsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15924,7 +15924,7 @@ func (c *ProjectsDlpJobsDeleteCall) Header() http.Header { func (c *ProjectsDlpJobsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16068,7 +16068,7 @@ func (c *ProjectsDlpJobsGetCall) Header() http.Header { func (c *ProjectsDlpJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16285,7 +16285,7 @@ func (c *ProjectsDlpJobsListCall) Header() http.Header { func (c *ProjectsDlpJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16489,7 +16489,7 @@ func (c *ProjectsImageRedactCall) Header() http.Header { func (c *ProjectsImageRedactCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16632,7 +16632,7 @@ func (c *ProjectsInspectTemplatesCreateCall) Header() http.Header { func (c *ProjectsInspectTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16772,7 +16772,7 @@ func (c *ProjectsInspectTemplatesDeleteCall) Header() http.Header { func (c *ProjectsInspectTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16914,7 +16914,7 @@ func (c *ProjectsInspectTemplatesGetCall) Header() http.Header { func (c *ProjectsInspectTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17097,7 +17097,7 @@ func (c *ProjectsInspectTemplatesListCall) Header() http.Header { func (c *ProjectsInspectTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17277,7 +17277,7 @@ func (c *ProjectsInspectTemplatesPatchCall) Header() http.Header { func (c *ProjectsInspectTemplatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17419,7 +17419,7 @@ func (c *ProjectsJobTriggersActivateCall) Header() http.Header { func (c *ProjectsJobTriggersActivateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17562,7 +17562,7 @@ func (c *ProjectsJobTriggersCreateCall) Header() http.Header { func (c *ProjectsJobTriggersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17702,7 +17702,7 @@ func (c *ProjectsJobTriggersDeleteCall) Header() http.Header { func (c *ProjectsJobTriggersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17845,7 +17845,7 @@ func (c *ProjectsJobTriggersGetCall) Header() http.Header { func (c *ProjectsJobTriggersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18050,7 +18050,7 @@ func (c *ProjectsJobTriggersListCall) Header() http.Header { func (c *ProjectsJobTriggersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18236,7 +18236,7 @@ func (c *ProjectsJobTriggersPatchCall) Header() http.Header { func (c *ProjectsJobTriggersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18382,7 +18382,7 @@ func (c *ProjectsLocationsContentDeidentifyCall) Header() http.Header { func (c *ProjectsLocationsContentDeidentifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18531,7 +18531,7 @@ func (c *ProjectsLocationsContentInspectCall) Header() http.Header { func (c *ProjectsLocationsContentInspectCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18675,7 +18675,7 @@ func (c *ProjectsLocationsContentReidentifyCall) Header() http.Header { func (c *ProjectsLocationsContentReidentifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18820,7 +18820,7 @@ func (c *ProjectsLocationsDeidentifyTemplatesCreateCall) Header() http.Header { func (c *ProjectsLocationsDeidentifyTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18961,7 +18961,7 @@ func (c *ProjectsLocationsDeidentifyTemplatesDeleteCall) Header() http.Header { func (c *ProjectsLocationsDeidentifyTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19104,7 +19104,7 @@ func (c *ProjectsLocationsDeidentifyTemplatesGetCall) Header() http.Header { func (c *ProjectsLocationsDeidentifyTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19288,7 +19288,7 @@ func (c *ProjectsLocationsDeidentifyTemplatesListCall) Header() http.Header { func (c *ProjectsLocationsDeidentifyTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19469,7 +19469,7 @@ func (c *ProjectsLocationsDeidentifyTemplatesPatchCall) Header() http.Header { func (c *ProjectsLocationsDeidentifyTemplatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19615,7 +19615,7 @@ func (c *ProjectsLocationsDlpJobsCancelCall) Header() http.Header { func (c *ProjectsLocationsDlpJobsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19761,7 +19761,7 @@ func (c *ProjectsLocationsDlpJobsCreateCall) Header() http.Header { func (c *ProjectsLocationsDlpJobsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19904,7 +19904,7 @@ func (c *ProjectsLocationsDlpJobsDeleteCall) Header() http.Header { func (c *ProjectsLocationsDlpJobsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20040,7 +20040,7 @@ func (c *ProjectsLocationsDlpJobsFinishCall) Header() http.Header { func (c *ProjectsLocationsDlpJobsFinishCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20192,7 +20192,7 @@ func (c *ProjectsLocationsDlpJobsGetCall) Header() http.Header { func (c *ProjectsLocationsDlpJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20331,7 +20331,7 @@ func (c *ProjectsLocationsDlpJobsHybridInspectCall) Header() http.Header { func (c *ProjectsLocationsDlpJobsHybridInspectCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20554,7 +20554,7 @@ func (c *ProjectsLocationsDlpJobsListCall) Header() http.Header { func (c *ProjectsLocationsDlpJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20758,7 +20758,7 @@ func (c *ProjectsLocationsImageRedactCall) Header() http.Header { func (c *ProjectsLocationsImageRedactCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20901,7 +20901,7 @@ func (c *ProjectsLocationsInspectTemplatesCreateCall) Header() http.Header { func (c *ProjectsLocationsInspectTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21041,7 +21041,7 @@ func (c *ProjectsLocationsInspectTemplatesDeleteCall) Header() http.Header { func (c *ProjectsLocationsInspectTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21183,7 +21183,7 @@ func (c *ProjectsLocationsInspectTemplatesGetCall) Header() http.Header { func (c *ProjectsLocationsInspectTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21366,7 +21366,7 @@ func (c *ProjectsLocationsInspectTemplatesListCall) Header() http.Header { func (c *ProjectsLocationsInspectTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21546,7 +21546,7 @@ func (c *ProjectsLocationsInspectTemplatesPatchCall) Header() http.Header { func (c *ProjectsLocationsInspectTemplatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21688,7 +21688,7 @@ func (c *ProjectsLocationsJobTriggersActivateCall) Header() http.Header { func (c *ProjectsLocationsJobTriggersActivateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21831,7 +21831,7 @@ func (c *ProjectsLocationsJobTriggersCreateCall) Header() http.Header { func (c *ProjectsLocationsJobTriggersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21971,7 +21971,7 @@ func (c *ProjectsLocationsJobTriggersDeleteCall) Header() http.Header { func (c *ProjectsLocationsJobTriggersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22114,7 +22114,7 @@ func (c *ProjectsLocationsJobTriggersGetCall) Header() http.Header { func (c *ProjectsLocationsJobTriggersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22254,7 +22254,7 @@ func (c *ProjectsLocationsJobTriggersHybridInspectCall) Header() http.Header { func (c *ProjectsLocationsJobTriggersHybridInspectCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22465,7 +22465,7 @@ func (c *ProjectsLocationsJobTriggersListCall) Header() http.Header { func (c *ProjectsLocationsJobTriggersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22651,7 +22651,7 @@ func (c *ProjectsLocationsJobTriggersPatchCall) Header() http.Header { func (c *ProjectsLocationsJobTriggersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22794,7 +22794,7 @@ func (c *ProjectsLocationsStoredInfoTypesCreateCall) Header() http.Header { func (c *ProjectsLocationsStoredInfoTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22934,7 +22934,7 @@ func (c *ProjectsLocationsStoredInfoTypesDeleteCall) Header() http.Header { func (c *ProjectsLocationsStoredInfoTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23077,7 +23077,7 @@ func (c *ProjectsLocationsStoredInfoTypesGetCall) Header() http.Header { func (c *ProjectsLocationsStoredInfoTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23260,7 +23260,7 @@ func (c *ProjectsLocationsStoredInfoTypesListCall) Header() http.Header { func (c *ProjectsLocationsStoredInfoTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23443,7 +23443,7 @@ func (c *ProjectsLocationsStoredInfoTypesPatchCall) Header() http.Header { func (c *ProjectsLocationsStoredInfoTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23586,7 +23586,7 @@ func (c *ProjectsStoredInfoTypesCreateCall) Header() http.Header { func (c *ProjectsStoredInfoTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23726,7 +23726,7 @@ func (c *ProjectsStoredInfoTypesDeleteCall) Header() http.Header { func (c *ProjectsStoredInfoTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23869,7 +23869,7 @@ func (c *ProjectsStoredInfoTypesGetCall) Header() http.Header { func (c *ProjectsStoredInfoTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24052,7 +24052,7 @@ func (c *ProjectsStoredInfoTypesListCall) Header() http.Header { func (c *ProjectsStoredInfoTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24235,7 +24235,7 @@ func (c *ProjectsStoredInfoTypesPatchCall) Header() http.Header { func (c *ProjectsStoredInfoTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/dns/v1/dns-gen.go b/dns/v1/dns-gen.go index e730551e13e..f17106ee6cc 100644 --- a/dns/v1/dns-gen.go +++ b/dns/v1/dns-gen.go @@ -2050,7 +2050,7 @@ func (c *ChangesCreateCall) Header() http.Header { func (c *ChangesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2225,7 +2225,7 @@ func (c *ChangesGetCall) Header() http.Header { func (c *ChangesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2427,7 +2427,7 @@ func (c *ChangesListCall) Header() http.Header { func (c *ChangesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2652,7 +2652,7 @@ func (c *DnsKeysGetCall) Header() http.Header { func (c *DnsKeysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2851,7 +2851,7 @@ func (c *DnsKeysListCall) Header() http.Header { func (c *DnsKeysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3055,7 +3055,7 @@ func (c *ManagedZoneOperationsGetCall) Header() http.Header { func (c *ManagedZoneOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3251,7 +3251,7 @@ func (c *ManagedZoneOperationsListCall) Header() http.Header { func (c *ManagedZoneOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3452,7 +3452,7 @@ func (c *ManagedZonesCreateCall) Header() http.Header { func (c *ManagedZonesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3606,7 +3606,7 @@ func (c *ManagedZonesDeleteCall) Header() http.Header { func (c *ManagedZonesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3743,7 +3743,7 @@ func (c *ManagedZonesGetCall) Header() http.Header { func (c *ManagedZonesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3926,7 +3926,7 @@ func (c *ManagedZonesListCall) Header() http.Header { func (c *ManagedZonesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4111,7 +4111,7 @@ func (c *ManagedZonesPatchCall) Header() http.Header { func (c *ManagedZonesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4275,7 +4275,7 @@ func (c *ManagedZonesUpdateCall) Header() http.Header { func (c *ManagedZonesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4437,7 +4437,7 @@ func (c *PoliciesCreateCall) Header() http.Header { func (c *PoliciesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4592,7 +4592,7 @@ func (c *PoliciesDeleteCall) Header() http.Header { func (c *PoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4729,7 +4729,7 @@ func (c *PoliciesGetCall) Header() http.Header { func (c *PoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4904,7 +4904,7 @@ func (c *PoliciesListCall) Header() http.Header { func (c *PoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5084,7 +5084,7 @@ func (c *PoliciesPatchCall) Header() http.Header { func (c *PoliciesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5248,7 +5248,7 @@ func (c *PoliciesUpdateCall) Header() http.Header { func (c *PoliciesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5419,7 +5419,7 @@ func (c *ProjectsGetCall) Header() http.Header { func (c *ProjectsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5604,7 +5604,7 @@ func (c *ResourceRecordSetsListCall) Header() http.Header { func (c *ResourceRecordSetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/dns/v1beta2/dns-gen.go b/dns/v1beta2/dns-gen.go index 6788b607f1f..793c772b061 100644 --- a/dns/v1beta2/dns-gen.go +++ b/dns/v1beta2/dns-gen.go @@ -2083,7 +2083,7 @@ func (c *ChangesCreateCall) Header() http.Header { func (c *ChangesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2258,7 +2258,7 @@ func (c *ChangesGetCall) Header() http.Header { func (c *ChangesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2460,7 +2460,7 @@ func (c *ChangesListCall) Header() http.Header { func (c *ChangesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2685,7 +2685,7 @@ func (c *DnsKeysGetCall) Header() http.Header { func (c *DnsKeysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2884,7 +2884,7 @@ func (c *DnsKeysListCall) Header() http.Header { func (c *DnsKeysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3088,7 +3088,7 @@ func (c *ManagedZoneOperationsGetCall) Header() http.Header { func (c *ManagedZoneOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3284,7 +3284,7 @@ func (c *ManagedZoneOperationsListCall) Header() http.Header { func (c *ManagedZoneOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3485,7 +3485,7 @@ func (c *ManagedZonesCreateCall) Header() http.Header { func (c *ManagedZonesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3639,7 +3639,7 @@ func (c *ManagedZonesDeleteCall) Header() http.Header { func (c *ManagedZonesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3776,7 +3776,7 @@ func (c *ManagedZonesGetCall) Header() http.Header { func (c *ManagedZonesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3959,7 +3959,7 @@ func (c *ManagedZonesListCall) Header() http.Header { func (c *ManagedZonesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4144,7 +4144,7 @@ func (c *ManagedZonesPatchCall) Header() http.Header { func (c *ManagedZonesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4308,7 +4308,7 @@ func (c *ManagedZonesUpdateCall) Header() http.Header { func (c *ManagedZonesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4470,7 +4470,7 @@ func (c *PoliciesCreateCall) Header() http.Header { func (c *PoliciesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4625,7 +4625,7 @@ func (c *PoliciesDeleteCall) Header() http.Header { func (c *PoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4762,7 +4762,7 @@ func (c *PoliciesGetCall) Header() http.Header { func (c *PoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4937,7 +4937,7 @@ func (c *PoliciesListCall) Header() http.Header { func (c *PoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5117,7 +5117,7 @@ func (c *PoliciesPatchCall) Header() http.Header { func (c *PoliciesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5281,7 +5281,7 @@ func (c *PoliciesUpdateCall) Header() http.Header { func (c *PoliciesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5452,7 +5452,7 @@ func (c *ProjectsGetCall) Header() http.Header { func (c *ProjectsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5605,7 +5605,7 @@ func (c *ProjectsManagedZonesRrsetsCreateCall) Header() http.Header { func (c *ProjectsManagedZonesRrsetsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5771,7 +5771,7 @@ func (c *ProjectsManagedZonesRrsetsDeleteCall) Header() http.Header { func (c *ProjectsManagedZonesRrsetsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5956,7 +5956,7 @@ func (c *ProjectsManagedZonesRrsetsGetCall) Header() http.Header { func (c *ProjectsManagedZonesRrsetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6137,7 +6137,7 @@ func (c *ProjectsManagedZonesRrsetsPatchCall) Header() http.Header { func (c *ProjectsManagedZonesRrsetsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6349,7 +6349,7 @@ func (c *ResourceRecordSetsListCall) Header() http.Header { func (c *ResourceRecordSetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/docs/v1/docs-gen.go b/docs/v1/docs-gen.go index 018bbe30e53..058d7fb1af2 100644 --- a/docs/v1/docs-gen.go +++ b/docs/v1/docs-gen.go @@ -7027,7 +7027,7 @@ func (c *DocumentsBatchUpdateCall) Header() http.Header { func (c *DocumentsBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7168,7 +7168,7 @@ func (c *DocumentsCreateCall) Header() http.Header { func (c *DocumentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7335,7 +7335,7 @@ func (c *DocumentsGetCall) Header() http.Header { func (c *DocumentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/documentai/v1beta2/documentai-api.json b/documentai/v1beta2/documentai-api.json index e6930a89ea9..b721125f6fe 100644 --- a/documentai/v1beta2/documentai-api.json +++ b/documentai/v1beta2/documentai-api.json @@ -292,12 +292,12 @@ } } }, - "revision": "20200828", + "revision": "20201207", "rootUrl": "https://documentai.googleapis.com/", "schemas": { - "GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata": { - "description": "The long running operation metadata for CreateLabelerPool.", - "id": "GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata", + "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata": { + "description": "The common metadata for long running operations.", + "id": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", "properties": { "createTime": { "description": "The creation time of the operation.", @@ -305,7 +305,7 @@ "type": "string" }, "state": { - "description": "Used only when Operation.done is false.", + "description": "The state of the operation.", "enum": [ "STATE_UNSPECIFIED", "RUNNING", @@ -325,7 +325,7 @@ "type": "string" }, "stateMessage": { - "description": "A message providing more details about the current state of processing. For example, the error message if the operation is failed.", + "description": "A message providing more details about the current state of processing.", "type": "string" }, "updateTime": { @@ -336,6 +336,17 @@ }, "type": "object" }, + "GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata": { + "description": "The long running operation metadata for CreateLabelerPool.", + "id": "GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata", + "properties": { + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata of the long running operation." + } + }, + "type": "object" + }, "GoogleCloudDocumentaiUiv1beta3CreateProcessorVersionMetadata": { "description": "The metadata that represents a processor version being created.", "id": "GoogleCloudDocumentaiUiv1beta3CreateProcessorVersionMetadata", @@ -381,39 +392,9 @@ "description": "The long running operation metadata for DeleteLabelerPool.", "id": "GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata", "properties": { - "createTime": { - "description": "The creation time of the operation.", - "format": "google-datetime", - "type": "string" - }, - "state": { - "description": "Used only when Operation.done is false.", - "enum": [ - "STATE_UNSPECIFIED", - "RUNNING", - "CANCELLING", - "SUCCEEDED", - "FAILED", - "CANCELLED" - ], - "enumDescriptions": [ - "Unspecified state.", - "Operation is still running.", - "Operation is being cancelled.", - "Operation succeeded.", - "Operation failed.", - "Operation is cancelled." - ], - "type": "string" - }, - "stateMessage": { - "description": "A message providing more details about the current state of processing. For example, the error message if the operation is failed.", - "type": "string" - }, - "updateTime": { - "description": "The last update time of the operation.", - "format": "google-datetime", - "type": "string" + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata of the long running operation." } }, "type": "object" @@ -422,6 +403,10 @@ "description": "The long running operation metadata for delete processor method.", "id": "GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata", "properties": { + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata of the long running operation." + }, "createTime": { "description": "The creation time of the operation.", "format": "google-datetime", @@ -457,10 +442,42 @@ }, "type": "object" }, + "GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata": { + "description": "The long running operation metadata for delete processor version method.", + "id": "GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata", + "properties": { + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata of the long running operation." + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata": { + "description": "The long running operation metadata for deploy processor version method.", + "id": "GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata", + "properties": { + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata of the long running operation." + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionResponse": { + "description": "Response message for the deploy processor version method.", + "id": "GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionResponse", + "properties": {}, + "type": "object" + }, "GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata": { "description": "The long running operation metadata for disable processor method.", "id": "GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata", "properties": { + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata of the long running operation." + }, "createTime": { "description": "The creation time of the operation.", "format": "google-datetime", @@ -510,6 +527,10 @@ "description": "The long running operation metadata for enable processor method.", "id": "GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata", "properties": { + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata of the long running operation." + }, "createTime": { "description": "The creation time of the operation.", "format": "google-datetime", @@ -555,43 +576,41 @@ "properties": {}, "type": "object" }, + "GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata": { + "description": "The long running operation metadata for the undeploy processor version method.", + "id": "GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata", + "properties": { + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata of the long running operation." + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse": { + "description": "Response message for the undeploy processor version method.", + "id": "GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse", + "properties": {}, + "type": "object" + }, + "GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata": { + "description": "The long running operation metadata for updating the human review configuration.", + "id": "GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata", + "properties": { + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata of the long running operation." + } + }, + "type": "object" + }, "GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata": { "description": "The long running operation metadata for UpdateLabelerPool.", "id": "GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata", "properties": { - "createTime": { - "description": "The creation time of the operation.", - "format": "google-datetime", - "type": "string" - }, - "state": { - "description": "Used only when Operation.done is false.", - "enum": [ - "STATE_UNSPECIFIED", - "RUNNING", - "CANCELLING", - "SUCCEEDED", - "FAILED", - "CANCELLED" - ], - "enumDescriptions": [ - "Unspecified state.", - "Operation is still running.", - "Operation is being cancelled.", - "Operation succeeded.", - "Operation failed.", - "Operation is cancelled." - ], - "type": "string" - }, - "stateMessage": { - "description": "A message providing more details about the current state of processing. For example, the error message if the operation is failed.", - "type": "string" - }, - "updateTime": { - "description": "The last update time of the operation.", - "format": "google-datetime", - "type": "string" + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata of the long running operation." } }, "type": "object" @@ -773,19 +792,19 @@ "properties": { "addressValue": { "$ref": "GoogleTypePostalAddress", - "description": "Postal address. See also: https: //github.com/googleapis/googleapis/blob/ // master/google/type/postal_address.proto" + "description": "Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto" }, "dateValue": { "$ref": "GoogleTypeDate", - "description": "Date value. Includes year, month, day. See also: https: //github.com/googleapis/googleapis/blob/master/google/type/date.proto" + "description": "Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto" }, "datetimeValue": { "$ref": "GoogleTypeDateTime", - "description": "DateTime value. Includes date, time, and timezone. See also: https: //github.com/googleapis/googleapis/blob/ // master/google/type/datetime.proto" + "description": "DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto" }, "moneyValue": { "$ref": "GoogleTypeMoney", - "description": "Money value. See also: https: //github.com/googleapis/googleapis/blob/ // master/google/type/money.proto" + "description": "Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto" }, "text": { "description": "Required. Normalized entity value stored as a string. This field is populated for supported document type (e.g. Invoice). For some entity types, one of respective 'structured_value' fields may also be populated. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", @@ -951,7 +970,7 @@ "type": "string" }, "page": { - "description": "Required. Index into the Document.pages element", + "description": "Required. Index into the Document.pages element, for example using Document.pages to locate the related page element.", "format": "int64", "type": "string" } @@ -1950,19 +1969,19 @@ "properties": { "addressValue": { "$ref": "GoogleTypePostalAddress", - "description": "Postal address. See also: https: //github.com/googleapis/googleapis/blob/ // master/google/type/postal_address.proto" + "description": "Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto" }, "dateValue": { "$ref": "GoogleTypeDate", - "description": "Date value. Includes year, month, day. See also: https: //github.com/googleapis/googleapis/blob/master/google/type/date.proto" + "description": "Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto" }, "datetimeValue": { "$ref": "GoogleTypeDateTime", - "description": "DateTime value. Includes date, time, and timezone. See also: https: //github.com/googleapis/googleapis/blob/ // master/google/type/datetime.proto" + "description": "DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto" }, "moneyValue": { "$ref": "GoogleTypeMoney", - "description": "Money value. See also: https: //github.com/googleapis/googleapis/blob/ // master/google/type/money.proto" + "description": "Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto" }, "text": { "description": "Required. Normalized entity value stored as a string. This field is populated for supported document type (e.g. Invoice). For some entity types, one of respective 'structured_value' fields may also be populated. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", @@ -2148,7 +2167,7 @@ "type": "string" }, "page": { - "description": "Required. Index into the Document.pages element", + "description": "Required. Index into the Document.pages element, for example using Document.pages to locate the related page element.", "format": "int64", "type": "string" } @@ -3327,21 +3346,21 @@ "type": "object" }, "GoogleTypeDate": { - "description": "Represents a whole or partial calendar date, e.g. a birthday. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. This can represent: * A full date, with non-zero year, month and day values * A month and day value, with a zero year, e.g. an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, e.g. a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.", + "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 month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year by itself or a year and month where the day is not significant.", + "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 year. Must be from 1 to 12, or 0 if specifying a year without a month and day.", + "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 date. Must be from 1 to 9999, or 0 if specifying a date without a 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" } @@ -3349,7 +3368,7 @@ "type": "object" }, "GoogleTypeDateTime": { - "description": "Represents civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is considered not to have a specific year. month and day must have valid, non-zero values. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations.", + "description": "Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is considered not to have a specific year. month and day must have valid, non-zero values. This type may also be used to represent a physical time if all the date and time fields are set and either case of the `time_offset` oneof is set. Consider using `Timestamp` message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations.", "id": "GoogleTypeDateTime", "properties": { "day": { @@ -3404,7 +3423,7 @@ "id": "GoogleTypeMoney", "properties": { "currencyCode": { - "description": "The 3-letter currency code defined in ISO 4217.", + "description": "The three-letter currency code defined in ISO 4217.", "type": "string" }, "nanos": { diff --git a/documentai/v1beta2/documentai-gen.go b/documentai/v1beta2/documentai-gen.go index c637bf5ce76..5fefc7b103e 100644 --- a/documentai/v1beta2/documentai-gen.go +++ b/documentai/v1beta2/documentai-gen.go @@ -204,13 +204,13 @@ type ProjectsOperationsService struct { s *Service } -// GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata: The -// long running operation metadata for CreateLabelerPool. -type GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata struct { +// GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata: The common +// metadata for long running operations. +type GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata struct { // CreateTime: The creation time of the operation. CreateTime string `json:"createTime,omitempty"` - // State: Used only when Operation.done is false. + // State: The state of the operation. // // Possible values: // "STATE_UNSPECIFIED" - Unspecified state. @@ -222,8 +222,7 @@ type GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata struct { State string `json:"state,omitempty"` // StateMessage: A message providing more details about the current - // state of processing. For example, the error message if the operation - // is failed. + // state of processing. StateMessage string `json:"stateMessage,omitempty"` // UpdateTime: The last update time of the operation. @@ -246,6 +245,36 @@ type GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata struct { NullFields []string `json:"-"` } +func (s *GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata: The +// long running operation metadata for CreateLabelerPool. +type GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata struct { + // CommonMetadata: The basic metadata of the long running operation. + CommonMetadata *GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata `json:"commonMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CommonMetadata") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "CommonMetadata") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + func (s *GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata) MarshalJSON() ([]byte, error) { type NoMethod GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata raw := NoMethod(*s) @@ -304,29 +333,10 @@ func (s *GoogleCloudDocumentaiUiv1beta3CreateProcessorVersionMetadata) MarshalJS // GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata: The // long running operation metadata for DeleteLabelerPool. type GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata struct { - // CreateTime: The creation time of the operation. - CreateTime string `json:"createTime,omitempty"` - - // State: Used only when Operation.done is false. - // - // Possible values: - // "STATE_UNSPECIFIED" - Unspecified state. - // "RUNNING" - Operation is still running. - // "CANCELLING" - Operation is being cancelled. - // "SUCCEEDED" - Operation succeeded. - // "FAILED" - Operation failed. - // "CANCELLED" - Operation is cancelled. - State string `json:"state,omitempty"` + // CommonMetadata: The basic metadata of the long running operation. + CommonMetadata *GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata `json:"commonMetadata,omitempty"` - // StateMessage: A message providing more details about the current - // state of processing. For example, the error message if the operation - // is failed. - StateMessage string `json:"stateMessage,omitempty"` - - // UpdateTime: The last update time of the operation. - UpdateTime string `json:"updateTime,omitempty"` - - // ForceSendFields is a list of field names (e.g. "CreateTime") to + // ForceSendFields is a list of field names (e.g. "CommonMetadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -334,12 +344,13 @@ type GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CreateTime") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "CommonMetadata") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } @@ -352,6 +363,9 @@ func (s *GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata) Marsh // GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata: The long // running operation metadata for delete processor method. type GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata struct { + // CommonMetadata: The basic metadata of the long running operation. + CommonMetadata *GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata `json:"commonMetadata,omitempty"` + // CreateTime: The creation time of the operation. CreateTime string `json:"createTime,omitempty"` @@ -374,7 +388,7 @@ type GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata struct { // UpdateTime: The last update time of the operation. UpdateTime string `json:"updateTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "CreateTime") to + // ForceSendFields is a list of field names (e.g. "CommonMetadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -382,12 +396,13 @@ type GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CreateTime") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "CommonMetadata") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } @@ -397,9 +412,77 @@ func (s *GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata) MarshalJSON() ([ return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata: The +// long running operation metadata for delete processor version method. +type GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata struct { + // CommonMetadata: The basic metadata of the long running operation. + CommonMetadata *GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata `json:"commonMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CommonMetadata") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "CommonMetadata") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata: The +// long running operation metadata for deploy processor version method. +type GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata struct { + // CommonMetadata: The basic metadata of the long running operation. + CommonMetadata *GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata `json:"commonMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CommonMetadata") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "CommonMetadata") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionResponse: +// Response message for the deploy processor version method. +type GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionResponse struct { +} + // GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata: The long // running operation metadata for disable processor method. type GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata struct { + // CommonMetadata: The basic metadata of the long running operation. + CommonMetadata *GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata `json:"commonMetadata,omitempty"` + // CreateTime: The creation time of the operation. CreateTime string `json:"createTime,omitempty"` @@ -424,7 +507,7 @@ type GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata struct { // UpdateTime: The last update time of the operation. UpdateTime string `json:"updateTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "CreateTime") to + // ForceSendFields is a list of field names (e.g. "CommonMetadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -432,12 +515,13 @@ type GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CreateTime") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "CommonMetadata") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } @@ -456,6 +540,9 @@ type GoogleCloudDocumentaiUiv1beta3DisableProcessorResponse struct { // GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata: The long // running operation metadata for enable processor method. type GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata struct { + // CommonMetadata: The basic metadata of the long running operation. + CommonMetadata *GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata `json:"commonMetadata,omitempty"` + // CreateTime: The creation time of the operation. CreateTime string `json:"createTime,omitempty"` @@ -480,7 +567,7 @@ type GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata struct { // UpdateTime: The last update time of the operation. UpdateTime string `json:"updateTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "CreateTime") to + // ForceSendFields is a list of field names (e.g. "CommonMetadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -488,12 +575,13 @@ type GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CreateTime") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "CommonMetadata") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } @@ -509,32 +597,50 @@ func (s *GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata) MarshalJSON() ([ type GoogleCloudDocumentaiUiv1beta3EnableProcessorResponse struct { } -// GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata: The -// long running operation metadata for UpdateLabelerPool. -type GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata struct { - // CreateTime: The creation time of the operation. - CreateTime string `json:"createTime,omitempty"` +// GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata: The +// long running operation metadata for the undeploy processor version +// method. +type GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata struct { + // CommonMetadata: The basic metadata of the long running operation. + CommonMetadata *GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata `json:"commonMetadata,omitempty"` - // State: Used only when Operation.done is false. - // - // Possible values: - // "STATE_UNSPECIFIED" - Unspecified state. - // "RUNNING" - Operation is still running. - // "CANCELLING" - Operation is being cancelled. - // "SUCCEEDED" - Operation succeeded. - // "FAILED" - Operation failed. - // "CANCELLED" - Operation is cancelled. - State string `json:"state,omitempty"` + // ForceSendFields is a list of field names (e.g. "CommonMetadata") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` - // StateMessage: A message providing more details about the current - // state of processing. For example, the error message if the operation - // is failed. - StateMessage string `json:"stateMessage,omitempty"` + // NullFields is a list of field names (e.g. "CommonMetadata") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} - // UpdateTime: The last update time of the operation. - UpdateTime string `json:"updateTime,omitempty"` +func (s *GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // ForceSendFields is a list of field names (e.g. "CreateTime") to +// GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse: +// Response message for the undeploy processor version method. +type GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse struct { +} + +// GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata: The +// long running operation metadata for updating the human review +// configuration. +type GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata struct { + // CommonMetadata: The basic metadata of the long running operation. + CommonMetadata *GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata `json:"commonMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CommonMetadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -542,12 +648,43 @@ type GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CreateTime") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "CommonMetadata") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata: The +// long running operation metadata for UpdateLabelerPool. +type GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata struct { + // CommonMetadata: The basic metadata of the long running operation. + CommonMetadata *GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata `json:"commonMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CommonMetadata") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "CommonMetadata") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } @@ -789,23 +926,21 @@ func (s *GoogleCloudDocumentaiV1beta1DocumentEntity) UnmarshalJSON(data []byte) // GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue: Parsed and // normalized entity value. type GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue struct { - // AddressValue: Postal address. See also: https: - // //github.com/googleapis/googleapis/blob/ // - // master/google/type/postal_address.proto + // AddressValue: Postal address. See also: + // https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto AddressValue *GoogleTypePostalAddress `json:"addressValue,omitempty"` - // DateValue: Date value. Includes year, month, day. See also: https: - // //github.com/googleapis/googleapis/blob/master/google/type/date.proto + // DateValue: Date value. Includes year, month, day. See also: + // https://github.com/googleapis/googleapis/blob/master/google/type/date.proto DateValue *GoogleTypeDate `json:"dateValue,omitempty"` // DatetimeValue: DateTime value. Includes date, time, and timezone. See - // also: https: //github.com/googleapis/googleapis/blob/ // - // master/google/type/datetime.proto + // also: + // https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto DatetimeValue *GoogleTypeDateTime `json:"datetimeValue,omitempty"` - // MoneyValue: Money value. See also: https: - // //github.com/googleapis/googleapis/blob/ // - // master/google/type/money.proto + // MoneyValue: Money value. See also: + // https://github.com/googleapis/googleapis/blob/master/google/type/money.proto MoneyValue *GoogleTypeMoney `json:"moneyValue,omitempty"` // Text: Required. Normalized entity value stored as a string. This @@ -1005,7 +1140,8 @@ type GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef struct { // "FORM_FIELD" - References a Page.form_fields element. LayoutType string `json:"layoutType,omitempty"` - // Page: Required. Index into the Document.pages element + // Page: Required. Index into the Document.pages element, for example + // using Document.pages to locate the related page element. Page int64 `json:"page,omitempty,string"` // ForceSendFields is a list of field names (e.g. "BoundingPoly") to @@ -2706,23 +2842,21 @@ func (s *GoogleCloudDocumentaiV1beta2DocumentEntity) UnmarshalJSON(data []byte) // GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue: Parsed and // normalized entity value. type GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue struct { - // AddressValue: Postal address. See also: https: - // //github.com/googleapis/googleapis/blob/ // - // master/google/type/postal_address.proto + // AddressValue: Postal address. See also: + // https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto AddressValue *GoogleTypePostalAddress `json:"addressValue,omitempty"` - // DateValue: Date value. Includes year, month, day. See also: https: - // //github.com/googleapis/googleapis/blob/master/google/type/date.proto + // DateValue: Date value. Includes year, month, day. See also: + // https://github.com/googleapis/googleapis/blob/master/google/type/date.proto DateValue *GoogleTypeDate `json:"dateValue,omitempty"` // DatetimeValue: DateTime value. Includes date, time, and timezone. See - // also: https: //github.com/googleapis/googleapis/blob/ // - // master/google/type/datetime.proto + // also: + // https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto DatetimeValue *GoogleTypeDateTime `json:"datetimeValue,omitempty"` - // MoneyValue: Money value. See also: https: - // //github.com/googleapis/googleapis/blob/ // - // master/google/type/money.proto + // MoneyValue: Money value. See also: + // https://github.com/googleapis/googleapis/blob/master/google/type/money.proto MoneyValue *GoogleTypeMoney `json:"moneyValue,omitempty"` // Text: Required. Normalized entity value stored as a string. This @@ -2977,7 +3111,8 @@ type GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef struct { // "FORM_FIELD" - References a Page.form_fields element. LayoutType string `json:"layoutType,omitempty"` - // Page: Required. Index into the Document.pages element + // Page: Required. Index into the Document.pages element, for example + // using Document.pages to locate the related page element. Page int64 `json:"page,omitempty,string"` // ForceSendFields is a list of field names (e.g. "BoundingPoly") to @@ -5095,27 +5230,27 @@ func (s *GoogleTypeColor) UnmarshalJSON(data []byte) error { return nil } -// GoogleTypeDate: Represents a whole or partial calendar date, e.g. a -// birthday. The time of day and time zone are either specified -// elsewhere or are not significant. The date is relative to the -// Proleptic Gregorian Calendar. This can represent: * A full date, with -// non-zero year, month and day values * A month and day value, with a -// zero year, e.g. an anniversary * A year on its own, with zero month -// and day values * A year and month value, with a zero day, e.g. a -// credit card expiration date Related types are google.type.TimeOfDay -// and `google.protobuf.Timestamp`. +// GoogleTypeDate: 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`. type GoogleTypeDate struct { - // Day: Day of month. Must be from 1 to 31 and valid for the year and - // month, or 0 if specifying a year by itself or a year and month where - // the day is not significant. + // Day: 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. Day int64 `json:"day,omitempty"` - // Month: Month of year. Must be from 1 to 12, or 0 if specifying a year + // Month: Month of a year. Must be from 1 to 12, or 0 to specify a year // without a month and day. Month int64 `json:"month,omitempty"` - // Year: Year of date. Must be from 1 to 9999, or 0 if specifying a date - // without a year. + // Year: Year of the date. Must be from 1 to 9999, or 0 to specify a + // date without a year. Year int64 `json:"year,omitempty"` // ForceSendFields is a list of field names (e.g. "Day") to @@ -5141,7 +5276,8 @@ func (s *GoogleTypeDate) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleTypeDateTime: Represents civil time in one of a few possible +// GoogleTypeDateTime: Represents civil time (or occasionally physical +// time). This type can represent a civil time in one of a few possible // ways: * When utc_offset is set and time_zone is unset: a civil time // on a calendar day with a particular offset from UTC. * When time_zone // is set and utc_offset is unset: a civil time on a calendar day in a @@ -5149,9 +5285,13 @@ func (s *GoogleTypeDate) MarshalJSON() ([]byte, error) { // a civil time on a calendar day in local time. The date is relative to // the Proleptic Gregorian Calendar. If year is 0, the DateTime is // considered not to have a specific year. month and day must have -// valid, non-zero values. This type is more flexible than some -// applications may want. Make sure to document and validate your -// application's limitations. +// valid, non-zero values. This type may also be used to represent a +// physical time if all the date and time fields are set and either case +// of the `time_offset` oneof is set. Consider using `Timestamp` message +// for physical time instead. If your use case also would like to store +// the user's timezone, that can be done in another field. This type is +// more flexible than some applications may want. Make sure to document +// and validate your application's limitations. type GoogleTypeDateTime struct { // Day: Required. Day of month. Must be from 1 to 31 and valid for the // year and month. @@ -5215,7 +5355,7 @@ func (s *GoogleTypeDateTime) MarshalJSON() ([]byte, error) { // GoogleTypeMoney: Represents an amount of money with its currency // type. type GoogleTypeMoney struct { - // CurrencyCode: The 3-letter currency code defined in ISO 4217. + // CurrencyCode: The three-letter currency code defined in ISO 4217. CurrencyCode string `json:"currencyCode,omitempty"` // Nanos: Number of nano (10^-9) units of the amount. The value must be @@ -5454,7 +5594,7 @@ func (c *ProjectsDocumentsBatchProcessCall) Header() http.Header { func (c *ProjectsDocumentsBatchProcessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201027") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5594,7 +5734,7 @@ func (c *ProjectsDocumentsProcessCall) Header() http.Header { func (c *ProjectsDocumentsProcessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201027") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5736,7 +5876,7 @@ func (c *ProjectsLocationsDocumentsBatchProcessCall) Header() http.Header { func (c *ProjectsLocationsDocumentsBatchProcessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201027") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5876,7 +6016,7 @@ func (c *ProjectsLocationsDocumentsProcessCall) Header() http.Header { func (c *ProjectsLocationsDocumentsProcessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201027") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6028,7 +6168,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201027") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6174,7 +6314,7 @@ func (c *ProjectsOperationsGetCall) Header() http.Header { func (c *ProjectsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201027") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/documentai/v1beta3/documentai-api.json b/documentai/v1beta3/documentai-api.json index 83d3f4f8b67..2bfde533502 100644 --- a/documentai/v1beta3/documentai-api.json +++ b/documentai/v1beta3/documentai-api.json @@ -218,7 +218,7 @@ ], "parameters": { "name": { - "description": "Required. The processor resource name.", + "description": "Required. The resource name of Processor or ProcessorVersion. Format: projects/{project}/locations/{location}/processors/{processor}, or projects/{project}/locations/{location}/processors/{processor}/processorVerions/{processorVersion}", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+$", "required": true, @@ -246,7 +246,7 @@ ], "parameters": { "name": { - "description": "Required. The processor resource name.", + "description": "Required. The resource name of the Processor or ProcessorVersion to use for processing. If a Processor is specified, the server will use its default version. Format: projects/{project}/locations/{location}/processors/{processor}, or projects/{project}/locations/{location}/processors/{processor}/processorVerions/{processorVersion}", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+$", "required": true, @@ -297,6 +297,66 @@ ] } } + }, + "processorVersions": { + "methods": { + "batchProcess": { + "description": "LRO endpoint to batch process many documents. The output is written to Cloud Storage as JSON in the [Document] format.", + "flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions/{processorVersionsId}:batchProcess", + "httpMethod": "POST", + "id": "documentai.projects.locations.processors.processorVersions.batchProcess", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of Processor or ProcessorVersion. Format: projects/{project}/locations/{location}/processors/{processor}, or projects/{project}/locations/{location}/processors/{processor}/processorVerions/{processorVersion}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+/processorVersions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta3/{+name}:batchProcess", + "request": { + "$ref": "GoogleCloudDocumentaiV1beta3BatchProcessRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "process": { + "description": "Processes a single document.", + "flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions/{processorVersionsId}:process", + "httpMethod": "POST", + "id": "documentai.projects.locations.processors.processorVersions.process", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the Processor or ProcessorVersion to use for processing. If a Processor is specified, the server will use its default version. Format: projects/{project}/locations/{location}/processors/{processor}, or projects/{project}/locations/{location}/processors/{processor}/processorVerions/{processorVersion}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+/processorVersions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta3/{+name}:process", + "request": { + "$ref": "GoogleCloudDocumentaiV1beta3ProcessRequest" + }, + "response": { + "$ref": "GoogleCloudDocumentaiV1beta3ProcessResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } } } } @@ -305,12 +365,12 @@ } } }, - "revision": "20200828", + "revision": "20201207", "rootUrl": "https://documentai.googleapis.com/", "schemas": { - "GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata": { - "description": "The long running operation metadata for CreateLabelerPool.", - "id": "GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata", + "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata": { + "description": "The common metadata for long running operations.", + "id": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", "properties": { "createTime": { "description": "The creation time of the operation.", @@ -318,7 +378,7 @@ "type": "string" }, "state": { - "description": "Used only when Operation.done is false.", + "description": "The state of the operation.", "enum": [ "STATE_UNSPECIFIED", "RUNNING", @@ -338,7 +398,7 @@ "type": "string" }, "stateMessage": { - "description": "A message providing more details about the current state of processing. For example, the error message if the operation is failed.", + "description": "A message providing more details about the current state of processing.", "type": "string" }, "updateTime": { @@ -349,6 +409,17 @@ }, "type": "object" }, + "GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata": { + "description": "The long running operation metadata for CreateLabelerPool.", + "id": "GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata", + "properties": { + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata of the long running operation." + } + }, + "type": "object" + }, "GoogleCloudDocumentaiUiv1beta3CreateProcessorVersionMetadata": { "description": "The metadata that represents a processor version being created.", "id": "GoogleCloudDocumentaiUiv1beta3CreateProcessorVersionMetadata", @@ -394,39 +465,9 @@ "description": "The long running operation metadata for DeleteLabelerPool.", "id": "GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata", "properties": { - "createTime": { - "description": "The creation time of the operation.", - "format": "google-datetime", - "type": "string" - }, - "state": { - "description": "Used only when Operation.done is false.", - "enum": [ - "STATE_UNSPECIFIED", - "RUNNING", - "CANCELLING", - "SUCCEEDED", - "FAILED", - "CANCELLED" - ], - "enumDescriptions": [ - "Unspecified state.", - "Operation is still running.", - "Operation is being cancelled.", - "Operation succeeded.", - "Operation failed.", - "Operation is cancelled." - ], - "type": "string" - }, - "stateMessage": { - "description": "A message providing more details about the current state of processing. For example, the error message if the operation is failed.", - "type": "string" - }, - "updateTime": { - "description": "The last update time of the operation.", - "format": "google-datetime", - "type": "string" + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata of the long running operation." } }, "type": "object" @@ -435,6 +476,10 @@ "description": "The long running operation metadata for delete processor method.", "id": "GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata", "properties": { + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata of the long running operation." + }, "createTime": { "description": "The creation time of the operation.", "format": "google-datetime", @@ -470,10 +515,42 @@ }, "type": "object" }, + "GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata": { + "description": "The long running operation metadata for delete processor version method.", + "id": "GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata", + "properties": { + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata of the long running operation." + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata": { + "description": "The long running operation metadata for deploy processor version method.", + "id": "GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata", + "properties": { + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata of the long running operation." + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionResponse": { + "description": "Response message for the deploy processor version method.", + "id": "GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionResponse", + "properties": {}, + "type": "object" + }, "GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata": { "description": "The long running operation metadata for disable processor method.", "id": "GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata", "properties": { + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata of the long running operation." + }, "createTime": { "description": "The creation time of the operation.", "format": "google-datetime", @@ -523,6 +600,10 @@ "description": "The long running operation metadata for enable processor method.", "id": "GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata", "properties": { + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata of the long running operation." + }, "createTime": { "description": "The creation time of the operation.", "format": "google-datetime", @@ -568,43 +649,41 @@ "properties": {}, "type": "object" }, + "GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata": { + "description": "The long running operation metadata for the undeploy processor version method.", + "id": "GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata", + "properties": { + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata of the long running operation." + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse": { + "description": "Response message for the undeploy processor version method.", + "id": "GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse", + "properties": {}, + "type": "object" + }, + "GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata": { + "description": "The long running operation metadata for updating the human review configuration.", + "id": "GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata", + "properties": { + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata of the long running operation." + } + }, + "type": "object" + }, "GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata": { "description": "The long running operation metadata for UpdateLabelerPool.", "id": "GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata", "properties": { - "createTime": { - "description": "The creation time of the operation.", - "format": "google-datetime", - "type": "string" - }, - "state": { - "description": "Used only when Operation.done is false.", - "enum": [ - "STATE_UNSPECIFIED", - "RUNNING", - "CANCELLING", - "SUCCEEDED", - "FAILED", - "CANCELLED" - ], - "enumDescriptions": [ - "Unspecified state.", - "Operation is still running.", - "Operation is being cancelled.", - "Operation succeeded.", - "Operation failed.", - "Operation is cancelled." - ], - "type": "string" - }, - "stateMessage": { - "description": "A message providing more details about the current state of processing. For example, the error message if the operation is failed.", - "type": "string" - }, - "updateTime": { - "description": "The last update time of the operation.", - "format": "google-datetime", - "type": "string" + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata of the long running operation." } }, "type": "object" @@ -786,19 +865,19 @@ "properties": { "addressValue": { "$ref": "GoogleTypePostalAddress", - "description": "Postal address. See also: https: //github.com/googleapis/googleapis/blob/ // master/google/type/postal_address.proto" + "description": "Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto" }, "dateValue": { "$ref": "GoogleTypeDate", - "description": "Date value. Includes year, month, day. See also: https: //github.com/googleapis/googleapis/blob/master/google/type/date.proto" + "description": "Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto" }, "datetimeValue": { "$ref": "GoogleTypeDateTime", - "description": "DateTime value. Includes date, time, and timezone. See also: https: //github.com/googleapis/googleapis/blob/ // master/google/type/datetime.proto" + "description": "DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto" }, "moneyValue": { "$ref": "GoogleTypeMoney", - "description": "Money value. See also: https: //github.com/googleapis/googleapis/blob/ // master/google/type/money.proto" + "description": "Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto" }, "text": { "description": "Required. Normalized entity value stored as a string. This field is populated for supported document type (e.g. Invoice). For some entity types, one of respective 'structured_value' fields may also be populated. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", @@ -964,7 +1043,7 @@ "type": "string" }, "page": { - "description": "Required. Index into the Document.pages element", + "description": "Required. Index into the Document.pages element, for example using Document.pages to locate the related page element.", "format": "int64", "type": "string" } @@ -1938,19 +2017,19 @@ "properties": { "addressValue": { "$ref": "GoogleTypePostalAddress", - "description": "Postal address. See also: https: //github.com/googleapis/googleapis/blob/ // master/google/type/postal_address.proto" + "description": "Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto" }, "dateValue": { "$ref": "GoogleTypeDate", - "description": "Date value. Includes year, month, day. See also: https: //github.com/googleapis/googleapis/blob/master/google/type/date.proto" + "description": "Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto" }, "datetimeValue": { "$ref": "GoogleTypeDateTime", - "description": "DateTime value. Includes date, time, and timezone. See also: https: //github.com/googleapis/googleapis/blob/ // master/google/type/datetime.proto" + "description": "DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto" }, "moneyValue": { "$ref": "GoogleTypeMoney", - "description": "Money value. See also: https: //github.com/googleapis/googleapis/blob/ // master/google/type/money.proto" + "description": "Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto" }, "text": { "description": "Required. Normalized entity value stored as a string. This field is populated for supported document type (e.g. Invoice). For some entity types, one of respective 'structured_value' fields may also be populated. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", @@ -2136,7 +2215,7 @@ "type": "string" }, "page": { - "description": "Required. Index into the Document.pages element", + "description": "Required. Index into the Document.pages element, for example using Document.pages to locate the related page element.", "format": "int64", "type": "string" } @@ -3217,19 +3296,19 @@ "properties": { "addressValue": { "$ref": "GoogleTypePostalAddress", - "description": "Postal address. See also: https: //github.com/googleapis/googleapis/blob/ // master/google/type/postal_address.proto" + "description": "Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto" }, "dateValue": { "$ref": "GoogleTypeDate", - "description": "Date value. Includes year, month, day. See also: https: //github.com/googleapis/googleapis/blob/master/google/type/date.proto" + "description": "Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto" }, "datetimeValue": { "$ref": "GoogleTypeDateTime", - "description": "DateTime value. Includes date, time, and timezone. See also: https: //github.com/googleapis/googleapis/blob/ // master/google/type/datetime.proto" + "description": "DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto" }, "moneyValue": { "$ref": "GoogleTypeMoney", - "description": "Money value. See also: https: //github.com/googleapis/googleapis/blob/ // master/google/type/money.proto" + "description": "Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto" }, "text": { "description": "Required. Normalized entity value stored as a string. This field is populated for supported document type (e.g. Invoice). For some entity types, one of respective 'structured_value' fields may also be populated. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", @@ -3395,7 +3474,7 @@ "type": "string" }, "page": { - "description": "Required. Index into the Document.pages element", + "description": "Required. Index into the Document.pages element, for example using Document.pages to locate the related page element.", "format": "int64", "type": "string" } @@ -4317,21 +4396,21 @@ "type": "object" }, "GoogleTypeDate": { - "description": "Represents a whole or partial calendar date, e.g. a birthday. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. This can represent: * A full date, with non-zero year, month and day values * A month and day value, with a zero year, e.g. an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, e.g. a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.", + "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 month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year by itself or a year and month where the day is not significant.", + "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 year. Must be from 1 to 12, or 0 if specifying a year without a month and day.", + "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 date. Must be from 1 to 9999, or 0 if specifying a date without a 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" } @@ -4339,7 +4418,7 @@ "type": "object" }, "GoogleTypeDateTime": { - "description": "Represents civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is considered not to have a specific year. month and day must have valid, non-zero values. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations.", + "description": "Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is considered not to have a specific year. month and day must have valid, non-zero values. This type may also be used to represent a physical time if all the date and time fields are set and either case of the `time_offset` oneof is set. Consider using `Timestamp` message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations.", "id": "GoogleTypeDateTime", "properties": { "day": { @@ -4394,7 +4473,7 @@ "id": "GoogleTypeMoney", "properties": { "currencyCode": { - "description": "The 3-letter currency code defined in ISO 4217.", + "description": "The three-letter currency code defined in ISO 4217.", "type": "string" }, "nanos": { diff --git a/documentai/v1beta3/documentai-gen.go b/documentai/v1beta3/documentai-gen.go index cbeca1164b9..daeb3118eb3 100644 --- a/documentai/v1beta3/documentai-gen.go +++ b/documentai/v1beta3/documentai-gen.go @@ -174,6 +174,7 @@ type ProjectsLocationsOperationsService struct { func NewProjectsLocationsProcessorsService(s *Service) *ProjectsLocationsProcessorsService { rs := &ProjectsLocationsProcessorsService{s: s} rs.HumanReviewConfig = NewProjectsLocationsProcessorsHumanReviewConfigService(s) + rs.ProcessorVersions = NewProjectsLocationsProcessorsProcessorVersionsService(s) return rs } @@ -181,6 +182,8 @@ type ProjectsLocationsProcessorsService struct { s *Service HumanReviewConfig *ProjectsLocationsProcessorsHumanReviewConfigService + + ProcessorVersions *ProjectsLocationsProcessorsProcessorVersionsService } func NewProjectsLocationsProcessorsHumanReviewConfigService(s *Service) *ProjectsLocationsProcessorsHumanReviewConfigService { @@ -192,13 +195,22 @@ type ProjectsLocationsProcessorsHumanReviewConfigService struct { s *Service } -// GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata: The -// long running operation metadata for CreateLabelerPool. -type GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata struct { +func NewProjectsLocationsProcessorsProcessorVersionsService(s *Service) *ProjectsLocationsProcessorsProcessorVersionsService { + rs := &ProjectsLocationsProcessorsProcessorVersionsService{s: s} + return rs +} + +type ProjectsLocationsProcessorsProcessorVersionsService struct { + s *Service +} + +// GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata: The common +// metadata for long running operations. +type GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata struct { // CreateTime: The creation time of the operation. CreateTime string `json:"createTime,omitempty"` - // State: Used only when Operation.done is false. + // State: The state of the operation. // // Possible values: // "STATE_UNSPECIFIED" - Unspecified state. @@ -210,8 +222,7 @@ type GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata struct { State string `json:"state,omitempty"` // StateMessage: A message providing more details about the current - // state of processing. For example, the error message if the operation - // is failed. + // state of processing. StateMessage string `json:"stateMessage,omitempty"` // UpdateTime: The last update time of the operation. @@ -234,6 +245,36 @@ type GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata struct { NullFields []string `json:"-"` } +func (s *GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata: The +// long running operation metadata for CreateLabelerPool. +type GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata struct { + // CommonMetadata: The basic metadata of the long running operation. + CommonMetadata *GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata `json:"commonMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CommonMetadata") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "CommonMetadata") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + func (s *GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata) MarshalJSON() ([]byte, error) { type NoMethod GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata raw := NoMethod(*s) @@ -292,29 +333,10 @@ func (s *GoogleCloudDocumentaiUiv1beta3CreateProcessorVersionMetadata) MarshalJS // GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata: The // long running operation metadata for DeleteLabelerPool. type GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata struct { - // CreateTime: The creation time of the operation. - CreateTime string `json:"createTime,omitempty"` + // CommonMetadata: The basic metadata of the long running operation. + CommonMetadata *GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata `json:"commonMetadata,omitempty"` - // State: Used only when Operation.done is false. - // - // Possible values: - // "STATE_UNSPECIFIED" - Unspecified state. - // "RUNNING" - Operation is still running. - // "CANCELLING" - Operation is being cancelled. - // "SUCCEEDED" - Operation succeeded. - // "FAILED" - Operation failed. - // "CANCELLED" - Operation is cancelled. - State string `json:"state,omitempty"` - - // StateMessage: A message providing more details about the current - // state of processing. For example, the error message if the operation - // is failed. - StateMessage string `json:"stateMessage,omitempty"` - - // UpdateTime: The last update time of the operation. - UpdateTime string `json:"updateTime,omitempty"` - - // ForceSendFields is a list of field names (e.g. "CreateTime") to + // ForceSendFields is a list of field names (e.g. "CommonMetadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -322,12 +344,13 @@ type GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CreateTime") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "CommonMetadata") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } @@ -340,6 +363,9 @@ func (s *GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata) Marsh // GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata: The long // running operation metadata for delete processor method. type GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata struct { + // CommonMetadata: The basic metadata of the long running operation. + CommonMetadata *GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata `json:"commonMetadata,omitempty"` + // CreateTime: The creation time of the operation. CreateTime string `json:"createTime,omitempty"` @@ -362,7 +388,7 @@ type GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata struct { // UpdateTime: The last update time of the operation. UpdateTime string `json:"updateTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "CreateTime") to + // ForceSendFields is a list of field names (e.g. "CommonMetadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -370,12 +396,13 @@ type GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CreateTime") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "CommonMetadata") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } @@ -385,9 +412,77 @@ func (s *GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata) MarshalJSON() ([ return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata: The +// long running operation metadata for delete processor version method. +type GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata struct { + // CommonMetadata: The basic metadata of the long running operation. + CommonMetadata *GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata `json:"commonMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CommonMetadata") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "CommonMetadata") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata: The +// long running operation metadata for deploy processor version method. +type GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata struct { + // CommonMetadata: The basic metadata of the long running operation. + CommonMetadata *GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata `json:"commonMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CommonMetadata") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "CommonMetadata") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionResponse: +// Response message for the deploy processor version method. +type GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionResponse struct { +} + // GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata: The long // running operation metadata for disable processor method. type GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata struct { + // CommonMetadata: The basic metadata of the long running operation. + CommonMetadata *GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata `json:"commonMetadata,omitempty"` + // CreateTime: The creation time of the operation. CreateTime string `json:"createTime,omitempty"` @@ -412,7 +507,7 @@ type GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata struct { // UpdateTime: The last update time of the operation. UpdateTime string `json:"updateTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "CreateTime") to + // ForceSendFields is a list of field names (e.g. "CommonMetadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -420,12 +515,13 @@ type GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CreateTime") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "CommonMetadata") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } @@ -444,6 +540,9 @@ type GoogleCloudDocumentaiUiv1beta3DisableProcessorResponse struct { // GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata: The long // running operation metadata for enable processor method. type GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata struct { + // CommonMetadata: The basic metadata of the long running operation. + CommonMetadata *GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata `json:"commonMetadata,omitempty"` + // CreateTime: The creation time of the operation. CreateTime string `json:"createTime,omitempty"` @@ -468,7 +567,7 @@ type GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata struct { // UpdateTime: The last update time of the operation. UpdateTime string `json:"updateTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "CreateTime") to + // ForceSendFields is a list of field names (e.g. "CommonMetadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -476,12 +575,13 @@ type GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CreateTime") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "CommonMetadata") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } @@ -497,32 +597,50 @@ func (s *GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata) MarshalJSON() ([ type GoogleCloudDocumentaiUiv1beta3EnableProcessorResponse struct { } -// GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata: The -// long running operation metadata for UpdateLabelerPool. -type GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata struct { - // CreateTime: The creation time of the operation. - CreateTime string `json:"createTime,omitempty"` +// GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata: The +// long running operation metadata for the undeploy processor version +// method. +type GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata struct { + // CommonMetadata: The basic metadata of the long running operation. + CommonMetadata *GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata `json:"commonMetadata,omitempty"` - // State: Used only when Operation.done is false. - // - // Possible values: - // "STATE_UNSPECIFIED" - Unspecified state. - // "RUNNING" - Operation is still running. - // "CANCELLING" - Operation is being cancelled. - // "SUCCEEDED" - Operation succeeded. - // "FAILED" - Operation failed. - // "CANCELLED" - Operation is cancelled. - State string `json:"state,omitempty"` + // ForceSendFields is a list of field names (e.g. "CommonMetadata") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` - // StateMessage: A message providing more details about the current - // state of processing. For example, the error message if the operation - // is failed. - StateMessage string `json:"stateMessage,omitempty"` + // NullFields is a list of field names (e.g. "CommonMetadata") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} - // UpdateTime: The last update time of the operation. - UpdateTime string `json:"updateTime,omitempty"` +func (s *GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // ForceSendFields is a list of field names (e.g. "CreateTime") to +// GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse: +// Response message for the undeploy processor version method. +type GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse struct { +} + +// GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata: The +// long running operation metadata for updating the human review +// configuration. +type GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata struct { + // CommonMetadata: The basic metadata of the long running operation. + CommonMetadata *GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata `json:"commonMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CommonMetadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -530,12 +648,43 @@ type GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CreateTime") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "CommonMetadata") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata: The +// long running operation metadata for UpdateLabelerPool. +type GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata struct { + // CommonMetadata: The basic metadata of the long running operation. + CommonMetadata *GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata `json:"commonMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CommonMetadata") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "CommonMetadata") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } @@ -777,23 +926,21 @@ func (s *GoogleCloudDocumentaiV1beta1DocumentEntity) UnmarshalJSON(data []byte) // GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue: Parsed and // normalized entity value. type GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue struct { - // AddressValue: Postal address. See also: https: - // //github.com/googleapis/googleapis/blob/ // - // master/google/type/postal_address.proto + // AddressValue: Postal address. See also: + // https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto AddressValue *GoogleTypePostalAddress `json:"addressValue,omitempty"` - // DateValue: Date value. Includes year, month, day. See also: https: - // //github.com/googleapis/googleapis/blob/master/google/type/date.proto + // DateValue: Date value. Includes year, month, day. See also: + // https://github.com/googleapis/googleapis/blob/master/google/type/date.proto DateValue *GoogleTypeDate `json:"dateValue,omitempty"` // DatetimeValue: DateTime value. Includes date, time, and timezone. See - // also: https: //github.com/googleapis/googleapis/blob/ // - // master/google/type/datetime.proto + // also: + // https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto DatetimeValue *GoogleTypeDateTime `json:"datetimeValue,omitempty"` - // MoneyValue: Money value. See also: https: - // //github.com/googleapis/googleapis/blob/ // - // master/google/type/money.proto + // MoneyValue: Money value. See also: + // https://github.com/googleapis/googleapis/blob/master/google/type/money.proto MoneyValue *GoogleTypeMoney `json:"moneyValue,omitempty"` // Text: Required. Normalized entity value stored as a string. This @@ -993,7 +1140,8 @@ type GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef struct { // "FORM_FIELD" - References a Page.form_fields element. LayoutType string `json:"layoutType,omitempty"` - // Page: Required. Index into the Document.pages element + // Page: Required. Index into the Document.pages element, for example + // using Document.pages to locate the related page element. Page int64 `json:"page,omitempty,string"` // ForceSendFields is a list of field names (e.g. "BoundingPoly") to @@ -2630,23 +2778,21 @@ func (s *GoogleCloudDocumentaiV1beta2DocumentEntity) UnmarshalJSON(data []byte) // GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue: Parsed and // normalized entity value. type GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue struct { - // AddressValue: Postal address. See also: https: - // //github.com/googleapis/googleapis/blob/ // - // master/google/type/postal_address.proto + // AddressValue: Postal address. See also: + // https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto AddressValue *GoogleTypePostalAddress `json:"addressValue,omitempty"` - // DateValue: Date value. Includes year, month, day. See also: https: - // //github.com/googleapis/googleapis/blob/master/google/type/date.proto + // DateValue: Date value. Includes year, month, day. See also: + // https://github.com/googleapis/googleapis/blob/master/google/type/date.proto DateValue *GoogleTypeDate `json:"dateValue,omitempty"` // DatetimeValue: DateTime value. Includes date, time, and timezone. See - // also: https: //github.com/googleapis/googleapis/blob/ // - // master/google/type/datetime.proto + // also: + // https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto DatetimeValue *GoogleTypeDateTime `json:"datetimeValue,omitempty"` - // MoneyValue: Money value. See also: https: - // //github.com/googleapis/googleapis/blob/ // - // master/google/type/money.proto + // MoneyValue: Money value. See also: + // https://github.com/googleapis/googleapis/blob/master/google/type/money.proto MoneyValue *GoogleTypeMoney `json:"moneyValue,omitempty"` // Text: Required. Normalized entity value stored as a string. This @@ -2901,7 +3047,8 @@ type GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef struct { // "FORM_FIELD" - References a Page.form_fields element. LayoutType string `json:"layoutType,omitempty"` - // Page: Required. Index into the Document.pages element + // Page: Required. Index into the Document.pages element, for example + // using Document.pages to locate the related page element. Page int64 `json:"page,omitempty,string"` // ForceSendFields is a list of field names (e.g. "BoundingPoly") to @@ -4718,23 +4865,21 @@ func (s *GoogleCloudDocumentaiV1beta3DocumentEntity) UnmarshalJSON(data []byte) // GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue: Parsed and // normalized entity value. type GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue struct { - // AddressValue: Postal address. See also: https: - // //github.com/googleapis/googleapis/blob/ // - // master/google/type/postal_address.proto + // AddressValue: Postal address. See also: + // https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto AddressValue *GoogleTypePostalAddress `json:"addressValue,omitempty"` - // DateValue: Date value. Includes year, month, day. See also: https: - // //github.com/googleapis/googleapis/blob/master/google/type/date.proto + // DateValue: Date value. Includes year, month, day. See also: + // https://github.com/googleapis/googleapis/blob/master/google/type/date.proto DateValue *GoogleTypeDate `json:"dateValue,omitempty"` // DatetimeValue: DateTime value. Includes date, time, and timezone. See - // also: https: //github.com/googleapis/googleapis/blob/ // - // master/google/type/datetime.proto + // also: + // https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto DatetimeValue *GoogleTypeDateTime `json:"datetimeValue,omitempty"` - // MoneyValue: Money value. See also: https: - // //github.com/googleapis/googleapis/blob/ // - // master/google/type/money.proto + // MoneyValue: Money value. See also: + // https://github.com/googleapis/googleapis/blob/master/google/type/money.proto MoneyValue *GoogleTypeMoney `json:"moneyValue,omitempty"` // Text: Required. Normalized entity value stored as a string. This @@ -4934,7 +5079,8 @@ type GoogleCloudDocumentaiV1beta3DocumentPageAnchorPageRef struct { // "FORM_FIELD" - References a Page.form_fields element. LayoutType string `json:"layoutType,omitempty"` - // Page: Required. Index into the Document.pages element + // Page: Required. Index into the Document.pages element, for example + // using Document.pages to locate the related page element. Page int64 `json:"page,omitempty,string"` // ForceSendFields is a list of field names (e.g. "BoundingPoly") to @@ -6622,27 +6768,27 @@ func (s *GoogleTypeColor) UnmarshalJSON(data []byte) error { return nil } -// GoogleTypeDate: Represents a whole or partial calendar date, e.g. a -// birthday. The time of day and time zone are either specified -// elsewhere or are not significant. The date is relative to the -// Proleptic Gregorian Calendar. This can represent: * A full date, with -// non-zero year, month and day values * A month and day value, with a -// zero year, e.g. an anniversary * A year on its own, with zero month -// and day values * A year and month value, with a zero day, e.g. a -// credit card expiration date Related types are google.type.TimeOfDay -// and `google.protobuf.Timestamp`. +// GoogleTypeDate: 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`. type GoogleTypeDate struct { - // Day: Day of month. Must be from 1 to 31 and valid for the year and - // month, or 0 if specifying a year by itself or a year and month where - // the day is not significant. + // Day: 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. Day int64 `json:"day,omitempty"` - // Month: Month of year. Must be from 1 to 12, or 0 if specifying a year + // Month: Month of a year. Must be from 1 to 12, or 0 to specify a year // without a month and day. Month int64 `json:"month,omitempty"` - // Year: Year of date. Must be from 1 to 9999, or 0 if specifying a date - // without a year. + // Year: Year of the date. Must be from 1 to 9999, or 0 to specify a + // date without a year. Year int64 `json:"year,omitempty"` // ForceSendFields is a list of field names (e.g. "Day") to @@ -6668,7 +6814,8 @@ func (s *GoogleTypeDate) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleTypeDateTime: Represents civil time in one of a few possible +// GoogleTypeDateTime: Represents civil time (or occasionally physical +// time). This type can represent a civil time in one of a few possible // ways: * When utc_offset is set and time_zone is unset: a civil time // on a calendar day with a particular offset from UTC. * When time_zone // is set and utc_offset is unset: a civil time on a calendar day in a @@ -6676,9 +6823,13 @@ func (s *GoogleTypeDate) MarshalJSON() ([]byte, error) { // a civil time on a calendar day in local time. The date is relative to // the Proleptic Gregorian Calendar. If year is 0, the DateTime is // considered not to have a specific year. month and day must have -// valid, non-zero values. This type is more flexible than some -// applications may want. Make sure to document and validate your -// application's limitations. +// valid, non-zero values. This type may also be used to represent a +// physical time if all the date and time fields are set and either case +// of the `time_offset` oneof is set. Consider using `Timestamp` message +// for physical time instead. If your use case also would like to store +// the user's timezone, that can be done in another field. This type is +// more flexible than some applications may want. Make sure to document +// and validate your application's limitations. type GoogleTypeDateTime struct { // Day: Required. Day of month. Must be from 1 to 31 and valid for the // year and month. @@ -6742,7 +6893,7 @@ func (s *GoogleTypeDateTime) MarshalJSON() ([]byte, error) { // GoogleTypeMoney: Represents an amount of money with its currency // type. type GoogleTypeMoney struct { - // CurrencyCode: The 3-letter currency code defined in ISO 4217. + // CurrencyCode: The three-letter currency code defined in ISO 4217. CurrencyCode string `json:"currencyCode,omitempty"` // Nanos: Number of nano (10^-9) units of the amount. The value must be @@ -6989,7 +7140,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201027") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7155,7 +7306,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201027") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7340,7 +7491,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201027") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7476,7 +7627,7 @@ func (c *ProjectsLocationsProcessorsBatchProcessCall) Header() http.Header { func (c *ProjectsLocationsProcessorsBatchProcessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201027") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7549,7 +7700,7 @@ func (c *ProjectsLocationsProcessorsBatchProcessCall) Do(opts ...googleapi.CallO // ], // "parameters": { // "name": { - // "description": "Required. The processor resource name.", + // "description": "Required. The resource name of Processor or ProcessorVersion. Format: projects/{project}/locations/{location}/processors/{processor}, or projects/{project}/locations/{location}/processors/{processor}/processorVerions/{processorVersion}", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+$", // "required": true, @@ -7616,7 +7767,7 @@ func (c *ProjectsLocationsProcessorsProcessCall) Header() http.Header { func (c *ProjectsLocationsProcessorsProcessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201027") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7691,7 +7842,7 @@ func (c *ProjectsLocationsProcessorsProcessCall) Do(opts ...googleapi.CallOption // ], // "parameters": { // "name": { - // "description": "Required. The processor resource name.", + // "description": "Required. The resource name of the Processor or ProcessorVersion to use for processing. If a Processor is specified, the server will use its default version. Format: projects/{project}/locations/{location}/processors/{processor}, or projects/{project}/locations/{location}/processors/{processor}/processorVerions/{processorVersion}", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+$", // "required": true, @@ -7759,7 +7910,7 @@ func (c *ProjectsLocationsProcessorsHumanReviewConfigReviewDocumentCall) Header( func (c *ProjectsLocationsProcessorsHumanReviewConfigReviewDocumentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201027") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7852,3 +8003,286 @@ func (c *ProjectsLocationsProcessorsHumanReviewConfigReviewDocumentCall) Do(opts // } } + +// method id "documentai.projects.locations.processors.processorVersions.batchProcess": + +type ProjectsLocationsProcessorsProcessorVersionsBatchProcessCall struct { + s *Service + name string + googleclouddocumentaiv1beta3batchprocessrequest *GoogleCloudDocumentaiV1beta3BatchProcessRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// BatchProcess: LRO endpoint to batch process many documents. The +// output is written to Cloud Storage as JSON in the [Document] format. +func (r *ProjectsLocationsProcessorsProcessorVersionsService) BatchProcess(name string, googleclouddocumentaiv1beta3batchprocessrequest *GoogleCloudDocumentaiV1beta3BatchProcessRequest) *ProjectsLocationsProcessorsProcessorVersionsBatchProcessCall { + c := &ProjectsLocationsProcessorsProcessorVersionsBatchProcessCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.googleclouddocumentaiv1beta3batchprocessrequest = googleclouddocumentaiv1beta3batchprocessrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsProcessorsProcessorVersionsBatchProcessCall) Fields(s ...googleapi.Field) *ProjectsLocationsProcessorsProcessorVersionsBatchProcessCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsProcessorsProcessorVersionsBatchProcessCall) Context(ctx context.Context) *ProjectsLocationsProcessorsProcessorVersionsBatchProcessCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsProcessorsProcessorVersionsBatchProcessCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsProcessorsProcessorVersionsBatchProcessCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddocumentaiv1beta3batchprocessrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta3/{+name}:batchProcess") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "documentai.projects.locations.processors.processorVersions.batchProcess" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsProcessorsProcessorVersionsBatchProcessCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleLongrunningOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "LRO endpoint to batch process many documents. The output is written to Cloud Storage as JSON in the [Document] format.", + // "flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions/{processorVersionsId}:batchProcess", + // "httpMethod": "POST", + // "id": "documentai.projects.locations.processors.processorVersions.batchProcess", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The resource name of Processor or ProcessorVersion. Format: projects/{project}/locations/{location}/processors/{processor}, or projects/{project}/locations/{location}/processors/{processor}/processorVerions/{processorVersion}", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+/processorVersions/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1beta3/{+name}:batchProcess", + // "request": { + // "$ref": "GoogleCloudDocumentaiV1beta3BatchProcessRequest" + // }, + // "response": { + // "$ref": "GoogleLongrunningOperation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "documentai.projects.locations.processors.processorVersions.process": + +type ProjectsLocationsProcessorsProcessorVersionsProcessCall struct { + s *Service + name string + googleclouddocumentaiv1beta3processrequest *GoogleCloudDocumentaiV1beta3ProcessRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Process: Processes a single document. +func (r *ProjectsLocationsProcessorsProcessorVersionsService) Process(name string, googleclouddocumentaiv1beta3processrequest *GoogleCloudDocumentaiV1beta3ProcessRequest) *ProjectsLocationsProcessorsProcessorVersionsProcessCall { + c := &ProjectsLocationsProcessorsProcessorVersionsProcessCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.googleclouddocumentaiv1beta3processrequest = googleclouddocumentaiv1beta3processrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsProcessorsProcessorVersionsProcessCall) Fields(s ...googleapi.Field) *ProjectsLocationsProcessorsProcessorVersionsProcessCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsProcessorsProcessorVersionsProcessCall) Context(ctx context.Context) *ProjectsLocationsProcessorsProcessorVersionsProcessCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsProcessorsProcessorVersionsProcessCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsProcessorsProcessorVersionsProcessCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddocumentaiv1beta3processrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta3/{+name}:process") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "documentai.projects.locations.processors.processorVersions.process" call. +// Exactly one of *GoogleCloudDocumentaiV1beta3ProcessResponse or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDocumentaiV1beta3ProcessResponse.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsProcessorsProcessorVersionsProcessCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDocumentaiV1beta3ProcessResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDocumentaiV1beta3ProcessResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Processes a single document.", + // "flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processors/{processorsId}/processorVersions/{processorVersionsId}:process", + // "httpMethod": "POST", + // "id": "documentai.projects.locations.processors.processorVersions.process", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The resource name of the Processor or ProcessorVersion to use for processing. If a Processor is specified, the server will use its default version. Format: projects/{project}/locations/{location}/processors/{processor}, or projects/{project}/locations/{location}/processors/{processor}/processorVerions/{processorVersion}", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/processors/[^/]+/processorVersions/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1beta3/{+name}:process", + // "request": { + // "$ref": "GoogleCloudDocumentaiV1beta3ProcessRequest" + // }, + // "response": { + // "$ref": "GoogleCloudDocumentaiV1beta3ProcessResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} diff --git a/domains/v1alpha2/domains-gen.go b/domains/v1alpha2/domains-gen.go index ec95b4ada67..ce4f9492918 100644 --- a/domains/v1alpha2/domains-gen.go +++ b/domains/v1alpha2/domains-gen.go @@ -2061,7 +2061,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2227,7 +2227,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2410,7 +2410,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2584,7 +2584,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2758,7 +2758,7 @@ func (c *ProjectsLocationsRegistrationsConfigureContactSettingsCall) Header() ht func (c *ProjectsLocationsRegistrationsConfigureContactSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2898,7 +2898,7 @@ func (c *ProjectsLocationsRegistrationsConfigureDnsSettingsCall) Header() http.H func (c *ProjectsLocationsRegistrationsConfigureDnsSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3039,7 +3039,7 @@ func (c *ProjectsLocationsRegistrationsConfigureManagementSettingsCall) Header() func (c *ProjectsLocationsRegistrationsConfigureManagementSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3179,7 +3179,7 @@ func (c *ProjectsLocationsRegistrationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3320,7 +3320,7 @@ func (c *ProjectsLocationsRegistrationsExportCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3469,7 +3469,7 @@ func (c *ProjectsLocationsRegistrationsGetCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3630,7 +3630,7 @@ func (c *ProjectsLocationsRegistrationsGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3814,7 +3814,7 @@ func (c *ProjectsLocationsRegistrationsListCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4000,7 +4000,7 @@ func (c *ProjectsLocationsRegistrationsPatchCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4155,7 +4155,7 @@ func (c *ProjectsLocationsRegistrationsRegisterCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsRegisterCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4297,7 +4297,7 @@ func (c *ProjectsLocationsRegistrationsResetAuthorizationCodeCall) Header() http func (c *ProjectsLocationsRegistrationsResetAuthorizationCodeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4449,7 +4449,7 @@ func (c *ProjectsLocationsRegistrationsRetrieveAuthorizationCodeCall) Header() h func (c *ProjectsLocationsRegistrationsRetrieveAuthorizationCodeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4603,7 +4603,7 @@ func (c *ProjectsLocationsRegistrationsRetrieveRegisterParametersCall) Header() func (c *ProjectsLocationsRegistrationsRetrieveRegisterParametersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4763,7 +4763,7 @@ func (c *ProjectsLocationsRegistrationsSearchDomainsCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsSearchDomainsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4905,7 +4905,7 @@ func (c *ProjectsLocationsRegistrationsSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5050,7 +5050,7 @@ func (c *ProjectsLocationsRegistrationsTestIamPermissionsCall) Header() http.Hea func (c *ProjectsLocationsRegistrationsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/domains/v1beta1/domains-gen.go b/domains/v1beta1/domains-gen.go index 59d66904086..3c93bd07ecc 100644 --- a/domains/v1beta1/domains-gen.go +++ b/domains/v1beta1/domains-gen.go @@ -2061,7 +2061,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2227,7 +2227,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2410,7 +2410,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2584,7 +2584,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2758,7 +2758,7 @@ func (c *ProjectsLocationsRegistrationsConfigureContactSettingsCall) Header() ht func (c *ProjectsLocationsRegistrationsConfigureContactSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2898,7 +2898,7 @@ func (c *ProjectsLocationsRegistrationsConfigureDnsSettingsCall) Header() http.H func (c *ProjectsLocationsRegistrationsConfigureDnsSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3039,7 +3039,7 @@ func (c *ProjectsLocationsRegistrationsConfigureManagementSettingsCall) Header() func (c *ProjectsLocationsRegistrationsConfigureManagementSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3179,7 +3179,7 @@ func (c *ProjectsLocationsRegistrationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3320,7 +3320,7 @@ func (c *ProjectsLocationsRegistrationsExportCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3469,7 +3469,7 @@ func (c *ProjectsLocationsRegistrationsGetCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3630,7 +3630,7 @@ func (c *ProjectsLocationsRegistrationsGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3814,7 +3814,7 @@ func (c *ProjectsLocationsRegistrationsListCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4000,7 +4000,7 @@ func (c *ProjectsLocationsRegistrationsPatchCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4155,7 +4155,7 @@ func (c *ProjectsLocationsRegistrationsRegisterCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsRegisterCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4297,7 +4297,7 @@ func (c *ProjectsLocationsRegistrationsResetAuthorizationCodeCall) Header() http func (c *ProjectsLocationsRegistrationsResetAuthorizationCodeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4449,7 +4449,7 @@ func (c *ProjectsLocationsRegistrationsRetrieveAuthorizationCodeCall) Header() h func (c *ProjectsLocationsRegistrationsRetrieveAuthorizationCodeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4603,7 +4603,7 @@ func (c *ProjectsLocationsRegistrationsRetrieveRegisterParametersCall) Header() func (c *ProjectsLocationsRegistrationsRetrieveRegisterParametersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4763,7 +4763,7 @@ func (c *ProjectsLocationsRegistrationsSearchDomainsCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsSearchDomainsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4905,7 +4905,7 @@ func (c *ProjectsLocationsRegistrationsSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5050,7 +5050,7 @@ func (c *ProjectsLocationsRegistrationsTestIamPermissionsCall) Header() http.Hea func (c *ProjectsLocationsRegistrationsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/domainsrdap/v1/domainsrdap-gen.go b/domainsrdap/v1/domainsrdap-gen.go index 5ca9855ef12..f099c1ed63c 100644 --- a/domainsrdap/v1/domainsrdap-gen.go +++ b/domainsrdap/v1/domainsrdap-gen.go @@ -449,7 +449,7 @@ func (c *AutnumGetCall) Header() http.Header { func (c *AutnumGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -588,7 +588,7 @@ func (c *DomainGetCall) Header() http.Header { func (c *DomainGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -730,7 +730,7 @@ func (c *EntityGetCall) Header() http.Header { func (c *EntityGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -872,7 +872,7 @@ func (c *IpGetCall) Header() http.Header { func (c *IpGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1019,7 +1019,7 @@ func (c *NameserverGetCall) Header() http.Header { func (c *NameserverGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1158,7 +1158,7 @@ func (c *V1GetDomainsCall) Header() http.Header { func (c *V1GetDomainsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1286,7 +1286,7 @@ func (c *V1GetEntitiesCall) Header() http.Header { func (c *V1GetEntitiesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1413,7 +1413,7 @@ func (c *V1GetHelpCall) Header() http.Header { func (c *V1GetHelpCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1541,7 +1541,7 @@ func (c *V1GetIpCall) Header() http.Header { func (c *V1GetIpCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1669,7 +1669,7 @@ func (c *V1GetNameserversCall) Header() http.Header { func (c *V1GetNameserversCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/doubleclickbidmanager/v1.1/doubleclickbidmanager-gen.go b/doubleclickbidmanager/v1.1/doubleclickbidmanager-gen.go index 92d46752831..43a6ad783dd 100644 --- a/doubleclickbidmanager/v1.1/doubleclickbidmanager-gen.go +++ b/doubleclickbidmanager/v1.1/doubleclickbidmanager-gen.go @@ -2775,7 +2775,7 @@ func (c *LineitemsDownloadlineitemsCall) Header() http.Header { func (c *LineitemsDownloadlineitemsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2901,7 +2901,7 @@ func (c *LineitemsUploadlineitemsCall) Header() http.Header { func (c *LineitemsUploadlineitemsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3034,7 +3034,7 @@ func (c *QueriesCreatequeryCall) Header() http.Header { func (c *QueriesCreatequeryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3167,7 +3167,7 @@ func (c *QueriesDeletequeryCall) Header() http.Header { func (c *QueriesDeletequeryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3280,7 +3280,7 @@ func (c *QueriesGetqueryCall) Header() http.Header { func (c *QueriesGetqueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3437,7 +3437,7 @@ func (c *QueriesListqueriesCall) Header() http.Header { func (c *QueriesListqueriesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3599,7 +3599,7 @@ func (c *QueriesRunqueryCall) Header() http.Header { func (c *QueriesRunqueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3741,7 +3741,7 @@ func (c *ReportsListreportsCall) Header() http.Header { func (c *ReportsListreportsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3906,7 +3906,7 @@ func (c *SdfDownloadCall) Header() http.Header { func (c *SdfDownloadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/doubleclickbidmanager/v1/doubleclickbidmanager-gen.go b/doubleclickbidmanager/v1/doubleclickbidmanager-gen.go index 3bf1eef39ec..ded5e304d61 100644 --- a/doubleclickbidmanager/v1/doubleclickbidmanager-gen.go +++ b/doubleclickbidmanager/v1/doubleclickbidmanager-gen.go @@ -1719,7 +1719,7 @@ func (c *LineitemsDownloadlineitemsCall) Header() http.Header { func (c *LineitemsDownloadlineitemsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1845,7 +1845,7 @@ func (c *LineitemsUploadlineitemsCall) Header() http.Header { func (c *LineitemsUploadlineitemsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1970,7 +1970,7 @@ func (c *QueriesCreatequeryCall) Header() http.Header { func (c *QueriesCreatequeryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2096,7 +2096,7 @@ func (c *QueriesDeletequeryCall) Header() http.Header { func (c *QueriesDeletequeryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2209,7 +2209,7 @@ func (c *QueriesGetqueryCall) Header() http.Header { func (c *QueriesGetqueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2351,7 +2351,7 @@ func (c *QueriesListqueriesCall) Header() http.Header { func (c *QueriesListqueriesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2473,7 +2473,7 @@ func (c *QueriesRunqueryCall) Header() http.Header { func (c *QueriesRunqueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2594,7 +2594,7 @@ func (c *ReportsListreportsCall) Header() http.Header { func (c *ReportsListreportsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2727,7 +2727,7 @@ func (c *SdfDownloadCall) Header() http.Header { func (c *SdfDownloadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/doubleclicksearch/v2/doubleclicksearch-gen.go b/doubleclicksearch/v2/doubleclicksearch-gen.go index 8238387269e..a2a80133bd5 100644 --- a/doubleclicksearch/v2/doubleclicksearch-gen.go +++ b/doubleclicksearch/v2/doubleclicksearch-gen.go @@ -1155,7 +1155,7 @@ func (c *ConversionGetCall) Header() http.Header { func (c *ConversionGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1368,7 +1368,7 @@ func (c *ConversionInsertCall) Header() http.Header { func (c *ConversionInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1493,7 +1493,7 @@ func (c *ConversionUpdateCall) Header() http.Header { func (c *ConversionUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1619,7 +1619,7 @@ func (c *ConversionUpdateAvailabilityCall) Header() http.Header { func (c *ConversionUpdateAvailabilityCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1744,7 +1744,7 @@ func (c *ReportsGenerateCall) Header() http.Header { func (c *ReportsGenerateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1880,7 +1880,7 @@ func (c *ReportsGetCall) Header() http.Header { func (c *ReportsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2025,7 +2025,7 @@ func (c *ReportsGetFileCall) Header() http.Header { func (c *ReportsGetFileCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2157,7 +2157,7 @@ func (c *ReportsRequestCall) Header() http.Header { func (c *ReportsRequestCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2295,7 +2295,7 @@ func (c *SavedColumnsListCall) Header() http.Header { func (c *SavedColumnsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/drive/v2/drive-gen.go b/drive/v2/drive-gen.go index d22aa4a198d..4fbbd782b40 100644 --- a/drive/v2/drive-gen.go +++ b/drive/v2/drive-gen.go @@ -4036,7 +4036,7 @@ func (c *AboutGetCall) Header() http.Header { func (c *AboutGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4191,7 +4191,7 @@ func (c *AppsGetCall) Header() http.Header { func (c *AppsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4367,7 +4367,7 @@ func (c *AppsListCall) Header() http.Header { func (c *AppsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4544,7 +4544,7 @@ func (c *ChangesGetCall) Header() http.Header { func (c *ChangesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4744,7 +4744,7 @@ func (c *ChangesGetStartPageTokenCall) Header() http.Header { func (c *ChangesGetStartPageTokenCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5016,7 +5016,7 @@ func (c *ChangesListCall) Header() http.Header { func (c *ChangesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5360,7 +5360,7 @@ func (c *ChangesWatchCall) Header() http.Header { func (c *ChangesWatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5574,7 +5574,7 @@ func (c *ChannelsStopCall) Header() http.Header { func (c *ChannelsStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5687,7 +5687,7 @@ func (c *ChildrenDeleteCall) Header() http.Header { func (c *ChildrenDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5815,7 +5815,7 @@ func (c *ChildrenGetCall) Header() http.Header { func (c *ChildrenGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5985,7 +5985,7 @@ func (c *ChildrenInsertCall) Header() http.Header { func (c *ChildrenInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6187,7 +6187,7 @@ func (c *ChildrenListCall) Header() http.Header { func (c *ChildrenListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6370,7 +6370,7 @@ func (c *CommentsDeleteCall) Header() http.Header { func (c *CommentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6500,7 +6500,7 @@ func (c *CommentsGetCall) Header() http.Header { func (c *CommentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6649,7 +6649,7 @@ func (c *CommentsInsertCall) Header() http.Header { func (c *CommentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6829,7 +6829,7 @@ func (c *CommentsListCall) Header() http.Header { func (c *CommentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7012,7 +7012,7 @@ func (c *CommentsPatchCall) Header() http.Header { func (c *CommentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7161,7 +7161,7 @@ func (c *CommentsUpdateCall) Header() http.Header { func (c *CommentsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7307,7 +7307,7 @@ func (c *DrivesDeleteCall) Header() http.Header { func (c *DrivesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7427,7 +7427,7 @@ func (c *DrivesGetCall) Header() http.Header { func (c *DrivesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7565,7 +7565,7 @@ func (c *DrivesHideCall) Header() http.Header { func (c *DrivesHideCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7694,7 +7694,7 @@ func (c *DrivesInsertCall) Header() http.Header { func (c *DrivesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7866,7 +7866,7 @@ func (c *DrivesListCall) Header() http.Header { func (c *DrivesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8032,7 +8032,7 @@ func (c *DrivesUnhideCall) Header() http.Header { func (c *DrivesUnhideCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8171,7 +8171,7 @@ func (c *DrivesUpdateCall) Header() http.Header { func (c *DrivesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8403,7 +8403,7 @@ func (c *FilesCopyCall) Header() http.Header { func (c *FilesCopyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8639,7 +8639,7 @@ func (c *FilesDeleteCall) Header() http.Header { func (c *FilesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8766,7 +8766,7 @@ func (c *FilesEmptyTrashCall) Header() http.Header { func (c *FilesEmptyTrashCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8874,7 +8874,7 @@ func (c *FilesExportCall) Header() http.Header { func (c *FilesExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9028,7 +9028,7 @@ func (c *FilesGenerateIdsCall) Header() http.Header { func (c *FilesGenerateIdsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9234,7 +9234,7 @@ func (c *FilesGetCall) Header() http.Header { func (c *FilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9572,7 +9572,7 @@ func (c *FilesInsertCall) Header() http.Header { func (c *FilesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9963,7 +9963,7 @@ func (c *FilesListCall) Header() http.Header { func (c *FilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10360,7 +10360,7 @@ func (c *FilesPatchCall) Header() http.Header { func (c *FilesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10636,7 +10636,7 @@ func (c *FilesTouchCall) Header() http.Header { func (c *FilesTouchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10815,7 +10815,7 @@ func (c *FilesTrashCall) Header() http.Header { func (c *FilesTrashCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10989,7 +10989,7 @@ func (c *FilesUntrashCall) Header() http.Header { func (c *FilesUntrashCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11328,7 +11328,7 @@ func (c *FilesUpdateCall) Header() http.Header { func (c *FilesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11686,7 +11686,7 @@ func (c *FilesWatchCall) Header() http.Header { func (c *FilesWatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11906,7 +11906,7 @@ func (c *ParentsDeleteCall) Header() http.Header { func (c *ParentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12034,7 +12034,7 @@ func (c *ParentsGetCall) Header() http.Header { func (c *ParentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12204,7 +12204,7 @@ func (c *ParentsInsertCall) Header() http.Header { func (c *ParentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12371,7 +12371,7 @@ func (c *ParentsListCall) Header() http.Header { func (c *ParentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12535,7 +12535,7 @@ func (c *PermissionsDeleteCall) Header() http.Header { func (c *PermissionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12700,7 +12700,7 @@ func (c *PermissionsGetCall) Header() http.Header { func (c *PermissionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12873,7 +12873,7 @@ func (c *PermissionsGetIdForEmailCall) Header() http.Header { func (c *PermissionsGetIdForEmailCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13073,7 +13073,7 @@ func (c *PermissionsInsertCall) Header() http.Header { func (c *PermissionsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13314,7 +13314,7 @@ func (c *PermissionsListCall) Header() http.Header { func (c *PermissionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13551,7 +13551,7 @@ func (c *PermissionsPatchCall) Header() http.Header { func (c *PermissionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13770,7 +13770,7 @@ func (c *PermissionsUpdateCall) Header() http.Header { func (c *PermissionsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13954,7 +13954,7 @@ func (c *PropertiesDeleteCall) Header() http.Header { func (c *PropertiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14091,7 +14091,7 @@ func (c *PropertiesGetCall) Header() http.Header { func (c *PropertiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14245,7 +14245,7 @@ func (c *PropertiesInsertCall) Header() http.Header { func (c *PropertiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14395,7 +14395,7 @@ func (c *PropertiesListCall) Header() http.Header { func (c *PropertiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14544,7 +14544,7 @@ func (c *PropertiesPatchCall) Header() http.Header { func (c *PropertiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14709,7 +14709,7 @@ func (c *PropertiesUpdateCall) Header() http.Header { func (c *PropertiesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14866,7 +14866,7 @@ func (c *RepliesDeleteCall) Header() http.Header { func (c *RepliesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15005,7 +15005,7 @@ func (c *RepliesGetCall) Header() http.Header { func (c *RepliesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15164,7 +15164,7 @@ func (c *RepliesInsertCall) Header() http.Header { func (c *RepliesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15346,7 +15346,7 @@ func (c *RepliesListCall) Header() http.Header { func (c *RepliesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15534,7 +15534,7 @@ func (c *RepliesPatchCall) Header() http.Header { func (c *RepliesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15693,7 +15693,7 @@ func (c *RepliesUpdateCall) Header() http.Header { func (c *RepliesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15851,7 +15851,7 @@ func (c *RevisionsDeleteCall) Header() http.Header { func (c *RevisionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15974,7 +15974,7 @@ func (c *RevisionsGetCall) Header() http.Header { func (c *RevisionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16145,7 +16145,7 @@ func (c *RevisionsListCall) Header() http.Header { func (c *RevisionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16321,7 +16321,7 @@ func (c *RevisionsPatchCall) Header() http.Header { func (c *RevisionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16471,7 +16471,7 @@ func (c *RevisionsUpdateCall) Header() http.Header { func (c *RevisionsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16617,7 +16617,7 @@ func (c *TeamdrivesDeleteCall) Header() http.Header { func (c *TeamdrivesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16737,7 +16737,7 @@ func (c *TeamdrivesGetCall) Header() http.Header { func (c *TeamdrivesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16876,7 +16876,7 @@ func (c *TeamdrivesInsertCall) Header() http.Header { func (c *TeamdrivesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17048,7 +17048,7 @@ func (c *TeamdrivesListCall) Header() http.Header { func (c *TeamdrivesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17225,7 +17225,7 @@ func (c *TeamdrivesUpdateCall) Header() http.Header { func (c *TeamdrivesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/drive/v3/drive-gen.go b/drive/v3/drive-gen.go index dffdf8c5819..7ad6de862b3 100644 --- a/drive/v3/drive-gen.go +++ b/drive/v3/drive-gen.go @@ -3017,7 +3017,7 @@ func (c *AboutGetCall) Header() http.Header { func (c *AboutGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3180,7 +3180,7 @@ func (c *ChangesGetStartPageTokenCall) Header() http.Header { func (c *ChangesGetStartPageTokenCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3436,7 +3436,7 @@ func (c *ChangesListCall) Header() http.Header { func (c *ChangesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3743,7 +3743,7 @@ func (c *ChangesWatchCall) Header() http.Header { func (c *ChangesWatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3956,7 +3956,7 @@ func (c *ChannelsStopCall) Header() http.Header { func (c *ChannelsStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4059,7 +4059,7 @@ func (c *CommentsCreateCall) Header() http.Header { func (c *CommentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4198,7 +4198,7 @@ func (c *CommentsDeleteCall) Header() http.Header { func (c *CommentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4328,7 +4328,7 @@ func (c *CommentsGetCall) Header() http.Header { func (c *CommentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4517,7 +4517,7 @@ func (c *CommentsListCall) Header() http.Header { func (c *CommentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4700,7 +4700,7 @@ func (c *CommentsUpdateCall) Header() http.Header { func (c *CommentsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4846,7 +4846,7 @@ func (c *DrivesCreateCall) Header() http.Header { func (c *DrivesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4980,7 +4980,7 @@ func (c *DrivesDeleteCall) Header() http.Header { func (c *DrivesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5100,7 +5100,7 @@ func (c *DrivesGetCall) Header() http.Header { func (c *DrivesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5238,7 +5238,7 @@ func (c *DrivesHideCall) Header() http.Header { func (c *DrivesHideCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5405,7 +5405,7 @@ func (c *DrivesListCall) Header() http.Header { func (c *DrivesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5571,7 +5571,7 @@ func (c *DrivesUnhideCall) Header() http.Header { func (c *DrivesUnhideCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5710,7 +5710,7 @@ func (c *DrivesUpdateCall) Header() http.Header { func (c *DrivesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5915,7 +5915,7 @@ func (c *FilesCopyCall) Header() http.Header { func (c *FilesCopyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6202,7 +6202,7 @@ func (c *FilesCreateCall) Header() http.Header { func (c *FilesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6447,7 +6447,7 @@ func (c *FilesDeleteCall) Header() http.Header { func (c *FilesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6574,7 +6574,7 @@ func (c *FilesEmptyTrashCall) Header() http.Header { func (c *FilesEmptyTrashCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6682,7 +6682,7 @@ func (c *FilesExportCall) Header() http.Header { func (c *FilesExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6836,7 +6836,7 @@ func (c *FilesGenerateIdsCall) Header() http.Header { func (c *FilesGenerateIdsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7016,7 +7016,7 @@ func (c *FilesGetCall) Header() http.Header { func (c *FilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7329,7 +7329,7 @@ func (c *FilesListCall) Header() http.Header { func (c *FilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7676,7 +7676,7 @@ func (c *FilesUpdateCall) Header() http.Header { func (c *FilesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7946,7 +7946,7 @@ func (c *FilesWatchCall) Header() http.Header { func (c *FilesWatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8203,7 +8203,7 @@ func (c *PermissionsCreateCall) Header() http.Header { func (c *PermissionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8413,7 +8413,7 @@ func (c *PermissionsDeleteCall) Header() http.Header { func (c *PermissionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8578,7 +8578,7 @@ func (c *PermissionsGetCall) Header() http.Header { func (c *PermissionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8802,7 +8802,7 @@ func (c *PermissionsListCall) Header() http.Header { func (c *PermissionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9040,7 +9040,7 @@ func (c *PermissionsUpdateCall) Header() http.Header { func (c *PermissionsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9219,7 +9219,7 @@ func (c *RepliesCreateCall) Header() http.Header { func (c *RepliesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9368,7 +9368,7 @@ func (c *RepliesDeleteCall) Header() http.Header { func (c *RepliesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9508,7 +9508,7 @@ func (c *RepliesGetCall) Header() http.Header { func (c *RepliesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9699,7 +9699,7 @@ func (c *RepliesListCall) Header() http.Header { func (c *RepliesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9887,7 +9887,7 @@ func (c *RepliesUpdateCall) Header() http.Header { func (c *RepliesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10045,7 +10045,7 @@ func (c *RevisionsDeleteCall) Header() http.Header { func (c *RevisionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10177,7 +10177,7 @@ func (c *RevisionsGetCall) Header() http.Header { func (c *RevisionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10372,7 +10372,7 @@ func (c *RevisionsListCall) Header() http.Header { func (c *RevisionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10548,7 +10548,7 @@ func (c *RevisionsUpdateCall) Header() http.Header { func (c *RevisionsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10695,7 +10695,7 @@ func (c *TeamdrivesCreateCall) Header() http.Header { func (c *TeamdrivesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10828,7 +10828,7 @@ func (c *TeamdrivesDeleteCall) Header() http.Header { func (c *TeamdrivesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10948,7 +10948,7 @@ func (c *TeamdrivesGetCall) Header() http.Header { func (c *TeamdrivesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11125,7 +11125,7 @@ func (c *TeamdrivesListCall) Header() http.Header { func (c *TeamdrivesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11302,7 +11302,7 @@ func (c *TeamdrivesUpdateCall) Header() http.Header { func (c *TeamdrivesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/driveactivity/v2/driveactivity-gen.go b/driveactivity/v2/driveactivity-gen.go index 1369aa8156e..9f77dcbaca2 100644 --- a/driveactivity/v2/driveactivity-gen.go +++ b/driveactivity/v2/driveactivity-gen.go @@ -1875,7 +1875,7 @@ func (c *ActivityQueryCall) Header() http.Header { func (c *ActivityQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/factchecktools/v1alpha1/factchecktools-gen.go b/factchecktools/v1alpha1/factchecktools-gen.go index 7ee02d79995..e4f63f26148 100644 --- a/factchecktools/v1alpha1/factchecktools-gen.go +++ b/factchecktools/v1alpha1/factchecktools-gen.go @@ -730,7 +730,7 @@ func (c *ClaimsSearchCall) Header() http.Header { func (c *ClaimsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -910,7 +910,7 @@ func (c *PagesCreateCall) Header() http.Header { func (c *PagesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1038,7 +1038,7 @@ func (c *PagesDeleteCall) Header() http.Header { func (c *PagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1179,7 +1179,7 @@ func (c *PagesGetCall) Header() http.Header { func (c *PagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1371,7 +1371,7 @@ func (c *PagesListCall) Header() http.Header { func (c *PagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1549,7 +1549,7 @@ func (c *PagesUpdateCall) Header() http.Header { func (c *PagesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/fcm/v1/fcm-gen.go b/fcm/v1/fcm-gen.go index f5d463934b3..8acc32a8072 100644 --- a/fcm/v1/fcm-gen.go +++ b/fcm/v1/fcm-gen.go @@ -1039,7 +1039,7 @@ func (c *ProjectsMessagesSendCall) Header() http.Header { func (c *ProjectsMessagesSendCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/file/v1/file-gen.go b/file/v1/file-gen.go index fbe2d310137..39b72e87aae 100644 --- a/file/v1/file-gen.go +++ b/file/v1/file-gen.go @@ -1815,7 +1815,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1989,7 +1989,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2177,7 +2177,7 @@ func (c *ProjectsLocationsBackupsCreateCall) Header() http.Header { func (c *ProjectsLocationsBackupsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2320,7 +2320,7 @@ func (c *ProjectsLocationsBackupsDeleteCall) Header() http.Header { func (c *ProjectsLocationsBackupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2461,7 +2461,7 @@ func (c *ProjectsLocationsBackupsGetCall) Header() http.Header { func (c *ProjectsLocationsBackupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2634,7 +2634,7 @@ func (c *ProjectsLocationsBackupsListCall) Header() http.Header { func (c *ProjectsLocationsBackupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2819,7 +2819,7 @@ func (c *ProjectsLocationsBackupsPatchCall) Header() http.Header { func (c *ProjectsLocationsBackupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2976,7 +2976,7 @@ func (c *ProjectsLocationsInstancesCreateCall) Header() http.Header { func (c *ProjectsLocationsInstancesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3119,7 +3119,7 @@ func (c *ProjectsLocationsInstancesDeleteCall) Header() http.Header { func (c *ProjectsLocationsInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3260,7 +3260,7 @@ func (c *ProjectsLocationsInstancesGetCall) Header() http.Header { func (c *ProjectsLocationsInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3433,7 +3433,7 @@ func (c *ProjectsLocationsInstancesListCall) Header() http.Header { func (c *ProjectsLocationsInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3619,7 +3619,7 @@ func (c *ProjectsLocationsInstancesPatchCall) Header() http.Header { func (c *ProjectsLocationsInstancesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3767,7 +3767,7 @@ func (c *ProjectsLocationsInstancesRestoreCall) Header() http.Header { func (c *ProjectsLocationsInstancesRestoreCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3916,7 +3916,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4057,7 +4057,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4200,7 +4200,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4374,7 +4374,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/file/v1beta1/file-gen.go b/file/v1beta1/file-gen.go index 8ddd75d8c28..6ce58950676 100644 --- a/file/v1beta1/file-gen.go +++ b/file/v1beta1/file-gen.go @@ -1825,7 +1825,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1999,7 +1999,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2186,7 +2186,7 @@ func (c *ProjectsLocationsBackupsCreateCall) Header() http.Header { func (c *ProjectsLocationsBackupsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2329,7 +2329,7 @@ func (c *ProjectsLocationsBackupsDeleteCall) Header() http.Header { func (c *ProjectsLocationsBackupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2470,7 +2470,7 @@ func (c *ProjectsLocationsBackupsGetCall) Header() http.Header { func (c *ProjectsLocationsBackupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2643,7 +2643,7 @@ func (c *ProjectsLocationsBackupsListCall) Header() http.Header { func (c *ProjectsLocationsBackupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2828,7 +2828,7 @@ func (c *ProjectsLocationsBackupsPatchCall) Header() http.Header { func (c *ProjectsLocationsBackupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2987,7 +2987,7 @@ func (c *ProjectsLocationsInstancesCreateCall) Header() http.Header { func (c *ProjectsLocationsInstancesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3130,7 +3130,7 @@ func (c *ProjectsLocationsInstancesDeleteCall) Header() http.Header { func (c *ProjectsLocationsInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3271,7 +3271,7 @@ func (c *ProjectsLocationsInstancesGetCall) Header() http.Header { func (c *ProjectsLocationsInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3444,7 +3444,7 @@ func (c *ProjectsLocationsInstancesListCall) Header() http.Header { func (c *ProjectsLocationsInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3630,7 +3630,7 @@ func (c *ProjectsLocationsInstancesPatchCall) Header() http.Header { func (c *ProjectsLocationsInstancesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3778,7 +3778,7 @@ func (c *ProjectsLocationsInstancesRestoreCall) Header() http.Header { func (c *ProjectsLocationsInstancesRestoreCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3927,7 +3927,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4068,7 +4068,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4211,7 +4211,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4385,7 +4385,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/firebase/v1beta1/firebase-gen.go b/firebase/v1beta1/firebase-gen.go index 116939f4d05..6133f3aed20 100644 --- a/firebase/v1beta1/firebase-gen.go +++ b/firebase/v1beta1/firebase-gen.go @@ -1850,7 +1850,7 @@ func (c *AvailableProjectsListCall) Header() http.Header { func (c *AvailableProjectsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2019,7 +2019,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2179,7 +2179,7 @@ func (c *ProjectsAddFirebaseCall) Header() http.Header { func (c *ProjectsAddFirebaseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2360,7 +2360,7 @@ func (c *ProjectsAddGoogleAnalyticsCall) Header() http.Header { func (c *ProjectsAddGoogleAnalyticsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2510,7 +2510,7 @@ func (c *ProjectsGetCall) Header() http.Header { func (c *ProjectsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2662,7 +2662,7 @@ func (c *ProjectsGetAdminSdkConfigCall) Header() http.Header { func (c *ProjectsGetAdminSdkConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2812,7 +2812,7 @@ func (c *ProjectsGetAnalyticsDetailsCall) Header() http.Header { func (c *ProjectsGetAnalyticsDetailsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2983,7 +2983,7 @@ func (c *ProjectsListCall) Header() http.Header { func (c *ProjectsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3151,7 +3151,7 @@ func (c *ProjectsPatchCall) Header() http.Header { func (c *ProjectsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3310,7 +3310,7 @@ func (c *ProjectsRemoveAnalyticsCall) Header() http.Header { func (c *ProjectsRemoveAnalyticsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3508,7 +3508,7 @@ func (c *ProjectsSearchAppsCall) Header() http.Header { func (c *ProjectsSearchAppsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3687,7 +3687,7 @@ func (c *ProjectsAndroidAppsCreateCall) Header() http.Header { func (c *ProjectsAndroidAppsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3837,7 +3837,7 @@ func (c *ProjectsAndroidAppsGetCall) Header() http.Header { func (c *ProjectsAndroidAppsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3985,7 +3985,7 @@ func (c *ProjectsAndroidAppsGetConfigCall) Header() http.Header { func (c *ProjectsAndroidAppsGetConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4152,7 +4152,7 @@ func (c *ProjectsAndroidAppsListCall) Header() http.Header { func (c *ProjectsAndroidAppsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4330,7 +4330,7 @@ func (c *ProjectsAndroidAppsPatchCall) Header() http.Header { func (c *ProjectsAndroidAppsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4477,7 +4477,7 @@ func (c *ProjectsAndroidAppsShaCreateCall) Header() http.Header { func (c *ProjectsAndroidAppsShaCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4616,7 +4616,7 @@ func (c *ProjectsAndroidAppsShaDeleteCall) Header() http.Header { func (c *ProjectsAndroidAppsShaDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4759,7 +4759,7 @@ func (c *ProjectsAndroidAppsShaListCall) Header() http.Header { func (c *ProjectsAndroidAppsShaListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4941,7 +4941,7 @@ func (c *ProjectsAvailableLocationsListCall) Header() http.Header { func (c *ProjectsAvailableLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5141,7 +5141,7 @@ func (c *ProjectsDefaultLocationFinalizeCall) Header() http.Header { func (c *ProjectsDefaultLocationFinalizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5286,7 +5286,7 @@ func (c *ProjectsIosAppsCreateCall) Header() http.Header { func (c *ProjectsIosAppsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5436,7 +5436,7 @@ func (c *ProjectsIosAppsGetCall) Header() http.Header { func (c *ProjectsIosAppsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5584,7 +5584,7 @@ func (c *ProjectsIosAppsGetConfigCall) Header() http.Header { func (c *ProjectsIosAppsGetConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5751,7 +5751,7 @@ func (c *ProjectsIosAppsListCall) Header() http.Header { func (c *ProjectsIosAppsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5929,7 +5929,7 @@ func (c *ProjectsIosAppsPatchCall) Header() http.Header { func (c *ProjectsIosAppsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6080,7 +6080,7 @@ func (c *ProjectsWebAppsCreateCall) Header() http.Header { func (c *ProjectsWebAppsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6230,7 +6230,7 @@ func (c *ProjectsWebAppsGetCall) Header() http.Header { func (c *ProjectsWebAppsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6378,7 +6378,7 @@ func (c *ProjectsWebAppsGetConfigCall) Header() http.Header { func (c *ProjectsWebAppsGetConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6545,7 +6545,7 @@ func (c *ProjectsWebAppsListCall) Header() http.Header { func (c *ProjectsWebAppsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6723,7 +6723,7 @@ func (c *ProjectsWebAppsPatchCall) Header() http.Header { func (c *ProjectsWebAppsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/firebasedatabase/v1beta/firebasedatabase-gen.go b/firebasedatabase/v1beta/firebasedatabase-gen.go index 1a11e55281e..75177ef1fbf 100644 --- a/firebasedatabase/v1beta/firebasedatabase-gen.go +++ b/firebasedatabase/v1beta/firebasedatabase-gen.go @@ -369,7 +369,7 @@ func (c *ProjectsLocationsInstancesCreateCall) Header() http.Header { func (c *ProjectsLocationsInstancesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -522,7 +522,7 @@ func (c *ProjectsLocationsInstancesDeleteCall) Header() http.Header { func (c *ProjectsLocationsInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -658,7 +658,7 @@ func (c *ProjectsLocationsInstancesDisableCall) Header() http.Header { func (c *ProjectsLocationsInstancesDisableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -809,7 +809,7 @@ func (c *ProjectsLocationsInstancesGetCall) Header() http.Header { func (c *ProjectsLocationsInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -979,7 +979,7 @@ func (c *ProjectsLocationsInstancesListCall) Header() http.Header { func (c *ProjectsLocationsInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1151,7 +1151,7 @@ func (c *ProjectsLocationsInstancesReenableCall) Header() http.Header { func (c *ProjectsLocationsInstancesReenableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/firebasedynamiclinks/v1/firebasedynamiclinks-gen.go b/firebasedynamiclinks/v1/firebasedynamiclinks-gen.go index 2d277c3d9c7..69035a61e8e 100644 --- a/firebasedynamiclinks/v1/firebasedynamiclinks-gen.go +++ b/firebasedynamiclinks/v1/firebasedynamiclinks-gen.go @@ -1430,7 +1430,7 @@ func (c *ManagedShortLinksCreateCall) Header() http.Header { func (c *ManagedShortLinksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1561,7 +1561,7 @@ func (c *ShortLinksCreateCall) Header() http.Header { func (c *ShortLinksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1713,7 +1713,7 @@ func (c *V1GetLinkStatsCall) Header() http.Header { func (c *V1GetLinkStatsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1857,7 +1857,7 @@ func (c *V1InstallAttributionCall) Header() http.Header { func (c *V1InstallAttributionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1984,7 +1984,7 @@ func (c *V1ReopenAttributionCall) Header() http.Header { func (c *V1ReopenAttributionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/firebasehosting/v1/firebasehosting-gen.go b/firebasehosting/v1/firebasehosting-gen.go index 3e5ef4e0779..f35b6d76363 100644 --- a/firebasehosting/v1/firebasehosting-gen.go +++ b/firebasehosting/v1/firebasehosting-gen.go @@ -344,7 +344,7 @@ func (c *OperationsCancelCall) Header() http.Header { func (c *OperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -482,7 +482,7 @@ func (c *OperationsDeleteCall) Header() http.Header { func (c *OperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -650,7 +650,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/firebasehosting/v1beta1/firebasehosting-gen.go b/firebasehosting/v1beta1/firebasehosting-gen.go index 5aa455afd02..50fdc9244ba 100644 --- a/firebasehosting/v1beta1/firebasehosting-gen.go +++ b/firebasehosting/v1beta1/firebasehosting-gen.go @@ -1772,7 +1772,7 @@ func (c *ProjectsOperationsGetCall) Header() http.Header { func (c *ProjectsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1919,7 +1919,7 @@ func (c *ProjectsSitesGetConfigCall) Header() http.Header { func (c *ProjectsSitesGetConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2067,7 +2067,7 @@ func (c *ProjectsSitesUpdateConfigCall) Header() http.Header { func (c *ProjectsSitesUpdateConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2221,7 +2221,7 @@ func (c *ProjectsSitesChannelsCreateCall) Header() http.Header { func (c *ProjectsSitesChannelsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2366,7 +2366,7 @@ func (c *ProjectsSitesChannelsDeleteCall) Header() http.Header { func (c *ProjectsSitesChannelsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2508,7 +2508,7 @@ func (c *ProjectsSitesChannelsGetCall) Header() http.Header { func (c *ProjectsSitesChannelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2672,7 +2672,7 @@ func (c *ProjectsSitesChannelsListCall) Header() http.Header { func (c *ProjectsSitesChannelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2850,7 +2850,7 @@ func (c *ProjectsSitesChannelsPatchCall) Header() http.Header { func (c *ProjectsSitesChannelsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3009,7 +3009,7 @@ func (c *ProjectsSitesChannelsReleasesCreateCall) Header() http.Header { func (c *ProjectsSitesChannelsReleasesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3179,7 +3179,7 @@ func (c *ProjectsSitesChannelsReleasesListCall) Header() http.Header { func (c *ProjectsSitesChannelsReleasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3349,7 +3349,7 @@ func (c *ProjectsSitesDomainsCreateCall) Header() http.Header { func (c *ProjectsSitesDomainsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3488,7 +3488,7 @@ func (c *ProjectsSitesDomainsDeleteCall) Header() http.Header { func (c *ProjectsSitesDomainsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3630,7 +3630,7 @@ func (c *ProjectsSitesDomainsGetCall) Header() http.Header { func (c *ProjectsSitesDomainsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3791,7 +3791,7 @@ func (c *ProjectsSitesDomainsListCall) Header() http.Header { func (c *ProjectsSitesDomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3962,7 +3962,7 @@ func (c *ProjectsSitesDomainsUpdateCall) Header() http.Header { func (c *ProjectsSitesDomainsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4115,7 +4115,7 @@ func (c *ProjectsSitesReleasesCreateCall) Header() http.Header { func (c *ProjectsSitesReleasesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4285,7 +4285,7 @@ func (c *ProjectsSitesReleasesListCall) Header() http.Header { func (c *ProjectsSitesReleasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4456,7 +4456,7 @@ func (c *ProjectsSitesVersionsCloneCall) Header() http.Header { func (c *ProjectsSitesVersionsCloneCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4613,7 +4613,7 @@ func (c *ProjectsSitesVersionsCreateCall) Header() http.Header { func (c *ProjectsSitesVersionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4763,7 +4763,7 @@ func (c *ProjectsSitesVersionsDeleteCall) Header() http.Header { func (c *ProjectsSitesVersionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4931,7 +4931,7 @@ func (c *ProjectsSitesVersionsListCall) Header() http.Header { func (c *ProjectsSitesVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5121,7 +5121,7 @@ func (c *ProjectsSitesVersionsPatchCall) Header() http.Header { func (c *ProjectsSitesVersionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5269,7 +5269,7 @@ func (c *ProjectsSitesVersionsPopulateFilesCall) Header() http.Header { func (c *ProjectsSitesVersionsPopulateFilesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5450,7 +5450,7 @@ func (c *ProjectsSitesVersionsFilesListCall) Header() http.Header { func (c *ProjectsSitesVersionsFilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5644,7 +5644,7 @@ func (c *SitesGetConfigCall) Header() http.Header { func (c *SitesGetConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5792,7 +5792,7 @@ func (c *SitesUpdateConfigCall) Header() http.Header { func (c *SitesUpdateConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5946,7 +5946,7 @@ func (c *SitesChannelsCreateCall) Header() http.Header { func (c *SitesChannelsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6091,7 +6091,7 @@ func (c *SitesChannelsDeleteCall) Header() http.Header { func (c *SitesChannelsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6233,7 +6233,7 @@ func (c *SitesChannelsGetCall) Header() http.Header { func (c *SitesChannelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6397,7 +6397,7 @@ func (c *SitesChannelsListCall) Header() http.Header { func (c *SitesChannelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6575,7 +6575,7 @@ func (c *SitesChannelsPatchCall) Header() http.Header { func (c *SitesChannelsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6734,7 +6734,7 @@ func (c *SitesChannelsReleasesCreateCall) Header() http.Header { func (c *SitesChannelsReleasesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6904,7 +6904,7 @@ func (c *SitesChannelsReleasesListCall) Header() http.Header { func (c *SitesChannelsReleasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7074,7 +7074,7 @@ func (c *SitesDomainsCreateCall) Header() http.Header { func (c *SitesDomainsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7213,7 +7213,7 @@ func (c *SitesDomainsDeleteCall) Header() http.Header { func (c *SitesDomainsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7355,7 +7355,7 @@ func (c *SitesDomainsGetCall) Header() http.Header { func (c *SitesDomainsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7516,7 +7516,7 @@ func (c *SitesDomainsListCall) Header() http.Header { func (c *SitesDomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7687,7 +7687,7 @@ func (c *SitesDomainsUpdateCall) Header() http.Header { func (c *SitesDomainsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7840,7 +7840,7 @@ func (c *SitesReleasesCreateCall) Header() http.Header { func (c *SitesReleasesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8010,7 +8010,7 @@ func (c *SitesReleasesListCall) Header() http.Header { func (c *SitesReleasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8181,7 +8181,7 @@ func (c *SitesVersionsCloneCall) Header() http.Header { func (c *SitesVersionsCloneCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8338,7 +8338,7 @@ func (c *SitesVersionsCreateCall) Header() http.Header { func (c *SitesVersionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8488,7 +8488,7 @@ func (c *SitesVersionsDeleteCall) Header() http.Header { func (c *SitesVersionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8656,7 +8656,7 @@ func (c *SitesVersionsListCall) Header() http.Header { func (c *SitesVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8846,7 +8846,7 @@ func (c *SitesVersionsPatchCall) Header() http.Header { func (c *SitesVersionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8994,7 +8994,7 @@ func (c *SitesVersionsPopulateFilesCall) Header() http.Header { func (c *SitesVersionsPopulateFilesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9175,7 +9175,7 @@ func (c *SitesVersionsFilesListCall) Header() http.Header { func (c *SitesVersionsFilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/firebaseml/v1/firebaseml-gen.go b/firebaseml/v1/firebaseml-gen.go index f481074841b..fe54f2000db 100644 --- a/firebaseml/v1/firebaseml-gen.go +++ b/firebaseml/v1/firebaseml-gen.go @@ -395,7 +395,7 @@ func (c *OperationsCancelCall) Header() http.Header { func (c *OperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -536,7 +536,7 @@ func (c *OperationsDeleteCall) Header() http.Header { func (c *OperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -707,7 +707,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/firebaseml/v1beta2/firebaseml-gen.go b/firebaseml/v1beta2/firebaseml-gen.go index a305ea6c6ca..54bf99c2069 100644 --- a/firebaseml/v1beta2/firebaseml-gen.go +++ b/firebaseml/v1beta2/firebaseml-gen.go @@ -558,7 +558,7 @@ func (c *ProjectsModelsCreateCall) Header() http.Header { func (c *ProjectsModelsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -696,7 +696,7 @@ func (c *ProjectsModelsDeleteCall) Header() http.Header { func (c *ProjectsModelsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -837,7 +837,7 @@ func (c *ProjectsModelsGetCall) Header() http.Header { func (c *ProjectsModelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1002,7 +1002,7 @@ func (c *ProjectsModelsListCall) Header() http.Header { func (c *ProjectsModelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1181,7 +1181,7 @@ func (c *ProjectsModelsPatchCall) Header() http.Header { func (c *ProjectsModelsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1338,7 +1338,7 @@ func (c *ProjectsOperationsGetCall) Header() http.Header { func (c *ProjectsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/firebaserules/v1/firebaserules-gen.go b/firebaserules/v1/firebaserules-gen.go index 8ee8221f41e..ae19220ff36 100644 --- a/firebaserules/v1/firebaserules-gen.go +++ b/firebaserules/v1/firebaserules-gen.go @@ -1201,7 +1201,7 @@ func (c *ProjectsTestCall) Header() http.Header { func (c *ProjectsTestCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1358,7 +1358,7 @@ func (c *ProjectsReleasesCreateCall) Header() http.Header { func (c *ProjectsReleasesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1497,7 +1497,7 @@ func (c *ProjectsReleasesDeleteCall) Header() http.Header { func (c *ProjectsReleasesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1639,7 +1639,7 @@ func (c *ProjectsReleasesGetCall) Header() http.Header { func (c *ProjectsReleasesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1802,7 +1802,7 @@ func (c *ProjectsReleasesGetExecutableCall) Header() http.Header { func (c *ProjectsReleasesGetExecutableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2006,7 +2006,7 @@ func (c *ProjectsReleasesListCall) Header() http.Header { func (c *ProjectsReleasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2183,7 +2183,7 @@ func (c *ProjectsReleasesPatchCall) Header() http.Header { func (c *ProjectsReleasesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2328,7 +2328,7 @@ func (c *ProjectsRulesetsCreateCall) Header() http.Header { func (c *ProjectsRulesetsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2468,7 +2468,7 @@ func (c *ProjectsRulesetsDeleteCall) Header() http.Header { func (c *ProjectsRulesetsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2610,7 +2610,7 @@ func (c *ProjectsRulesetsGetCall) Header() http.Header { func (c *ProjectsRulesetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2785,7 +2785,7 @@ func (c *ProjectsRulesetsListCall) Header() http.Header { func (c *ProjectsRulesetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/firestore/v1beta2/firestore-gen.go b/firestore/v1beta2/firestore-gen.go index 50c16c43d13..57d04d2a12f 100644 --- a/firestore/v1beta2/firestore-gen.go +++ b/firestore/v1beta2/firestore-gen.go @@ -1130,7 +1130,7 @@ func (c *ProjectsDatabasesExportDocumentsCall) Header() http.Header { func (c *ProjectsDatabasesExportDocumentsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1276,7 +1276,7 @@ func (c *ProjectsDatabasesImportDocumentsCall) Header() http.Header { func (c *ProjectsDatabasesImportDocumentsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1426,7 +1426,7 @@ func (c *ProjectsDatabasesCollectionGroupsFieldsGetCall) Header() http.Header { func (c *ProjectsDatabasesCollectionGroupsFieldsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1600,7 +1600,7 @@ func (c *ProjectsDatabasesCollectionGroupsFieldsListCall) Header() http.Header { func (c *ProjectsDatabasesCollectionGroupsFieldsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1794,7 +1794,7 @@ func (c *ProjectsDatabasesCollectionGroupsFieldsPatchCall) Header() http.Header func (c *ProjectsDatabasesCollectionGroupsFieldsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1944,7 +1944,7 @@ func (c *ProjectsDatabasesCollectionGroupsIndexesCreateCall) Header() http.Heade func (c *ProjectsDatabasesCollectionGroupsIndexesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2083,7 +2083,7 @@ func (c *ProjectsDatabasesCollectionGroupsIndexesDeleteCall) Header() http.Heade func (c *ProjectsDatabasesCollectionGroupsIndexesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2225,7 +2225,7 @@ func (c *ProjectsDatabasesCollectionGroupsIndexesGetCall) Header() http.Header { func (c *ProjectsDatabasesCollectionGroupsIndexesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2392,7 +2392,7 @@ func (c *ProjectsDatabasesCollectionGroupsIndexesListCall) Header() http.Header func (c *ProjectsDatabasesCollectionGroupsIndexesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/fitness/v1/fitness-gen.go b/fitness/v1/fitness-gen.go index 79c8b08ebe7..bd8519cd6dd 100644 --- a/fitness/v1/fitness-gen.go +++ b/fitness/v1/fitness-gen.go @@ -1502,7 +1502,7 @@ func (c *UsersDataSourcesCreateCall) Header() http.Header { func (c *UsersDataSourcesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1652,7 +1652,7 @@ func (c *UsersDataSourcesDeleteCall) Header() http.Header { func (c *UsersDataSourcesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1812,7 +1812,7 @@ func (c *UsersDataSourcesGetCall) Header() http.Header { func (c *UsersDataSourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1995,7 +1995,7 @@ func (c *UsersDataSourcesListCall) Header() http.Header { func (c *UsersDataSourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2161,7 +2161,7 @@ func (c *UsersDataSourcesUpdateCall) Header() http.Header { func (c *UsersDataSourcesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2346,7 +2346,7 @@ func (c *UsersDataSourcesDataPointChangesListCall) Header() http.Header { func (c *UsersDataSourcesDataPointChangesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2563,7 +2563,7 @@ func (c *UsersDataSourcesDatasetsDeleteCall) Header() http.Header { func (c *UsersDataSourcesDatasetsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2743,7 +2743,7 @@ func (c *UsersDataSourcesDatasetsGetCall) Header() http.Header { func (c *UsersDataSourcesDatasetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2963,7 +2963,7 @@ func (c *UsersDataSourcesDatasetsPatchCall) Header() http.Header { func (c *UsersDataSourcesDatasetsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3158,7 +3158,7 @@ func (c *UsersDatasetAggregateCall) Header() http.Header { func (c *UsersDatasetAggregateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3325,7 +3325,7 @@ func (c *UsersSessionsDeleteCall) Header() http.Header { func (c *UsersSessionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3503,7 +3503,7 @@ func (c *UsersSessionsListCall) Header() http.Header { func (c *UsersSessionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3715,7 +3715,7 @@ func (c *UsersSessionsUpdateCall) Header() http.Header { func (c *UsersSessionsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/games/v1/games-gen.go b/games/v1/games-gen.go index 7d1df6d309b..600e69f2098 100644 --- a/games/v1/games-gen.go +++ b/games/v1/games-gen.go @@ -3554,7 +3554,7 @@ func (c *AchievementDefinitionsListCall) Header() http.Header { func (c *AchievementDefinitionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3724,7 +3724,7 @@ func (c *AchievementsIncrementCall) Header() http.Header { func (c *AchievementsIncrementCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3916,7 +3916,7 @@ func (c *AchievementsListCall) Header() http.Header { func (c *AchievementsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4103,7 +4103,7 @@ func (c *AchievementsRevealCall) Header() http.Header { func (c *AchievementsRevealCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4236,7 +4236,7 @@ func (c *AchievementsSetStepsAtLeastCall) Header() http.Header { func (c *AchievementsSetStepsAtLeastCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4375,7 +4375,7 @@ func (c *AchievementsUnlockCall) Header() http.Header { func (c *AchievementsUnlockCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4505,7 +4505,7 @@ func (c *AchievementsUpdateMultipleCall) Header() http.Header { func (c *AchievementsUpdateMultipleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4666,7 +4666,7 @@ func (c *ApplicationsGetCall) Header() http.Header { func (c *ApplicationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4837,7 +4837,7 @@ func (c *ApplicationsGetEndPointCall) Header() http.Header { func (c *ApplicationsGetEndPointCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4974,7 +4974,7 @@ func (c *ApplicationsPlayedCall) Header() http.Header { func (c *ApplicationsPlayedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5076,7 +5076,7 @@ func (c *ApplicationsVerifyCall) Header() http.Header { func (c *ApplicationsVerifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5241,7 +5241,7 @@ func (c *EventsListByPlayerCall) Header() http.Header { func (c *EventsListByPlayerCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5432,7 +5432,7 @@ func (c *EventsListDefinitionsCall) Header() http.Header { func (c *EventsListDefinitionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5598,7 +5598,7 @@ func (c *EventsRecordCall) Header() http.Header { func (c *EventsRecordCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5747,7 +5747,7 @@ func (c *LeaderboardsGetCall) Header() http.Header { func (c *LeaderboardsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5916,7 +5916,7 @@ func (c *LeaderboardsListCall) Header() http.Header { func (c *LeaderboardsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6084,7 +6084,7 @@ func (c *MetagameGetMetagameConfigCall) Header() http.Header { func (c *MetagameGetMetagameConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6241,7 +6241,7 @@ func (c *MetagameListCategoriesByPlayerCall) Header() http.Header { func (c *MetagameListCategoriesByPlayerCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6445,7 +6445,7 @@ func (c *PlayersGetCall) Header() http.Header { func (c *PlayersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6617,7 +6617,7 @@ func (c *PlayersListCall) Header() http.Header { func (c *PlayersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6806,7 +6806,7 @@ func (c *RevisionsCheckCall) Header() http.Header { func (c *RevisionsCheckCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6995,7 +6995,7 @@ func (c *ScoresGetCall) Header() http.Header { func (c *ScoresGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7251,7 +7251,7 @@ func (c *ScoresListCall) Header() http.Header { func (c *ScoresListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7515,7 +7515,7 @@ func (c *ScoresListWindowCall) Header() http.Header { func (c *ScoresListWindowCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7751,7 +7751,7 @@ func (c *ScoresSubmitCall) Header() http.Header { func (c *ScoresSubmitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7906,7 +7906,7 @@ func (c *ScoresSubmitMultipleCall) Header() http.Header { func (c *ScoresSubmitMultipleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8055,7 +8055,7 @@ func (c *SnapshotsGetCall) Header() http.Header { func (c *SnapshotsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8228,7 +8228,7 @@ func (c *SnapshotsListCall) Header() http.Header { func (c *SnapshotsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8402,7 +8402,7 @@ func (c *SnapshotsExtendedResolveSnapshotHeadCall) Header() http.Header { func (c *SnapshotsExtendedResolveSnapshotHeadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8550,7 +8550,7 @@ func (c *StatsGetCall) Header() http.Header { func (c *StatsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/gamesconfiguration/v1configuration/gamesconfiguration-gen.go b/gamesconfiguration/v1configuration/gamesconfiguration-gen.go index 2766aa106a6..2e8cd9a8679 100644 --- a/gamesconfiguration/v1configuration/gamesconfiguration-gen.go +++ b/gamesconfiguration/v1configuration/gamesconfiguration-gen.go @@ -721,7 +721,7 @@ func (c *AchievementConfigurationsDeleteCall) Header() http.Header { func (c *AchievementConfigurationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -834,7 +834,7 @@ func (c *AchievementConfigurationsGetCall) Header() http.Header { func (c *AchievementConfigurationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -968,7 +968,7 @@ func (c *AchievementConfigurationsInsertCall) Header() http.Header { func (c *AchievementConfigurationsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1133,7 +1133,7 @@ func (c *AchievementConfigurationsListCall) Header() http.Header { func (c *AchievementConfigurationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1301,7 +1301,7 @@ func (c *AchievementConfigurationsUpdateCall) Header() http.Header { func (c *AchievementConfigurationsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1481,7 +1481,7 @@ func (c *ImageConfigurationsUploadCall) Header() http.Header { func (c *ImageConfigurationsUploadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1669,7 +1669,7 @@ func (c *LeaderboardConfigurationsDeleteCall) Header() http.Header { func (c *LeaderboardConfigurationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1782,7 +1782,7 @@ func (c *LeaderboardConfigurationsGetCall) Header() http.Header { func (c *LeaderboardConfigurationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1916,7 +1916,7 @@ func (c *LeaderboardConfigurationsInsertCall) Header() http.Header { func (c *LeaderboardConfigurationsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2081,7 +2081,7 @@ func (c *LeaderboardConfigurationsListCall) Header() http.Header { func (c *LeaderboardConfigurationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2249,7 +2249,7 @@ func (c *LeaderboardConfigurationsUpdateCall) Header() http.Header { func (c *LeaderboardConfigurationsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/gameservices/v1/gameservices-gen.go b/gameservices/v1/gameservices-gen.go index 3d19265d6e8..a7b95a4c759 100644 --- a/gameservices/v1/gameservices-gen.go +++ b/gameservices/v1/gameservices-gen.go @@ -2813,7 +2813,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2987,7 +2987,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3172,7 +3172,7 @@ func (c *ProjectsLocationsGameServerDeploymentsCreateCall) Header() http.Header func (c *ProjectsLocationsGameServerDeploymentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3315,7 +3315,7 @@ func (c *ProjectsLocationsGameServerDeploymentsDeleteCall) Header() http.Header func (c *ProjectsLocationsGameServerDeploymentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3450,7 +3450,7 @@ func (c *ProjectsLocationsGameServerDeploymentsFetchDeploymentStateCall) Header( func (c *ProjectsLocationsGameServerDeploymentsFetchDeploymentStateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3599,7 +3599,7 @@ func (c *ProjectsLocationsGameServerDeploymentsGetCall) Header() http.Header { func (c *ProjectsLocationsGameServerDeploymentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3760,7 +3760,7 @@ func (c *ProjectsLocationsGameServerDeploymentsGetIamPolicyCall) Header() http.H func (c *ProjectsLocationsGameServerDeploymentsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3910,7 +3910,7 @@ func (c *ProjectsLocationsGameServerDeploymentsGetRolloutCall) Header() http.Hea func (c *ProjectsLocationsGameServerDeploymentsGetRolloutCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4086,7 +4086,7 @@ func (c *ProjectsLocationsGameServerDeploymentsListCall) Header() http.Header { func (c *ProjectsLocationsGameServerDeploymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4274,7 +4274,7 @@ func (c *ProjectsLocationsGameServerDeploymentsPatchCall) Header() http.Header { func (c *ProjectsLocationsGameServerDeploymentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4439,7 +4439,7 @@ func (c *ProjectsLocationsGameServerDeploymentsPreviewRolloutCall) Header() http func (c *ProjectsLocationsGameServerDeploymentsPreviewRolloutCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4595,7 +4595,7 @@ func (c *ProjectsLocationsGameServerDeploymentsSetIamPolicyCall) Header() http.H func (c *ProjectsLocationsGameServerDeploymentsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4740,7 +4740,7 @@ func (c *ProjectsLocationsGameServerDeploymentsTestIamPermissionsCall) Header() func (c *ProjectsLocationsGameServerDeploymentsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4896,7 +4896,7 @@ func (c *ProjectsLocationsGameServerDeploymentsUpdateRolloutCall) Header() http. func (c *ProjectsLocationsGameServerDeploymentsUpdateRolloutCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5052,7 +5052,7 @@ func (c *ProjectsLocationsGameServerDeploymentsConfigsCreateCall) Header() http. func (c *ProjectsLocationsGameServerDeploymentsConfigsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5197,7 +5197,7 @@ func (c *ProjectsLocationsGameServerDeploymentsConfigsDeleteCall) Header() http. func (c *ProjectsLocationsGameServerDeploymentsConfigsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5338,7 +5338,7 @@ func (c *ProjectsLocationsGameServerDeploymentsConfigsGetCall) Header() http.Hea func (c *ProjectsLocationsGameServerDeploymentsConfigsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5515,7 +5515,7 @@ func (c *ProjectsLocationsGameServerDeploymentsConfigsListCall) Header() http.He func (c *ProjectsLocationsGameServerDeploymentsConfigsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5701,7 +5701,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5842,7 +5842,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5985,7 +5985,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6159,7 +6159,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6338,7 +6338,7 @@ func (c *ProjectsLocationsRealmsCreateCall) Header() http.Header { func (c *ProjectsLocationsRealmsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6481,7 +6481,7 @@ func (c *ProjectsLocationsRealmsDeleteCall) Header() http.Header { func (c *ProjectsLocationsRealmsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6622,7 +6622,7 @@ func (c *ProjectsLocationsRealmsGetCall) Header() http.Header { func (c *ProjectsLocationsRealmsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6798,7 +6798,7 @@ func (c *ProjectsLocationsRealmsListCall) Header() http.Header { func (c *ProjectsLocationsRealmsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6984,7 +6984,7 @@ func (c *ProjectsLocationsRealmsPatchCall) Header() http.Header { func (c *ProjectsLocationsRealmsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7146,7 +7146,7 @@ func (c *ProjectsLocationsRealmsPreviewUpdateCall) Header() http.Header { func (c *ProjectsLocationsRealmsPreviewUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7307,7 +7307,7 @@ func (c *ProjectsLocationsRealmsGameServerClustersCreateCall) Header() http.Head func (c *ProjectsLocationsRealmsGameServerClustersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7450,7 +7450,7 @@ func (c *ProjectsLocationsRealmsGameServerClustersDeleteCall) Header() http.Head func (c *ProjectsLocationsRealmsGameServerClustersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7591,7 +7591,7 @@ func (c *ProjectsLocationsRealmsGameServerClustersGetCall) Header() http.Header func (c *ProjectsLocationsRealmsGameServerClustersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7767,7 +7767,7 @@ func (c *ProjectsLocationsRealmsGameServerClustersListCall) Header() http.Header func (c *ProjectsLocationsRealmsGameServerClustersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7954,7 +7954,7 @@ func (c *ProjectsLocationsRealmsGameServerClustersPatchCall) Header() http.Heade func (c *ProjectsLocationsRealmsGameServerClustersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8116,7 +8116,7 @@ func (c *ProjectsLocationsRealmsGameServerClustersPreviewCreateCall) Header() ht func (c *ProjectsLocationsRealmsGameServerClustersPreviewCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8273,7 +8273,7 @@ func (c *ProjectsLocationsRealmsGameServerClustersPreviewDeleteCall) Header() ht func (c *ProjectsLocationsRealmsGameServerClustersPreviewDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8429,7 +8429,7 @@ func (c *ProjectsLocationsRealmsGameServerClustersPreviewUpdateCall) Header() ht func (c *ProjectsLocationsRealmsGameServerClustersPreviewUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/gameservices/v1beta/gameservices-gen.go b/gameservices/v1beta/gameservices-gen.go index 075d31a0031..e6128c96932 100644 --- a/gameservices/v1beta/gameservices-gen.go +++ b/gameservices/v1beta/gameservices-gen.go @@ -2813,7 +2813,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2987,7 +2987,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3172,7 +3172,7 @@ func (c *ProjectsLocationsGameServerDeploymentsCreateCall) Header() http.Header func (c *ProjectsLocationsGameServerDeploymentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3315,7 +3315,7 @@ func (c *ProjectsLocationsGameServerDeploymentsDeleteCall) Header() http.Header func (c *ProjectsLocationsGameServerDeploymentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3450,7 +3450,7 @@ func (c *ProjectsLocationsGameServerDeploymentsFetchDeploymentStateCall) Header( func (c *ProjectsLocationsGameServerDeploymentsFetchDeploymentStateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3599,7 +3599,7 @@ func (c *ProjectsLocationsGameServerDeploymentsGetCall) Header() http.Header { func (c *ProjectsLocationsGameServerDeploymentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3760,7 +3760,7 @@ func (c *ProjectsLocationsGameServerDeploymentsGetIamPolicyCall) Header() http.H func (c *ProjectsLocationsGameServerDeploymentsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3910,7 +3910,7 @@ func (c *ProjectsLocationsGameServerDeploymentsGetRolloutCall) Header() http.Hea func (c *ProjectsLocationsGameServerDeploymentsGetRolloutCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4086,7 +4086,7 @@ func (c *ProjectsLocationsGameServerDeploymentsListCall) Header() http.Header { func (c *ProjectsLocationsGameServerDeploymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4274,7 +4274,7 @@ func (c *ProjectsLocationsGameServerDeploymentsPatchCall) Header() http.Header { func (c *ProjectsLocationsGameServerDeploymentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4439,7 +4439,7 @@ func (c *ProjectsLocationsGameServerDeploymentsPreviewRolloutCall) Header() http func (c *ProjectsLocationsGameServerDeploymentsPreviewRolloutCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4595,7 +4595,7 @@ func (c *ProjectsLocationsGameServerDeploymentsSetIamPolicyCall) Header() http.H func (c *ProjectsLocationsGameServerDeploymentsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4740,7 +4740,7 @@ func (c *ProjectsLocationsGameServerDeploymentsTestIamPermissionsCall) Header() func (c *ProjectsLocationsGameServerDeploymentsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4896,7 +4896,7 @@ func (c *ProjectsLocationsGameServerDeploymentsUpdateRolloutCall) Header() http. func (c *ProjectsLocationsGameServerDeploymentsUpdateRolloutCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5052,7 +5052,7 @@ func (c *ProjectsLocationsGameServerDeploymentsConfigsCreateCall) Header() http. func (c *ProjectsLocationsGameServerDeploymentsConfigsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5197,7 +5197,7 @@ func (c *ProjectsLocationsGameServerDeploymentsConfigsDeleteCall) Header() http. func (c *ProjectsLocationsGameServerDeploymentsConfigsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5338,7 +5338,7 @@ func (c *ProjectsLocationsGameServerDeploymentsConfigsGetCall) Header() http.Hea func (c *ProjectsLocationsGameServerDeploymentsConfigsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5515,7 +5515,7 @@ func (c *ProjectsLocationsGameServerDeploymentsConfigsListCall) Header() http.He func (c *ProjectsLocationsGameServerDeploymentsConfigsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5701,7 +5701,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5842,7 +5842,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5985,7 +5985,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6159,7 +6159,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6338,7 +6338,7 @@ func (c *ProjectsLocationsRealmsCreateCall) Header() http.Header { func (c *ProjectsLocationsRealmsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6481,7 +6481,7 @@ func (c *ProjectsLocationsRealmsDeleteCall) Header() http.Header { func (c *ProjectsLocationsRealmsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6622,7 +6622,7 @@ func (c *ProjectsLocationsRealmsGetCall) Header() http.Header { func (c *ProjectsLocationsRealmsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6798,7 +6798,7 @@ func (c *ProjectsLocationsRealmsListCall) Header() http.Header { func (c *ProjectsLocationsRealmsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6984,7 +6984,7 @@ func (c *ProjectsLocationsRealmsPatchCall) Header() http.Header { func (c *ProjectsLocationsRealmsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7146,7 +7146,7 @@ func (c *ProjectsLocationsRealmsPreviewUpdateCall) Header() http.Header { func (c *ProjectsLocationsRealmsPreviewUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7307,7 +7307,7 @@ func (c *ProjectsLocationsRealmsGameServerClustersCreateCall) Header() http.Head func (c *ProjectsLocationsRealmsGameServerClustersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7450,7 +7450,7 @@ func (c *ProjectsLocationsRealmsGameServerClustersDeleteCall) Header() http.Head func (c *ProjectsLocationsRealmsGameServerClustersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7591,7 +7591,7 @@ func (c *ProjectsLocationsRealmsGameServerClustersGetCall) Header() http.Header func (c *ProjectsLocationsRealmsGameServerClustersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7767,7 +7767,7 @@ func (c *ProjectsLocationsRealmsGameServerClustersListCall) Header() http.Header func (c *ProjectsLocationsRealmsGameServerClustersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7954,7 +7954,7 @@ func (c *ProjectsLocationsRealmsGameServerClustersPatchCall) Header() http.Heade func (c *ProjectsLocationsRealmsGameServerClustersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8116,7 +8116,7 @@ func (c *ProjectsLocationsRealmsGameServerClustersPreviewCreateCall) Header() ht func (c *ProjectsLocationsRealmsGameServerClustersPreviewCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8273,7 +8273,7 @@ func (c *ProjectsLocationsRealmsGameServerClustersPreviewDeleteCall) Header() ht func (c *ProjectsLocationsRealmsGameServerClustersPreviewDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8429,7 +8429,7 @@ func (c *ProjectsLocationsRealmsGameServerClustersPreviewUpdateCall) Header() ht func (c *ProjectsLocationsRealmsGameServerClustersPreviewUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/gamesmanagement/v1management/gamesmanagement-gen.go b/gamesmanagement/v1management/gamesmanagement-gen.go index 2bde36524ab..f6d65c79ff8 100644 --- a/gamesmanagement/v1management/gamesmanagement-gen.go +++ b/gamesmanagement/v1management/gamesmanagement-gen.go @@ -783,7 +783,7 @@ func (c *AchievementsResetCall) Header() http.Header { func (c *AchievementsResetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -912,7 +912,7 @@ func (c *AchievementsResetAllCall) Header() http.Header { func (c *AchievementsResetAllCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1029,7 +1029,7 @@ func (c *AchievementsResetAllForAllPlayersCall) Header() http.Header { func (c *AchievementsResetAllForAllPlayersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1120,7 +1120,7 @@ func (c *AchievementsResetForAllPlayersCall) Header() http.Header { func (c *AchievementsResetForAllPlayersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1223,7 +1223,7 @@ func (c *AchievementsResetMultipleForAllPlayersCall) Header() http.Header { func (c *AchievementsResetMultipleForAllPlayersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1349,7 +1349,7 @@ func (c *ApplicationsListHiddenCall) Header() http.Header { func (c *ApplicationsListHiddenCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1515,7 +1515,7 @@ func (c *EventsResetCall) Header() http.Header { func (c *EventsResetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1616,7 +1616,7 @@ func (c *EventsResetAllCall) Header() http.Header { func (c *EventsResetAllCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1704,7 +1704,7 @@ func (c *EventsResetAllForAllPlayersCall) Header() http.Header { func (c *EventsResetAllForAllPlayersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1795,7 +1795,7 @@ func (c *EventsResetForAllPlayersCall) Header() http.Header { func (c *EventsResetForAllPlayersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1898,7 +1898,7 @@ func (c *EventsResetMultipleForAllPlayersCall) Header() http.Header { func (c *EventsResetMultipleForAllPlayersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1999,7 +1999,7 @@ func (c *PlayersHideCall) Header() http.Header { func (c *PlayersHideCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2112,7 +2112,7 @@ func (c *PlayersUnhideCall) Header() http.Header { func (c *PlayersUnhideCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2223,7 +2223,7 @@ func (c *ScoresResetCall) Header() http.Header { func (c *ScoresResetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2352,7 +2352,7 @@ func (c *ScoresResetAllCall) Header() http.Header { func (c *ScoresResetAllCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2469,7 +2469,7 @@ func (c *ScoresResetAllForAllPlayersCall) Header() http.Header { func (c *ScoresResetAllForAllPlayersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2560,7 +2560,7 @@ func (c *ScoresResetForAllPlayersCall) Header() http.Header { func (c *ScoresResetForAllPlayersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2664,7 +2664,7 @@ func (c *ScoresResetMultipleForAllPlayersCall) Header() http.Header { func (c *ScoresResetMultipleForAllPlayersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/genomics/v1/genomics-gen.go b/genomics/v1/genomics-gen.go index 36feb5c7dff..2a7b762224b 100644 --- a/genomics/v1/genomics-gen.go +++ b/genomics/v1/genomics-gen.go @@ -993,7 +993,7 @@ func (c *OperationsCancelCall) Header() http.Header { func (c *OperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1147,7 +1147,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1335,7 +1335,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/genomics/v1alpha2/genomics-gen.go b/genomics/v1alpha2/genomics-gen.go index c1818e421a3..cfc44c85fc6 100644 --- a/genomics/v1alpha2/genomics-gen.go +++ b/genomics/v1alpha2/genomics-gen.go @@ -1854,7 +1854,7 @@ func (c *OperationsCancelCall) Header() http.Header { func (c *OperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2008,7 +2008,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2196,7 +2196,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2371,7 +2371,7 @@ func (c *PipelinesCreateCall) Header() http.Header { func (c *PipelinesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2498,7 +2498,7 @@ func (c *PipelinesDeleteCall) Header() http.Header { func (c *PipelinesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2640,7 +2640,7 @@ func (c *PipelinesGetCall) Header() http.Header { func (c *PipelinesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2797,7 +2797,7 @@ func (c *PipelinesGetControllerConfigCall) Header() http.Header { func (c *PipelinesGetControllerConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2970,7 +2970,7 @@ func (c *PipelinesListCall) Header() http.Header { func (c *PipelinesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3140,7 +3140,7 @@ func (c *PipelinesRunCall) Header() http.Header { func (c *PipelinesRunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3270,7 +3270,7 @@ func (c *PipelinesSetOperationStatusCall) Header() http.Header { func (c *PipelinesSetOperationStatusCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/genomics/v2alpha1/genomics-gen.go b/genomics/v2alpha1/genomics-gen.go index 8e7a0a201f3..d453054676c 100644 --- a/genomics/v2alpha1/genomics-gen.go +++ b/genomics/v2alpha1/genomics-gen.go @@ -2065,7 +2065,7 @@ func (c *PipelinesRunCall) Header() http.Header { func (c *PipelinesRunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2199,7 +2199,7 @@ func (c *ProjectsOperationsCancelCall) Header() http.Header { func (c *ProjectsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2353,7 +2353,7 @@ func (c *ProjectsOperationsGetCall) Header() http.Header { func (c *ProjectsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2541,7 +2541,7 @@ func (c *ProjectsOperationsListCall) Header() http.Header { func (c *ProjectsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2715,7 +2715,7 @@ func (c *ProjectsWorkersCheckInCall) Header() http.Header { func (c *ProjectsWorkersCheckInCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2857,7 +2857,7 @@ func (c *WorkersCheckInCall) Header() http.Header { func (c *WorkersCheckInCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/gmail/v1/gmail-gen.go b/gmail/v1/gmail-gen.go index fe5fe7a7fb1..8eb7be6335b 100644 --- a/gmail/v1/gmail-gen.go +++ b/gmail/v1/gmail-gen.go @@ -2304,7 +2304,7 @@ func (c *UsersGetProfileCall) Header() http.Header { func (c *UsersGetProfileCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2441,7 +2441,7 @@ func (c *UsersStopCall) Header() http.Header { func (c *UsersStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2549,7 +2549,7 @@ func (c *UsersWatchCall) Header() http.Header { func (c *UsersWatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2732,7 +2732,7 @@ func (c *UsersDraftsCreateCall) Header() http.Header { func (c *UsersDraftsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2921,7 +2921,7 @@ func (c *UsersDraftsDeleteCall) Header() http.Header { func (c *UsersDraftsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3068,7 +3068,7 @@ func (c *UsersDraftsGetCall) Header() http.Header { func (c *UsersDraftsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3271,7 +3271,7 @@ func (c *UsersDraftsListCall) Header() http.Header { func (c *UsersDraftsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3494,7 +3494,7 @@ func (c *UsersDraftsSendCall) Header() http.Header { func (c *UsersDraftsSendCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3724,7 +3724,7 @@ func (c *UsersDraftsUpdateCall) Header() http.Header { func (c *UsersDraftsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3982,7 +3982,7 @@ func (c *UsersHistoryListCall) Header() http.Header { func (c *UsersHistoryListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4182,7 +4182,7 @@ func (c *UsersLabelsCreateCall) Header() http.Header { func (c *UsersLabelsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4325,7 +4325,7 @@ func (c *UsersLabelsDeleteCall) Header() http.Header { func (c *UsersLabelsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4450,7 +4450,7 @@ func (c *UsersLabelsGetCall) Header() http.Header { func (c *UsersLabelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4606,7 +4606,7 @@ func (c *UsersLabelsListCall) Header() http.Header { func (c *UsersLabelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4747,7 +4747,7 @@ func (c *UsersLabelsPatchCall) Header() http.Header { func (c *UsersLabelsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4899,7 +4899,7 @@ func (c *UsersLabelsUpdateCall) Header() http.Header { func (c *UsersLabelsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5051,7 +5051,7 @@ func (c *UsersMessagesBatchDeleteCall) Header() http.Header { func (c *UsersMessagesBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5163,7 +5163,7 @@ func (c *UsersMessagesBatchModifyCall) Header() http.Header { func (c *UsersMessagesBatchModifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5277,7 +5277,7 @@ func (c *UsersMessagesDeleteCall) Header() http.Header { func (c *UsersMessagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5428,7 +5428,7 @@ func (c *UsersMessagesGetCall) Header() http.Header { func (c *UsersMessagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5681,7 +5681,7 @@ func (c *UsersMessagesImportCall) Header() http.Header { func (c *UsersMessagesImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5963,7 +5963,7 @@ func (c *UsersMessagesInsertCall) Header() http.Header { func (c *UsersMessagesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6217,7 +6217,7 @@ func (c *UsersMessagesListCall) Header() http.Header { func (c *UsersMessagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6407,7 +6407,7 @@ func (c *UsersMessagesModifyCall) Header() http.Header { func (c *UsersMessagesModifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6597,7 +6597,7 @@ func (c *UsersMessagesSendCall) Header() http.Header { func (c *UsersMessagesSendCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6786,7 +6786,7 @@ func (c *UsersMessagesTrashCall) Header() http.Header { func (c *UsersMessagesTrashCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6927,7 +6927,7 @@ func (c *UsersMessagesUntrashCall) Header() http.Header { func (c *UsersMessagesUntrashCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7081,7 +7081,7 @@ func (c *UsersMessagesAttachmentsGetCall) Header() http.Header { func (c *UsersMessagesAttachmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7246,7 +7246,7 @@ func (c *UsersSettingsGetAutoForwardingCall) Header() http.Header { func (c *UsersSettingsGetAutoForwardingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7393,7 +7393,7 @@ func (c *UsersSettingsGetImapCall) Header() http.Header { func (c *UsersSettingsGetImapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7540,7 +7540,7 @@ func (c *UsersSettingsGetLanguageCall) Header() http.Header { func (c *UsersSettingsGetLanguageCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7687,7 +7687,7 @@ func (c *UsersSettingsGetPopCall) Header() http.Header { func (c *UsersSettingsGetPopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7834,7 +7834,7 @@ func (c *UsersSettingsGetVacationCall) Header() http.Header { func (c *UsersSettingsGetVacationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7976,7 +7976,7 @@ func (c *UsersSettingsUpdateAutoForwardingCall) Header() http.Header { func (c *UsersSettingsUpdateAutoForwardingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8116,7 +8116,7 @@ func (c *UsersSettingsUpdateImapCall) Header() http.Header { func (c *UsersSettingsUpdateImapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8261,7 +8261,7 @@ func (c *UsersSettingsUpdateLanguageCall) Header() http.Header { func (c *UsersSettingsUpdateLanguageCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8401,7 +8401,7 @@ func (c *UsersSettingsUpdatePopCall) Header() http.Header { func (c *UsersSettingsUpdatePopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8541,7 +8541,7 @@ func (c *UsersSettingsUpdateVacationCall) Header() http.Header { func (c *UsersSettingsUpdateVacationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8692,7 +8692,7 @@ func (c *UsersSettingsDelegatesCreateCall) Header() http.Header { func (c *UsersSettingsDelegatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8837,7 +8837,7 @@ func (c *UsersSettingsDelegatesDeleteCall) Header() http.Header { func (c *UsersSettingsDelegatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8963,7 +8963,7 @@ func (c *UsersSettingsDelegatesGetCall) Header() http.Header { func (c *UsersSettingsDelegatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9120,7 +9120,7 @@ func (c *UsersSettingsDelegatesListCall) Header() http.Header { func (c *UsersSettingsDelegatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9259,7 +9259,7 @@ func (c *UsersSettingsFiltersCreateCall) Header() http.Header { func (c *UsersSettingsFiltersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9399,7 +9399,7 @@ func (c *UsersSettingsFiltersDeleteCall) Header() http.Header { func (c *UsersSettingsFiltersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9522,7 +9522,7 @@ func (c *UsersSettingsFiltersGetCall) Header() http.Header { func (c *UsersSettingsFiltersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9677,7 +9677,7 @@ func (c *UsersSettingsFiltersListCall) Header() http.Header { func (c *UsersSettingsFiltersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9820,7 +9820,7 @@ func (c *UsersSettingsForwardingAddressesCreateCall) Header() http.Header { func (c *UsersSettingsForwardingAddressesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9963,7 +9963,7 @@ func (c *UsersSettingsForwardingAddressesDeleteCall) Header() http.Header { func (c *UsersSettingsForwardingAddressesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10086,7 +10086,7 @@ func (c *UsersSettingsForwardingAddressesGetCall) Header() http.Header { func (c *UsersSettingsForwardingAddressesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10241,7 +10241,7 @@ func (c *UsersSettingsForwardingAddressesListCall) Header() http.Header { func (c *UsersSettingsForwardingAddressesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10388,7 +10388,7 @@ func (c *UsersSettingsSendAsCreateCall) Header() http.Header { func (c *UsersSettingsSendAsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10531,7 +10531,7 @@ func (c *UsersSettingsSendAsDeleteCall) Header() http.Header { func (c *UsersSettingsSendAsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10655,7 +10655,7 @@ func (c *UsersSettingsSendAsGetCall) Header() http.Header { func (c *UsersSettingsSendAsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10812,7 +10812,7 @@ func (c *UsersSettingsSendAsListCall) Header() http.Header { func (c *UsersSettingsSendAsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10952,7 +10952,7 @@ func (c *UsersSettingsSendAsPatchCall) Header() http.Header { func (c *UsersSettingsSendAsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11107,7 +11107,7 @@ func (c *UsersSettingsSendAsUpdateCall) Header() http.Header { func (c *UsersSettingsSendAsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11259,7 +11259,7 @@ func (c *UsersSettingsSendAsVerifyCall) Header() http.Header { func (c *UsersSettingsSendAsVerifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11374,7 +11374,7 @@ func (c *UsersSettingsSendAsSmimeInfoDeleteCall) Header() http.Header { func (c *UsersSettingsSendAsSmimeInfoDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11509,7 +11509,7 @@ func (c *UsersSettingsSendAsSmimeInfoGetCall) Header() http.Header { func (c *UsersSettingsSendAsSmimeInfoGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11667,7 +11667,7 @@ func (c *UsersSettingsSendAsSmimeInfoInsertCall) Header() http.Header { func (c *UsersSettingsSendAsSmimeInfoInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11827,7 +11827,7 @@ func (c *UsersSettingsSendAsSmimeInfoListCall) Header() http.Header { func (c *UsersSettingsSendAsSmimeInfoListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11977,7 +11977,7 @@ func (c *UsersSettingsSendAsSmimeInfoSetDefaultCall) Header() http.Header { func (c *UsersSettingsSendAsSmimeInfoSetDefaultCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12099,7 +12099,7 @@ func (c *UsersThreadsDeleteCall) Header() http.Header { func (c *UsersThreadsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12246,7 +12246,7 @@ func (c *UsersThreadsGetCall) Header() http.Header { func (c *UsersThreadsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12464,7 +12464,7 @@ func (c *UsersThreadsListCall) Header() http.Header { func (c *UsersThreadsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12655,7 +12655,7 @@ func (c *UsersThreadsModifyCall) Header() http.Header { func (c *UsersThreadsModifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12804,7 +12804,7 @@ func (c *UsersThreadsTrashCall) Header() http.Header { func (c *UsersThreadsTrashCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12945,7 +12945,7 @@ func (c *UsersThreadsUntrashCall) Header() http.Header { func (c *UsersThreadsUntrashCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/gmailpostmastertools/v1beta1/gmailpostmastertools-gen.go b/gmailpostmastertools/v1beta1/gmailpostmastertools-gen.go index 33a55f6f369..a6e8ee11eb4 100644 --- a/gmailpostmastertools/v1beta1/gmailpostmastertools-gen.go +++ b/gmailpostmastertools/v1beta1/gmailpostmastertools-gen.go @@ -661,7 +661,7 @@ func (c *DomainsGetCall) Header() http.Header { func (c *DomainsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -823,7 +823,7 @@ func (c *DomainsListCall) Header() http.Header { func (c *DomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -989,7 +989,7 @@ func (c *DomainsTrafficStatsGetCall) Header() http.Header { func (c *DomainsTrafficStatsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1201,7 +1201,7 @@ func (c *DomainsTrafficStatsListCall) Header() http.Header { func (c *DomainsTrafficStatsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/groupsmigration/v1/groupsmigration-gen.go b/groupsmigration/v1/groupsmigration-gen.go index f124d6c8d0e..78bf9d72c88 100644 --- a/groupsmigration/v1/groupsmigration-gen.go +++ b/groupsmigration/v1/groupsmigration-gen.go @@ -263,7 +263,7 @@ func (c *ArchiveInsertCall) Header() http.Header { func (c *ArchiveInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/groupssettings/v1/groupssettings-gen.go b/groupssettings/v1/groupssettings-gen.go index 6ffc3528564..63b81b66ae3 100644 --- a/groupssettings/v1/groupssettings-gen.go +++ b/groupssettings/v1/groupssettings-gen.go @@ -781,7 +781,7 @@ func (c *GroupsGetCall) Header() http.Header { func (c *GroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -915,7 +915,7 @@ func (c *GroupsPatchCall) Header() http.Header { func (c *GroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1053,7 +1053,7 @@ func (c *GroupsUpdateCall) Header() http.Header { func (c *GroupsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/healthcare/v1/healthcare-api.json b/healthcare/v1/healthcare-api.json index e8648379aa5..8a5e5bfa1ca 100644 --- a/healthcare/v1/healthcare-api.json +++ b/healthcare/v1/healthcare-api.json @@ -331,7 +331,7 @@ ], "parameters": { "pageSize": { - "description": "The maximum number of items to return. Capped to 100 if not specified. May not be larger than 1000.", + "description": "The maximum number of items to return. If not specified, 100 is used. May not be larger than 1000.", "format": "int32", "location": "query", "type": "integer" @@ -664,7 +664,7 @@ "type": "string" }, "pageSize": { - "description": "Limit on the number of DICOM stores to return in a single response. If zero the default page size of 100 is used.", + "description": "Limit on the number of DICOM stores to return in a single response. If not specified, 100 is used. May not be larger than 1000.", "format": "int32", "location": "query", "type": "integer" @@ -1686,7 +1686,7 @@ "type": "string" }, "pageSize": { - "description": "Limit on the number of FHIR stores to return in a single response. If zero the default page size of 100 is used.", + "description": "Limit on the number of FHIR stores to return in a single response. If not specified, 100 is used. May not be larger than 1000.", "format": "int32", "location": "query", "type": "integer" @@ -1816,7 +1816,7 @@ ], "parameters": { "_count": { - "description": "Maximum number of resources in a page. Defaults to 100.", + "description": "Maximum number of resources in a page. If not specified, 100 is used. May not be larger than 1000.", "format": "int32", "location": "query", "type": "integer" @@ -2016,7 +2016,7 @@ "type": "string" }, "_count": { - "description": "The maximum number of search results on a page. Default value is 100. Maximum value is 1,000.", + "description": "The maximum number of search results on a page. If not specified, 100 is used. May not be larger than 1000.", "format": "int32", "location": "query", "type": "integer" @@ -2316,7 +2316,7 @@ "type": "string" }, "pageSize": { - "description": "Limit on the number of HL7v2 stores to return in a single response. If zero the default page size of 100 is used.", + "description": "Limit on the number of HL7v2 stores to return in a single response. If not specified, 100 is used. May not be larger than 1000.", "format": "int32", "location": "query", "type": "integer" @@ -2581,7 +2581,7 @@ "type": "string" }, "pageSize": { - "description": "Limit on the number of messages to return in a single response. If zero the default page size of 100 is used.", + "description": "Limit on the number of messages to return in a single response. If not specified, 100 is used. May not be larger than 1000.", "format": "int32", "location": "query", "type": "integer" @@ -2769,7 +2769,7 @@ } } }, - "revision": "20201110", + "revision": "20201202", "rootUrl": "https://healthcare.googleapis.com/", "schemas": { "AuditConfig": { @@ -2824,9 +2824,6 @@ "description": "Associates `members` with a `role`.", "id": "Binding", "properties": { - "bindingId": { - "type": "string" - }, "condition": { "$ref": "Expr", "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." diff --git a/healthcare/v1/healthcare-gen.go b/healthcare/v1/healthcare-gen.go index 17afe74ee4e..40f5f8cacea 100644 --- a/healthcare/v1/healthcare-gen.go +++ b/healthcare/v1/healthcare-gen.go @@ -387,8 +387,6 @@ func (s *AuditLogConfig) MarshalJSON() ([]byte, error) { // Binding: Associates `members` with a `role`. type Binding struct { - BindingId string `json:"bindingId,omitempty"` - // Condition: The condition that is associated with this binding. If the // condition evaluates to `true`, then this binding applies to the // current request. If the condition evaluates to `false`, then this @@ -438,7 +436,7 @@ type Binding struct { // `roles/viewer`, `roles/editor`, or `roles/owner`. Role string `json:"role,omitempty"` - // ForceSendFields is a list of field names (e.g. "BindingId") to + // ForceSendFields is a list of field names (e.g. "Condition") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -446,7 +444,7 @@ type Binding struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "BindingId") to include in + // NullFields is a list of field names (e.g. "Condition") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -3289,7 +3287,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3455,7 +3453,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3638,7 +3636,7 @@ func (c *ProjectsLocationsDatasetsCreateCall) Header() http.Header { func (c *ProjectsLocationsDatasetsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3792,7 +3790,7 @@ func (c *ProjectsLocationsDatasetsDeidentifyCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDeidentifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3932,7 +3930,7 @@ func (c *ProjectsLocationsDatasetsDeleteCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4073,7 +4071,7 @@ func (c *ProjectsLocationsDatasetsGetCall) Header() http.Header { func (c *ProjectsLocationsDatasetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4234,7 +4232,7 @@ func (c *ProjectsLocationsDatasetsGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsDatasetsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4348,7 +4346,7 @@ func (r *ProjectsLocationsDatasetsService) List(parent string) *ProjectsLocation } // PageSize sets the optional parameter "pageSize": The maximum number -// of items to return. Capped to 100 if not specified. May not be larger +// of items to return. If not specified, 100 is used. May not be larger // than 1000. func (c *ProjectsLocationsDatasetsListCall) PageSize(pageSize int64) *ProjectsLocationsDatasetsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) @@ -4399,7 +4397,7 @@ func (c *ProjectsLocationsDatasetsListCall) Header() http.Header { func (c *ProjectsLocationsDatasetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4470,7 +4468,7 @@ func (c *ProjectsLocationsDatasetsListCall) Do(opts ...googleapi.CallOption) (*L // ], // "parameters": { // "pageSize": { - // "description": "The maximum number of items to return. Capped to 100 if not specified. May not be larger than 1000.", + // "description": "The maximum number of items to return. If not specified, 100 is used. May not be larger than 1000.", // "format": "int32", // "location": "query", // "type": "integer" @@ -4574,7 +4572,7 @@ func (c *ProjectsLocationsDatasetsPatchCall) Header() http.Header { func (c *ProjectsLocationsDatasetsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4722,7 +4720,7 @@ func (c *ProjectsLocationsDatasetsSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsDatasetsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4867,7 +4865,7 @@ func (c *ProjectsLocationsDatasetsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsLocationsDatasetsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5015,7 +5013,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresCreateCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDicomStoresCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5168,7 +5166,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresDeidentifyCall) Header() http.Heade func (c *ProjectsLocationsDatasetsDicomStoresDeidentifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5307,7 +5305,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresDeleteCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDicomStoresDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5442,7 +5440,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresExportCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDicomStoresExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5591,7 +5589,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresGetCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDicomStoresGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5752,7 +5750,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresGetIamPolicyCall) Header() http.Hea func (c *ProjectsLocationsDatasetsDicomStoresGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5896,7 +5894,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresImportCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDicomStoresImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6018,8 +6016,8 @@ func (c *ProjectsLocationsDatasetsDicomStoresListCall) Filter(filter string) *Pr } // PageSize sets the optional parameter "pageSize": Limit on the number -// of DICOM stores to return in a single response. If zero the default -// page size of 100 is used. +// of DICOM stores to return in a single response. If not specified, 100 +// is used. May not be larger than 1000. func (c *ProjectsLocationsDatasetsDicomStoresListCall) PageSize(pageSize int64) *ProjectsLocationsDatasetsDicomStoresListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c @@ -6070,7 +6068,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresListCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDicomStoresListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6146,7 +6144,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresListCall) Do(opts ...googleapi.Call // "type": "string" // }, // "pageSize": { - // "description": "Limit on the number of DICOM stores to return in a single response. If zero the default page size of 100 is used.", + // "description": "Limit on the number of DICOM stores to return in a single response. If not specified, 100 is used. May not be larger than 1000.", // "format": "int32", // "location": "query", // "type": "integer" @@ -6250,7 +6248,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresPatchCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDicomStoresPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6417,7 +6415,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresSearchForInstancesCall) Header() ht func (c *ProjectsLocationsDatasetsDicomStoresSearchForInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6549,7 +6547,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresSearchForSeriesCall) Header() http. func (c *ProjectsLocationsDatasetsDicomStoresSearchForSeriesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6681,7 +6679,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresSearchForStudiesCall) Header() http func (c *ProjectsLocationsDatasetsDicomStoresSearchForStudiesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6794,7 +6792,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresSetIamPolicyCall) Header() http.Hea func (c *ProjectsLocationsDatasetsDicomStoresSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6945,7 +6943,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStoreInstancesCall) Header() http.H func (c *ProjectsLocationsDatasetsDicomStoresStoreInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7060,7 +7058,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresTestIamPermissionsCall) Header() ht func (c *ProjectsLocationsDatasetsDicomStoresTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7209,7 +7207,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesDeleteCall) Header() http.He func (c *ProjectsLocationsDatasetsDicomStoresStudiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7370,7 +7368,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesRetrieveMetadataCall) Header func (c *ProjectsLocationsDatasetsDicomStoresStudiesRetrieveMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7502,7 +7500,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesRetrieveStudyCall) Header() func (c *ProjectsLocationsDatasetsDicomStoresStudiesRetrieveStudyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7634,7 +7632,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSearchForInstancesCall) Head func (c *ProjectsLocationsDatasetsDicomStoresStudiesSearchForInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7766,7 +7764,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSearchForSeriesCall) Header( func (c *ProjectsLocationsDatasetsDicomStoresStudiesSearchForSeriesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7888,7 +7886,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesStoreInstancesCall) Header() func (c *ProjectsLocationsDatasetsDicomStoresStudiesStoreInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8007,7 +8005,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesDeleteCall) Header() h func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8169,7 +8167,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveMetadataCall) func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8301,7 +8299,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveSeriesCall) He func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveSeriesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8433,7 +8431,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesSearchForInstancesCall func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesSearchForInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8551,7 +8549,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesDeleteCall) H func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8715,7 +8713,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveInsta func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveInstanceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8849,7 +8847,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveMetad func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8982,7 +8980,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveRende func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveRenderedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9114,7 +9112,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetriev func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetrieveFramesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9247,7 +9245,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetriev func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetrieveRenderedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9366,7 +9364,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresCreateCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9516,7 +9514,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresDeidentifyCall) Header() http.Header func (c *ProjectsLocationsDatasetsFhirStoresDeidentifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9655,7 +9653,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresDeleteCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9794,7 +9792,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresExportCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9943,7 +9941,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresGetCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10104,7 +10102,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresGetIamPolicyCall) Header() http.Head func (c *ProjectsLocationsDatasetsFhirStoresGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10299,7 +10297,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresImportCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10421,8 +10419,8 @@ func (c *ProjectsLocationsDatasetsFhirStoresListCall) Filter(filter string) *Pro } // PageSize sets the optional parameter "pageSize": Limit on the number -// of FHIR stores to return in a single response. If zero the default -// page size of 100 is used. +// of FHIR stores to return in a single response. If not specified, 100 +// is used. May not be larger than 1000. func (c *ProjectsLocationsDatasetsFhirStoresListCall) PageSize(pageSize int64) *ProjectsLocationsDatasetsFhirStoresListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c @@ -10473,7 +10471,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresListCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10549,7 +10547,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresListCall) Do(opts ...googleapi.CallO // "type": "string" // }, // "pageSize": { - // "description": "Limit on the number of FHIR stores to return in a single response. If zero the default page size of 100 is used.", + // "description": "Limit on the number of FHIR stores to return in a single response. If not specified, 100 is used. May not be larger than 1000.", // "format": "int32", // "location": "query", // "type": "integer" @@ -10653,7 +10651,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresPatchCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10801,7 +10799,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresSetIamPolicyCall) Header() http.Head func (c *ProjectsLocationsDatasetsFhirStoresSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10946,7 +10944,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresTestIamPermissionsCall) Header() htt func (c *ProjectsLocationsDatasetsFhirStoresTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11086,7 +11084,8 @@ func (r *ProjectsLocationsDatasetsFhirStoresFhirService) PatientEverything(name } // Count sets the optional parameter "_count": Maximum number of -// resources in a page. Defaults to 100. +// resources in a page. If not specified, 100 is used. May not be larger +// than 1000. func (c *ProjectsLocationsDatasetsFhirStoresFhirPatientEverythingCall) Count(Count int64) *ProjectsLocationsDatasetsFhirStoresFhirPatientEverythingCall { c.urlParams_.Set("_count", fmt.Sprint(Count)) return c @@ -11174,7 +11173,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirPatientEverythingCall) Header() func (c *ProjectsLocationsDatasetsFhirStoresFhirPatientEverythingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11212,7 +11211,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirPatientEverythingCall) Do(opts . // ], // "parameters": { // "_count": { - // "description": "Maximum number of resources in a page. Defaults to 100.", + // "description": "Maximum number of resources in a page. If not specified, 100 is used. May not be larger than 1000.", // "format": "int32", // "location": "query", // "type": "integer" @@ -11312,7 +11311,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirResourcePurgeCall) Header() http func (c *ProjectsLocationsDatasetsFhirStoresFhirResourcePurgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11469,7 +11468,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirCapabilitiesCall) Header() http. func (c *ProjectsLocationsDatasetsFhirStoresFhirCapabilitiesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11591,7 +11590,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirCreateCall) Header() http.Header func (c *ProjectsLocationsDatasetsFhirStoresFhirCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11712,7 +11711,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirDeleteCall) Header() http.Header func (c *ProjectsLocationsDatasetsFhirStoresFhirDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11844,7 +11843,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirExecuteBundleCall) Header() http func (c *ProjectsLocationsDatasetsFhirStoresFhirExecuteBundleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11947,8 +11946,8 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirHistoryCall) At(At string) *Proj } // Count sets the optional parameter "_count": The maximum number of -// search results on a page. Default value is 100. Maximum value is -// 1,000. +// search results on a page. If not specified, 100 is used. May not be +// larger than 1000. func (c *ProjectsLocationsDatasetsFhirStoresFhirHistoryCall) Count(Count int64) *ProjectsLocationsDatasetsFhirStoresFhirHistoryCall { c.urlParams_.Set("_count", fmt.Sprint(Count)) return c @@ -12013,7 +12012,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirHistoryCall) Header() http.Heade func (c *ProjectsLocationsDatasetsFhirStoresFhirHistoryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12056,7 +12055,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirHistoryCall) Do(opts ...googleap // "type": "string" // }, // "_count": { - // "description": "The maximum number of search results on a page. Default value is 100. Maximum value is 1,000.", + // "description": "The maximum number of search results on a page. If not specified, 100 is used. May not be larger than 1000.", // "format": "int32", // "location": "query", // "type": "integer" @@ -12153,7 +12152,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirPatchCall) Header() http.Header func (c *ProjectsLocationsDatasetsFhirStoresFhirPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12283,7 +12282,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirReadCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresFhirReadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12433,7 +12432,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirSearchCall) Header() http.Header func (c *ProjectsLocationsDatasetsFhirStoresFhirSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12560,7 +12559,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirUpdateCall) Header() http.Header func (c *ProjectsLocationsDatasetsFhirStoresFhirUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12685,7 +12684,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirVreadCall) Header() http.Header func (c *ProjectsLocationsDatasetsFhirStoresFhirVreadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12795,7 +12794,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresCreateCall) Header() http.Header { func (c *ProjectsLocationsDatasetsHl7V2StoresCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12939,7 +12938,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresDeleteCall) Header() http.Header { func (c *ProjectsLocationsDatasetsHl7V2StoresDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13080,7 +13079,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresGetCall) Header() http.Header { func (c *ProjectsLocationsDatasetsHl7V2StoresGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13241,7 +13240,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresGetIamPolicyCall) Header() http.Hea func (c *ProjectsLocationsDatasetsHl7V2StoresGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13364,8 +13363,8 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresListCall) Filter(filter string) *Pr } // PageSize sets the optional parameter "pageSize": Limit on the number -// of HL7v2 stores to return in a single response. If zero the default -// page size of 100 is used. +// of HL7v2 stores to return in a single response. If not specified, 100 +// is used. May not be larger than 1000. func (c *ProjectsLocationsDatasetsHl7V2StoresListCall) PageSize(pageSize int64) *ProjectsLocationsDatasetsHl7V2StoresListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c @@ -13416,7 +13415,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresListCall) Header() http.Header { func (c *ProjectsLocationsDatasetsHl7V2StoresListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13492,7 +13491,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresListCall) Do(opts ...googleapi.Call // "type": "string" // }, // "pageSize": { - // "description": "Limit on the number of HL7v2 stores to return in a single response. If zero the default page size of 100 is used.", + // "description": "Limit on the number of HL7v2 stores to return in a single response. If not specified, 100 is used. May not be larger than 1000.", // "format": "int32", // "location": "query", // "type": "integer" @@ -13596,7 +13595,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresPatchCall) Header() http.Header { func (c *ProjectsLocationsDatasetsHl7V2StoresPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13744,7 +13743,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresSetIamPolicyCall) Header() http.Hea func (c *ProjectsLocationsDatasetsHl7V2StoresSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13889,7 +13888,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresTestIamPermissionsCall) Header() ht func (c *ProjectsLocationsDatasetsHl7V2StoresTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14034,7 +14033,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesCreateCall) Header() http.H func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14172,7 +14171,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesDeleteCall) Header() http.H func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14330,7 +14329,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesGetCall) Header() http.Head func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14493,7 +14492,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesIngestCall) Header() http.H func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesIngestCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14627,8 +14626,8 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesListCall) OrderBy(orderBy s } // PageSize sets the optional parameter "pageSize": Limit on the number -// of messages to return in a single response. If zero the default page -// size of 100 is used. +// of messages to return in a single response. If not specified, 100 is +// used. May not be larger than 1000. func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesListCall) PageSize(pageSize int64) *ProjectsLocationsDatasetsHl7V2StoresMessagesListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c @@ -14698,7 +14697,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesListCall) Header() http.Hea func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14779,7 +14778,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesListCall) Do(opts ...google // "type": "string" // }, // "pageSize": { - // "description": "Limit on the number of messages to return in a single response. If zero the default page size of 100 is used.", + // "description": "Limit on the number of messages to return in a single response. If not specified, 100 is used. May not be larger than 1000.", // "format": "int32", // "location": "query", // "type": "integer" @@ -14907,7 +14906,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesPatchCall) Header() http.He func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15062,7 +15061,7 @@ func (c *ProjectsLocationsDatasetsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsDatasetsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15213,7 +15212,7 @@ func (c *ProjectsLocationsDatasetsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsDatasetsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15387,7 +15386,7 @@ func (c *ProjectsLocationsDatasetsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsDatasetsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/healthcare/v1beta1/healthcare-api.json b/healthcare/v1beta1/healthcare-api.json index 52545f0cdb2..6ebf91f6e46 100644 --- a/healthcare/v1beta1/healthcare-api.json +++ b/healthcare/v1beta1/healthcare-api.json @@ -331,7 +331,7 @@ ], "parameters": { "pageSize": { - "description": "The maximum number of items to return. Capped to 100 if not specified. May not be larger than 1000.", + "description": "The maximum number of items to return. If not specified, 100 is used. May not be larger than 1000.", "format": "int32", "location": "query", "type": "integer" @@ -664,7 +664,7 @@ "type": "string" }, "pageSize": { - "description": "Limit on the number of Annotation stores to return in a single response. If zero the default page size of 100 is used.", + "description": "Limit on the number of Annotation stores to return in a single response. If not specified, 100 is used. May not be larger than 1000.", "format": "int32", "location": "query", "type": "integer" @@ -877,7 +877,7 @@ "type": "string" }, "pageSize": { - "description": "Limit on the number of Annotations to return in a single response. If zero the default page size of 100 is used.", + "description": "Limit on the number of Annotations to return in a single response. If not specified, 100 is used. May not be larger than 1000.", "format": "int32", "location": "query", "type": "integer" @@ -1143,7 +1143,7 @@ "type": "string" }, "pageSize": { - "description": "Limit on the number of Consent stores to return in a single response. If zero the default page size of 100 is used.", + "description": "Limit on the number of Consent stores to return in a single response. If not specified, 100 is used. May not be larger than 1000.", "format": "int32", "location": "query", "type": "integer" @@ -1389,7 +1389,7 @@ "type": "string" }, "pageSize": { - "description": "Limit on the number of attribute definitions to return in a single response. If zero the default page size of 100 is used.", + "description": "Limit on the number of attribute definitions to return in a single response. If not specified, 100 is used. May not be larger than 1000.", "format": "int32", "location": "query", "type": "integer" @@ -1546,7 +1546,7 @@ "type": "string" }, "pageSize": { - "description": "Limit on the number of consent artifacts to return in a single response. If zero the default page size of 100 is used.", + "description": "Limit on the number of consent artifacts to return in a single response. If not specified, 100 is used. May not be larger than 1000.", "format": "int32", "location": "query", "type": "integer" @@ -1717,12 +1717,12 @@ ], "parameters": { "filter": { - "description": "Restricts the consents returned to those matching a filter. Syntax: https://cloud.google.com/appengine/docs/standard/python/search/query_strings The fields available for filtering are: - user_id - consent_artifact - state - revision_create_time", + "description": "Restricts the consents returned to those matching a filter. Syntax: https://cloud.google.com/appengine/docs/standard/python/search/query_strings The fields available for filtering are: - user_id - consent_artifact - state - revision_create_time - metadata. For example, `Metadata(\"key\")=\"value\"` or `HasMetadata(\"key\")`.", "location": "query", "type": "string" }, "pageSize": { - "description": "Limit on the number of consents to return in a single response. If zero the default page size of 100 is used.", + "description": "Limit on the number of consents to return in a single response. If not specified, 100 is used. May not be larger than 1000.", "format": "int32", "location": "query", "type": "integer" @@ -1770,7 +1770,7 @@ "type": "string" }, "pageSize": { - "description": "Limit on the number of revisions to return in a single response. If zero the default page size of 100 is used.", + "description": "Limit on the number of revisions to return in a single response. If not specified, 100 is used. May not be larger than 1000.", "format": "int32", "location": "query", "type": "integer" @@ -2004,7 +2004,7 @@ "type": "string" }, "pageSize": { - "description": "Limit on the number of user data mappings to return in a single response. If zero the default page size of 100 is used.", + "description": "Limit on the number of user data mappings to return in a single response. If not specified, 100 is used. May not be larger than 1000.", "format": "int32", "location": "query", "type": "integer" @@ -2283,7 +2283,7 @@ "type": "string" }, "pageSize": { - "description": "Limit on the number of DICOM stores to return in a single response. If zero the default page size of 100 is used.", + "description": "Limit on the number of DICOM stores to return in a single response. If not specified, 100 is used. May not be larger than 1000.", "format": "int32", "location": "query", "type": "integer" @@ -2539,7 +2539,7 @@ "studies": { "methods": { "delete": { - "description": "DeleteStudyAsync deletes all instances within the given study using an operation. Delete requests are equivalent to the GET requests specified in the Retrieve transaction. The method returns an Operation which will be marked successful when the deletion is complete. Warning: Inserting instances into a study while a delete operation is running for that study could result in the new instances not appearing in search results until the deletion operation finishes.", + "description": "DeleteStudyAsync deletes all instances within the given study using a long running operation. The method returns an Operation which will be marked successful when the deletion is complete. Warning: If you insert instances into a study while a delete operation is running for that study, the instances you insert might not appear in search results until after the deletion operation finishes.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}", "httpMethod": "DELETE", "id": "healthcare.projects.locations.datasets.dicomStores.studies.delete", @@ -2743,7 +2743,7 @@ "series": { "methods": { "delete": { - "description": "DeleteSeriesAsync deletes all instances within the given study and series using an operation. Delete requests are equivalent to the GET requests specified in the Retrieve transaction. The method returns an Operation which will be marked successful when the deletion is complete. Warning: Inserting instances into a series while a delete operation is running for that series could result in the new instances not appearing in search results until the deletion operation finishes.", + "description": "DeleteSeriesAsync deletes all instances within the given study and series using a long running operation. The method returns an Operation which will be marked successful when the deletion is complete. Warning: If you insert instances into a series while a delete operation is running for that series, the instances you insert might not appear in search results until after the deletion operation finishes.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series/{seriesId}", "httpMethod": "DELETE", "id": "healthcare.projects.locations.datasets.dicomStores.studies.series.delete", @@ -3305,7 +3305,7 @@ "type": "string" }, "pageSize": { - "description": "Limit on the number of FHIR stores to return in a single response. If zero the default page size of 100 is used.", + "description": "Limit on the number of FHIR stores to return in a single response. If not specified, 100 is used. May not be larger than 1000.", "format": "int32", "location": "query", "type": "integer" @@ -3555,7 +3555,7 @@ ], "parameters": { "_count": { - "description": "Maximum number of resources in a page. Defaults to 100.", + "description": "Maximum number of resources in a page. If not specified, 100 is used. May not be larger than 1000.", "format": "int32", "location": "query", "type": "integer" @@ -3860,7 +3860,7 @@ "type": "string" }, "_count": { - "description": "The maximum number of search results on a page. Default value is 100. Maximum value is 1,000.", + "description": "The maximum number of search results on a page. If not specified, 100 is used. May not be larger than 1000.", "format": "int32", "location": "query", "type": "integer" @@ -4216,7 +4216,7 @@ "type": "string" }, "pageSize": { - "description": "Limit on the number of HL7v2 stores to return in a single response. If zero the default page size of 100 is used.", + "description": "Limit on the number of HL7v2 stores to return in a single response. If not specified, 100 is used. May not be larger than 1000.", "format": "int32", "location": "query", "type": "integer" @@ -4483,7 +4483,7 @@ "type": "string" }, "pageSize": { - "description": "Limit on the number of messages to return in a single response. If zero the default page size of 100 is used.", + "description": "Limit on the number of messages to return in a single response. If not specified, 100 is used. May not be larger than 1000.", "format": "int32", "location": "query", "type": "integer" @@ -4709,7 +4709,7 @@ } } }, - "revision": "20201110", + "revision": "20201202", "rootUrl": "https://healthcare.googleapis.com/", "schemas": { "ActivateConsentRequest": { @@ -4979,9 +4979,6 @@ "description": "Associates `members` with a `role`.", "id": "Binding", "properties": { - "bindingId": { - "type": "string" - }, "condition": { "$ref": "Expr", "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." @@ -5041,7 +5038,7 @@ "properties": { "consentList": { "$ref": "ConsentList", - "description": "The Consents to evaluate the access request against. They must have the same `user_id` as the data to check access for, exist in the current `consent_store`, and can have a `state` of either `ACTIVE` or `DRAFT`. A maximum of 100 consents can be provided here." + "description": "The Consents to evaluate the access request against. They must have the same `user_id` as the data to check access for, exist in the current `consent_store`, and can have a `state` of either `ACTIVE` or `DRAFT`. A maximum of 100 consents can be provided here. If unspecified, all `ACTIVE` unexpired consents in the current `consent_store` will be evaluated." }, "dataId": { "description": "The unique identifier of the data to check access for. It must exist in the given `consent_store`.", @@ -5055,7 +5052,7 @@ "type": "object" }, "responseView": { - "description": "The view for CheckDataAccessResponse.", + "description": "The view for CheckDataAccessResponse. If unspecified, defaults to `BASIC` and returns `consented` as `TRUE` or `FALSE`.", "enum": [ "RESPONSE_VIEW_UNSPECIFIED", "BASIC", @@ -5113,6 +5110,13 @@ "format": "google-datetime", "type": "string" }, + "metadata": { + "additionalProperties": { + "type": "string" + }, + "description": "User-supplied key-value pairs used to organize consent resources. Metadata keys must: - be between 1 and 63 characters long - have a UTF-8 encoding of maximum 128 bytes - begin with a letter - consist of up to 63 characters including lowercase letters, numeric characters, underscores, and dashes Metadata values must be: - be between 1 and 63 characters long - have a UTF-8 encoding of maximum 128 bytes - consist of up to 63 characters including lowercase letters, numeric characters, underscores, and dashes No more than 64 metadata entries can be associated with a given consent.", + "type": "object" + }, "name": { "description": "Resource name of the Consent, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}`.", "type": "string" @@ -5639,10 +5643,10 @@ "properties": { "consentList": { "$ref": "ConsentList", - "description": "The resource names of the consents to evaluate against. Consents must be in the current `consent_store` and belong to the current `user_id`. Consents can be either active or draft. If this field is empty, the default behavior is to use all active consents that belong to `user_id`. A maximum of 100 consents can be provided here." + "description": "The Consents to evaluate the access request against. They must have the same `user_id` as the data to check access for, exist in the current `consent_store`, and can have a `state` of either `ACTIVE` or `DRAFT`. A maximum of 100 consents can be provided here. If unspecified, all `ACTIVE` unexpired consents in the current `consent_store` will be evaluated." }, "pageSize": { - "description": "Limit on the number of user data mappings to return in a single response. If zero the default page size of 100 is used.", + "description": "Limit on the number of user data mappings to return in a single response. If not specified, 100 is used. May not be larger than 1000.", "format": "int32", "type": "integer" }, @@ -5665,7 +5669,7 @@ "type": "object" }, "responseView": { - "description": "The view for EvaluateUserConsentsResponse.", + "description": "The view for EvaluateUserConsentsResponse. If unspecified, defaults to `BASIC` and returns `consented` as `TRUE` or `FALSE`.", "enum": [ "RESPONSE_VIEW_UNSPECIFIED", "BASIC", @@ -5774,6 +5778,14 @@ "description": "Request to export resources.", "id": "ExportResourcesRequest", "properties": { + "_since": { + "description": "If provided, only resources updated after this time are exported. The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For example, `2015-02-07T13:28:17.239+02:00` or `2017-01-01T00:00:00Z`. The time must be specified to the second and include a time zone.", + "type": "string" + }, + "_type": { + "description": "String of comma-delimited FHIR resource types. If provided, only resources of the specified resource type(s) are exported.", + "type": "string" + }, "bigqueryDestination": { "$ref": "GoogleCloudHealthcareV1beta1FhirBigQueryDestination", "description": "The BigQuery output destination. The Cloud Healthcare Service Agent requires two IAM roles on the BigQuery location: `roles/bigquery.dataEditor` and `roles/bigquery.jobUser`. The output is one BigQuery table per resource type." @@ -6523,15 +6535,15 @@ "type": "object" }, "Image": { - "description": "An image.", + "description": "Raw bytes representing consent artifact content.", "id": "Image", "properties": { "gcsUri": { - "description": "Input only. Points to a Cloud Storage URI containing the image. The URI must be in the following format: `gs://{bucket_id}/{object_id}`. The Cloud Healthcare API service account must have the `roles/storage.objectViewer` Cloud IAM role for this Cloud Storage location. The image at this URI is copied to a Cloud Storage location managed by the Cloud Healthcare API. Responses to image fetching requests return the image in raw_bytes.", + "description": "Input only. Points to a Cloud Storage URI containing the consent artifact content. The URI must be in the following format: `gs://{bucket_id}/{object_id}`. The Cloud Healthcare API service account must have the `roles/storage.objectViewer` Cloud IAM role for this Cloud Storage location. The consent artifact content at this URI is copied to a Cloud Storage location managed by the Cloud Healthcare API. Responses to fetching requests return the consent artifact content in raw_bytes.", "type": "string" }, "rawBytes": { - "description": "Image content represented as a stream of bytes. This field is populated when returned in GetConsentArtifact response, but not included in CreateConsentArtifact and ListConsentArtifact response.", + "description": "Consent artifact content represented as a stream of bytes. This field is populated when returned in GetConsentArtifact response, but not included in CreateConsentArtifact and ListConsentArtifact response.", "format": "byte", "type": "string" } diff --git a/healthcare/v1beta1/healthcare-gen.go b/healthcare/v1beta1/healthcare-gen.go index 16b6004f9e0..a488e6da104 100644 --- a/healthcare/v1beta1/healthcare-gen.go +++ b/healthcare/v1beta1/healthcare-gen.go @@ -904,8 +904,6 @@ func (s *AuditLogConfig) MarshalJSON() ([]byte, error) { // Binding: Associates `members` with a `role`. type Binding struct { - BindingId string `json:"bindingId,omitempty"` - // Condition: The condition that is associated with this binding. If the // condition evaluates to `true`, then this binding applies to the // current request. If the condition evaluates to `false`, then this @@ -955,7 +953,7 @@ type Binding struct { // `roles/viewer`, `roles/editor`, or `roles/owner`. Role string `json:"role,omitempty"` - // ForceSendFields is a list of field names (e.g. "BindingId") to + // ForceSendFields is a list of field names (e.g. "Condition") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -963,7 +961,7 @@ type Binding struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "BindingId") to include in + // NullFields is a list of field names (e.g. "Condition") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -1052,7 +1050,8 @@ type CheckDataAccessRequest struct { // They must have the same `user_id` as the data to check access for, // exist in the current `consent_store`, and can have a `state` of // either `ACTIVE` or `DRAFT`. A maximum of 100 consents can be provided - // here. + // here. If unspecified, all `ACTIVE` unexpired consents in the current + // `consent_store` will be evaluated. ConsentList *ConsentList `json:"consentList,omitempty"` // DataId: The unique identifier of the data to check access for. It @@ -1063,7 +1062,8 @@ type CheckDataAccessRequest struct { // this access request. RequestAttributes map[string]string `json:"requestAttributes,omitempty"` - // ResponseView: The view for CheckDataAccessResponse. + // ResponseView: The view for CheckDataAccessResponse. If unspecified, + // defaults to `BASIC` and returns `consented` as `TRUE` or `FALSE`. // // Possible values: // "RESPONSE_VIEW_UNSPECIFIED" - No response view specified. The API @@ -1177,6 +1177,17 @@ type Consent struct { // expired. ExpireTime string `json:"expireTime,omitempty"` + // Metadata: User-supplied key-value pairs used to organize consent + // resources. Metadata keys must: - be between 1 and 63 characters long + // - have a UTF-8 encoding of maximum 128 bytes - begin with a letter - + // consist of up to 63 characters including lowercase letters, numeric + // characters, underscores, and dashes Metadata values must be: - be + // between 1 and 63 characters long - have a UTF-8 encoding of maximum + // 128 bytes - consist of up to 63 characters including lowercase + // letters, numeric characters, underscores, and dashes No more than 64 + // metadata entries can be associated with a given consent. + Metadata map[string]string `json:"metadata,omitempty"` + // Name: Resource name of the Consent, of the form // `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/c // onsentStores/{consent_store_id}/consents/{consent_id}`. @@ -2185,16 +2196,17 @@ type EvaluateAnnotationStoreResponse struct { // EvaluateUserConsentsRequest: Evaluate an end user's Consents for all // matching User data mappings. type EvaluateUserConsentsRequest struct { - // ConsentList: The resource names of the consents to evaluate against. - // Consents must be in the current `consent_store` and belong to the - // current `user_id`. Consents can be either active or draft. If this - // field is empty, the default behavior is to use all active consents - // that belong to `user_id`. A maximum of 100 consents can be provided - // here. + // ConsentList: The Consents to evaluate the access request against. + // They must have the same `user_id` as the data to check access for, + // exist in the current `consent_store`, and can have a `state` of + // either `ACTIVE` or `DRAFT`. A maximum of 100 consents can be provided + // here. If unspecified, all `ACTIVE` unexpired consents in the current + // `consent_store` will be evaluated. ConsentList *ConsentList `json:"consentList,omitempty"` // PageSize: Limit on the number of user data mappings to return in a - // single response. If zero the default page size of 100 is used. + // single response. If not specified, 100 is used. May not be larger + // than 1000. PageSize int64 `json:"pageSize,omitempty"` // PageToken: Token to retrieve the next page of results to get the @@ -2210,7 +2222,9 @@ type EvaluateUserConsentsRequest struct { // then all data types are queried. ResourceAttributes map[string]string `json:"resourceAttributes,omitempty"` - // ResponseView: The view for EvaluateUserConsentsResponse. + // ResponseView: The view for EvaluateUserConsentsResponse. If + // unspecified, defaults to `BASIC` and returns `consented` as `TRUE` or + // `FALSE`. // // Possible values: // "RESPONSE_VIEW_UNSPECIFIED" - No response view specified. The API @@ -2418,6 +2432,16 @@ func (s *ExportMessagesRequest) MarshalJSON() ([]byte, error) { // ExportResourcesRequest: Request to export resources. type ExportResourcesRequest struct { + // Since: If provided, only resources updated after this time are + // exported. The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For + // example, `2015-02-07T13:28:17.239+02:00` or `2017-01-01T00:00:00Z`. + // The time must be specified to the second and include a time zone. + Since string `json:"_since,omitempty"` + + // Type: String of comma-delimited FHIR resource types. If provided, + // only resources of the specified resource type(s) are exported. + Type string `json:"_type,omitempty"` + // BigqueryDestination: The BigQuery output destination. The Cloud // Healthcare Service Agent requires two IAM roles on the BigQuery // location: `roles/bigquery.dataEditor` and `roles/bigquery.jobUser`. @@ -2432,21 +2456,20 @@ type ExportResourcesRequest struct { // each line is a FHIR resource. GcsDestination *GoogleCloudHealthcareV1beta1FhirGcsDestination `json:"gcsDestination,omitempty"` - // ForceSendFields is a list of field names (e.g. "BigqueryDestination") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "Since") to + // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "BigqueryDestination") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "Since") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } @@ -4023,20 +4046,22 @@ func (s *HttpBody) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// Image: An image. +// Image: Raw bytes representing consent artifact content. type Image struct { // GcsUri: Input only. Points to a Cloud Storage URI containing the - // image. The URI must be in the following format: + // consent artifact content. The URI must be in the following format: // `gs://{bucket_id}/{object_id}`. The Cloud Healthcare API service // account must have the `roles/storage.objectViewer` Cloud IAM role for - // this Cloud Storage location. The image at this URI is copied to a - // Cloud Storage location managed by the Cloud Healthcare API. Responses - // to image fetching requests return the image in raw_bytes. + // this Cloud Storage location. The consent artifact content at this URI + // is copied to a Cloud Storage location managed by the Cloud Healthcare + // API. Responses to fetching requests return the consent artifact + // content in raw_bytes. GcsUri string `json:"gcsUri,omitempty"` - // RawBytes: Image content represented as a stream of bytes. This field - // is populated when returned in GetConsentArtifact response, but not - // included in CreateConsentArtifact and ListConsentArtifact response. + // RawBytes: Consent artifact content represented as a stream of bytes. + // This field is populated when returned in GetConsentArtifact response, + // but not included in CreateConsentArtifact and ListConsentArtifact + // response. RawBytes string `json:"rawBytes,omitempty"` // ForceSendFields is a list of field names (e.g. "GcsUri") to @@ -6748,7 +6773,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6914,7 +6939,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7097,7 +7122,7 @@ func (c *ProjectsLocationsDatasetsCreateCall) Header() http.Header { func (c *ProjectsLocationsDatasetsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7250,7 +7275,7 @@ func (c *ProjectsLocationsDatasetsDeidentifyCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDeidentifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7390,7 +7415,7 @@ func (c *ProjectsLocationsDatasetsDeleteCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7531,7 +7556,7 @@ func (c *ProjectsLocationsDatasetsGetCall) Header() http.Header { func (c *ProjectsLocationsDatasetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7692,7 +7717,7 @@ func (c *ProjectsLocationsDatasetsGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsDatasetsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7806,7 +7831,7 @@ func (r *ProjectsLocationsDatasetsService) List(parent string) *ProjectsLocation } // PageSize sets the optional parameter "pageSize": The maximum number -// of items to return. Capped to 100 if not specified. May not be larger +// of items to return. If not specified, 100 is used. May not be larger // than 1000. func (c *ProjectsLocationsDatasetsListCall) PageSize(pageSize int64) *ProjectsLocationsDatasetsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) @@ -7857,7 +7882,7 @@ func (c *ProjectsLocationsDatasetsListCall) Header() http.Header { func (c *ProjectsLocationsDatasetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7928,7 +7953,7 @@ func (c *ProjectsLocationsDatasetsListCall) Do(opts ...googleapi.CallOption) (*L // ], // "parameters": { // "pageSize": { - // "description": "The maximum number of items to return. Capped to 100 if not specified. May not be larger than 1000.", + // "description": "The maximum number of items to return. If not specified, 100 is used. May not be larger than 1000.", // "format": "int32", // "location": "query", // "type": "integer" @@ -8032,7 +8057,7 @@ func (c *ProjectsLocationsDatasetsPatchCall) Header() http.Header { func (c *ProjectsLocationsDatasetsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8180,7 +8205,7 @@ func (c *ProjectsLocationsDatasetsSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsDatasetsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8325,7 +8350,7 @@ func (c *ProjectsLocationsDatasetsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsLocationsDatasetsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8473,7 +8498,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresCreateCall) Header() http.Head func (c *ProjectsLocationsDatasetsAnnotationStoresCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8617,7 +8642,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresDeleteCall) Header() http.Head func (c *ProjectsLocationsDatasetsAnnotationStoresDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8754,7 +8779,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresEvaluateCall) Header() http.He func (c *ProjectsLocationsDatasetsAnnotationStoresEvaluateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8899,7 +8924,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresExportCall) Header() http.Head func (c *ProjectsLocationsDatasetsAnnotationStoresExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9049,7 +9074,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresGetCall) Header() http.Header func (c *ProjectsLocationsDatasetsAnnotationStoresGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9210,7 +9235,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresGetIamPolicyCall) Header() htt func (c *ProjectsLocationsDatasetsAnnotationStoresGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9356,7 +9381,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresImportCall) Header() http.Head func (c *ProjectsLocationsDatasetsAnnotationStoresImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9479,8 +9504,8 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresListCall) Filter(filter string } // PageSize sets the optional parameter "pageSize": Limit on the number -// of Annotation stores to return in a single response. If zero the -// default page size of 100 is used. +// of Annotation stores to return in a single response. If not +// specified, 100 is used. May not be larger than 1000. func (c *ProjectsLocationsDatasetsAnnotationStoresListCall) PageSize(pageSize int64) *ProjectsLocationsDatasetsAnnotationStoresListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c @@ -9531,7 +9556,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresListCall) Header() http.Header func (c *ProjectsLocationsDatasetsAnnotationStoresListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9607,7 +9632,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresListCall) Do(opts ...googleapi // "type": "string" // }, // "pageSize": { - // "description": "Limit on the number of Annotation stores to return in a single response. If zero the default page size of 100 is used.", + // "description": "Limit on the number of Annotation stores to return in a single response. If not specified, 100 is used. May not be larger than 1000.", // "format": "int32", // "location": "query", // "type": "integer" @@ -9711,7 +9736,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresPatchCall) Header() http.Heade func (c *ProjectsLocationsDatasetsAnnotationStoresPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9859,7 +9884,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresSetIamPolicyCall) Header() htt func (c *ProjectsLocationsDatasetsAnnotationStoresSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10004,7 +10029,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresTestIamPermissionsCall) Header func (c *ProjectsLocationsDatasetsAnnotationStoresTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10146,7 +10171,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresAnnotationsCreateCall) Header( func (c *ProjectsLocationsDatasetsAnnotationStoresAnnotationsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10285,7 +10310,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresAnnotationsDeleteCall) Header( func (c *ProjectsLocationsDatasetsAnnotationStoresAnnotationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10426,7 +10451,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresAnnotationsGetCall) Header() h func (c *ProjectsLocationsDatasetsAnnotationStoresAnnotationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10550,8 +10575,8 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresAnnotationsListCall) Filter(fi } // PageSize sets the optional parameter "pageSize": Limit on the number -// of Annotations to return in a single response. If zero the default -// page size of 100 is used. +// of Annotations to return in a single response. If not specified, 100 +// is used. May not be larger than 1000. func (c *ProjectsLocationsDatasetsAnnotationStoresAnnotationsListCall) PageSize(pageSize int64) *ProjectsLocationsDatasetsAnnotationStoresAnnotationsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c @@ -10615,7 +10640,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresAnnotationsListCall) Header() func (c *ProjectsLocationsDatasetsAnnotationStoresAnnotationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10691,7 +10716,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresAnnotationsListCall) Do(opts . // "type": "string" // }, // "pageSize": { - // "description": "Limit on the number of Annotations to return in a single response. If zero the default page size of 100 is used.", + // "description": "Limit on the number of Annotations to return in a single response. If not specified, 100 is used. May not be larger than 1000.", // "format": "int32", // "location": "query", // "type": "integer" @@ -10810,7 +10835,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresAnnotationsPatchCall) Header() func (c *ProjectsLocationsDatasetsAnnotationStoresAnnotationsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10957,7 +10982,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresCheckDataAccessCall) Header() htt func (c *ProjectsLocationsDatasetsConsentStoresCheckDataAccessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11107,7 +11132,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresCreateCall) Header() http.Header func (c *ProjectsLocationsDatasetsConsentStoresCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11251,7 +11276,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresDeleteCall) Header() http.Header func (c *ProjectsLocationsDatasetsConsentStoresDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11387,7 +11412,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresEvaluateUserConsentsCall) Header( func (c *ProjectsLocationsDatasetsConsentStoresEvaluateUserConsentsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11557,7 +11582,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresGetCall) Header() http.Header { func (c *ProjectsLocationsDatasetsConsentStoresGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11718,7 +11743,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresGetIamPolicyCall) Header() http.H func (c *ProjectsLocationsDatasetsConsentStoresGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11841,8 +11866,8 @@ func (c *ProjectsLocationsDatasetsConsentStoresListCall) Filter(filter string) * } // PageSize sets the optional parameter "pageSize": Limit on the number -// of Consent stores to return in a single response. If zero the default -// page size of 100 is used. +// of Consent stores to return in a single response. If not specified, +// 100 is used. May not be larger than 1000. func (c *ProjectsLocationsDatasetsConsentStoresListCall) PageSize(pageSize int64) *ProjectsLocationsDatasetsConsentStoresListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c @@ -11892,7 +11917,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresListCall) Header() http.Header { func (c *ProjectsLocationsDatasetsConsentStoresListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11968,7 +11993,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresListCall) Do(opts ...googleapi.Ca // "type": "string" // }, // "pageSize": { - // "description": "Limit on the number of Consent stores to return in a single response. If zero the default page size of 100 is used.", + // "description": "Limit on the number of Consent stores to return in a single response. If not specified, 100 is used. May not be larger than 1000.", // "format": "int32", // "location": "query", // "type": "integer" @@ -12073,7 +12098,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresPatchCall) Header() http.Header { func (c *ProjectsLocationsDatasetsConsentStoresPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12243,7 +12268,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresQueryAccessibleDataCall) Header() func (c *ProjectsLocationsDatasetsConsentStoresQueryAccessibleDataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12385,7 +12410,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresSetIamPolicyCall) Header() http.H func (c *ProjectsLocationsDatasetsConsentStoresSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12530,7 +12555,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresTestIamPermissionsCall) Header() func (c *ProjectsLocationsDatasetsConsentStoresTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12682,7 +12707,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsCreateCall) H func (c *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12827,7 +12852,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsDeleteCall) H func (c *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12968,7 +12993,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsGetCall) Head func (c *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13085,8 +13110,8 @@ func (c *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsListCall) Fil } // PageSize sets the optional parameter "pageSize": Limit on the number -// of attribute definitions to return in a single response. If zero the -// default page size of 100 is used. +// of attribute definitions to return in a single response. If not +// specified, 100 is used. May not be larger than 1000. func (c *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsListCall) PageSize(pageSize int64) *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c @@ -13136,7 +13161,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsListCall) Hea func (c *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13212,7 +13237,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsListCall) Do( // "type": "string" // }, // "pageSize": { - // "description": "Limit on the number of attribute definitions to return in a single response. If zero the default page size of 100 is used.", + // "description": "Limit on the number of attribute definitions to return in a single response. If not specified, 100 is used. May not be larger than 1000.", // "format": "int32", // "location": "query", // "type": "integer" @@ -13317,7 +13342,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsPatchCall) He func (c *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13463,7 +13488,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentArtifactsCreateCall) Heade func (c *ProjectsLocationsDatasetsConsentStoresConsentArtifactsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13602,7 +13627,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentArtifactsDeleteCall) Heade func (c *ProjectsLocationsDatasetsConsentStoresConsentArtifactsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13743,7 +13768,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentArtifactsGetCall) Header() func (c *ProjectsLocationsDatasetsConsentStoresConsentArtifactsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13860,8 +13885,8 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentArtifactsListCall) Filter( } // PageSize sets the optional parameter "pageSize": Limit on the number -// of consent artifacts to return in a single response. If zero the -// default page size of 100 is used. +// of consent artifacts to return in a single response. If not +// specified, 100 is used. May not be larger than 1000. func (c *ProjectsLocationsDatasetsConsentStoresConsentArtifactsListCall) PageSize(pageSize int64) *ProjectsLocationsDatasetsConsentStoresConsentArtifactsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c @@ -13912,7 +13937,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentArtifactsListCall) Header( func (c *ProjectsLocationsDatasetsConsentStoresConsentArtifactsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13988,7 +14013,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentArtifactsListCall) Do(opts // "type": "string" // }, // "pageSize": { - // "description": "Limit on the number of consent artifacts to return in a single response. If zero the default page size of 100 is used.", + // "description": "Limit on the number of consent artifacts to return in a single response. If not specified, 100 is used. May not be larger than 1000.", // "format": "int32", // "location": "query", // "type": "integer" @@ -14089,7 +14114,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentsActivateCall) Header() ht func (c *ProjectsLocationsDatasetsConsentStoresConsentsActivateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14229,7 +14254,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentsCreateCall) Header() http func (c *ProjectsLocationsDatasetsConsentStoresConsentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14370,7 +14395,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentsDeleteCall) Header() http func (c *ProjectsLocationsDatasetsConsentStoresConsentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14502,7 +14527,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentsDeleteRevisionCall) Heade func (c *ProjectsLocationsDatasetsConsentStoresConsentsDeleteRevisionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14644,7 +14669,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentsGetCall) Header() http.He func (c *ProjectsLocationsDatasetsConsentStoresConsentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14754,16 +14779,16 @@ func (r *ProjectsLocationsDatasetsConsentStoresConsentsService) List(parent stri // Filter sets the optional parameter "filter": Restricts the consents // returned to those matching a filter. Syntax: -// https://cloud.google.com/appengine/docs/standard/python/search/query_strings The fields available for filtering are: - user_id - consent_artifact - state - -// revision_create_time +// https://cloud.google.com/appengine/docs/standard/python/search/query_strings The fields available for filtering are: - user_id - consent_artifact - state - revision_create_time - metadata. For example, `Metadata("key")="value" or +// `HasMetadata("key")`. func (c *ProjectsLocationsDatasetsConsentStoresConsentsListCall) Filter(filter string) *ProjectsLocationsDatasetsConsentStoresConsentsListCall { c.urlParams_.Set("filter", filter) return c } // PageSize sets the optional parameter "pageSize": Limit on the number -// of consents to return in a single response. If zero the default page -// size of 100 is used. +// of consents to return in a single response. If not specified, 100 is +// used. May not be larger than 1000. func (c *ProjectsLocationsDatasetsConsentStoresConsentsListCall) PageSize(pageSize int64) *ProjectsLocationsDatasetsConsentStoresConsentsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c @@ -14814,7 +14839,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentsListCall) Header() http.H func (c *ProjectsLocationsDatasetsConsentStoresConsentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14885,12 +14910,12 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentsListCall) Do(opts ...goog // ], // "parameters": { // "filter": { - // "description": "Restricts the consents returned to those matching a filter. Syntax: https://cloud.google.com/appengine/docs/standard/python/search/query_strings The fields available for filtering are: - user_id - consent_artifact - state - revision_create_time", + // "description": "Restricts the consents returned to those matching a filter. Syntax: https://cloud.google.com/appengine/docs/standard/python/search/query_strings The fields available for filtering are: - user_id - consent_artifact - state - revision_create_time - metadata. For example, `Metadata(\"key\")=\"value\"` or `HasMetadata(\"key\")`.", // "location": "query", // "type": "string" // }, // "pageSize": { - // "description": "Limit on the number of consents to return in a single response. If zero the default page size of 100 is used.", + // "description": "Limit on the number of consents to return in a single response. If not specified, 100 is used. May not be larger than 1000.", // "format": "int32", // "location": "query", // "type": "integer" @@ -14969,8 +14994,8 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentsListRevisionsCall) Filter } // PageSize sets the optional parameter "pageSize": Limit on the number -// of revisions to return in a single response. If zero the default page -// size of 100 is used. +// of revisions to return in a single response. If not specified, 100 is +// used. May not be larger than 1000. func (c *ProjectsLocationsDatasetsConsentStoresConsentsListRevisionsCall) PageSize(pageSize int64) *ProjectsLocationsDatasetsConsentStoresConsentsListRevisionsCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c @@ -15021,7 +15046,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentsListRevisionsCall) Header func (c *ProjectsLocationsDatasetsConsentStoresConsentsListRevisionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15104,7 +15129,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentsListRevisionsCall) Do(opt // "type": "string" // }, // "pageSize": { - // "description": "Limit on the number of revisions to return in a single response. If zero the default page size of 100 is used.", + // "description": "Limit on the number of revisions to return in a single response. If not specified, 100 is used. May not be larger than 1000.", // "format": "int32", // "location": "query", // "type": "integer" @@ -15205,7 +15230,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentsPatchCall) Header() http. func (c *ProjectsLocationsDatasetsConsentStoresConsentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15356,7 +15381,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentsRejectCall) Header() http func (c *ProjectsLocationsDatasetsConsentStoresConsentsRejectCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15501,7 +15526,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentsRevokeCall) Header() http func (c *ProjectsLocationsDatasetsConsentStoresConsentsRevokeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15641,7 +15666,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresUserDataMappingsArchiveCall) Head func (c *ProjectsLocationsDatasetsConsentStoresUserDataMappingsArchiveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15781,7 +15806,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresUserDataMappingsCreateCall) Heade func (c *ProjectsLocationsDatasetsConsentStoresUserDataMappingsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15919,7 +15944,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresUserDataMappingsDeleteCall) Heade func (c *ProjectsLocationsDatasetsConsentStoresUserDataMappingsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16060,7 +16085,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresUserDataMappingsGetCall) Header() func (c *ProjectsLocationsDatasetsConsentStoresUserDataMappingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16177,8 +16202,8 @@ func (c *ProjectsLocationsDatasetsConsentStoresUserDataMappingsListCall) Filter( } // PageSize sets the optional parameter "pageSize": Limit on the number -// of user data mappings to return in a single response. If zero the -// default page size of 100 is used. +// of user data mappings to return in a single response. If not +// specified, 100 is used. May not be larger than 1000. func (c *ProjectsLocationsDatasetsConsentStoresUserDataMappingsListCall) PageSize(pageSize int64) *ProjectsLocationsDatasetsConsentStoresUserDataMappingsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c @@ -16228,7 +16253,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresUserDataMappingsListCall) Header( func (c *ProjectsLocationsDatasetsConsentStoresUserDataMappingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16304,7 +16329,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresUserDataMappingsListCall) Do(opts // "type": "string" // }, // "pageSize": { - // "description": "Limit on the number of user data mappings to return in a single response. If zero the default page size of 100 is used.", + // "description": "Limit on the number of user data mappings to return in a single response. If not specified, 100 is used. May not be larger than 1000.", // "format": "int32", // "location": "query", // "type": "integer" @@ -16408,7 +16433,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresUserDataMappingsPatchCall) Header func (c *ProjectsLocationsDatasetsConsentStoresUserDataMappingsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16562,7 +16587,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresCreateCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDicomStoresCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16715,7 +16740,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresDeidentifyCall) Header() http.Heade func (c *ProjectsLocationsDatasetsDicomStoresDeidentifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16854,7 +16879,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresDeleteCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDicomStoresDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16989,7 +17014,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresExportCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDicomStoresExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17138,7 +17163,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresGetCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDicomStoresGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17299,7 +17324,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresGetIamPolicyCall) Header() http.Hea func (c *ProjectsLocationsDatasetsDicomStoresGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17443,7 +17468,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresImportCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDicomStoresImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17565,8 +17590,8 @@ func (c *ProjectsLocationsDatasetsDicomStoresListCall) Filter(filter string) *Pr } // PageSize sets the optional parameter "pageSize": Limit on the number -// of DICOM stores to return in a single response. If zero the default -// page size of 100 is used. +// of DICOM stores to return in a single response. If not specified, 100 +// is used. May not be larger than 1000. func (c *ProjectsLocationsDatasetsDicomStoresListCall) PageSize(pageSize int64) *ProjectsLocationsDatasetsDicomStoresListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c @@ -17617,7 +17642,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresListCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDicomStoresListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17693,7 +17718,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresListCall) Do(opts ...googleapi.Call // "type": "string" // }, // "pageSize": { - // "description": "Limit on the number of DICOM stores to return in a single response. If zero the default page size of 100 is used.", + // "description": "Limit on the number of DICOM stores to return in a single response. If not specified, 100 is used. May not be larger than 1000.", // "format": "int32", // "location": "query", // "type": "integer" @@ -17797,7 +17822,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresPatchCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDicomStoresPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17964,7 +17989,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresSearchForInstancesCall) Header() ht func (c *ProjectsLocationsDatasetsDicomStoresSearchForInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18096,7 +18121,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresSearchForSeriesCall) Header() http. func (c *ProjectsLocationsDatasetsDicomStoresSearchForSeriesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18228,7 +18253,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresSearchForStudiesCall) Header() http func (c *ProjectsLocationsDatasetsDicomStoresSearchForStudiesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18341,7 +18366,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresSetIamPolicyCall) Header() http.Hea func (c *ProjectsLocationsDatasetsDicomStoresSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18492,7 +18517,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStoreInstancesCall) Header() http.H func (c *ProjectsLocationsDatasetsDicomStoresStoreInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18607,7 +18632,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresTestIamPermissionsCall) Header() ht func (c *ProjectsLocationsDatasetsDicomStoresTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18713,13 +18738,11 @@ type ProjectsLocationsDatasetsDicomStoresStudiesDeleteCall struct { } // Delete: DeleteStudyAsync deletes all instances within the given study -// using an operation. Delete requests are equivalent to the GET -// requests specified in the Retrieve transaction. The method returns an -// Operation which will be marked successful when the deletion is -// complete. Warning: Inserting instances into a study while a delete -// operation is running for that study could result in the new instances -// not appearing in search results until the deletion operation -// finishes. +// using a long running operation. The method returns an Operation which +// will be marked successful when the deletion is complete. Warning: If +// you insert instances into a study while a delete operation is running +// for that study, the instances you insert might not appear in search +// results until after the deletion operation finishes. func (r *ProjectsLocationsDatasetsDicomStoresStudiesService) Delete(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesDeleteCall { c := &ProjectsLocationsDatasetsDicomStoresStudiesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -18754,7 +18777,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesDeleteCall) Header() http.He func (c *ProjectsLocationsDatasetsDicomStoresStudiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18814,7 +18837,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesDeleteCall) Do(opts ...googl } return ret, nil // { - // "description": "DeleteStudyAsync deletes all instances within the given study using an operation. Delete requests are equivalent to the GET requests specified in the Retrieve transaction. The method returns an Operation which will be marked successful when the deletion is complete. Warning: Inserting instances into a study while a delete operation is running for that study could result in the new instances not appearing in search results until the deletion operation finishes.", + // "description": "DeleteStudyAsync deletes all instances within the given study using a long running operation. The method returns an Operation which will be marked successful when the deletion is complete. Warning: If you insert instances into a study while a delete operation is running for that study, the instances you insert might not appear in search results until after the deletion operation finishes.", // "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}", // "httpMethod": "DELETE", // "id": "healthcare.projects.locations.datasets.dicomStores.studies.delete", @@ -18915,7 +18938,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesRetrieveMetadataCall) Header func (c *ProjectsLocationsDatasetsDicomStoresStudiesRetrieveMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19047,7 +19070,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesRetrieveStudyCall) Header() func (c *ProjectsLocationsDatasetsDicomStoresStudiesRetrieveStudyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19179,7 +19202,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSearchForInstancesCall) Head func (c *ProjectsLocationsDatasetsDicomStoresStudiesSearchForInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19311,7 +19334,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSearchForSeriesCall) Header( func (c *ProjectsLocationsDatasetsDicomStoresStudiesSearchForSeriesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19433,7 +19456,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesStoreInstancesCall) Header() func (c *ProjectsLocationsDatasetsDicomStoresStudiesStoreInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19509,13 +19532,12 @@ type ProjectsLocationsDatasetsDicomStoresStudiesSeriesDeleteCall struct { } // Delete: DeleteSeriesAsync deletes all instances within the given -// study and series using an operation. Delete requests are equivalent -// to the GET requests specified in the Retrieve transaction. The method -// returns an Operation which will be marked successful when the -// deletion is complete. Warning: Inserting instances into a series -// while a delete operation is running for that series could result in -// the new instances not appearing in search results until the deletion -// operation finishes. +// study and series using a long running operation. The method returns +// an Operation which will be marked successful when the deletion is +// complete. Warning: If you insert instances into a series while a +// delete operation is running for that series, the instances you insert +// might not appear in search results until after the deletion operation +// finishes. func (r *ProjectsLocationsDatasetsDicomStoresStudiesSeriesService) Delete(parent string, dicomWebPath string) *ProjectsLocationsDatasetsDicomStoresStudiesSeriesDeleteCall { c := &ProjectsLocationsDatasetsDicomStoresStudiesSeriesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -19550,7 +19572,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesDeleteCall) Header() h func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19610,7 +19632,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesDeleteCall) Do(opts .. } return ret, nil // { - // "description": "DeleteSeriesAsync deletes all instances within the given study and series using an operation. Delete requests are equivalent to the GET requests specified in the Retrieve transaction. The method returns an Operation which will be marked successful when the deletion is complete. Warning: Inserting instances into a series while a delete operation is running for that series could result in the new instances not appearing in search results until the deletion operation finishes.", + // "description": "DeleteSeriesAsync deletes all instances within the given study and series using a long running operation. The method returns an Operation which will be marked successful when the deletion is complete. Warning: If you insert instances into a series while a delete operation is running for that series, the instances you insert might not appear in search results until after the deletion operation finishes.", // "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series/{seriesId}", // "httpMethod": "DELETE", // "id": "healthcare.projects.locations.datasets.dicomStores.studies.series.delete", @@ -19712,7 +19734,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveMetadataCall) func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19844,7 +19866,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveSeriesCall) He func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveSeriesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19976,7 +19998,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesSearchForInstancesCall func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesSearchForInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20094,7 +20116,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesDeleteCall) H func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20257,7 +20279,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveInsta func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveInstanceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20390,7 +20412,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveMetad func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20523,7 +20545,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveRende func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveRenderedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20654,7 +20676,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetriev func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetrieveFramesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20787,7 +20809,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetriev func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetrieveRenderedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20906,7 +20928,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresCreateCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21057,7 +21079,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresDeidentifyCall) Header() http.Header func (c *ProjectsLocationsDatasetsFhirStoresDeidentifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21196,7 +21218,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresDeleteCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21336,7 +21358,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresExportCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21485,7 +21507,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresGetCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21646,7 +21668,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresGetIamPolicyCall) Header() http.Head func (c *ProjectsLocationsDatasetsFhirStoresGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21841,7 +21863,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresImportCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21963,8 +21985,8 @@ func (c *ProjectsLocationsDatasetsFhirStoresListCall) Filter(filter string) *Pro } // PageSize sets the optional parameter "pageSize": Limit on the number -// of FHIR stores to return in a single response. If zero the default -// page size of 100 is used. +// of FHIR stores to return in a single response. If not specified, 100 +// is used. May not be larger than 1000. func (c *ProjectsLocationsDatasetsFhirStoresListCall) PageSize(pageSize int64) *ProjectsLocationsDatasetsFhirStoresListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c @@ -22015,7 +22037,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresListCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22091,7 +22113,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresListCall) Do(opts ...googleapi.CallO // "type": "string" // }, // "pageSize": { - // "description": "Limit on the number of FHIR stores to return in a single response. If zero the default page size of 100 is used.", + // "description": "Limit on the number of FHIR stores to return in a single response. If not specified, 100 is used. May not be larger than 1000.", // "format": "int32", // "location": "query", // "type": "integer" @@ -22195,7 +22217,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresPatchCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22343,7 +22365,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresSetIamPolicyCall) Header() http.Head func (c *ProjectsLocationsDatasetsFhirStoresSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22488,7 +22510,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresTestIamPermissionsCall) Header() htt func (c *ProjectsLocationsDatasetsFhirStoresTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22695,7 +22717,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirConceptMapSearchTranslateCall) H func (c *ProjectsLocationsDatasetsFhirStoresFhirConceptMapSearchTranslateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22871,7 +22893,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirConceptMapTranslateCall) Header( func (c *ProjectsLocationsDatasetsFhirStoresFhirConceptMapTranslateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23023,7 +23045,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirObservationLastnCall) Header() h func (c *ProjectsLocationsDatasetsFhirStoresFhirObservationLastnCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23125,7 +23147,8 @@ func (r *ProjectsLocationsDatasetsFhirStoresFhirService) PatientEverything(name } // Count sets the optional parameter "_count": Maximum number of -// resources in a page. Defaults to 100. +// resources in a page. If not specified, 100 is used. May not be larger +// than 1000. func (c *ProjectsLocationsDatasetsFhirStoresFhirPatientEverythingCall) Count(Count int64) *ProjectsLocationsDatasetsFhirStoresFhirPatientEverythingCall { c.urlParams_.Set("_count", fmt.Sprint(Count)) return c @@ -23213,7 +23236,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirPatientEverythingCall) Header() func (c *ProjectsLocationsDatasetsFhirStoresFhirPatientEverythingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23251,7 +23274,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirPatientEverythingCall) Do(opts . // ], // "parameters": { // "_count": { - // "description": "Maximum number of resources in a page. Defaults to 100.", + // "description": "Maximum number of resources in a page. If not specified, 100 is used. May not be larger than 1000.", // "format": "int32", // "location": "query", // "type": "integer" @@ -23351,7 +23374,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirResourcePurgeCall) Header() http func (c *ProjectsLocationsDatasetsFhirStoresFhirResourcePurgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23508,7 +23531,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirCapabilitiesCall) Header() http. func (c *ProjectsLocationsDatasetsFhirStoresFhirCapabilitiesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23629,7 +23652,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirConditionalDeleteCall) Header() func (c *ProjectsLocationsDatasetsFhirStoresFhirConditionalDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23797,7 +23820,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirConditionalPatchCall) Header() h func (c *ProjectsLocationsDatasetsFhirStoresFhirConditionalPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23940,7 +23963,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirConditionalUpdateCall) Header() func (c *ProjectsLocationsDatasetsFhirStoresFhirConditionalUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24080,7 +24103,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirCreateCall) Header() http.Header func (c *ProjectsLocationsDatasetsFhirStoresFhirCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24202,7 +24225,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirDeleteCall) Header() http.Header func (c *ProjectsLocationsDatasetsFhirStoresFhirDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24341,7 +24364,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirExecuteBundleCall) Header() http func (c *ProjectsLocationsDatasetsFhirStoresFhirExecuteBundleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24444,8 +24467,8 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirHistoryCall) At(At string) *Proj } // Count sets the optional parameter "_count": The maximum number of -// search results on a page. Default value is 100. Maximum value is -// 1,000. +// search results on a page. If not specified, 100 is used. May not be +// larger than 1000. func (c *ProjectsLocationsDatasetsFhirStoresFhirHistoryCall) Count(Count int64) *ProjectsLocationsDatasetsFhirStoresFhirHistoryCall { c.urlParams_.Set("_count", fmt.Sprint(Count)) return c @@ -24510,7 +24533,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirHistoryCall) Header() http.Heade func (c *ProjectsLocationsDatasetsFhirStoresFhirHistoryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24553,7 +24576,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirHistoryCall) Do(opts ...googleap // "type": "string" // }, // "_count": { - // "description": "The maximum number of search results on a page. Default value is 100. Maximum value is 1,000.", + // "description": "The maximum number of search results on a page. If not specified, 100 is used. May not be larger than 1000.", // "format": "int32", // "location": "query", // "type": "integer" @@ -24650,7 +24673,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirPatchCall) Header() http.Header func (c *ProjectsLocationsDatasetsFhirStoresFhirPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24780,7 +24803,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirReadCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresFhirReadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24930,7 +24953,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirSearchCall) Header() http.Header func (c *ProjectsLocationsDatasetsFhirStoresFhirSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25058,7 +25081,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirUpdateCall) Header() http.Header func (c *ProjectsLocationsDatasetsFhirStoresFhirUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25183,7 +25206,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirVreadCall) Header() http.Header func (c *ProjectsLocationsDatasetsFhirStoresFhirVreadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25293,7 +25316,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresCreateCall) Header() http.Header { func (c *ProjectsLocationsDatasetsHl7V2StoresCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25437,7 +25460,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresDeleteCall) Header() http.Header { func (c *ProjectsLocationsDatasetsHl7V2StoresDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25576,7 +25599,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresExportCall) Header() http.Header { func (c *ProjectsLocationsDatasetsHl7V2StoresExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25725,7 +25748,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresGetCall) Header() http.Header { func (c *ProjectsLocationsDatasetsHl7V2StoresGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25886,7 +25909,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresGetIamPolicyCall) Header() http.Hea func (c *ProjectsLocationsDatasetsHl7V2StoresGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26052,7 +26075,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresImportCall) Header() http.Header { func (c *ProjectsLocationsDatasetsHl7V2StoresImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26174,8 +26197,8 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresListCall) Filter(filter string) *Pr } // PageSize sets the optional parameter "pageSize": Limit on the number -// of HL7v2 stores to return in a single response. If zero the default -// page size of 100 is used. +// of HL7v2 stores to return in a single response. If not specified, 100 +// is used. May not be larger than 1000. func (c *ProjectsLocationsDatasetsHl7V2StoresListCall) PageSize(pageSize int64) *ProjectsLocationsDatasetsHl7V2StoresListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c @@ -26226,7 +26249,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresListCall) Header() http.Header { func (c *ProjectsLocationsDatasetsHl7V2StoresListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26302,7 +26325,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresListCall) Do(opts ...googleapi.Call // "type": "string" // }, // "pageSize": { - // "description": "Limit on the number of HL7v2 stores to return in a single response. If zero the default page size of 100 is used.", + // "description": "Limit on the number of HL7v2 stores to return in a single response. If not specified, 100 is used. May not be larger than 1000.", // "format": "int32", // "location": "query", // "type": "integer" @@ -26406,7 +26429,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresPatchCall) Header() http.Header { func (c *ProjectsLocationsDatasetsHl7V2StoresPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26554,7 +26577,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresSetIamPolicyCall) Header() http.Hea func (c *ProjectsLocationsDatasetsHl7V2StoresSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26699,7 +26722,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresTestIamPermissionsCall) Header() ht func (c *ProjectsLocationsDatasetsHl7V2StoresTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26844,7 +26867,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesCreateCall) Header() http.H func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26982,7 +27005,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesDeleteCall) Header() http.H func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27143,7 +27166,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesGetCall) Header() http.Head func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27308,7 +27331,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesIngestCall) Header() http.H func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesIngestCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27442,8 +27465,8 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesListCall) OrderBy(orderBy s } // PageSize sets the optional parameter "pageSize": Limit on the number -// of messages to return in a single response. If zero the default page -// size of 100 is used. +// of messages to return in a single response. If not specified, 100 is +// used. May not be larger than 1000. func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesListCall) PageSize(pageSize int64) *ProjectsLocationsDatasetsHl7V2StoresMessagesListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c @@ -27516,7 +27539,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesListCall) Header() http.Hea func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27597,7 +27620,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesListCall) Do(opts ...google // "type": "string" // }, // "pageSize": { - // "description": "Limit on the number of messages to return in a single response. If zero the default page size of 100 is used.", + // "description": "Limit on the number of messages to return in a single response. If not specified, 100 is used. May not be larger than 1000.", // "format": "int32", // "location": "query", // "type": "integer" @@ -27727,7 +27750,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesPatchCall) Header() http.He func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27882,7 +27905,7 @@ func (c *ProjectsLocationsDatasetsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsDatasetsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28033,7 +28056,7 @@ func (c *ProjectsLocationsDatasetsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsDatasetsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28207,7 +28230,7 @@ func (c *ProjectsLocationsDatasetsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsDatasetsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28381,7 +28404,7 @@ func (c *ProjectsLocationsServicesNlpAnalyzeEntitiesCall) Header() http.Header { func (c *ProjectsLocationsServicesNlpAnalyzeEntitiesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/homegraph/v1/homegraph-gen.go b/homegraph/v1/homegraph-gen.go index 0a8614d800c..9e4ba685dd6 100644 --- a/homegraph/v1/homegraph-gen.go +++ b/homegraph/v1/homegraph-gen.go @@ -910,7 +910,7 @@ func (c *AgentUsersDeleteCall) Header() http.Header { func (c *AgentUsersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1049,7 +1049,7 @@ func (c *DevicesQueryCall) Header() http.Header { func (c *DevicesQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1186,7 +1186,7 @@ func (c *DevicesReportStateAndNotificationCall) Header() http.Header { func (c *DevicesReportStateAndNotificationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1318,7 +1318,7 @@ func (c *DevicesRequestSyncCall) Header() http.Header { func (c *DevicesRequestSyncCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1446,7 +1446,7 @@ func (c *DevicesSyncCall) Header() http.Header { func (c *DevicesSyncCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/iam/v1/iam-gen.go b/iam/v1/iam-gen.go index 8cc9de0e78a..b44cb3302ef 100644 --- a/iam/v1/iam-gen.go +++ b/iam/v1/iam-gen.go @@ -2335,7 +2335,7 @@ func (c *IamPoliciesLintPolicyCall) Header() http.Header { func (c *IamPoliciesLintPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2463,7 +2463,7 @@ func (c *IamPoliciesQueryAuditableServicesCall) Header() http.Header { func (c *IamPoliciesQueryAuditableServicesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2590,7 +2590,7 @@ func (c *OrganizationsRolesCreateCall) Header() http.Header { func (c *OrganizationsRolesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2743,7 +2743,7 @@ func (c *OrganizationsRolesDeleteCall) Header() http.Header { func (c *OrganizationsRolesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2890,7 +2890,7 @@ func (c *OrganizationsRolesGetCall) Header() http.Header { func (c *OrganizationsRolesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3072,7 +3072,7 @@ func (c *OrganizationsRolesListCall) Header() http.Header { func (c *OrganizationsRolesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3264,7 +3264,7 @@ func (c *OrganizationsRolesPatchCall) Header() http.Header { func (c *OrganizationsRolesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3410,7 +3410,7 @@ func (c *OrganizationsRolesUndeleteCall) Header() http.Header { func (c *OrganizationsRolesUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3550,7 +3550,7 @@ func (c *PermissionsQueryTestablePermissionsCall) Header() http.Header { func (c *PermissionsQueryTestablePermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3709,7 +3709,7 @@ func (c *ProjectsLocationsWorkloadIdentityPoolsOperationsGetCall) Header() http. func (c *ProjectsLocationsWorkloadIdentityPoolsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3855,7 +3855,7 @@ func (c *ProjectsLocationsWorkloadIdentityPoolsProvidersOperationsGetCall) Heade func (c *ProjectsLocationsWorkloadIdentityPoolsProvidersOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3990,7 +3990,7 @@ func (c *ProjectsRolesCreateCall) Header() http.Header { func (c *ProjectsRolesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4143,7 +4143,7 @@ func (c *ProjectsRolesDeleteCall) Header() http.Header { func (c *ProjectsRolesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4290,7 +4290,7 @@ func (c *ProjectsRolesGetCall) Header() http.Header { func (c *ProjectsRolesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4472,7 +4472,7 @@ func (c *ProjectsRolesListCall) Header() http.Header { func (c *ProjectsRolesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4664,7 +4664,7 @@ func (c *ProjectsRolesPatchCall) Header() http.Header { func (c *ProjectsRolesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4810,7 +4810,7 @@ func (c *ProjectsRolesUndeleteCall) Header() http.Header { func (c *ProjectsRolesUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4950,7 +4950,7 @@ func (c *ProjectsServiceAccountsCreateCall) Header() http.Header { func (c *ProjectsServiceAccountsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5099,7 +5099,7 @@ func (c *ProjectsServiceAccountsDeleteCall) Header() http.Header { func (c *ProjectsServiceAccountsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5242,7 +5242,7 @@ func (c *ProjectsServiceAccountsDisableCall) Header() http.Header { func (c *ProjectsServiceAccountsDisableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5387,7 +5387,7 @@ func (c *ProjectsServiceAccountsEnableCall) Header() http.Header { func (c *ProjectsServiceAccountsEnableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5536,7 +5536,7 @@ func (c *ProjectsServiceAccountsGetCall) Header() http.Header { func (c *ProjectsServiceAccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5692,7 +5692,7 @@ func (c *ProjectsServiceAccountsGetIamPolicyCall) Header() http.Header { func (c *ProjectsServiceAccountsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5857,7 +5857,7 @@ func (c *ProjectsServiceAccountsListCall) Header() http.Header { func (c *ProjectsServiceAccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6024,7 +6024,7 @@ func (c *ProjectsServiceAccountsPatchCall) Header() http.Header { func (c *ProjectsServiceAccountsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6176,7 +6176,7 @@ func (c *ProjectsServiceAccountsSetIamPolicyCall) Header() http.Header { func (c *ProjectsServiceAccountsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6324,7 +6324,7 @@ func (c *ProjectsServiceAccountsSignBlobCall) Header() http.Header { func (c *ProjectsServiceAccountsSignBlobCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6472,7 +6472,7 @@ func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header { func (c *ProjectsServiceAccountsSignJwtCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6613,7 +6613,7 @@ func (c *ProjectsServiceAccountsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsServiceAccountsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6758,7 +6758,7 @@ func (c *ProjectsServiceAccountsUndeleteCall) Header() http.Header { func (c *ProjectsServiceAccountsUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6900,7 +6900,7 @@ func (c *ProjectsServiceAccountsUpdateCall) Header() http.Header { func (c *ProjectsServiceAccountsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7040,7 +7040,7 @@ func (c *ProjectsServiceAccountsKeysCreateCall) Header() http.Header { func (c *ProjectsServiceAccountsKeysCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7180,7 +7180,7 @@ func (c *ProjectsServiceAccountsKeysDeleteCall) Header() http.Header { func (c *ProjectsServiceAccountsKeysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7334,7 +7334,7 @@ func (c *ProjectsServiceAccountsKeysGetCall) Header() http.Header { func (c *ProjectsServiceAccountsKeysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7510,7 +7510,7 @@ func (c *ProjectsServiceAccountsKeysListCall) Header() http.Header { func (c *ProjectsServiceAccountsKeysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7662,7 +7662,7 @@ func (c *ProjectsServiceAccountsKeysUploadCall) Header() http.Header { func (c *ProjectsServiceAccountsKeysUploadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7811,7 +7811,7 @@ func (c *RolesGetCall) Header() http.Header { func (c *RolesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8018,7 +8018,7 @@ func (c *RolesListCall) Header() http.Header { func (c *RolesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8196,7 +8196,7 @@ func (c *RolesQueryGrantableRolesCall) Header() http.Header { func (c *RolesQueryGrantableRolesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/iamcredentials/v1/iamcredentials-gen.go b/iamcredentials/v1/iamcredentials-gen.go index 6e5a8be0c48..0e446ad263d 100644 --- a/iamcredentials/v1/iamcredentials-gen.go +++ b/iamcredentials/v1/iamcredentials-gen.go @@ -546,7 +546,7 @@ func (c *ProjectsServiceAccountsGenerateAccessTokenCall) Header() http.Header { func (c *ProjectsServiceAccountsGenerateAccessTokenCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -687,7 +687,7 @@ func (c *ProjectsServiceAccountsGenerateIdTokenCall) Header() http.Header { func (c *ProjectsServiceAccountsGenerateIdTokenCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -828,7 +828,7 @@ func (c *ProjectsServiceAccountsSignBlobCall) Header() http.Header { func (c *ProjectsServiceAccountsSignBlobCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -969,7 +969,7 @@ func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header { func (c *ProjectsServiceAccountsSignJwtCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/iap/v1/iap-api.json b/iap/v1/iap-api.json index 852f03aa03f..5437377e55e 100644 --- a/iap/v1/iap-api.json +++ b/iap/v1/iap-api.json @@ -487,7 +487,7 @@ } } }, - "revision": "20201030", + "revision": "20201204", "rootUrl": "https://iap.googleapis.com/", "schemas": { "AccessDeniedPageSettings": { @@ -547,9 +547,6 @@ "description": "Associates `members` with a `role`.", "id": "Binding", "properties": { - "bindingId": { - "type": "string" - }, "condition": { "$ref": "Expr", "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." diff --git a/iap/v1/iap-gen.go b/iap/v1/iap-gen.go index 7687ee3aa38..116bc6c07c9 100644 --- a/iap/v1/iap-gen.go +++ b/iap/v1/iap-gen.go @@ -293,8 +293,6 @@ func (s *ApplicationSettings) MarshalJSON() ([]byte, error) { // Binding: Associates `members` with a `role`. type Binding struct { - BindingId string `json:"bindingId,omitempty"` - // Condition: The condition that is associated with this binding. If the // condition evaluates to `true`, then this binding applies to the // current request. If the condition evaluates to `false`, then this @@ -344,7 +342,7 @@ type Binding struct { // `roles/viewer`, `roles/editor`, or `roles/owner`. Role string `json:"role,omitempty"` - // ForceSendFields is a list of field names (e.g. "BindingId") to + // ForceSendFields is a list of field names (e.g. "Condition") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -352,7 +350,7 @@ type Binding struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "BindingId") to include in + // NullFields is a list of field names (e.g. "Condition") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -1246,7 +1244,7 @@ func (c *ProjectsBrandsCreateCall) Header() http.Header { func (c *ProjectsBrandsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1395,7 +1393,7 @@ func (c *ProjectsBrandsGetCall) Header() http.Header { func (c *ProjectsBrandsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1539,7 +1537,7 @@ func (c *ProjectsBrandsListCall) Header() http.Header { func (c *ProjectsBrandsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1676,7 +1674,7 @@ func (c *ProjectsBrandsIdentityAwareProxyClientsCreateCall) Header() http.Header func (c *ProjectsBrandsIdentityAwareProxyClientsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1817,7 +1815,7 @@ func (c *ProjectsBrandsIdentityAwareProxyClientsDeleteCall) Header() http.Header func (c *ProjectsBrandsIdentityAwareProxyClientsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1959,7 +1957,7 @@ func (c *ProjectsBrandsIdentityAwareProxyClientsGetCall) Header() http.Header { func (c *ProjectsBrandsIdentityAwareProxyClientsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2122,7 +2120,7 @@ func (c *ProjectsBrandsIdentityAwareProxyClientsListCall) Header() http.Header { func (c *ProjectsBrandsIdentityAwareProxyClientsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2292,7 +2290,7 @@ func (c *ProjectsBrandsIdentityAwareProxyClientsResetSecretCall) Header() http.H func (c *ProjectsBrandsIdentityAwareProxyClientsResetSecretCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2435,7 +2433,7 @@ func (c *V1GetIamPolicyCall) Header() http.Header { func (c *V1GetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2585,7 +2583,7 @@ func (c *V1GetIapSettingsCall) Header() http.Header { func (c *V1GetIapSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2723,7 +2721,7 @@ func (c *V1SetIamPolicyCall) Header() http.Header { func (c *V1SetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2866,7 +2864,7 @@ func (c *V1TestIamPermissionsCall) Header() http.Header { func (c *V1TestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3017,7 +3015,7 @@ func (c *V1UpdateIapSettingsCall) Header() http.Header { func (c *V1UpdateIapSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/iap/v1beta1/iap-api.json b/iap/v1beta1/iap-api.json index fa44a9916db..b5c9a680862 100644 --- a/iap/v1beta1/iap-api.json +++ b/iap/v1beta1/iap-api.json @@ -194,16 +194,13 @@ } } }, - "revision": "20201030", + "revision": "20201204", "rootUrl": "https://iap.googleapis.com/", "schemas": { "Binding": { "description": "Associates `members` with a `role`.", "id": "Binding", "properties": { - "bindingId": { - "type": "string" - }, "condition": { "$ref": "Expr", "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." diff --git a/iap/v1beta1/iap-gen.go b/iap/v1beta1/iap-gen.go index 6fe904ea51c..2003b16b737 100644 --- a/iap/v1beta1/iap-gen.go +++ b/iap/v1beta1/iap-gen.go @@ -146,8 +146,6 @@ type V1beta1Service struct { // Binding: Associates `members` with a `role`. type Binding struct { - BindingId string `json:"bindingId,omitempty"` - // Condition: The condition that is associated with this binding. If the // condition evaluates to `true`, then this binding applies to the // current request. If the condition evaluates to `false`, then this @@ -197,7 +195,7 @@ type Binding struct { // `roles/viewer`, `roles/editor`, or `roles/owner`. Role string `json:"role,omitempty"` - // ForceSendFields is a list of field names (e.g. "BindingId") to + // ForceSendFields is a list of field names (e.g. "Condition") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the @@ -205,7 +203,7 @@ type Binding struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "BindingId") to include in + // NullFields is a list of field names (e.g. "Condition") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -592,7 +590,7 @@ func (c *V1beta1GetIamPolicyCall) Header() http.Header { func (c *V1beta1GetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -735,7 +733,7 @@ func (c *V1beta1SetIamPolicyCall) Header() http.Header { func (c *V1beta1SetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -880,7 +878,7 @@ func (c *V1beta1TestIamPermissionsCall) Header() http.Header { func (c *V1beta1TestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/identitytoolkit/v3/identitytoolkit-gen.go b/identitytoolkit/v3/identitytoolkit-gen.go index ca1c947355a..910ac3db0c8 100644 --- a/identitytoolkit/v3/identitytoolkit-gen.go +++ b/identitytoolkit/v3/identitytoolkit-gen.go @@ -2461,7 +2461,7 @@ func (c *RelyingpartyCreateAuthUriCall) Header() http.Header { func (c *RelyingpartyCreateAuthUriCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2583,7 +2583,7 @@ func (c *RelyingpartyDeleteAccountCall) Header() http.Header { func (c *RelyingpartyDeleteAccountCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2705,7 +2705,7 @@ func (c *RelyingpartyDownloadAccountCall) Header() http.Header { func (c *RelyingpartyDownloadAccountCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2849,7 +2849,7 @@ func (c *RelyingpartyEmailLinkSigninCall) Header() http.Header { func (c *RelyingpartyEmailLinkSigninCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2971,7 +2971,7 @@ func (c *RelyingpartyGetAccountInfoCall) Header() http.Header { func (c *RelyingpartyGetAccountInfoCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3093,7 +3093,7 @@ func (c *RelyingpartyGetOobConfirmationCodeCall) Header() http.Header { func (c *RelyingpartyGetOobConfirmationCodeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3239,7 +3239,7 @@ func (c *RelyingpartyGetProjectConfigCall) Header() http.Header { func (c *RelyingpartyGetProjectConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3379,7 +3379,7 @@ func (c *RelyingpartyGetPublicKeysCall) Header() http.Header { func (c *RelyingpartyGetPublicKeysCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3485,7 +3485,7 @@ func (c *RelyingpartyGetRecaptchaParamCall) Header() http.Header { func (c *RelyingpartyGetRecaptchaParamCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3602,7 +3602,7 @@ func (c *RelyingpartyResetPasswordCall) Header() http.Header { func (c *RelyingpartyResetPasswordCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3724,7 +3724,7 @@ func (c *RelyingpartySendVerificationCodeCall) Header() http.Header { func (c *RelyingpartySendVerificationCodeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3849,7 +3849,7 @@ func (c *RelyingpartySetAccountInfoCall) Header() http.Header { func (c *RelyingpartySetAccountInfoCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3971,7 +3971,7 @@ func (c *RelyingpartySetProjectConfigCall) Header() http.Header { func (c *RelyingpartySetProjectConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4095,7 +4095,7 @@ func (c *RelyingpartySignOutUserCall) Header() http.Header { func (c *RelyingpartySignOutUserCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4219,7 +4219,7 @@ func (c *RelyingpartySignupNewUserCall) Header() http.Header { func (c *RelyingpartySignupNewUserCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4341,7 +4341,7 @@ func (c *RelyingpartyUploadAccountCall) Header() http.Header { func (c *RelyingpartyUploadAccountCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4464,7 +4464,7 @@ func (c *RelyingpartyVerifyAssertionCall) Header() http.Header { func (c *RelyingpartyVerifyAssertionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4586,7 +4586,7 @@ func (c *RelyingpartyVerifyCustomTokenCall) Header() http.Header { func (c *RelyingpartyVerifyCustomTokenCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4708,7 +4708,7 @@ func (c *RelyingpartyVerifyPasswordCall) Header() http.Header { func (c *RelyingpartyVerifyPasswordCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4831,7 +4831,7 @@ func (c *RelyingpartyVerifyPhoneNumberCall) Header() http.Header { func (c *RelyingpartyVerifyPhoneNumberCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/indexing/v3/indexing-gen.go b/indexing/v3/indexing-gen.go index 432091e2963..72b9bb24856 100644 --- a/indexing/v3/indexing-gen.go +++ b/indexing/v3/indexing-gen.go @@ -324,7 +324,7 @@ func (c *UrlNotificationsGetMetadataCall) Header() http.Header { func (c *UrlNotificationsGetMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -450,7 +450,7 @@ func (c *UrlNotificationsPublishCall) Header() http.Header { func (c *UrlNotificationsPublishCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/internal/version/version.go b/internal/version/version.go index 9ab7453838b..c61be636127 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -10,4 +10,4 @@ package version // Repo is the current version of the client libraries in this // repo. It should be a date in YYYYMMDD format. -const Repo = "20201209" +const Repo = "20201210" diff --git a/jobs/v3/jobs-gen.go b/jobs/v3/jobs-gen.go index e3131eafad4..cd3fe0f18a2 100644 --- a/jobs/v3/jobs-gen.go +++ b/jobs/v3/jobs-gen.go @@ -3784,7 +3784,7 @@ func (c *ProjectsCompleteCall) Header() http.Header { func (c *ProjectsCompleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3985,7 +3985,7 @@ func (c *ProjectsClientEventsCreateCall) Header() http.Header { func (c *ProjectsClientEventsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4126,7 +4126,7 @@ func (c *ProjectsCompaniesCreateCall) Header() http.Header { func (c *ProjectsCompaniesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4266,7 +4266,7 @@ func (c *ProjectsCompaniesDeleteCall) Header() http.Header { func (c *ProjectsCompaniesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4408,7 +4408,7 @@ func (c *ProjectsCompaniesGetCall) Header() http.Header { func (c *ProjectsCompaniesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4577,7 +4577,7 @@ func (c *ProjectsCompaniesListCall) Header() http.Header { func (c *ProjectsCompaniesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4752,7 +4752,7 @@ func (c *ProjectsCompaniesPatchCall) Header() http.Header { func (c *ProjectsCompaniesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4893,7 +4893,7 @@ func (c *ProjectsJobsBatchDeleteCall) Header() http.Header { func (c *ProjectsJobsBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5035,7 +5035,7 @@ func (c *ProjectsJobsCreateCall) Header() http.Header { func (c *ProjectsJobsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5175,7 +5175,7 @@ func (c *ProjectsJobsDeleteCall) Header() http.Header { func (c *ProjectsJobsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5318,7 +5318,7 @@ func (c *ProjectsJobsGetCall) Header() http.Header { func (c *ProjectsJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5513,7 +5513,7 @@ func (c *ProjectsJobsListCall) Header() http.Header { func (c *ProjectsJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5707,7 +5707,7 @@ func (c *ProjectsJobsPatchCall) Header() http.Header { func (c *ProjectsJobsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5850,7 +5850,7 @@ func (c *ProjectsJobsSearchCall) Header() http.Header { func (c *ProjectsJobsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6019,7 +6019,7 @@ func (c *ProjectsJobsSearchForAlertCall) Header() http.Header { func (c *ProjectsJobsSearchForAlertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/jobs/v3p1beta1/jobs-gen.go b/jobs/v3p1beta1/jobs-gen.go index e0be46b2d67..a2a8fb7474b 100644 --- a/jobs/v3p1beta1/jobs-gen.go +++ b/jobs/v3p1beta1/jobs-gen.go @@ -4140,7 +4140,7 @@ func (c *ProjectsCompleteCall) Header() http.Header { func (c *ProjectsCompleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4341,7 +4341,7 @@ func (c *ProjectsClientEventsCreateCall) Header() http.Header { func (c *ProjectsClientEventsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4482,7 +4482,7 @@ func (c *ProjectsCompaniesCreateCall) Header() http.Header { func (c *ProjectsCompaniesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4622,7 +4622,7 @@ func (c *ProjectsCompaniesDeleteCall) Header() http.Header { func (c *ProjectsCompaniesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4764,7 +4764,7 @@ func (c *ProjectsCompaniesGetCall) Header() http.Header { func (c *ProjectsCompaniesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4933,7 +4933,7 @@ func (c *ProjectsCompaniesListCall) Header() http.Header { func (c *ProjectsCompaniesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5108,7 +5108,7 @@ func (c *ProjectsCompaniesPatchCall) Header() http.Header { func (c *ProjectsCompaniesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5249,7 +5249,7 @@ func (c *ProjectsJobsBatchDeleteCall) Header() http.Header { func (c *ProjectsJobsBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5391,7 +5391,7 @@ func (c *ProjectsJobsCreateCall) Header() http.Header { func (c *ProjectsJobsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5531,7 +5531,7 @@ func (c *ProjectsJobsDeleteCall) Header() http.Header { func (c *ProjectsJobsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5674,7 +5674,7 @@ func (c *ProjectsJobsGetCall) Header() http.Header { func (c *ProjectsJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5869,7 +5869,7 @@ func (c *ProjectsJobsListCall) Header() http.Header { func (c *ProjectsJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6063,7 +6063,7 @@ func (c *ProjectsJobsPatchCall) Header() http.Header { func (c *ProjectsJobsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6206,7 +6206,7 @@ func (c *ProjectsJobsSearchCall) Header() http.Header { func (c *ProjectsJobsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6375,7 +6375,7 @@ func (c *ProjectsJobsSearchForAlertCall) Header() http.Header { func (c *ProjectsJobsSearchForAlertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6548,7 +6548,7 @@ func (c *ProjectsOperationsGetCall) Header() http.Header { func (c *ProjectsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/jobs/v4/jobs-gen.go b/jobs/v4/jobs-gen.go index dfad3bafa6e..c81420c75fd 100644 --- a/jobs/v4/jobs-gen.go +++ b/jobs/v4/jobs-gen.go @@ -3751,7 +3751,7 @@ func (c *ProjectsTenantsCompleteQueryCall) Header() http.Header { func (c *ProjectsTenantsCompleteQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3941,7 +3941,7 @@ func (c *ProjectsTenantsCreateCall) Header() http.Header { func (c *ProjectsTenantsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4080,7 +4080,7 @@ func (c *ProjectsTenantsDeleteCall) Header() http.Header { func (c *ProjectsTenantsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4222,7 +4222,7 @@ func (c *ProjectsTenantsGetCall) Header() http.Header { func (c *ProjectsTenantsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4382,7 +4382,7 @@ func (c *ProjectsTenantsListCall) Header() http.Header { func (c *ProjectsTenantsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4560,7 +4560,7 @@ func (c *ProjectsTenantsPatchCall) Header() http.Header { func (c *ProjectsTenantsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4713,7 +4713,7 @@ func (c *ProjectsTenantsClientEventsCreateCall) Header() http.Header { func (c *ProjectsTenantsClientEventsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4854,7 +4854,7 @@ func (c *ProjectsTenantsCompaniesCreateCall) Header() http.Header { func (c *ProjectsTenantsCompaniesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4994,7 +4994,7 @@ func (c *ProjectsTenantsCompaniesDeleteCall) Header() http.Header { func (c *ProjectsTenantsCompaniesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5136,7 +5136,7 @@ func (c *ProjectsTenantsCompaniesGetCall) Header() http.Header { func (c *ProjectsTenantsCompaniesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5305,7 +5305,7 @@ func (c *ProjectsTenantsCompaniesListCall) Header() http.Header { func (c *ProjectsTenantsCompaniesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5488,7 +5488,7 @@ func (c *ProjectsTenantsCompaniesPatchCall) Header() http.Header { func (c *ProjectsTenantsCompaniesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5635,7 +5635,7 @@ func (c *ProjectsTenantsJobsBatchCreateCall) Header() http.Header { func (c *ProjectsTenantsJobsBatchCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5776,7 +5776,7 @@ func (c *ProjectsTenantsJobsBatchDeleteCall) Header() http.Header { func (c *ProjectsTenantsJobsBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5917,7 +5917,7 @@ func (c *ProjectsTenantsJobsBatchUpdateCall) Header() http.Header { func (c *ProjectsTenantsJobsBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6059,7 +6059,7 @@ func (c *ProjectsTenantsJobsCreateCall) Header() http.Header { func (c *ProjectsTenantsJobsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6199,7 +6199,7 @@ func (c *ProjectsTenantsJobsDeleteCall) Header() http.Header { func (c *ProjectsTenantsJobsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6342,7 +6342,7 @@ func (c *ProjectsTenantsJobsGetCall) Header() http.Header { func (c *ProjectsTenantsJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6540,7 +6540,7 @@ func (c *ProjectsTenantsJobsListCall) Header() http.Header { func (c *ProjectsTenantsJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6744,7 +6744,7 @@ func (c *ProjectsTenantsJobsPatchCall) Header() http.Header { func (c *ProjectsTenantsJobsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6893,7 +6893,7 @@ func (c *ProjectsTenantsJobsSearchCall) Header() http.Header { func (c *ProjectsTenantsJobsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7062,7 +7062,7 @@ func (c *ProjectsTenantsJobsSearchForAlertCall) Header() http.Header { func (c *ProjectsTenantsJobsSearchForAlertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/kgsearch/v1/kgsearch-gen.go b/kgsearch/v1/kgsearch-gen.go index b373b3da516..6ce04aa8c8c 100644 --- a/kgsearch/v1/kgsearch-gen.go +++ b/kgsearch/v1/kgsearch-gen.go @@ -276,7 +276,7 @@ func (c *EntitiesSearchCall) Header() http.Header { func (c *EntitiesSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/language/v1/language-gen.go b/language/v1/language-gen.go index 39cc94412d8..680c53851d8 100644 --- a/language/v1/language-gen.go +++ b/language/v1/language-gen.go @@ -1506,7 +1506,7 @@ func (c *DocumentsAnalyzeEntitiesCall) Header() http.Header { func (c *DocumentsAnalyzeEntitiesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1634,7 +1634,7 @@ func (c *DocumentsAnalyzeEntitySentimentCall) Header() http.Header { func (c *DocumentsAnalyzeEntitySentimentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1760,7 +1760,7 @@ func (c *DocumentsAnalyzeSentimentCall) Header() http.Header { func (c *DocumentsAnalyzeSentimentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1888,7 +1888,7 @@ func (c *DocumentsAnalyzeSyntaxCall) Header() http.Header { func (c *DocumentsAnalyzeSyntaxCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2016,7 +2016,7 @@ func (c *DocumentsAnnotateTextCall) Header() http.Header { func (c *DocumentsAnnotateTextCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2142,7 +2142,7 @@ func (c *DocumentsClassifyTextCall) Header() http.Header { func (c *DocumentsClassifyTextCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/language/v1beta1/language-gen.go b/language/v1beta1/language-gen.go index 07fa1e5f2c8..80767b5a441 100644 --- a/language/v1beta1/language-gen.go +++ b/language/v1beta1/language-gen.go @@ -1274,7 +1274,7 @@ func (c *DocumentsAnalyzeEntitiesCall) Header() http.Header { func (c *DocumentsAnalyzeEntitiesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1400,7 +1400,7 @@ func (c *DocumentsAnalyzeSentimentCall) Header() http.Header { func (c *DocumentsAnalyzeSentimentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1528,7 +1528,7 @@ func (c *DocumentsAnalyzeSyntaxCall) Header() http.Header { func (c *DocumentsAnalyzeSyntaxCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1656,7 +1656,7 @@ func (c *DocumentsAnnotateTextCall) Header() http.Header { func (c *DocumentsAnnotateTextCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/language/v1beta2/language-gen.go b/language/v1beta2/language-gen.go index 5e311804640..808a2b32429 100644 --- a/language/v1beta2/language-gen.go +++ b/language/v1beta2/language-gen.go @@ -1525,7 +1525,7 @@ func (c *DocumentsAnalyzeEntitiesCall) Header() http.Header { func (c *DocumentsAnalyzeEntitiesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1653,7 +1653,7 @@ func (c *DocumentsAnalyzeEntitySentimentCall) Header() http.Header { func (c *DocumentsAnalyzeEntitySentimentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1779,7 +1779,7 @@ func (c *DocumentsAnalyzeSentimentCall) Header() http.Header { func (c *DocumentsAnalyzeSentimentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1907,7 +1907,7 @@ func (c *DocumentsAnalyzeSyntaxCall) Header() http.Header { func (c *DocumentsAnalyzeSyntaxCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2034,7 +2034,7 @@ func (c *DocumentsAnnotateTextCall) Header() http.Header { func (c *DocumentsAnnotateTextCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2160,7 +2160,7 @@ func (c *DocumentsClassifyTextCall) Header() http.Header { func (c *DocumentsClassifyTextCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/libraryagent/v1/libraryagent-gen.go b/libraryagent/v1/libraryagent-gen.go index c2df58072f7..ae5831c3148 100644 --- a/libraryagent/v1/libraryagent-gen.go +++ b/libraryagent/v1/libraryagent-gen.go @@ -368,7 +368,7 @@ func (c *ShelvesGetCall) Header() http.Header { func (c *ShelvesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -529,7 +529,7 @@ func (c *ShelvesListCall) Header() http.Header { func (c *ShelvesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -687,7 +687,7 @@ func (c *ShelvesBooksBorrowCall) Header() http.Header { func (c *ShelvesBooksBorrowCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -828,7 +828,7 @@ func (c *ShelvesBooksGetCall) Header() http.Header { func (c *ShelvesBooksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -991,7 +991,7 @@ func (c *ShelvesBooksListCall) Header() http.Header { func (c *ShelvesBooksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1160,7 +1160,7 @@ func (c *ShelvesBooksReturnCall) Header() http.Header { func (c *ShelvesBooksReturnCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/licensing/v1/licensing-gen.go b/licensing/v1/licensing-gen.go index 60017b2f3d5..385cc50d615 100644 --- a/licensing/v1/licensing-gen.go +++ b/licensing/v1/licensing-gen.go @@ -337,7 +337,7 @@ func (c *LicenseAssignmentsDeleteCall) Header() http.Header { func (c *LicenseAssignmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -497,7 +497,7 @@ func (c *LicenseAssignmentsGetCall) Header() http.Header { func (c *LicenseAssignmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -649,7 +649,7 @@ func (c *LicenseAssignmentsInsertCall) Header() http.Header { func (c *LicenseAssignmentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -826,7 +826,7 @@ func (c *LicenseAssignmentsListForProductCall) Header() http.Header { func (c *LicenseAssignmentsListForProductCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1035,7 +1035,7 @@ func (c *LicenseAssignmentsListForProductAndSkuCall) Header() http.Header { func (c *LicenseAssignmentsListForProductAndSkuCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1225,7 +1225,7 @@ func (c *LicenseAssignmentsPatchCall) Header() http.Header { func (c *LicenseAssignmentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1385,7 +1385,7 @@ func (c *LicenseAssignmentsUpdateCall) Header() http.Header { func (c *LicenseAssignmentsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/lifesciences/v2beta/lifesciences-gen.go b/lifesciences/v2beta/lifesciences-gen.go index ac462a4c727..07718090d78 100644 --- a/lifesciences/v2beta/lifesciences-gen.go +++ b/lifesciences/v2beta/lifesciences-gen.go @@ -1813,7 +1813,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1979,7 +1979,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2157,7 +2157,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2310,7 +2310,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2486,7 +2486,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2669,7 +2669,7 @@ func (c *ProjectsLocationsPipelinesRunCall) Header() http.Header { func (c *ProjectsLocationsPipelinesRunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/localservices/v1/localservices-gen.go b/localservices/v1/localservices-gen.go index 5896177c0c0..16ddcc40dc6 100644 --- a/localservices/v1/localservices-gen.go +++ b/localservices/v1/localservices-gen.go @@ -719,7 +719,7 @@ func (c *AccountReportsSearchCall) Header() http.Header { func (c *AccountReportsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1004,7 +1004,7 @@ func (c *DetailedLeadReportsSearchCall) Header() http.Header { func (c *DetailedLeadReportsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/logging/v2/logging-gen.go b/logging/v2/logging-gen.go index 82ee18b9494..4b3d3f4ec3a 100644 --- a/logging/v2/logging-gen.go +++ b/logging/v2/logging-gen.go @@ -3283,7 +3283,7 @@ func (c *BillingAccountsBucketsGetCall) Header() http.Header { func (c *BillingAccountsBucketsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3430,7 +3430,7 @@ func (c *BillingAccountsBucketsViewsGetCall) Header() http.Header { func (c *BillingAccountsBucketsViewsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3570,7 +3570,7 @@ func (c *BillingAccountsExclusionsCreateCall) Header() http.Header { func (c *BillingAccountsExclusionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3709,7 +3709,7 @@ func (c *BillingAccountsExclusionsDeleteCall) Header() http.Header { func (c *BillingAccountsExclusionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3851,7 +3851,7 @@ func (c *BillingAccountsExclusionsGetCall) Header() http.Header { func (c *BillingAccountsExclusionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4017,7 +4017,7 @@ func (c *BillingAccountsExclusionsListCall) Header() http.Header { func (c *BillingAccountsExclusionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4199,7 +4199,7 @@ func (c *BillingAccountsExclusionsPatchCall) Header() http.Header { func (c *BillingAccountsExclusionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4355,7 +4355,7 @@ func (c *BillingAccountsLocationsGetCall) Header() http.Header { func (c *BillingAccountsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4524,7 +4524,7 @@ func (c *BillingAccountsLocationsListCall) Header() http.Header { func (c *BillingAccountsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4709,7 +4709,7 @@ func (c *BillingAccountsLocationsBucketsCreateCall) Header() http.Header { func (c *BillingAccountsLocationsBucketsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4855,7 +4855,7 @@ func (c *BillingAccountsLocationsBucketsDeleteCall) Header() http.Header { func (c *BillingAccountsLocationsBucketsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5016,7 +5016,7 @@ func (c *BillingAccountsLocationsBucketsListCall) Header() http.Header { func (c *BillingAccountsLocationsBucketsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5203,7 +5203,7 @@ func (c *BillingAccountsLocationsBucketsPatchCall) Header() http.Header { func (c *BillingAccountsLocationsBucketsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5351,7 +5351,7 @@ func (c *BillingAccountsLocationsBucketsUndeleteCall) Header() http.Header { func (c *BillingAccountsLocationsBucketsUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5500,7 +5500,7 @@ func (c *BillingAccountsLocationsBucketsViewsCreateCall) Header() http.Header { func (c *BillingAccountsLocationsBucketsViewsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5644,7 +5644,7 @@ func (c *BillingAccountsLocationsBucketsViewsDeleteCall) Header() http.Header { func (c *BillingAccountsLocationsBucketsViewsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5805,7 +5805,7 @@ func (c *BillingAccountsLocationsBucketsViewsListCall) Header() http.Header { func (c *BillingAccountsLocationsBucketsViewsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5988,7 +5988,7 @@ func (c *BillingAccountsLocationsBucketsViewsPatchCall) Header() http.Header { func (c *BillingAccountsLocationsBucketsViewsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6136,7 +6136,7 @@ func (c *BillingAccountsLogsDeleteCall) Header() http.Header { func (c *BillingAccountsLogsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6315,7 +6315,7 @@ func (c *BillingAccountsLogsListCall) Header() http.Header { func (c *BillingAccountsLogsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6511,7 +6511,7 @@ func (c *BillingAccountsSinksCreateCall) Header() http.Header { func (c *BillingAccountsSinksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6656,7 +6656,7 @@ func (c *BillingAccountsSinksDeleteCall) Header() http.Header { func (c *BillingAccountsSinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6798,7 +6798,7 @@ func (c *BillingAccountsSinksGetCall) Header() http.Header { func (c *BillingAccountsSinksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6964,7 +6964,7 @@ func (c *BillingAccountsSinksListCall) Header() http.Header { func (c *BillingAccountsSinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7167,7 +7167,7 @@ func (c *BillingAccountsSinksPatchCall) Header() http.Header { func (c *BillingAccountsSinksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7352,7 +7352,7 @@ func (c *BillingAccountsSinksUpdateCall) Header() http.Header { func (c *BillingAccountsSinksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7505,7 +7505,7 @@ func (c *EntriesListCall) Header() http.Header { func (c *EntriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7655,7 +7655,7 @@ func (c *EntriesTailCall) Header() http.Header { func (c *EntriesTailCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7788,7 +7788,7 @@ func (c *EntriesWriteCall) Header() http.Header { func (c *EntriesWriteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7919,7 +7919,7 @@ func (c *ExclusionsCreateCall) Header() http.Header { func (c *ExclusionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8058,7 +8058,7 @@ func (c *ExclusionsDeleteCall) Header() http.Header { func (c *ExclusionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8200,7 +8200,7 @@ func (c *ExclusionsGetCall) Header() http.Header { func (c *ExclusionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8366,7 +8366,7 @@ func (c *ExclusionsListCall) Header() http.Header { func (c *ExclusionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8548,7 +8548,7 @@ func (c *ExclusionsPatchCall) Header() http.Header { func (c *ExclusionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8697,7 +8697,7 @@ func (c *FoldersExclusionsCreateCall) Header() http.Header { func (c *FoldersExclusionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8836,7 +8836,7 @@ func (c *FoldersExclusionsDeleteCall) Header() http.Header { func (c *FoldersExclusionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8978,7 +8978,7 @@ func (c *FoldersExclusionsGetCall) Header() http.Header { func (c *FoldersExclusionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9144,7 +9144,7 @@ func (c *FoldersExclusionsListCall) Header() http.Header { func (c *FoldersExclusionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9326,7 +9326,7 @@ func (c *FoldersExclusionsPatchCall) Header() http.Header { func (c *FoldersExclusionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9482,7 +9482,7 @@ func (c *FoldersLocationsGetCall) Header() http.Header { func (c *FoldersLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9651,7 +9651,7 @@ func (c *FoldersLocationsListCall) Header() http.Header { func (c *FoldersLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9836,7 +9836,7 @@ func (c *FoldersLocationsBucketsCreateCall) Header() http.Header { func (c *FoldersLocationsBucketsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9982,7 +9982,7 @@ func (c *FoldersLocationsBucketsDeleteCall) Header() http.Header { func (c *FoldersLocationsBucketsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10124,7 +10124,7 @@ func (c *FoldersLocationsBucketsGetCall) Header() http.Header { func (c *FoldersLocationsBucketsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10290,7 +10290,7 @@ func (c *FoldersLocationsBucketsListCall) Header() http.Header { func (c *FoldersLocationsBucketsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10477,7 +10477,7 @@ func (c *FoldersLocationsBucketsPatchCall) Header() http.Header { func (c *FoldersLocationsBucketsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10625,7 +10625,7 @@ func (c *FoldersLocationsBucketsUndeleteCall) Header() http.Header { func (c *FoldersLocationsBucketsUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10774,7 +10774,7 @@ func (c *FoldersLocationsBucketsViewsCreateCall) Header() http.Header { func (c *FoldersLocationsBucketsViewsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10918,7 +10918,7 @@ func (c *FoldersLocationsBucketsViewsDeleteCall) Header() http.Header { func (c *FoldersLocationsBucketsViewsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11060,7 +11060,7 @@ func (c *FoldersLocationsBucketsViewsGetCall) Header() http.Header { func (c *FoldersLocationsBucketsViewsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11226,7 +11226,7 @@ func (c *FoldersLocationsBucketsViewsListCall) Header() http.Header { func (c *FoldersLocationsBucketsViewsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11409,7 +11409,7 @@ func (c *FoldersLocationsBucketsViewsPatchCall) Header() http.Header { func (c *FoldersLocationsBucketsViewsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11557,7 +11557,7 @@ func (c *FoldersLogsDeleteCall) Header() http.Header { func (c *FoldersLogsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11736,7 +11736,7 @@ func (c *FoldersLogsListCall) Header() http.Header { func (c *FoldersLogsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11932,7 +11932,7 @@ func (c *FoldersSinksCreateCall) Header() http.Header { func (c *FoldersSinksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12077,7 +12077,7 @@ func (c *FoldersSinksDeleteCall) Header() http.Header { func (c *FoldersSinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12219,7 +12219,7 @@ func (c *FoldersSinksGetCall) Header() http.Header { func (c *FoldersSinksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12385,7 +12385,7 @@ func (c *FoldersSinksListCall) Header() http.Header { func (c *FoldersSinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12588,7 +12588,7 @@ func (c *FoldersSinksPatchCall) Header() http.Header { func (c *FoldersSinksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12773,7 +12773,7 @@ func (c *FoldersSinksUpdateCall) Header() http.Header { func (c *FoldersSinksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12934,7 +12934,7 @@ func (c *LocationsGetCall) Header() http.Header { func (c *LocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13103,7 +13103,7 @@ func (c *LocationsListCall) Header() http.Header { func (c *LocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13288,7 +13288,7 @@ func (c *LocationsBucketsCreateCall) Header() http.Header { func (c *LocationsBucketsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13434,7 +13434,7 @@ func (c *LocationsBucketsDeleteCall) Header() http.Header { func (c *LocationsBucketsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13576,7 +13576,7 @@ func (c *LocationsBucketsGetCall) Header() http.Header { func (c *LocationsBucketsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13742,7 +13742,7 @@ func (c *LocationsBucketsListCall) Header() http.Header { func (c *LocationsBucketsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13929,7 +13929,7 @@ func (c *LocationsBucketsPatchCall) Header() http.Header { func (c *LocationsBucketsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14077,7 +14077,7 @@ func (c *LocationsBucketsUndeleteCall) Header() http.Header { func (c *LocationsBucketsUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14226,7 +14226,7 @@ func (c *LocationsBucketsViewsCreateCall) Header() http.Header { func (c *LocationsBucketsViewsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14370,7 +14370,7 @@ func (c *LocationsBucketsViewsDeleteCall) Header() http.Header { func (c *LocationsBucketsViewsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14512,7 +14512,7 @@ func (c *LocationsBucketsViewsGetCall) Header() http.Header { func (c *LocationsBucketsViewsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14678,7 +14678,7 @@ func (c *LocationsBucketsViewsListCall) Header() http.Header { func (c *LocationsBucketsViewsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14861,7 +14861,7 @@ func (c *LocationsBucketsViewsPatchCall) Header() http.Header { func (c *LocationsBucketsViewsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15009,7 +15009,7 @@ func (c *LogsDeleteCall) Header() http.Header { func (c *LogsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15188,7 +15188,7 @@ func (c *LogsListCall) Header() http.Header { func (c *LogsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15391,7 +15391,7 @@ func (c *MonitoredResourceDescriptorsListCall) Header() http.Header { func (c *MonitoredResourceDescriptorsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15566,7 +15566,7 @@ func (c *OrganizationsGetCmekSettingsCall) Header() http.Header { func (c *OrganizationsGetCmekSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15723,7 +15723,7 @@ func (c *OrganizationsUpdateCmekSettingsCall) Header() http.Header { func (c *OrganizationsUpdateCmekSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15872,7 +15872,7 @@ func (c *OrganizationsExclusionsCreateCall) Header() http.Header { func (c *OrganizationsExclusionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16011,7 +16011,7 @@ func (c *OrganizationsExclusionsDeleteCall) Header() http.Header { func (c *OrganizationsExclusionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16153,7 +16153,7 @@ func (c *OrganizationsExclusionsGetCall) Header() http.Header { func (c *OrganizationsExclusionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16319,7 +16319,7 @@ func (c *OrganizationsExclusionsListCall) Header() http.Header { func (c *OrganizationsExclusionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16501,7 +16501,7 @@ func (c *OrganizationsExclusionsPatchCall) Header() http.Header { func (c *OrganizationsExclusionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16657,7 +16657,7 @@ func (c *OrganizationsLocationsGetCall) Header() http.Header { func (c *OrganizationsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16826,7 +16826,7 @@ func (c *OrganizationsLocationsListCall) Header() http.Header { func (c *OrganizationsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17011,7 +17011,7 @@ func (c *OrganizationsLocationsBucketsCreateCall) Header() http.Header { func (c *OrganizationsLocationsBucketsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17157,7 +17157,7 @@ func (c *OrganizationsLocationsBucketsDeleteCall) Header() http.Header { func (c *OrganizationsLocationsBucketsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17299,7 +17299,7 @@ func (c *OrganizationsLocationsBucketsGetCall) Header() http.Header { func (c *OrganizationsLocationsBucketsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17465,7 +17465,7 @@ func (c *OrganizationsLocationsBucketsListCall) Header() http.Header { func (c *OrganizationsLocationsBucketsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17652,7 +17652,7 @@ func (c *OrganizationsLocationsBucketsPatchCall) Header() http.Header { func (c *OrganizationsLocationsBucketsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17800,7 +17800,7 @@ func (c *OrganizationsLocationsBucketsUndeleteCall) Header() http.Header { func (c *OrganizationsLocationsBucketsUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17949,7 +17949,7 @@ func (c *OrganizationsLocationsBucketsViewsCreateCall) Header() http.Header { func (c *OrganizationsLocationsBucketsViewsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18093,7 +18093,7 @@ func (c *OrganizationsLocationsBucketsViewsDeleteCall) Header() http.Header { func (c *OrganizationsLocationsBucketsViewsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18235,7 +18235,7 @@ func (c *OrganizationsLocationsBucketsViewsGetCall) Header() http.Header { func (c *OrganizationsLocationsBucketsViewsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18401,7 +18401,7 @@ func (c *OrganizationsLocationsBucketsViewsListCall) Header() http.Header { func (c *OrganizationsLocationsBucketsViewsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18584,7 +18584,7 @@ func (c *OrganizationsLocationsBucketsViewsPatchCall) Header() http.Header { func (c *OrganizationsLocationsBucketsViewsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18732,7 +18732,7 @@ func (c *OrganizationsLogsDeleteCall) Header() http.Header { func (c *OrganizationsLogsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18911,7 +18911,7 @@ func (c *OrganizationsLogsListCall) Header() http.Header { func (c *OrganizationsLogsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19107,7 +19107,7 @@ func (c *OrganizationsSinksCreateCall) Header() http.Header { func (c *OrganizationsSinksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19252,7 +19252,7 @@ func (c *OrganizationsSinksDeleteCall) Header() http.Header { func (c *OrganizationsSinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19394,7 +19394,7 @@ func (c *OrganizationsSinksGetCall) Header() http.Header { func (c *OrganizationsSinksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19560,7 +19560,7 @@ func (c *OrganizationsSinksListCall) Header() http.Header { func (c *OrganizationsSinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19763,7 +19763,7 @@ func (c *OrganizationsSinksPatchCall) Header() http.Header { func (c *OrganizationsSinksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19948,7 +19948,7 @@ func (c *OrganizationsSinksUpdateCall) Header() http.Header { func (c *OrganizationsSinksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20102,7 +20102,7 @@ func (c *ProjectsExclusionsCreateCall) Header() http.Header { func (c *ProjectsExclusionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20241,7 +20241,7 @@ func (c *ProjectsExclusionsDeleteCall) Header() http.Header { func (c *ProjectsExclusionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20383,7 +20383,7 @@ func (c *ProjectsExclusionsGetCall) Header() http.Header { func (c *ProjectsExclusionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20549,7 +20549,7 @@ func (c *ProjectsExclusionsListCall) Header() http.Header { func (c *ProjectsExclusionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20731,7 +20731,7 @@ func (c *ProjectsExclusionsPatchCall) Header() http.Header { func (c *ProjectsExclusionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20887,7 +20887,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21056,7 +21056,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21241,7 +21241,7 @@ func (c *ProjectsLocationsBucketsCreateCall) Header() http.Header { func (c *ProjectsLocationsBucketsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21387,7 +21387,7 @@ func (c *ProjectsLocationsBucketsDeleteCall) Header() http.Header { func (c *ProjectsLocationsBucketsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21529,7 +21529,7 @@ func (c *ProjectsLocationsBucketsGetCall) Header() http.Header { func (c *ProjectsLocationsBucketsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21695,7 +21695,7 @@ func (c *ProjectsLocationsBucketsListCall) Header() http.Header { func (c *ProjectsLocationsBucketsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21882,7 +21882,7 @@ func (c *ProjectsLocationsBucketsPatchCall) Header() http.Header { func (c *ProjectsLocationsBucketsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22030,7 +22030,7 @@ func (c *ProjectsLocationsBucketsUndeleteCall) Header() http.Header { func (c *ProjectsLocationsBucketsUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22179,7 +22179,7 @@ func (c *ProjectsLocationsBucketsViewsCreateCall) Header() http.Header { func (c *ProjectsLocationsBucketsViewsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22323,7 +22323,7 @@ func (c *ProjectsLocationsBucketsViewsDeleteCall) Header() http.Header { func (c *ProjectsLocationsBucketsViewsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22465,7 +22465,7 @@ func (c *ProjectsLocationsBucketsViewsGetCall) Header() http.Header { func (c *ProjectsLocationsBucketsViewsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22631,7 +22631,7 @@ func (c *ProjectsLocationsBucketsViewsListCall) Header() http.Header { func (c *ProjectsLocationsBucketsViewsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22814,7 +22814,7 @@ func (c *ProjectsLocationsBucketsViewsPatchCall) Header() http.Header { func (c *ProjectsLocationsBucketsViewsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22962,7 +22962,7 @@ func (c *ProjectsLogsDeleteCall) Header() http.Header { func (c *ProjectsLogsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23141,7 +23141,7 @@ func (c *ProjectsLogsListCall) Header() http.Header { func (c *ProjectsLogsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23317,7 +23317,7 @@ func (c *ProjectsMetricsCreateCall) Header() http.Header { func (c *ProjectsMetricsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23457,7 +23457,7 @@ func (c *ProjectsMetricsDeleteCall) Header() http.Header { func (c *ProjectsMetricsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23600,7 +23600,7 @@ func (c *ProjectsMetricsGetCall) Header() http.Header { func (c *ProjectsMetricsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23766,7 +23766,7 @@ func (c *ProjectsMetricsListCall) Header() http.Header { func (c *ProjectsMetricsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23936,7 +23936,7 @@ func (c *ProjectsMetricsUpdateCall) Header() http.Header { func (c *ProjectsMetricsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24098,7 +24098,7 @@ func (c *ProjectsSinksCreateCall) Header() http.Header { func (c *ProjectsSinksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24243,7 +24243,7 @@ func (c *ProjectsSinksDeleteCall) Header() http.Header { func (c *ProjectsSinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24385,7 +24385,7 @@ func (c *ProjectsSinksGetCall) Header() http.Header { func (c *ProjectsSinksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24551,7 +24551,7 @@ func (c *ProjectsSinksListCall) Header() http.Header { func (c *ProjectsSinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24754,7 +24754,7 @@ func (c *ProjectsSinksPatchCall) Header() http.Header { func (c *ProjectsSinksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24939,7 +24939,7 @@ func (c *ProjectsSinksUpdateCall) Header() http.Header { func (c *ProjectsSinksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25111,7 +25111,7 @@ func (c *SinksCreateCall) Header() http.Header { func (c *SinksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25256,7 +25256,7 @@ func (c *SinksDeleteCall) Header() http.Header { func (c *SinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25398,7 +25398,7 @@ func (c *SinksGetCall) Header() http.Header { func (c *SinksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25564,7 +25564,7 @@ func (c *SinksListCall) Header() http.Header { func (c *SinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25767,7 +25767,7 @@ func (c *SinksUpdateCall) Header() http.Header { func (c *SinksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25934,7 +25934,7 @@ func (c *V2GetCmekSettingsCall) Header() http.Header { func (c *V2GetCmekSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26091,7 +26091,7 @@ func (c *V2UpdateCmekSettingsCall) Header() http.Header { func (c *V2UpdateCmekSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/managedidentities/v1/managedidentities-gen.go b/managedidentities/v1/managedidentities-gen.go index 1362a41a428..8201eef0832 100644 --- a/managedidentities/v1/managedidentities-gen.go +++ b/managedidentities/v1/managedidentities-gen.go @@ -2200,7 +2200,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2366,7 +2366,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2538,7 +2538,7 @@ func (c *ProjectsLocationsGlobalDomainsAttachTrustCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsAttachTrustCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2692,7 +2692,7 @@ func (c *ProjectsLocationsGlobalDomainsCreateCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2835,7 +2835,7 @@ func (c *ProjectsLocationsGlobalDomainsDeleteCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2967,7 +2967,7 @@ func (c *ProjectsLocationsGlobalDomainsDetachTrustCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsDetachTrustCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3116,7 +3116,7 @@ func (c *ProjectsLocationsGlobalDomainsGetCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3277,7 +3277,7 @@ func (c *ProjectsLocationsGlobalDomainsGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3462,7 +3462,7 @@ func (c *ProjectsLocationsGlobalDomainsListCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3648,7 +3648,7 @@ func (c *ProjectsLocationsGlobalDomainsPatchCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3794,7 +3794,7 @@ func (c *ProjectsLocationsGlobalDomainsReconfigureTrustCall) Header() http.Heade func (c *ProjectsLocationsGlobalDomainsReconfigureTrustCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3934,7 +3934,7 @@ func (c *ProjectsLocationsGlobalDomainsResetAdminPasswordCall) Header() http.Hea func (c *ProjectsLocationsGlobalDomainsResetAdminPasswordCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4076,7 +4076,7 @@ func (c *ProjectsLocationsGlobalDomainsSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4221,7 +4221,7 @@ func (c *ProjectsLocationsGlobalDomainsTestIamPermissionsCall) Header() http.Hea func (c *ProjectsLocationsGlobalDomainsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4363,7 +4363,7 @@ func (c *ProjectsLocationsGlobalDomainsValidateTrustCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsValidateTrustCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4512,7 +4512,7 @@ func (c *ProjectsLocationsGlobalOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4653,7 +4653,7 @@ func (c *ProjectsLocationsGlobalOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4796,7 +4796,7 @@ func (c *ProjectsLocationsGlobalOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4970,7 +4970,7 @@ func (c *ProjectsLocationsGlobalOperationsListCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/managedidentities/v1alpha1/managedidentities-gen.go b/managedidentities/v1alpha1/managedidentities-gen.go index df68fe0f50f..3c92e0e4e80 100644 --- a/managedidentities/v1alpha1/managedidentities-gen.go +++ b/managedidentities/v1alpha1/managedidentities-gen.go @@ -2298,7 +2298,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2464,7 +2464,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2636,7 +2636,7 @@ func (c *ProjectsLocationsGlobalDomainsAttachTrustCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsAttachTrustCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2790,7 +2790,7 @@ func (c *ProjectsLocationsGlobalDomainsCreateCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2933,7 +2933,7 @@ func (c *ProjectsLocationsGlobalDomainsDeleteCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3065,7 +3065,7 @@ func (c *ProjectsLocationsGlobalDomainsDetachTrustCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsDetachTrustCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3214,7 +3214,7 @@ func (c *ProjectsLocationsGlobalDomainsGetCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3375,7 +3375,7 @@ func (c *ProjectsLocationsGlobalDomainsGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3558,7 +3558,7 @@ func (c *ProjectsLocationsGlobalDomainsListCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3746,7 +3746,7 @@ func (c *ProjectsLocationsGlobalDomainsPatchCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3892,7 +3892,7 @@ func (c *ProjectsLocationsGlobalDomainsReconfigureTrustCall) Header() http.Heade func (c *ProjectsLocationsGlobalDomainsReconfigureTrustCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4033,7 +4033,7 @@ func (c *ProjectsLocationsGlobalDomainsResetAdminPasswordCall) Header() http.Hea func (c *ProjectsLocationsGlobalDomainsResetAdminPasswordCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4175,7 +4175,7 @@ func (c *ProjectsLocationsGlobalDomainsSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4320,7 +4320,7 @@ func (c *ProjectsLocationsGlobalDomainsTestIamPermissionsCall) Header() http.Hea func (c *ProjectsLocationsGlobalDomainsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4460,7 +4460,7 @@ func (c *ProjectsLocationsGlobalDomainsValidateTrustCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsValidateTrustCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4609,7 +4609,7 @@ func (c *ProjectsLocationsGlobalDomainsSqlIntegrationsGetCall) Header() http.Hea func (c *ProjectsLocationsGlobalDomainsSqlIntegrationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4787,7 +4787,7 @@ func (c *ProjectsLocationsGlobalDomainsSqlIntegrationsListCall) Header() http.He func (c *ProjectsLocationsGlobalDomainsSqlIntegrationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4973,7 +4973,7 @@ func (c *ProjectsLocationsGlobalOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5114,7 +5114,7 @@ func (c *ProjectsLocationsGlobalOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5257,7 +5257,7 @@ func (c *ProjectsLocationsGlobalOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5431,7 +5431,7 @@ func (c *ProjectsLocationsGlobalOperationsListCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/managedidentities/v1beta1/managedidentities-gen.go b/managedidentities/v1beta1/managedidentities-gen.go index 6458b3bb86d..47ac0b4c4af 100644 --- a/managedidentities/v1beta1/managedidentities-gen.go +++ b/managedidentities/v1beta1/managedidentities-gen.go @@ -2303,7 +2303,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2469,7 +2469,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2641,7 +2641,7 @@ func (c *ProjectsLocationsGlobalDomainsAttachTrustCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsAttachTrustCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2794,7 +2794,7 @@ func (c *ProjectsLocationsGlobalDomainsCreateCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2937,7 +2937,7 @@ func (c *ProjectsLocationsGlobalDomainsDeleteCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3069,7 +3069,7 @@ func (c *ProjectsLocationsGlobalDomainsDetachTrustCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsDetachTrustCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3218,7 +3218,7 @@ func (c *ProjectsLocationsGlobalDomainsGetCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3379,7 +3379,7 @@ func (c *ProjectsLocationsGlobalDomainsGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3564,7 +3564,7 @@ func (c *ProjectsLocationsGlobalDomainsListCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3751,7 +3751,7 @@ func (c *ProjectsLocationsGlobalDomainsPatchCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3897,7 +3897,7 @@ func (c *ProjectsLocationsGlobalDomainsReconfigureTrustCall) Header() http.Heade func (c *ProjectsLocationsGlobalDomainsReconfigureTrustCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4037,7 +4037,7 @@ func (c *ProjectsLocationsGlobalDomainsResetAdminPasswordCall) Header() http.Hea func (c *ProjectsLocationsGlobalDomainsResetAdminPasswordCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4179,7 +4179,7 @@ func (c *ProjectsLocationsGlobalDomainsSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4324,7 +4324,7 @@ func (c *ProjectsLocationsGlobalDomainsTestIamPermissionsCall) Header() http.Hea func (c *ProjectsLocationsGlobalDomainsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4466,7 +4466,7 @@ func (c *ProjectsLocationsGlobalDomainsValidateTrustCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsValidateTrustCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4615,7 +4615,7 @@ func (c *ProjectsLocationsGlobalDomainsSqlIntegrationsGetCall) Header() http.Hea func (c *ProjectsLocationsGlobalDomainsSqlIntegrationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4793,7 +4793,7 @@ func (c *ProjectsLocationsGlobalDomainsSqlIntegrationsListCall) Header() http.He func (c *ProjectsLocationsGlobalDomainsSqlIntegrationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4979,7 +4979,7 @@ func (c *ProjectsLocationsGlobalOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5120,7 +5120,7 @@ func (c *ProjectsLocationsGlobalOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5263,7 +5263,7 @@ func (c *ProjectsLocationsGlobalOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5437,7 +5437,7 @@ func (c *ProjectsLocationsGlobalOperationsListCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/manufacturers/v1/manufacturers-gen.go b/manufacturers/v1/manufacturers-gen.go index b604e02fb25..67f927bcdb7 100644 --- a/manufacturers/v1/manufacturers-gen.go +++ b/manufacturers/v1/manufacturers-gen.go @@ -837,7 +837,7 @@ func (c *AccountsProductsDeleteCall) Header() http.Header { func (c *AccountsProductsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1007,7 +1007,7 @@ func (c *AccountsProductsGetCall) Header() http.Header { func (c *AccountsProductsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1206,7 +1206,7 @@ func (c *AccountsProductsListCall) Header() http.Header { func (c *AccountsProductsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1405,7 +1405,7 @@ func (c *AccountsProductsUpdateCall) Header() http.Header { func (c *AccountsProductsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/memcache/v1beta2/memcache-gen.go b/memcache/v1beta2/memcache-gen.go index dc0d66e4fb9..12bc554e447 100644 --- a/memcache/v1beta2/memcache-gen.go +++ b/memcache/v1beta2/memcache-gen.go @@ -1745,7 +1745,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1911,7 +1911,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2085,7 +2085,7 @@ func (c *ProjectsLocationsInstancesApplyParametersCall) Header() http.Header { func (c *ProjectsLocationsInstancesApplyParametersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2237,7 +2237,7 @@ func (c *ProjectsLocationsInstancesCreateCall) Header() http.Header { func (c *ProjectsLocationsInstancesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2380,7 +2380,7 @@ func (c *ProjectsLocationsInstancesDeleteCall) Header() http.Header { func (c *ProjectsLocationsInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2521,7 +2521,7 @@ func (c *ProjectsLocationsInstancesGetCall) Header() http.Header { func (c *ProjectsLocationsInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2698,7 +2698,7 @@ func (c *ProjectsLocationsInstancesListCall) Header() http.Header { func (c *ProjectsLocationsInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2882,7 +2882,7 @@ func (c *ProjectsLocationsInstancesPatchCall) Header() http.Header { func (c *ProjectsLocationsInstancesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3031,7 +3031,7 @@ func (c *ProjectsLocationsInstancesUpdateParametersCall) Header() http.Header { func (c *ProjectsLocationsInstancesUpdateParametersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3180,7 +3180,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3321,7 +3321,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3464,7 +3464,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3638,7 +3638,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/ml/v1/ml-api.json b/ml/v1/ml-api.json index a42ba3d426a..3609d09d7e6 100644 --- a/ml/v1/ml-api.json +++ b/ml/v1/ml-api.json @@ -1486,7 +1486,7 @@ } } }, - "revision": "20201112", + "revision": "20201207", "rootUrl": "https://ml.googleapis.com/", "schemas": { "GoogleApi__HttpBody": { @@ -2092,6 +2092,22 @@ }, "type": "object" }, + "GoogleCloudMlV1__DiskConfig": { + "description": "Represents the config of disk options.", + "id": "GoogleCloudMlV1__DiskConfig", + "properties": { + "bootDiskSizeGb": { + "description": "Size in GB of the boot disk (default is 100GB).", + "format": "int32", + "type": "integer" + }, + "bootDiskType": { + "description": "Type of the boot disk (default is \"pd-standard\"). Valid values: \"pd-ssd\" (Persistent Disk Solid State Drive) or \"pd-standard\" (Persistent Disk Hard Disk Drive).", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudMlV1__EncryptionConfig": { "description": "Represents a custom encryption key configuration that can be applied to a resource.", "id": "GoogleCloudMlV1__EncryptionConfig", @@ -2932,6 +2948,10 @@ }, "type": "array" }, + "diskConfig": { + "$ref": "GoogleCloudMlV1__DiskConfig", + "description": "Represents the configuration of disk options." + }, "imageUri": { "description": "The Docker image to run on the replica. This image must be in Container Registry. Learn more about [configuring custom containers](/ai-platform/training/docs/distributed-training-containers).", "type": "string" @@ -2964,11 +2984,11 @@ "id": "GoogleCloudMlV1__RouteMap", "properties": { "health": { - "description": "HTTP path on the container to send health checkss to. AI Platform Prediction intermittently sends GET requests to this path on the container's IP address and port to check that the container is healthy. Read more about [health checks](/ai-platform/prediction/docs/custom-container-requirements#checks). For example, if you set this field to `/bar`, then AI Platform Prediction intermittently sends a GET request to the following URL on the container: localhost:PORT/bar PORT refers to the first value of Version.container.ports. If you don't specify this field, it defaults to the following value: /v1/models/MODEL/versions/VERSION The placeholders in this value are replaced as follows: * MODEL: The name of the parent Model. This does not include the \"projects/PROJECT_ID/models/\" prefix that the API returns in output; it is the bare model name, as provided to projects.models.create. * VERSION: The name of the model version. This does not include the \"projects/PROJECT_ID/models/MODEL/versions/\" prefix that the API returns in output; it is the bare version name, as provided to projects.models.versions.create.", + "description": "HTTP path on the container to send health checkss to. AI Platform Prediction intermittently sends GET requests to this path on the container's IP address and port to check that the container is healthy. Read more about [health checks](/ai-platform/prediction/docs/custom-container-requirements#checks). For example, if you set this field to `/bar`, then AI Platform Prediction intermittently sends a GET request to the `/bar` path on the port of your container specified by the first value of Version.container.ports. If you don't specify this field, it defaults to the following value: /v1/models/ MODEL/versions/VERSION The placeholders in this value are replaced as follows: * MODEL: The name of the parent Model. This does not include the \"projects/PROJECT_ID/models/\" prefix that the API returns in output; it is the bare model name, as provided to projects.models.create. * VERSION: The name of the model version. This does not include the \"projects/PROJECT_ID /models/MODEL/versions/\" prefix that the API returns in output; it is the bare version name, as provided to projects.models.versions.create.", "type": "string" }, "predict": { - "description": "HTTP path on the container to send prediction requests to. AI Platform Prediction forwards requests sent using projects.predict to this path on the container's IP address and port. AI Platform Prediction then returns the container's response in the API response. For example, if you set this field to `/foo`, then when AI Platform Prediction receives a prediction request, it forwards the request body in a POST request to the following URL on the container: localhost:PORT/foo PORT refers to the first value of Version.container.ports. If you don't specify this field, it defaults to the following value: /v1/models/MODEL/versions/VERSION:predict The placeholders in this value are replaced as follows: * MODEL: The name of the parent Model. This does not include the \"projects/PROJECT_ID/models/\" prefix that the API returns in output; it is the bare model name, as provided to projects.models.create. * VERSION: The name of the model version. This does not include the \"projects/PROJECT_ID/models/MODEL/versions/\" prefix that the API returns in output; it is the bare version name, as provided to projects.models.versions.create.", + "description": "HTTP path on the container to send prediction requests to. AI Platform Prediction forwards requests sent using projects.predict to this path on the container's IP address and port. AI Platform Prediction then returns the container's response in the API response. For example, if you set this field to `/foo`, then when AI Platform Prediction receives a prediction request, it forwards the request body in a POST request to the `/foo` path on the port of your container specified by the first value of Version.container.ports. If you don't specify this field, it defaults to the following value: /v1/models/MODEL/versions/VERSION:predict The placeholders in this value are replaced as follows: * MODEL: The name of the parent Model. This does not include the \"projects/PROJECT_ID/models/\" prefix that the API returns in output; it is the bare model name, as provided to projects.models.create. * VERSION: The name of the model version. This does not include the \"projects/PROJECT_ID/models/MODEL/versions/\" prefix that the API returns in output; it is the bare version name, as provided to projects.models.versions.create.", "type": "string" } }, diff --git a/ml/v1/ml-gen.go b/ml/v1/ml-gen.go index 995ebfd4195..9170e0606c2 100644 --- a/ml/v1/ml-gen.go +++ b/ml/v1/ml-gen.go @@ -1476,6 +1476,40 @@ func (s *GoogleCloudMlV1__ContainerSpec) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudMlV1__DiskConfig: Represents the config of disk options. +type GoogleCloudMlV1__DiskConfig struct { + // BootDiskSizeGb: Size in GB of the boot disk (default is 100GB). + BootDiskSizeGb int64 `json:"bootDiskSizeGb,omitempty"` + + // BootDiskType: Type of the boot disk (default is "pd-standard"). Valid + // values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" + // (Persistent Disk Hard Disk Drive). + BootDiskType string `json:"bootDiskType,omitempty"` + + // ForceSendFields is a list of field names (e.g. "BootDiskSizeGb") to + // unconditionally include in API requests. By default, fields with + // empty values are omitted from API requests. However, any non-pointer, + // non-interface field appearing in ForceSendFields will be sent to the + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "BootDiskSizeGb") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudMlV1__DiskConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudMlV1__DiskConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudMlV1__EncryptionConfig: Represents a custom encryption key // configuration that can be applied to a resource. type GoogleCloudMlV1__EncryptionConfig struct { @@ -2840,6 +2874,9 @@ type GoogleCloudMlV1__ReplicaConfig struct { // i.e., both cannot be set at the same time. ContainerCommand []string `json:"containerCommand,omitempty"` + // DiskConfig: Represents the configuration of disk options. + DiskConfig *GoogleCloudMlV1__DiskConfig `json:"diskConfig,omitempty"` + // ImageUri: The Docker image to run on the replica. This image must be // in Container Registry. Learn more about [configuring custom // containers](/ai-platform/training/docs/distributed-training-containers @@ -2966,16 +3003,16 @@ type GoogleCloudMlV1__RouteMap struct { // healthy. Read more about [health // checks](/ai-platform/prediction/docs/custom-container-requirements#che // cks). For example, if you set this field to `/bar`, then AI Platform - // Prediction intermittently sends a GET request to the following URL on - // the container: localhost:PORT/bar PORT refers to the first value of + // Prediction intermittently sends a GET request to the `/bar` path on + // the port of your container specified by the first value of // Version.container.ports. If you don't specify this field, it defaults - // to the following value: /v1/models/MODEL/versions/VERSION The + // to the following value: /v1/models/ MODEL/versions/VERSION The // placeholders in this value are replaced as follows: * MODEL: The name // of the parent Model. This does not include the // "projects/PROJECT_ID/models/" prefix that the API returns in output; // it is the bare model name, as provided to projects.models.create. * // VERSION: The name of the model version. This does not include the - // "projects/PROJECT_ID/models/MODEL/versions/" prefix that the API + // "projects/PROJECT_ID /models/MODEL/versions/" prefix that the API // returns in output; it is the bare version name, as provided to // projects.models.versions.create. Health string `json:"health,omitempty"` @@ -2986,15 +3023,15 @@ type GoogleCloudMlV1__RouteMap struct { // Prediction then returns the container's response in the API response. // For example, if you set this field to `/foo`, then when AI Platform // Prediction receives a prediction request, it forwards the request - // body in a POST request to the following URL on the container: - // localhost:PORT/foo PORT refers to the first value of - // Version.container.ports. If you don't specify this field, it defaults - // to the following value: /v1/models/MODEL/versions/VERSION:predict The - // placeholders in this value are replaced as follows: * MODEL: The name - // of the parent Model. This does not include the - // "projects/PROJECT_ID/models/" prefix that the API returns in output; - // it is the bare model name, as provided to projects.models.create. * - // VERSION: The name of the model version. This does not include the + // body in a POST request to the `/foo` path on the port of your + // container specified by the first value of Version.container.ports. If + // you don't specify this field, it defaults to the following value: + // /v1/models/MODEL/versions/VERSION:predict The placeholders in this + // value are replaced as follows: * MODEL: The name of the parent Model. + // This does not include the "projects/PROJECT_ID/models/" prefix that + // the API returns in output; it is the bare model name, as provided to + // projects.models.create. * VERSION: The name of the model version. + // This does not include the // "projects/PROJECT_ID/models/MODEL/versions/" prefix that the API // returns in output; it is the bare version name, as provided to // projects.models.versions.create. @@ -4724,7 +4761,7 @@ func (c *ProjectsExplainCall) Header() http.Header { func (c *ProjectsExplainCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4877,7 +4914,7 @@ func (c *ProjectsGetConfigCall) Header() http.Header { func (c *ProjectsGetConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5014,7 +5051,7 @@ func (c *ProjectsPredictCall) Header() http.Header { func (c *ProjectsPredictCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5159,7 +5196,7 @@ func (c *ProjectsJobsCancelCall) Header() http.Header { func (c *ProjectsJobsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5299,7 +5336,7 @@ func (c *ProjectsJobsCreateCall) Header() http.Header { func (c *ProjectsJobsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5448,7 +5485,7 @@ func (c *ProjectsJobsGetCall) Header() http.Header { func (c *ProjectsJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5610,7 +5647,7 @@ func (c *ProjectsJobsGetIamPolicyCall) Header() http.Header { func (c *ProjectsJobsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5792,7 +5829,7 @@ func (c *ProjectsJobsListCall) Header() http.Header { func (c *ProjectsJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5983,7 +6020,7 @@ func (c *ProjectsJobsPatchCall) Header() http.Header { func (c *ProjectsJobsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6131,7 +6168,7 @@ func (c *ProjectsJobsSetIamPolicyCall) Header() http.Header { func (c *ProjectsJobsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6276,7 +6313,7 @@ func (c *ProjectsJobsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsJobsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6427,7 +6464,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6591,7 +6628,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6767,7 +6804,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6910,7 +6947,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7053,7 +7090,7 @@ func (c *ProjectsLocationsStudiesCreateCall) Header() http.Header { func (c *ProjectsLocationsStudiesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7196,7 +7233,7 @@ func (c *ProjectsLocationsStudiesDeleteCall) Header() http.Header { func (c *ProjectsLocationsStudiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7337,7 +7374,7 @@ func (c *ProjectsLocationsStudiesGetCall) Header() http.Header { func (c *ProjectsLocationsStudiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7481,7 +7518,7 @@ func (c *ProjectsLocationsStudiesListCall) Header() http.Header { func (c *ProjectsLocationsStudiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7619,7 +7656,7 @@ func (c *ProjectsLocationsStudiesTrialsAddMeasurementCall) Header() http.Header func (c *ProjectsLocationsStudiesTrialsAddMeasurementCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7761,7 +7798,7 @@ func (c *ProjectsLocationsStudiesTrialsCheckEarlyStoppingStateCall) Header() htt func (c *ProjectsLocationsStudiesTrialsCheckEarlyStoppingStateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7901,7 +7938,7 @@ func (c *ProjectsLocationsStudiesTrialsCompleteCall) Header() http.Header { func (c *ProjectsLocationsStudiesTrialsCompleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8041,7 +8078,7 @@ func (c *ProjectsLocationsStudiesTrialsCreateCall) Header() http.Header { func (c *ProjectsLocationsStudiesTrialsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8179,7 +8216,7 @@ func (c *ProjectsLocationsStudiesTrialsDeleteCall) Header() http.Header { func (c *ProjectsLocationsStudiesTrialsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8320,7 +8357,7 @@ func (c *ProjectsLocationsStudiesTrialsGetCall) Header() http.Header { func (c *ProjectsLocationsStudiesTrialsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8464,7 +8501,7 @@ func (c *ProjectsLocationsStudiesTrialsListCall) Header() http.Header { func (c *ProjectsLocationsStudiesTrialsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8603,7 +8640,7 @@ func (c *ProjectsLocationsStudiesTrialsListOptimalTrialsCall) Header() http.Head func (c *ProjectsLocationsStudiesTrialsListOptimalTrialsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8745,7 +8782,7 @@ func (c *ProjectsLocationsStudiesTrialsStopCall) Header() http.Header { func (c *ProjectsLocationsStudiesTrialsStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8889,7 +8926,7 @@ func (c *ProjectsLocationsStudiesTrialsSuggestCall) Header() http.Header { func (c *ProjectsLocationsStudiesTrialsSuggestCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9032,7 +9069,7 @@ func (c *ProjectsModelsCreateCall) Header() http.Header { func (c *ProjectsModelsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9172,7 +9209,7 @@ func (c *ProjectsModelsDeleteCall) Header() http.Header { func (c *ProjectsModelsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9315,7 +9352,7 @@ func (c *ProjectsModelsGetCall) Header() http.Header { func (c *ProjectsModelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9477,7 +9514,7 @@ func (c *ProjectsModelsGetIamPolicyCall) Header() http.Header { func (c *ProjectsModelsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9655,7 +9692,7 @@ func (c *ProjectsModelsListCall) Header() http.Header { func (c *ProjectsModelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9845,7 +9882,7 @@ func (c *ProjectsModelsPatchCall) Header() http.Header { func (c *ProjectsModelsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9993,7 +10030,7 @@ func (c *ProjectsModelsSetIamPolicyCall) Header() http.Header { func (c *ProjectsModelsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10138,7 +10175,7 @@ func (c *ProjectsModelsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsModelsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10285,7 +10322,7 @@ func (c *ProjectsModelsVersionsCreateCall) Header() http.Header { func (c *ProjectsModelsVersionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10427,7 +10464,7 @@ func (c *ProjectsModelsVersionsDeleteCall) Header() http.Header { func (c *ProjectsModelsVersionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10571,7 +10608,7 @@ func (c *ProjectsModelsVersionsGetCall) Header() http.Header { func (c *ProjectsModelsVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10745,7 +10782,7 @@ func (c *ProjectsModelsVersionsListCall) Header() http.Header { func (c *ProjectsModelsVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10937,7 +10974,7 @@ func (c *ProjectsModelsVersionsPatchCall) Header() http.Header { func (c *ProjectsModelsVersionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11088,7 +11125,7 @@ func (c *ProjectsModelsVersionsSetDefaultCall) Header() http.Header { func (c *ProjectsModelsVersionsSetDefaultCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11235,7 +11272,7 @@ func (c *ProjectsOperationsCancelCall) Header() http.Header { func (c *ProjectsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11378,7 +11415,7 @@ func (c *ProjectsOperationsGetCall) Header() http.Header { func (c *ProjectsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11552,7 +11589,7 @@ func (c *ProjectsOperationsListCall) Header() http.Header { func (c *ProjectsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/monitoring/v1/monitoring-gen.go b/monitoring/v1/monitoring-gen.go index 5e16b322da8..0137f0543b5 100644 --- a/monitoring/v1/monitoring-gen.go +++ b/monitoring/v1/monitoring-gen.go @@ -1898,7 +1898,7 @@ func (c *ProjectsDashboardsCreateCall) Header() http.Header { func (c *ProjectsDashboardsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2041,7 +2041,7 @@ func (c *ProjectsDashboardsDeleteCall) Header() http.Header { func (c *ProjectsDashboardsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2187,7 +2187,7 @@ func (c *ProjectsDashboardsGetCall) Header() http.Header { func (c *ProjectsDashboardsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2353,7 +2353,7 @@ func (c *ProjectsDashboardsListCall) Header() http.Header { func (c *ProjectsDashboardsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2525,7 +2525,7 @@ func (c *ProjectsDashboardsPatchCall) Header() http.Header { func (c *ProjectsDashboardsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/monitoring/v3/monitoring-gen.go b/monitoring/v3/monitoring-gen.go index af0cf19d1bd..ee0b538ec7c 100644 --- a/monitoring/v3/monitoring-gen.go +++ b/monitoring/v3/monitoring-gen.go @@ -5558,7 +5558,7 @@ func (c *ProjectsAlertPoliciesCreateCall) Header() http.Header { func (c *ProjectsAlertPoliciesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5697,7 +5697,7 @@ func (c *ProjectsAlertPoliciesDeleteCall) Header() http.Header { func (c *ProjectsAlertPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5839,7 +5839,7 @@ func (c *ProjectsAlertPoliciesGetCall) Header() http.Header { func (c *ProjectsAlertPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6021,7 +6021,7 @@ func (c *ProjectsAlertPoliciesListCall) Header() http.Header { func (c *ProjectsAlertPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6226,7 +6226,7 @@ func (c *ProjectsAlertPoliciesPatchCall) Header() http.Header { func (c *ProjectsAlertPoliciesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6375,7 +6375,7 @@ func (c *ProjectsCollectdTimeSeriesCreateCall) Header() http.Header { func (c *ProjectsCollectdTimeSeriesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6524,7 +6524,7 @@ func (c *ProjectsGroupsCreateCall) Header() http.Header { func (c *ProjectsGroupsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6677,7 +6677,7 @@ func (c *ProjectsGroupsDeleteCall) Header() http.Header { func (c *ProjectsGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6824,7 +6824,7 @@ func (c *ProjectsGroupsGetCall) Header() http.Header { func (c *ProjectsGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7019,7 +7019,7 @@ func (c *ProjectsGroupsListCall) Header() http.Header { func (c *ProjectsGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7211,7 +7211,7 @@ func (c *ProjectsGroupsUpdateCall) Header() http.Header { func (c *ProjectsGroupsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7410,7 +7410,7 @@ func (c *ProjectsGroupsMembersListCall) Header() http.Header { func (c *ProjectsGroupsMembersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7598,7 +7598,7 @@ func (c *ProjectsMetricDescriptorsCreateCall) Header() http.Header { func (c *ProjectsMetricDescriptorsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7739,7 +7739,7 @@ func (c *ProjectsMetricDescriptorsDeleteCall) Header() http.Header { func (c *ProjectsMetricDescriptorsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7882,7 +7882,7 @@ func (c *ProjectsMetricDescriptorsGetCall) Header() http.Header { func (c *ProjectsMetricDescriptorsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8059,7 +8059,7 @@ func (c *ProjectsMetricDescriptorsListCall) Header() http.Header { func (c *ProjectsMetricDescriptorsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8244,7 +8244,7 @@ func (c *ProjectsMonitoredResourceDescriptorsGetCall) Header() http.Header { func (c *ProjectsMonitoredResourceDescriptorsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8419,7 +8419,7 @@ func (c *ProjectsMonitoredResourceDescriptorsListCall) Header() http.Header { func (c *ProjectsMonitoredResourceDescriptorsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8607,7 +8607,7 @@ func (c *ProjectsNotificationChannelDescriptorsGetCall) Header() http.Header { func (c *ProjectsNotificationChannelDescriptorsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8771,7 +8771,7 @@ func (c *ProjectsNotificationChannelDescriptorsListCall) Header() http.Header { func (c *ProjectsNotificationChannelDescriptorsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8944,7 +8944,7 @@ func (c *ProjectsNotificationChannelsCreateCall) Header() http.Header { func (c *ProjectsNotificationChannelsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9093,7 +9093,7 @@ func (c *ProjectsNotificationChannelsDeleteCall) Header() http.Header { func (c *ProjectsNotificationChannelsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9245,7 +9245,7 @@ func (c *ProjectsNotificationChannelsGetCall) Header() http.Header { func (c *ProjectsNotificationChannelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9402,7 +9402,7 @@ func (c *ProjectsNotificationChannelsGetVerificationCodeCall) Header() http.Head func (c *ProjectsNotificationChannelsGetVerificationCodeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9592,7 +9592,7 @@ func (c *ProjectsNotificationChannelsListCall) Header() http.Header { func (c *ProjectsNotificationChannelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9779,7 +9779,7 @@ func (c *ProjectsNotificationChannelsPatchCall) Header() http.Header { func (c *ProjectsNotificationChannelsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9928,7 +9928,7 @@ func (c *ProjectsNotificationChannelsSendVerificationCodeCall) Header() http.Hea func (c *ProjectsNotificationChannelsSendVerificationCodeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10071,7 +10071,7 @@ func (c *ProjectsNotificationChannelsVerifyCall) Header() http.Header { func (c *ProjectsNotificationChannelsVerifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10215,7 +10215,7 @@ func (c *ProjectsTimeSeriesCreateCall) Header() http.Header { func (c *ProjectsTimeSeriesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10914,7 +10914,7 @@ func (c *ProjectsTimeSeriesListCall) Header() http.Header { func (c *ProjectsTimeSeriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11311,7 +11311,7 @@ func (c *ProjectsTimeSeriesQueryCall) Header() http.Header { func (c *ProjectsTimeSeriesQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11474,7 +11474,7 @@ func (c *ProjectsUptimeCheckConfigsCreateCall) Header() http.Header { func (c *ProjectsUptimeCheckConfigsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11616,7 +11616,7 @@ func (c *ProjectsUptimeCheckConfigsDeleteCall) Header() http.Header { func (c *ProjectsUptimeCheckConfigsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11758,7 +11758,7 @@ func (c *ProjectsUptimeCheckConfigsGetCall) Header() http.Header { func (c *ProjectsUptimeCheckConfigsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11924,7 +11924,7 @@ func (c *ProjectsUptimeCheckConfigsListCall) Header() http.Header { func (c *ProjectsUptimeCheckConfigsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12106,7 +12106,7 @@ func (c *ProjectsUptimeCheckConfigsPatchCall) Header() http.Header { func (c *ProjectsUptimeCheckConfigsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12261,7 +12261,7 @@ func (c *ServicesCreateCall) Header() http.Header { func (c *ServicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12405,7 +12405,7 @@ func (c *ServicesDeleteCall) Header() http.Header { func (c *ServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12547,7 +12547,7 @@ func (c *ServicesGetCall) Header() http.Header { func (c *ServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12729,7 +12729,7 @@ func (c *ServicesListCall) Header() http.Header { func (c *ServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12910,7 +12910,7 @@ func (c *ServicesPatchCall) Header() http.Header { func (c *ServicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13066,7 +13066,7 @@ func (c *ServicesServiceLevelObjectivesCreateCall) Header() http.Header { func (c *ServicesServiceLevelObjectivesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13210,7 +13210,7 @@ func (c *ServicesServiceLevelObjectivesDeleteCall) Header() http.Header { func (c *ServicesServiceLevelObjectivesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13373,7 +13373,7 @@ func (c *ServicesServiceLevelObjectivesGetCall) Header() http.Header { func (c *ServicesServiceLevelObjectivesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13579,7 +13579,7 @@ func (c *ServicesServiceLevelObjectivesListCall) Header() http.Header { func (c *ServicesServiceLevelObjectivesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13776,7 +13776,7 @@ func (c *ServicesServiceLevelObjectivesPatchCall) Header() http.Header { func (c *ServicesServiceLevelObjectivesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13950,7 +13950,7 @@ func (c *UptimeCheckIpsListCall) Header() http.Header { func (c *UptimeCheckIpsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/networkmanagement/v1/networkmanagement-gen.go b/networkmanagement/v1/networkmanagement-gen.go index ac4cd7e5b4d..74155bc6b03 100644 --- a/networkmanagement/v1/networkmanagement-gen.go +++ b/networkmanagement/v1/networkmanagement-gen.go @@ -2175,7 +2175,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2341,7 +2341,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2533,7 +2533,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsCreateCall) Header() http.Heade func (c *ProjectsLocationsGlobalConnectivityTestsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2676,7 +2676,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsDeleteCall) Header() http.Heade func (c *ProjectsLocationsGlobalConnectivityTestsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2817,7 +2817,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsGetCall) Header() http.Header { func (c *ProjectsLocationsGlobalConnectivityTestsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2978,7 +2978,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsGetIamPolicyCall) Header() http func (c *ProjectsLocationsGlobalConnectivityTestsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3166,7 +3166,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsListCall) Header() http.Header func (c *ProjectsLocationsGlobalConnectivityTestsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3362,7 +3362,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsPatchCall) Header() http.Header func (c *ProjectsLocationsGlobalConnectivityTestsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3516,7 +3516,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsRerunCall) Header() http.Header func (c *ProjectsLocationsGlobalConnectivityTestsRerunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3658,7 +3658,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsSetIamPolicyCall) Header() http func (c *ProjectsLocationsGlobalConnectivityTestsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3803,7 +3803,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsTestIamPermissionsCall) Header( func (c *ProjectsLocationsGlobalConnectivityTestsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3952,7 +3952,7 @@ func (c *ProjectsLocationsGlobalOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4093,7 +4093,7 @@ func (c *ProjectsLocationsGlobalOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4236,7 +4236,7 @@ func (c *ProjectsLocationsGlobalOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4410,7 +4410,7 @@ func (c *ProjectsLocationsGlobalOperationsListCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/networkmanagement/v1beta1/networkmanagement-gen.go b/networkmanagement/v1beta1/networkmanagement-gen.go index c0becd65415..5af60b580dc 100644 --- a/networkmanagement/v1beta1/networkmanagement-gen.go +++ b/networkmanagement/v1beta1/networkmanagement-gen.go @@ -2441,7 +2441,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2607,7 +2607,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2799,7 +2799,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsCreateCall) Header() http.Heade func (c *ProjectsLocationsGlobalConnectivityTestsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2942,7 +2942,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsDeleteCall) Header() http.Heade func (c *ProjectsLocationsGlobalConnectivityTestsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3083,7 +3083,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsGetCall) Header() http.Header { func (c *ProjectsLocationsGlobalConnectivityTestsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3244,7 +3244,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsGetIamPolicyCall) Header() http func (c *ProjectsLocationsGlobalConnectivityTestsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3432,7 +3432,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsListCall) Header() http.Header func (c *ProjectsLocationsGlobalConnectivityTestsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3628,7 +3628,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsPatchCall) Header() http.Header func (c *ProjectsLocationsGlobalConnectivityTestsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3782,7 +3782,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsRerunCall) Header() http.Header func (c *ProjectsLocationsGlobalConnectivityTestsRerunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3924,7 +3924,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsSetIamPolicyCall) Header() http func (c *ProjectsLocationsGlobalConnectivityTestsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4069,7 +4069,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsTestIamPermissionsCall) Header( func (c *ProjectsLocationsGlobalConnectivityTestsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4218,7 +4218,7 @@ func (c *ProjectsLocationsGlobalOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4359,7 +4359,7 @@ func (c *ProjectsLocationsGlobalOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4502,7 +4502,7 @@ func (c *ProjectsLocationsGlobalOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4676,7 +4676,7 @@ func (c *ProjectsLocationsGlobalOperationsListCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/notebooks/v1/notebooks-gen.go b/notebooks/v1/notebooks-gen.go index e158b6f9136..329a24d9a64 100644 --- a/notebooks/v1/notebooks-gen.go +++ b/notebooks/v1/notebooks-gen.go @@ -1764,7 +1764,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1930,7 +1930,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2112,7 +2112,7 @@ func (c *ProjectsLocationsEnvironmentsCreateCall) Header() http.Header { func (c *ProjectsLocationsEnvironmentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2255,7 +2255,7 @@ func (c *ProjectsLocationsEnvironmentsDeleteCall) Header() http.Header { func (c *ProjectsLocationsEnvironmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2396,7 +2396,7 @@ func (c *ProjectsLocationsEnvironmentsGetCall) Header() http.Header { func (c *ProjectsLocationsEnvironmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2555,7 +2555,7 @@ func (c *ProjectsLocationsEnvironmentsListCall) Header() http.Header { func (c *ProjectsLocationsEnvironmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2729,7 +2729,7 @@ func (c *ProjectsLocationsInstancesCreateCall) Header() http.Header { func (c *ProjectsLocationsInstancesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2872,7 +2872,7 @@ func (c *ProjectsLocationsInstancesDeleteCall) Header() http.Header { func (c *ProjectsLocationsInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3013,7 +3013,7 @@ func (c *ProjectsLocationsInstancesGetCall) Header() http.Header { func (c *ProjectsLocationsInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3174,7 +3174,7 @@ func (c *ProjectsLocationsInstancesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsInstancesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3324,7 +3324,7 @@ func (c *ProjectsLocationsInstancesIsUpgradeableCall) Header() http.Header { func (c *ProjectsLocationsInstancesIsUpgradeableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3483,7 +3483,7 @@ func (c *ProjectsLocationsInstancesListCall) Header() http.Header { func (c *ProjectsLocationsInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3654,7 +3654,7 @@ func (c *ProjectsLocationsInstancesRegisterCall) Header() http.Header { func (c *ProjectsLocationsInstancesRegisterCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3797,7 +3797,7 @@ func (c *ProjectsLocationsInstancesReportCall) Header() http.Header { func (c *ProjectsLocationsInstancesReportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3937,7 +3937,7 @@ func (c *ProjectsLocationsInstancesResetCall) Header() http.Header { func (c *ProjectsLocationsInstancesResetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4077,7 +4077,7 @@ func (c *ProjectsLocationsInstancesSetAcceleratorCall) Header() http.Header { func (c *ProjectsLocationsInstancesSetAcceleratorCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4219,7 +4219,7 @@ func (c *ProjectsLocationsInstancesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsInstancesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4359,7 +4359,7 @@ func (c *ProjectsLocationsInstancesSetLabelsCall) Header() http.Header { func (c *ProjectsLocationsInstancesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4499,7 +4499,7 @@ func (c *ProjectsLocationsInstancesSetMachineTypeCall) Header() http.Header { func (c *ProjectsLocationsInstancesSetMachineTypeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4639,7 +4639,7 @@ func (c *ProjectsLocationsInstancesStartCall) Header() http.Header { func (c *ProjectsLocationsInstancesStartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4779,7 +4779,7 @@ func (c *ProjectsLocationsInstancesStopCall) Header() http.Header { func (c *ProjectsLocationsInstancesStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4924,7 +4924,7 @@ func (c *ProjectsLocationsInstancesTestIamPermissionsCall) Header() http.Header func (c *ProjectsLocationsInstancesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5064,7 +5064,7 @@ func (c *ProjectsLocationsInstancesUpgradeCall) Header() http.Header { func (c *ProjectsLocationsInstancesUpgradeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5205,7 +5205,7 @@ func (c *ProjectsLocationsInstancesUpgradeInternalCall) Header() http.Header { func (c *ProjectsLocationsInstancesUpgradeInternalCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5354,7 +5354,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5495,7 +5495,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5638,7 +5638,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5812,7 +5812,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/oauth2/v2/oauth2-gen.go b/oauth2/v2/oauth2-gen.go index f402310b68b..d19c6296b0f 100644 --- a/oauth2/v2/oauth2-gen.go +++ b/oauth2/v2/oauth2-gen.go @@ -353,7 +353,7 @@ func (c *TokeninfoCall) Header() http.Header { func (c *TokeninfoCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -482,7 +482,7 @@ func (c *UserinfoGetCall) Header() http.Header { func (c *UserinfoGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -609,7 +609,7 @@ func (c *UserinfoV2MeGetCall) Header() http.Header { func (c *UserinfoV2MeGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/osconfig/v1/osconfig-gen.go b/osconfig/v1/osconfig-gen.go index 9fbc3cc831b..e37e2af168e 100644 --- a/osconfig/v1/osconfig-gen.go +++ b/osconfig/v1/osconfig-gen.go @@ -2061,7 +2061,7 @@ func (c *ProjectsPatchDeploymentsCreateCall) Header() http.Header { func (c *ProjectsPatchDeploymentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2204,7 +2204,7 @@ func (c *ProjectsPatchDeploymentsDeleteCall) Header() http.Header { func (c *ProjectsPatchDeploymentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2345,7 +2345,7 @@ func (c *ProjectsPatchDeploymentsGetCall) Header() http.Header { func (c *ProjectsPatchDeploymentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2504,7 +2504,7 @@ func (c *ProjectsPatchDeploymentsListCall) Header() http.Header { func (c *ProjectsPatchDeploymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2672,7 +2672,7 @@ func (c *ProjectsPatchJobsCancelCall) Header() http.Header { func (c *ProjectsPatchJobsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2812,7 +2812,7 @@ func (c *ProjectsPatchJobsExecuteCall) Header() http.Header { func (c *ProjectsPatchJobsExecuteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2962,7 +2962,7 @@ func (c *ProjectsPatchJobsGetCall) Header() http.Header { func (c *ProjectsPatchJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3130,7 +3130,7 @@ func (c *ProjectsPatchJobsListCall) Header() http.Header { func (c *ProjectsPatchJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3334,7 +3334,7 @@ func (c *ProjectsPatchJobsInstanceDetailsListCall) Header() http.Header { func (c *ProjectsPatchJobsInstanceDetailsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/osconfig/v1beta/osconfig-gen.go b/osconfig/v1beta/osconfig-gen.go index da2b03ad008..52ae7f70c5b 100644 --- a/osconfig/v1beta/osconfig-gen.go +++ b/osconfig/v1beta/osconfig-gen.go @@ -3332,7 +3332,7 @@ func (c *ProjectsGuestPoliciesCreateCall) Header() http.Header { func (c *ProjectsGuestPoliciesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3475,7 +3475,7 @@ func (c *ProjectsGuestPoliciesDeleteCall) Header() http.Header { func (c *ProjectsGuestPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3616,7 +3616,7 @@ func (c *ProjectsGuestPoliciesGetCall) Header() http.Header { func (c *ProjectsGuestPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3775,7 +3775,7 @@ func (c *ProjectsGuestPoliciesListCall) Header() http.Header { func (c *ProjectsGuestPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3949,7 +3949,7 @@ func (c *ProjectsGuestPoliciesPatchCall) Header() http.Header { func (c *ProjectsGuestPoliciesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4106,7 +4106,7 @@ func (c *ProjectsPatchDeploymentsCreateCall) Header() http.Header { func (c *ProjectsPatchDeploymentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4249,7 +4249,7 @@ func (c *ProjectsPatchDeploymentsDeleteCall) Header() http.Header { func (c *ProjectsPatchDeploymentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4390,7 +4390,7 @@ func (c *ProjectsPatchDeploymentsGetCall) Header() http.Header { func (c *ProjectsPatchDeploymentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4549,7 +4549,7 @@ func (c *ProjectsPatchDeploymentsListCall) Header() http.Header { func (c *ProjectsPatchDeploymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4717,7 +4717,7 @@ func (c *ProjectsPatchJobsCancelCall) Header() http.Header { func (c *ProjectsPatchJobsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4857,7 +4857,7 @@ func (c *ProjectsPatchJobsExecuteCall) Header() http.Header { func (c *ProjectsPatchJobsExecuteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5007,7 +5007,7 @@ func (c *ProjectsPatchJobsGetCall) Header() http.Header { func (c *ProjectsPatchJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5175,7 +5175,7 @@ func (c *ProjectsPatchJobsListCall) Header() http.Header { func (c *ProjectsPatchJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5379,7 +5379,7 @@ func (c *ProjectsPatchJobsInstanceDetailsListCall) Header() http.Header { func (c *ProjectsPatchJobsInstanceDetailsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5554,7 +5554,7 @@ func (c *ProjectsZonesInstancesLookupEffectiveGuestPolicyCall) Header() http.Hea func (c *ProjectsZonesInstancesLookupEffectiveGuestPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/oslogin/v1/oslogin-gen.go b/oslogin/v1/oslogin-gen.go index 98f5d8ffe9c..b4c2e97db6e 100644 --- a/oslogin/v1/oslogin-gen.go +++ b/oslogin/v1/oslogin-gen.go @@ -447,7 +447,7 @@ func (c *UsersGetLoginProfileCall) Header() http.Header { func (c *UsersGetLoginProfileCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -602,7 +602,7 @@ func (c *UsersImportSshPublicKeyCall) Header() http.Header { func (c *UsersImportSshPublicKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -746,7 +746,7 @@ func (c *UsersProjectsDeleteCall) Header() http.Header { func (c *UsersProjectsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -877,7 +877,7 @@ func (c *UsersSshPublicKeysDeleteCall) Header() http.Header { func (c *UsersSshPublicKeysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1019,7 +1019,7 @@ func (c *UsersSshPublicKeysGetCall) Header() http.Header { func (c *UsersSshPublicKeysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1163,7 +1163,7 @@ func (c *UsersSshPublicKeysPatchCall) Header() http.Header { func (c *UsersSshPublicKeysPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/oslogin/v1alpha/oslogin-gen.go b/oslogin/v1alpha/oslogin-gen.go index 4257dbd46ef..4c4ae6871ee 100644 --- a/oslogin/v1alpha/oslogin-gen.go +++ b/oslogin/v1alpha/oslogin-gen.go @@ -469,7 +469,7 @@ func (c *UsersGetLoginProfileCall) Header() http.Header { func (c *UsersGetLoginProfileCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -641,7 +641,7 @@ func (c *UsersImportSshPublicKeyCall) Header() http.Header { func (c *UsersImportSshPublicKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -799,7 +799,7 @@ func (c *UsersProjectsDeleteCall) Header() http.Header { func (c *UsersProjectsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -945,7 +945,7 @@ func (c *UsersSshPublicKeysDeleteCall) Header() http.Header { func (c *UsersSshPublicKeysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1087,7 +1087,7 @@ func (c *UsersSshPublicKeysGetCall) Header() http.Header { func (c *UsersSshPublicKeysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1231,7 +1231,7 @@ func (c *UsersSshPublicKeysPatchCall) Header() http.Header { func (c *UsersSshPublicKeysPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/oslogin/v1beta/oslogin-gen.go b/oslogin/v1beta/oslogin-gen.go index 9a09acf2353..36f02623b3a 100644 --- a/oslogin/v1beta/oslogin-gen.go +++ b/oslogin/v1beta/oslogin-gen.go @@ -455,7 +455,7 @@ func (c *UsersGetLoginProfileCall) Header() http.Header { func (c *UsersGetLoginProfileCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -612,7 +612,7 @@ func (c *UsersImportSshPublicKeyCall) Header() http.Header { func (c *UsersImportSshPublicKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -756,7 +756,7 @@ func (c *UsersProjectsDeleteCall) Header() http.Header { func (c *UsersProjectsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -887,7 +887,7 @@ func (c *UsersSshPublicKeysDeleteCall) Header() http.Header { func (c *UsersSshPublicKeysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1029,7 +1029,7 @@ func (c *UsersSshPublicKeysGetCall) Header() http.Header { func (c *UsersSshPublicKeysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1173,7 +1173,7 @@ func (c *UsersSshPublicKeysPatchCall) Header() http.Header { func (c *UsersSshPublicKeysPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/pagespeedonline/v5/pagespeedonline-gen.go b/pagespeedonline/v5/pagespeedonline-gen.go index e4326e27bfa..5b8431e11af 100644 --- a/pagespeedonline/v5/pagespeedonline-gen.go +++ b/pagespeedonline/v5/pagespeedonline-gen.go @@ -1139,7 +1139,7 @@ func (c *PagespeedapiRunpagespeedCall) Header() http.Header { func (c *PagespeedapiRunpagespeedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/people/v1/people-gen.go b/people/v1/people-gen.go index 3984bb6013b..bb9b25e41e6 100644 --- a/people/v1/people-gen.go +++ b/people/v1/people-gen.go @@ -3076,7 +3076,7 @@ func (c *ContactGroupsBatchGetCall) Header() http.Header { func (c *ContactGroupsBatchGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3210,7 +3210,7 @@ func (c *ContactGroupsCreateCall) Header() http.Header { func (c *ContactGroupsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3343,7 +3343,7 @@ func (c *ContactGroupsDeleteCall) Header() http.Header { func (c *ContactGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3498,7 +3498,7 @@ func (c *ContactGroupsGetCall) Header() http.Header { func (c *ContactGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3673,7 +3673,7 @@ func (c *ContactGroupsListCall) Header() http.Header { func (c *ContactGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3835,7 +3835,7 @@ func (c *ContactGroupsUpdateCall) Header() http.Header { func (c *ContactGroupsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3979,7 +3979,7 @@ func (c *ContactGroupsMembersModifyCall) Header() http.Header { func (c *ContactGroupsMembersModifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4121,7 +4121,7 @@ func (c *OtherContactsCopyOtherContactToMyContactsGroupCall) Header() http.Heade func (c *OtherContactsCopyOtherContactToMyContactsGroupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4319,7 +4319,7 @@ func (c *OtherContactsListCall) Header() http.Header { func (c *OtherContactsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4522,7 +4522,7 @@ func (c *PeopleCreateContactCall) Header() http.Header { func (c *PeopleCreateContactCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4673,7 +4673,7 @@ func (c *PeopleDeleteContactCall) Header() http.Header { func (c *PeopleDeleteContactCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4834,7 +4834,7 @@ func (c *PeopleDeleteContactPhotoCall) Header() http.Header { func (c *PeopleDeleteContactPhotoCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5040,7 +5040,7 @@ func (c *PeopleGetCall) Header() http.Header { func (c *PeopleGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5279,7 +5279,7 @@ func (c *PeopleGetBatchGetCall) Header() http.Header { func (c *PeopleGetBatchGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5532,7 +5532,7 @@ func (c *PeopleListDirectoryPeopleCall) Header() http.Header { func (c *PeopleListDirectoryPeopleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5807,7 +5807,7 @@ func (c *PeopleSearchDirectoryPeopleCall) Header() http.Header { func (c *PeopleSearchDirectoryPeopleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6062,7 +6062,7 @@ func (c *PeopleUpdateContactCall) Header() http.Header { func (c *PeopleUpdateContactCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6232,7 +6232,7 @@ func (c *PeopleUpdateContactPhotoCall) Header() http.Header { func (c *PeopleUpdateContactPhotoCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6480,7 +6480,7 @@ func (c *PeopleConnectionsListCall) Header() http.Header { func (c *PeopleConnectionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/playablelocations/v3/playablelocations-gen.go b/playablelocations/v3/playablelocations-gen.go index 15cac987c9c..6e44c9e9c6d 100644 --- a/playablelocations/v3/playablelocations-gen.go +++ b/playablelocations/v3/playablelocations-gen.go @@ -882,7 +882,7 @@ func (c *V3LogImpressionsCall) Header() http.Header { func (c *V3LogImpressionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1009,7 +1009,7 @@ func (c *V3LogPlayerReportsCall) Header() http.Header { func (c *V3LogPlayerReportsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1136,7 +1136,7 @@ func (c *V3SamplePlayableLocationsCall) Header() http.Header { func (c *V3SamplePlayableLocationsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/playcustomapp/v1/playcustomapp-gen.go b/playcustomapp/v1/playcustomapp-gen.go index 670b9a426e1..28a93f76e89 100644 --- a/playcustomapp/v1/playcustomapp-gen.go +++ b/playcustomapp/v1/playcustomapp-gen.go @@ -281,7 +281,7 @@ func (c *AccountsCustomAppsCreateCall) Header() http.Header { func (c *AccountsCustomAppsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/policytroubleshooter/v1/policytroubleshooter-gen.go b/policytroubleshooter/v1/policytroubleshooter-gen.go index d1a1390fa4b..9c0e3da7222 100644 --- a/policytroubleshooter/v1/policytroubleshooter-gen.go +++ b/policytroubleshooter/v1/policytroubleshooter-gen.go @@ -897,7 +897,7 @@ func (c *IamTroubleshootCall) Header() http.Header { func (c *IamTroubleshootCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/policytroubleshooter/v1beta/policytroubleshooter-gen.go b/policytroubleshooter/v1beta/policytroubleshooter-gen.go index d015aa5deba..ac60c9a374a 100644 --- a/policytroubleshooter/v1beta/policytroubleshooter-gen.go +++ b/policytroubleshooter/v1beta/policytroubleshooter-gen.go @@ -897,7 +897,7 @@ func (c *IamTroubleshootCall) Header() http.Header { func (c *IamTroubleshootCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/poly/v1/poly-gen.go b/poly/v1/poly-gen.go index 798e8a26917..e560269762b 100644 --- a/poly/v1/poly-gen.go +++ b/poly/v1/poly-gen.go @@ -1004,7 +1004,7 @@ func (c *AssetsGetCall) Header() http.Header { func (c *AssetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1219,7 +1219,7 @@ func (c *AssetsListCall) Header() http.Header { func (c *AssetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1473,7 +1473,7 @@ func (c *UsersAssetsListCall) Header() http.Header { func (c *UsersAssetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1707,7 +1707,7 @@ func (c *UsersLikedassetsListCall) Header() http.Header { func (c *UsersLikedassetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/privateca/v1beta1/privateca-api.json b/privateca/v1beta1/privateca-api.json index 079cfe38808..d2124d21f3f 100644 --- a/privateca/v1beta1/privateca-api.json +++ b/privateca/v1beta1/privateca-api.json @@ -1254,7 +1254,7 @@ } } }, - "revision": "20201112", + "revision": "20201203", "rootUrl": "https://privateca.googleapis.com/", "schemas": { "AccessUrls": { @@ -2369,7 +2369,7 @@ "type": "string" }, "type": { - "description": "Required. The type of public key.", + "description": "Optional. The type of public key. If specified, it must match the public key used for the`key` field.", "enum": [ "KEY_TYPE_UNSPECIFIED", "PEM_RSA_KEY", @@ -2377,8 +2377,8 @@ ], "enumDescriptions": [ "Default unspecified value.", - "A PEM-encoded PKCS#1/RFC 3447 RSAPrivateKey structure, or an RFC 5280 [SubjectPublicKeyInfo](https://tools.ietf.org/html/rfc5280#section-4.1) structure containing the former.", - "A PEM-encoded compressed NIST P-256/secp256r1/prime256v1 or P-384 key, or an RFC 5280 [SubjectPublicKeyInfo](https://tools.ietf.org/html/rfc5280#section-4.1) structure containing the former." + "A PEM-encoded PKCS#1/RFC 3447 RSAPublicKey structure, or an RFC 5280 [SubjectPublicKeyInfo](https://tools.ietf.org/html/rfc5280#section-4.1) structure containing the former.", + "An RFC 5280 [SubjectPublicKeyInfo](https://tools.ietf.org/html/rfc5280#section-4.1) structure containing a PEM-encoded compressed NIST P-256/secp256r1/prime256v1 or P-384 key." ], "type": "string" } diff --git a/privateca/v1beta1/privateca-gen.go b/privateca/v1beta1/privateca-gen.go index 1ceb5d5c303..20901a5ca3f 100644 --- a/privateca/v1beta1/privateca-gen.go +++ b/privateca/v1beta1/privateca-gen.go @@ -2139,18 +2139,19 @@ type PublicKey struct { // ) structure containing an algorithm identifier and a key. Key string `json:"key,omitempty"` - // Type: Required. The type of public key. + // Type: Optional. The type of public key. If specified, it must match + // the public key used for the`key` field. // // Possible values: // "KEY_TYPE_UNSPECIFIED" - Default unspecified value. - // "PEM_RSA_KEY" - A PEM-encoded PKCS#1/RFC 3447 RSAPrivateKey + // "PEM_RSA_KEY" - A PEM-encoded PKCS#1/RFC 3447 RSAPublicKey // structure, or an RFC 5280 // [SubjectPublicKeyInfo](https://tools.ietf.org/html/rfc5280#section-4.1 // ) structure containing the former. - // "PEM_EC_KEY" - A PEM-encoded compressed NIST - // P-256/secp256r1/prime256v1 or P-384 key, or an RFC 5280 + // "PEM_EC_KEY" - An RFC 5280 // [SubjectPublicKeyInfo](https://tools.ietf.org/html/rfc5280#section-4.1 - // ) structure containing the former. + // ) structure containing a PEM-encoded compressed NIST + // P-256/secp256r1/prime256v1 or P-384 key. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Key") to @@ -3057,7 +3058,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3223,7 +3224,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3399,7 +3400,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesActivateCall) Header() http.Head func (c *ProjectsLocationsCertificateAuthoritiesActivateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3565,7 +3566,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesCreateCall) Header() http.Header func (c *ProjectsLocationsCertificateAuthoritiesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3715,7 +3716,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesDisableCall) Header() http.Heade func (c *ProjectsLocationsCertificateAuthoritiesDisableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3855,7 +3856,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesEnableCall) Header() http.Header func (c *ProjectsLocationsCertificateAuthoritiesEnableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4009,7 +4010,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesFetchCall) Header() http.Header func (c *ProjectsLocationsCertificateAuthoritiesFetchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4154,7 +4155,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesGetCall) Header() http.Header { func (c *ProjectsLocationsCertificateAuthoritiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4315,7 +4316,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesGetIamPolicyCall) Header() http. func (c *ProjectsLocationsCertificateAuthoritiesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4497,7 +4498,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesListCall) Header() http.Header { func (c *ProjectsLocationsCertificateAuthoritiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4699,7 +4700,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesPatchCall) Header() http.Header func (c *ProjectsLocationsCertificateAuthoritiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4851,7 +4852,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesRestoreCall) Header() http.Heade func (c *ProjectsLocationsCertificateAuthoritiesRestoreCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4991,7 +4992,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesScheduleDeleteCall) Header() htt func (c *ProjectsLocationsCertificateAuthoritiesScheduleDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5133,7 +5134,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesSetIamPolicyCall) Header() http. func (c *ProjectsLocationsCertificateAuthoritiesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5278,7 +5279,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesTestIamPermissionsCall) Header() func (c *ProjectsLocationsCertificateAuthoritiesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5427,7 +5428,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsGetCal func (c *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5588,7 +5589,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsGetIam func (c *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5771,7 +5772,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsListCa func (c *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5973,7 +5974,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsPatchC func (c *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6126,7 +6127,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsSetIam func (c *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6271,7 +6272,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsTestIa func (c *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6439,7 +6440,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesCertificatesCreateCall) Header() func (c *ProjectsLocationsCertificateAuthoritiesCertificatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6598,7 +6599,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesCertificatesGetCall) Header() ht func (c *ProjectsLocationsCertificateAuthoritiesCertificatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6779,7 +6780,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesCertificatesListCall) Header() h func (c *ProjectsLocationsCertificateAuthoritiesCertificatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6981,7 +6982,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesCertificatesPatchCall) Header() func (c *ProjectsLocationsCertificateAuthoritiesCertificatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7132,7 +7133,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesCertificatesRevokeCall) Header() func (c *ProjectsLocationsCertificateAuthoritiesCertificatesRevokeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7281,7 +7282,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7422,7 +7423,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7565,7 +7566,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7739,7 +7740,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7920,7 +7921,7 @@ func (c *ProjectsLocationsReusableConfigsGetCall) Header() http.Header { func (c *ProjectsLocationsReusableConfigsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8081,7 +8082,7 @@ func (c *ProjectsLocationsReusableConfigsGetIamPolicyCall) Header() http.Header func (c *ProjectsLocationsReusableConfigsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8262,7 +8263,7 @@ func (c *ProjectsLocationsReusableConfigsListCall) Header() http.Header { func (c *ProjectsLocationsReusableConfigsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8441,7 +8442,7 @@ func (c *ProjectsLocationsReusableConfigsSetIamPolicyCall) Header() http.Header func (c *ProjectsLocationsReusableConfigsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8586,7 +8587,7 @@ func (c *ProjectsLocationsReusableConfigsTestIamPermissionsCall) Header() http.H func (c *ProjectsLocationsReusableConfigsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go b/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go index 43f90cb9665..873f11735f4 100644 --- a/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go +++ b/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go @@ -1777,7 +1777,7 @@ func (c *CustomersGetCall) Header() http.Header { func (c *CustomersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1934,7 +1934,7 @@ func (c *CustomersListCall) Header() http.Header { func (c *CustomersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2096,7 +2096,7 @@ func (c *CustomersPatchCall) Header() http.Header { func (c *CustomersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2242,7 +2242,7 @@ func (c *CustomersDeploymentsMoveCall) Header() http.Header { func (c *CustomersDeploymentsMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2382,7 +2382,7 @@ func (c *CustomersDeploymentsDevicesCreateCall) Header() http.Header { func (c *CustomersDeploymentsDevicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2522,7 +2522,7 @@ func (c *CustomersDeploymentsDevicesCreateSignedCall) Header() http.Header { func (c *CustomersDeploymentsDevicesCreateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2696,7 +2696,7 @@ func (c *CustomersDeploymentsDevicesListCall) Header() http.Header { func (c *CustomersDeploymentsDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2869,7 +2869,7 @@ func (c *CustomersDevicesBulkCall) Header() http.Header { func (c *CustomersDevicesBulkCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3010,7 +3010,7 @@ func (c *CustomersDevicesCreateCall) Header() http.Header { func (c *CustomersDevicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3150,7 +3150,7 @@ func (c *CustomersDevicesCreateSignedCall) Header() http.Header { func (c *CustomersDevicesCreateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3288,7 +3288,7 @@ func (c *CustomersDevicesDeleteCall) Header() http.Header { func (c *CustomersDevicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3429,7 +3429,7 @@ func (c *CustomersDevicesGetCall) Header() http.Header { func (c *CustomersDevicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3598,7 +3598,7 @@ func (c *CustomersDevicesListCall) Header() http.Header { func (c *CustomersDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3770,7 +3770,7 @@ func (c *CustomersDevicesMoveCall) Header() http.Header { func (c *CustomersDevicesMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3917,7 +3917,7 @@ func (c *CustomersDevicesPatchCall) Header() http.Header { func (c *CustomersDevicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4063,7 +4063,7 @@ func (c *CustomersDevicesSignDeviceCall) Header() http.Header { func (c *CustomersDevicesSignDeviceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4203,7 +4203,7 @@ func (c *CustomersDevicesUpdateSignedCall) Header() http.Header { func (c *CustomersDevicesUpdateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4343,7 +4343,7 @@ func (c *CustomersNodesCreateCall) Header() http.Header { func (c *CustomersNodesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4481,7 +4481,7 @@ func (c *CustomersNodesDeleteCall) Header() http.Header { func (c *CustomersNodesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4622,7 +4622,7 @@ func (c *CustomersNodesGetCall) Header() http.Header { func (c *CustomersNodesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4781,7 +4781,7 @@ func (c *CustomersNodesListCall) Header() http.Header { func (c *CustomersNodesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4948,7 +4948,7 @@ func (c *CustomersNodesMoveCall) Header() http.Header { func (c *CustomersNodesMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5095,7 +5095,7 @@ func (c *CustomersNodesPatchCall) Header() http.Header { func (c *CustomersNodesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5241,7 +5241,7 @@ func (c *CustomersNodesDevicesCreateCall) Header() http.Header { func (c *CustomersNodesDevicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5381,7 +5381,7 @@ func (c *CustomersNodesDevicesCreateSignedCall) Header() http.Header { func (c *CustomersNodesDevicesCreateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5555,7 +5555,7 @@ func (c *CustomersNodesDevicesListCall) Header() http.Header { func (c *CustomersNodesDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5727,7 +5727,7 @@ func (c *CustomersNodesNodesCreateCall) Header() http.Header { func (c *CustomersNodesNodesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5891,7 +5891,7 @@ func (c *CustomersNodesNodesListCall) Header() http.Header { func (c *CustomersNodesNodesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6056,7 +6056,7 @@ func (c *DeploymentsDevicesDeleteCall) Header() http.Header { func (c *DeploymentsDevicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6197,7 +6197,7 @@ func (c *DeploymentsDevicesGetCall) Header() http.Header { func (c *DeploymentsDevicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6332,7 +6332,7 @@ func (c *DeploymentsDevicesMoveCall) Header() http.Header { func (c *DeploymentsDevicesMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6479,7 +6479,7 @@ func (c *DeploymentsDevicesPatchCall) Header() http.Header { func (c *DeploymentsDevicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6625,7 +6625,7 @@ func (c *DeploymentsDevicesSignDeviceCall) Header() http.Header { func (c *DeploymentsDevicesSignDeviceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6765,7 +6765,7 @@ func (c *DeploymentsDevicesUpdateSignedCall) Header() http.Header { func (c *DeploymentsDevicesUpdateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6904,7 +6904,7 @@ func (c *InstallerGenerateSecretCall) Header() http.Header { func (c *InstallerGenerateSecretCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7030,7 +7030,7 @@ func (c *InstallerValidateCall) Header() http.Header { func (c *InstallerValidateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7167,7 +7167,7 @@ func (c *NodesGetCall) Header() http.Header { func (c *NodesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7302,7 +7302,7 @@ func (c *NodesDeploymentsMoveCall) Header() http.Header { func (c *NodesDeploymentsMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7442,7 +7442,7 @@ func (c *NodesDeploymentsDevicesCreateCall) Header() http.Header { func (c *NodesDeploymentsDevicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7582,7 +7582,7 @@ func (c *NodesDeploymentsDevicesCreateSignedCall) Header() http.Header { func (c *NodesDeploymentsDevicesCreateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7756,7 +7756,7 @@ func (c *NodesDeploymentsDevicesListCall) Header() http.Header { func (c *NodesDeploymentsDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7929,7 +7929,7 @@ func (c *NodesDevicesBulkCall) Header() http.Header { func (c *NodesDevicesBulkCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8070,7 +8070,7 @@ func (c *NodesDevicesCreateCall) Header() http.Header { func (c *NodesDevicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8210,7 +8210,7 @@ func (c *NodesDevicesCreateSignedCall) Header() http.Header { func (c *NodesDevicesCreateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8348,7 +8348,7 @@ func (c *NodesDevicesDeleteCall) Header() http.Header { func (c *NodesDevicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8489,7 +8489,7 @@ func (c *NodesDevicesGetCall) Header() http.Header { func (c *NodesDevicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8658,7 +8658,7 @@ func (c *NodesDevicesListCall) Header() http.Header { func (c *NodesDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8830,7 +8830,7 @@ func (c *NodesDevicesMoveCall) Header() http.Header { func (c *NodesDevicesMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8977,7 +8977,7 @@ func (c *NodesDevicesPatchCall) Header() http.Header { func (c *NodesDevicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9123,7 +9123,7 @@ func (c *NodesDevicesSignDeviceCall) Header() http.Header { func (c *NodesDevicesSignDeviceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9263,7 +9263,7 @@ func (c *NodesDevicesUpdateSignedCall) Header() http.Header { func (c *NodesDevicesUpdateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9403,7 +9403,7 @@ func (c *NodesNodesCreateCall) Header() http.Header { func (c *NodesNodesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9541,7 +9541,7 @@ func (c *NodesNodesDeleteCall) Header() http.Header { func (c *NodesNodesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9682,7 +9682,7 @@ func (c *NodesNodesGetCall) Header() http.Header { func (c *NodesNodesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9841,7 +9841,7 @@ func (c *NodesNodesListCall) Header() http.Header { func (c *NodesNodesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10008,7 +10008,7 @@ func (c *NodesNodesMoveCall) Header() http.Header { func (c *NodesNodesMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10155,7 +10155,7 @@ func (c *NodesNodesPatchCall) Header() http.Header { func (c *NodesNodesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10302,7 +10302,7 @@ func (c *NodesNodesDevicesBulkCall) Header() http.Header { func (c *NodesNodesDevicesBulkCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10443,7 +10443,7 @@ func (c *NodesNodesDevicesCreateCall) Header() http.Header { func (c *NodesNodesDevicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10583,7 +10583,7 @@ func (c *NodesNodesDevicesCreateSignedCall) Header() http.Header { func (c *NodesNodesDevicesCreateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10757,7 +10757,7 @@ func (c *NodesNodesDevicesListCall) Header() http.Header { func (c *NodesNodesDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10929,7 +10929,7 @@ func (c *NodesNodesNodesCreateCall) Header() http.Header { func (c *NodesNodesNodesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11093,7 +11093,7 @@ func (c *NodesNodesNodesListCall) Header() http.Header { func (c *NodesNodesNodesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11259,7 +11259,7 @@ func (c *PoliciesGetCall) Header() http.Header { func (c *PoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11385,7 +11385,7 @@ func (c *PoliciesSetCall) Header() http.Header { func (c *PoliciesSetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11511,7 +11511,7 @@ func (c *PoliciesTestCall) Header() http.Header { func (c *PoliciesTestCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/pubsub/v1/pubsub-api.json b/pubsub/v1/pubsub-api.json index 7ebad70f99b..38f94dc14f8 100644 --- a/pubsub/v1/pubsub-api.json +++ b/pubsub/v1/pubsub-api.json @@ -1119,7 +1119,7 @@ } } }, - "revision": "20201110", + "revision": "20201201", "rootUrl": "https://pubsub.googleapis.com/", "schemas": { "AcknowledgeRequest": { @@ -1735,6 +1735,10 @@ "name": { "description": "Required. The name of the topic. It must have the format `\"projects/{project}/topics/{topic}\"`. `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `\"goog\"`.", "type": "string" + }, + "satisfiesPzs": { + "description": "Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests.", + "type": "boolean" } }, "type": "object" diff --git a/pubsub/v1/pubsub-gen.go b/pubsub/v1/pubsub-gen.go index b56b9d42af3..ae960b81918 100644 --- a/pubsub/v1/pubsub-gen.go +++ b/pubsub/v1/pubsub-gen.go @@ -1661,6 +1661,11 @@ type Topic struct { // in length, and it must not start with "goog". Name string `json:"name,omitempty"` + // SatisfiesPzs: Reserved for future use. This field is set only in + // responses from the server; it is ignored if it is set in any + // requests. + SatisfiesPzs bool `json:"satisfiesPzs,omitempty"` + // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` @@ -1850,7 +1855,7 @@ func (c *ProjectsSnapshotsCreateCall) Header() http.Header { func (c *ProjectsSnapshotsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1998,7 +2003,7 @@ func (c *ProjectsSnapshotsDeleteCall) Header() http.Header { func (c *ProjectsSnapshotsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2143,7 +2148,7 @@ func (c *ProjectsSnapshotsGetCall) Header() http.Header { func (c *ProjectsSnapshotsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2305,7 +2310,7 @@ func (c *ProjectsSnapshotsGetIamPolicyCall) Header() http.Header { func (c *ProjectsSnapshotsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2476,7 +2481,7 @@ func (c *ProjectsSnapshotsListCall) Header() http.Header { func (c *ProjectsSnapshotsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2647,7 +2652,7 @@ func (c *ProjectsSnapshotsPatchCall) Header() http.Header { func (c *ProjectsSnapshotsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2790,7 +2795,7 @@ func (c *ProjectsSnapshotsSetIamPolicyCall) Header() http.Header { func (c *ProjectsSnapshotsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2936,7 +2941,7 @@ func (c *ProjectsSnapshotsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsSnapshotsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3082,7 +3087,7 @@ func (c *ProjectsSubscriptionsAcknowledgeCall) Header() http.Header { func (c *ProjectsSubscriptionsAcknowledgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3233,7 +3238,7 @@ func (c *ProjectsSubscriptionsCreateCall) Header() http.Header { func (c *ProjectsSubscriptionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3377,7 +3382,7 @@ func (c *ProjectsSubscriptionsDeleteCall) Header() http.Header { func (c *ProjectsSubscriptionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3512,7 +3517,7 @@ func (c *ProjectsSubscriptionsDetachCall) Header() http.Header { func (c *ProjectsSubscriptionsDetachCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3654,7 +3659,7 @@ func (c *ProjectsSubscriptionsGetCall) Header() http.Header { func (c *ProjectsSubscriptionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3816,7 +3821,7 @@ func (c *ProjectsSubscriptionsGetIamPolicyCall) Header() http.Header { func (c *ProjectsSubscriptionsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3983,7 +3988,7 @@ func (c *ProjectsSubscriptionsListCall) Header() http.Header { func (c *ProjectsSubscriptionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4156,7 +4161,7 @@ func (c *ProjectsSubscriptionsModifyAckDeadlineCall) Header() http.Header { func (c *ProjectsSubscriptionsModifyAckDeadlineCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4302,7 +4307,7 @@ func (c *ProjectsSubscriptionsModifyPushConfigCall) Header() http.Header { func (c *ProjectsSubscriptionsModifyPushConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4444,7 +4449,7 @@ func (c *ProjectsSubscriptionsPatchCall) Header() http.Header { func (c *ProjectsSubscriptionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4587,7 +4592,7 @@ func (c *ProjectsSubscriptionsPullCall) Header() http.Header { func (c *ProjectsSubscriptionsPullCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4734,7 +4739,7 @@ func (c *ProjectsSubscriptionsSeekCall) Header() http.Header { func (c *ProjectsSubscriptionsSeekCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4877,7 +4882,7 @@ func (c *ProjectsSubscriptionsSetIamPolicyCall) Header() http.Header { func (c *ProjectsSubscriptionsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5023,7 +5028,7 @@ func (c *ProjectsSubscriptionsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsSubscriptionsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5166,7 +5171,7 @@ func (c *ProjectsTopicsCreateCall) Header() http.Header { func (c *ProjectsTopicsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5310,7 +5315,7 @@ func (c *ProjectsTopicsDeleteCall) Header() http.Header { func (c *ProjectsTopicsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5452,7 +5457,7 @@ func (c *ProjectsTopicsGetCall) Header() http.Header { func (c *ProjectsTopicsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5614,7 +5619,7 @@ func (c *ProjectsTopicsGetIamPolicyCall) Header() http.Header { func (c *ProjectsTopicsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5781,7 +5786,7 @@ func (c *ProjectsTopicsListCall) Header() http.Header { func (c *ProjectsTopicsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5950,7 +5955,7 @@ func (c *ProjectsTopicsPatchCall) Header() http.Header { func (c *ProjectsTopicsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6092,7 +6097,7 @@ func (c *ProjectsTopicsPublishCall) Header() http.Header { func (c *ProjectsTopicsPublishCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6235,7 +6240,7 @@ func (c *ProjectsTopicsSetIamPolicyCall) Header() http.Header { func (c *ProjectsTopicsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6381,7 +6386,7 @@ func (c *ProjectsTopicsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsTopicsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6551,7 +6556,7 @@ func (c *ProjectsTopicsSnapshotsListCall) Header() http.Header { func (c *ProjectsTopicsSnapshotsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6744,7 +6749,7 @@ func (c *ProjectsTopicsSubscriptionsListCall) Header() http.Header { func (c *ProjectsTopicsSubscriptionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/pubsub/v1beta1a/pubsub-gen.go b/pubsub/v1beta1a/pubsub-gen.go index 9fb72863d10..f86f165e682 100644 --- a/pubsub/v1beta1a/pubsub-gen.go +++ b/pubsub/v1beta1a/pubsub-gen.go @@ -908,7 +908,7 @@ func (c *SubscriptionsAcknowledgeCall) Header() http.Header { func (c *SubscriptionsAcknowledgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1039,7 +1039,7 @@ func (c *SubscriptionsCreateCall) Header() http.Header { func (c *SubscriptionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1167,7 +1167,7 @@ func (c *SubscriptionsDeleteCall) Header() http.Header { func (c *SubscriptionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1309,7 +1309,7 @@ func (c *SubscriptionsGetCall) Header() http.Header { func (c *SubscriptionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1473,7 +1473,7 @@ func (c *SubscriptionsListCall) Header() http.Header { func (c *SubscriptionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1633,7 +1633,7 @@ func (c *SubscriptionsModifyAckDeadlineCall) Header() http.Header { func (c *SubscriptionsModifyAckDeadlineCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1763,7 +1763,7 @@ func (c *SubscriptionsModifyPushConfigCall) Header() http.Header { func (c *SubscriptionsModifyPushConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1893,7 +1893,7 @@ func (c *SubscriptionsPullCall) Header() http.Header { func (c *SubscriptionsPullCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2022,7 +2022,7 @@ func (c *SubscriptionsPullBatchCall) Header() http.Header { func (c *SubscriptionsPullBatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2148,7 +2148,7 @@ func (c *TopicsCreateCall) Header() http.Header { func (c *TopicsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2276,7 +2276,7 @@ func (c *TopicsDeleteCall) Header() http.Header { func (c *TopicsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2421,7 +2421,7 @@ func (c *TopicsGetCall) Header() http.Header { func (c *TopicsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2585,7 +2585,7 @@ func (c *TopicsListCall) Header() http.Header { func (c *TopicsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2745,7 +2745,7 @@ func (c *TopicsPublishCall) Header() http.Header { func (c *TopicsPublishCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2872,7 +2872,7 @@ func (c *TopicsPublishBatchCall) Header() http.Header { func (c *TopicsPublishBatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/pubsub/v1beta2/pubsub-gen.go b/pubsub/v1beta2/pubsub-gen.go index 60f3afa9324..45b0bc45c46 100644 --- a/pubsub/v1beta2/pubsub-gen.go +++ b/pubsub/v1beta2/pubsub-gen.go @@ -1210,7 +1210,7 @@ func (c *ProjectsSubscriptionsAcknowledgeCall) Header() http.Header { func (c *ProjectsSubscriptionsAcknowledgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1356,7 +1356,7 @@ func (c *ProjectsSubscriptionsCreateCall) Header() http.Header { func (c *ProjectsSubscriptionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1500,7 +1500,7 @@ func (c *ProjectsSubscriptionsDeleteCall) Header() http.Header { func (c *ProjectsSubscriptionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1642,7 +1642,7 @@ func (c *ProjectsSubscriptionsGetCall) Header() http.Header { func (c *ProjectsSubscriptionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1804,7 +1804,7 @@ func (c *ProjectsSubscriptionsGetIamPolicyCall) Header() http.Header { func (c *ProjectsSubscriptionsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1971,7 +1971,7 @@ func (c *ProjectsSubscriptionsListCall) Header() http.Header { func (c *ProjectsSubscriptionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2144,7 +2144,7 @@ func (c *ProjectsSubscriptionsModifyAckDeadlineCall) Header() http.Header { func (c *ProjectsSubscriptionsModifyAckDeadlineCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2290,7 +2290,7 @@ func (c *ProjectsSubscriptionsModifyPushConfigCall) Header() http.Header { func (c *ProjectsSubscriptionsModifyPushConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2434,7 +2434,7 @@ func (c *ProjectsSubscriptionsPullCall) Header() http.Header { func (c *ProjectsSubscriptionsPullCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2577,7 +2577,7 @@ func (c *ProjectsSubscriptionsSetIamPolicyCall) Header() http.Header { func (c *ProjectsSubscriptionsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2723,7 +2723,7 @@ func (c *ProjectsSubscriptionsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsSubscriptionsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2864,7 +2864,7 @@ func (c *ProjectsTopicsCreateCall) Header() http.Header { func (c *ProjectsTopicsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3008,7 +3008,7 @@ func (c *ProjectsTopicsDeleteCall) Header() http.Header { func (c *ProjectsTopicsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3150,7 +3150,7 @@ func (c *ProjectsTopicsGetCall) Header() http.Header { func (c *ProjectsTopicsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3312,7 +3312,7 @@ func (c *ProjectsTopicsGetIamPolicyCall) Header() http.Header { func (c *ProjectsTopicsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3479,7 +3479,7 @@ func (c *ProjectsTopicsListCall) Header() http.Header { func (c *ProjectsTopicsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3650,7 +3650,7 @@ func (c *ProjectsTopicsPublishCall) Header() http.Header { func (c *ProjectsTopicsPublishCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3793,7 +3793,7 @@ func (c *ProjectsTopicsSetIamPolicyCall) Header() http.Header { func (c *ProjectsTopicsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3939,7 +3939,7 @@ func (c *ProjectsTopicsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsTopicsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4105,7 +4105,7 @@ func (c *ProjectsTopicsSubscriptionsListCall) Header() http.Header { func (c *ProjectsTopicsSubscriptionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/pubsublite/v1/pubsublite-gen.go b/pubsublite/v1/pubsublite-gen.go index afcb99295a6..204fe486d71 100644 --- a/pubsublite/v1/pubsublite-gen.go +++ b/pubsublite/v1/pubsublite-gen.go @@ -944,7 +944,7 @@ func (c *AdminProjectsLocationsSubscriptionsCreateCall) Header() http.Header { func (c *AdminProjectsLocationsSubscriptionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1087,7 +1087,7 @@ func (c *AdminProjectsLocationsSubscriptionsDeleteCall) Header() http.Header { func (c *AdminProjectsLocationsSubscriptionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1228,7 +1228,7 @@ func (c *AdminProjectsLocationsSubscriptionsGetCall) Header() http.Header { func (c *AdminProjectsLocationsSubscriptionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1391,7 +1391,7 @@ func (c *AdminProjectsLocationsSubscriptionsListCall) Header() http.Header { func (c *AdminProjectsLocationsSubscriptionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1565,7 +1565,7 @@ func (c *AdminProjectsLocationsSubscriptionsPatchCall) Header() http.Header { func (c *AdminProjectsLocationsSubscriptionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1719,7 +1719,7 @@ func (c *AdminProjectsLocationsTopicsCreateCall) Header() http.Header { func (c *AdminProjectsLocationsTopicsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1862,7 +1862,7 @@ func (c *AdminProjectsLocationsTopicsDeleteCall) Header() http.Header { func (c *AdminProjectsLocationsTopicsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2003,7 +2003,7 @@ func (c *AdminProjectsLocationsTopicsGetCall) Header() http.Header { func (c *AdminProjectsLocationsTopicsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2148,7 +2148,7 @@ func (c *AdminProjectsLocationsTopicsGetPartitionsCall) Header() http.Header { func (c *AdminProjectsLocationsTopicsGetPartitionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2309,7 +2309,7 @@ func (c *AdminProjectsLocationsTopicsListCall) Header() http.Header { func (c *AdminProjectsLocationsTopicsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2483,7 +2483,7 @@ func (c *AdminProjectsLocationsTopicsPatchCall) Header() http.Header { func (c *AdminProjectsLocationsTopicsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2657,7 +2657,7 @@ func (c *AdminProjectsLocationsTopicsSubscriptionsListCall) Header() http.Header func (c *AdminProjectsLocationsTopicsSubscriptionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2851,7 +2851,7 @@ func (c *CursorProjectsLocationsSubscriptionsCursorsListCall) Header() http.Head func (c *CursorProjectsLocationsSubscriptionsCursorsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3019,7 +3019,7 @@ func (c *TopicStatsProjectsLocationsTopicsComputeMessageStatsCall) Header() http func (c *TopicStatsProjectsLocationsTopicsComputeMessageStatsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/realtimebidding/v1/realtimebidding-gen.go b/realtimebidding/v1/realtimebidding-gen.go index e4f3c57544a..b60209ff3dc 100644 --- a/realtimebidding/v1/realtimebidding-gen.go +++ b/realtimebidding/v1/realtimebidding-gen.go @@ -2558,7 +2558,7 @@ func (c *BiddersCreativesListCall) Header() http.Header { func (c *BiddersCreativesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2751,7 +2751,7 @@ func (c *BiddersCreativesWatchCall) Header() http.Header { func (c *BiddersCreativesWatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2891,7 +2891,7 @@ func (c *BiddersPretargetingConfigsActivateCall) Header() http.Header { func (c *BiddersPretargetingConfigsActivateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3032,7 +3032,7 @@ func (c *BiddersPretargetingConfigsAddTargetedAppsCall) Header() http.Header { func (c *BiddersPretargetingConfigsAddTargetedAppsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3173,7 +3173,7 @@ func (c *BiddersPretargetingConfigsAddTargetedPublishersCall) Header() http.Head func (c *BiddersPretargetingConfigsAddTargetedPublishersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3314,7 +3314,7 @@ func (c *BiddersPretargetingConfigsAddTargetedSitesCall) Header() http.Header { func (c *BiddersPretargetingConfigsAddTargetedSitesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3458,7 +3458,7 @@ func (c *BiddersPretargetingConfigsCreateCall) Header() http.Header { func (c *BiddersPretargetingConfigsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3596,7 +3596,7 @@ func (c *BiddersPretargetingConfigsDeleteCall) Header() http.Header { func (c *BiddersPretargetingConfigsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3737,7 +3737,7 @@ func (c *BiddersPretargetingConfigsGetCall) Header() http.Header { func (c *BiddersPretargetingConfigsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3899,7 +3899,7 @@ func (c *BiddersPretargetingConfigsListCall) Header() http.Header { func (c *BiddersPretargetingConfigsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4073,7 +4073,7 @@ func (c *BiddersPretargetingConfigsPatchCall) Header() http.Header { func (c *BiddersPretargetingConfigsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4220,7 +4220,7 @@ func (c *BiddersPretargetingConfigsRemoveTargetedAppsCall) Header() http.Header func (c *BiddersPretargetingConfigsRemoveTargetedAppsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4361,7 +4361,7 @@ func (c *BiddersPretargetingConfigsRemoveTargetedPublishersCall) Header() http.H func (c *BiddersPretargetingConfigsRemoveTargetedPublishersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4502,7 +4502,7 @@ func (c *BiddersPretargetingConfigsRemoveTargetedSitesCall) Header() http.Header func (c *BiddersPretargetingConfigsRemoveTargetedSitesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4642,7 +4642,7 @@ func (c *BiddersPretargetingConfigsSuspendCall) Header() http.Header { func (c *BiddersPretargetingConfigsSuspendCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4794,7 +4794,7 @@ func (c *BuyersGetRemarketingTagCall) Header() http.Header { func (c *BuyersGetRemarketingTagCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4929,7 +4929,7 @@ func (c *BuyersCreativesCreateCall) Header() http.Header { func (c *BuyersCreativesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5096,7 +5096,7 @@ func (c *BuyersCreativesGetCall) Header() http.Header { func (c *BuyersCreativesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5302,7 +5302,7 @@ func (c *BuyersCreativesListCall) Header() http.Header { func (c *BuyersCreativesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5496,7 +5496,7 @@ func (c *BuyersCreativesPatchCall) Header() http.Header { func (c *BuyersCreativesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5643,7 +5643,7 @@ func (c *BuyersUserListsCloseCall) Header() http.Header { func (c *BuyersUserListsCloseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5783,7 +5783,7 @@ func (c *BuyersUserListsCreateCall) Header() http.Header { func (c *BuyersUserListsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5932,7 +5932,7 @@ func (c *BuyersUserListsGetCall) Header() http.Header { func (c *BuyersUserListsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6079,7 +6079,7 @@ func (c *BuyersUserListsGetRemarketingTagCall) Header() http.Header { func (c *BuyersUserListsGetRemarketingTagCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6237,7 +6237,7 @@ func (c *BuyersUserListsListCall) Header() http.Header { func (c *BuyersUserListsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6405,7 +6405,7 @@ func (c *BuyersUserListsOpenCall) Header() http.Header { func (c *BuyersUserListsOpenCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6546,7 +6546,7 @@ func (c *BuyersUserListsUpdateCall) Header() http.Header { func (c *BuyersUserListsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/recommendationengine/v1beta1/recommendationengine-gen.go b/recommendationengine/v1beta1/recommendationengine-gen.go index 3c2addeffe1..a0661bc0341 100644 --- a/recommendationengine/v1beta1/recommendationengine-gen.go +++ b/recommendationengine/v1beta1/recommendationengine-gen.go @@ -2645,7 +2645,7 @@ func (c *ProjectsLocationsCatalogsListCall) Header() http.Header { func (c *ProjectsLocationsCatalogsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2824,7 +2824,7 @@ func (c *ProjectsLocationsCatalogsPatchCall) Header() http.Header { func (c *ProjectsLocationsCatalogsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2972,7 +2972,7 @@ func (c *ProjectsLocationsCatalogsCatalogItemsCreateCall) Header() http.Header { func (c *ProjectsLocationsCatalogsCatalogItemsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3112,7 +3112,7 @@ func (c *ProjectsLocationsCatalogsCatalogItemsDeleteCall) Header() http.Header { func (c *ProjectsLocationsCatalogsCatalogItemsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3253,7 +3253,7 @@ func (c *ProjectsLocationsCatalogsCatalogItemsGetCall) Header() http.Header { func (c *ProjectsLocationsCatalogsCatalogItemsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3394,7 +3394,7 @@ func (c *ProjectsLocationsCatalogsCatalogItemsImportCall) Header() http.Header { func (c *ProjectsLocationsCatalogsCatalogItemsImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3565,7 +3565,7 @@ func (c *ProjectsLocationsCatalogsCatalogItemsListCall) Header() http.Header { func (c *ProjectsLocationsCatalogsCatalogItemsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3749,7 +3749,7 @@ func (c *ProjectsLocationsCatalogsCatalogItemsPatchCall) Header() http.Header { func (c *ProjectsLocationsCatalogsCatalogItemsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3908,7 +3908,7 @@ func (c *ProjectsLocationsCatalogsEventStoresOperationsGetCall) Header() http.He func (c *ProjectsLocationsCatalogsEventStoresOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4082,7 +4082,7 @@ func (c *ProjectsLocationsCatalogsEventStoresOperationsListCall) Header() http.H func (c *ProjectsLocationsCatalogsEventStoresOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4258,7 +4258,7 @@ func (c *ProjectsLocationsCatalogsEventStoresPlacementsPredictCall) Header() htt func (c *ProjectsLocationsCatalogsEventStoresPlacementsPredictCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4421,7 +4421,7 @@ func (c *ProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrationsCreate func (c *ProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrationsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4562,7 +4562,7 @@ func (c *ProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrationsDelete func (c *ProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4718,7 +4718,7 @@ func (c *ProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrationsListCa func (c *ProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4925,7 +4925,7 @@ func (c *ProjectsLocationsCatalogsEventStoresUserEventsCollectCall) Header() htt func (c *ProjectsLocationsCatalogsEventStoresUserEventsCollectCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5081,7 +5081,7 @@ func (c *ProjectsLocationsCatalogsEventStoresUserEventsImportCall) Header() http func (c *ProjectsLocationsCatalogsEventStoresUserEventsImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5278,7 +5278,7 @@ func (c *ProjectsLocationsCatalogsEventStoresUserEventsListCall) Header() http.H func (c *ProjectsLocationsCatalogsEventStoresUserEventsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5456,7 +5456,7 @@ func (c *ProjectsLocationsCatalogsEventStoresUserEventsPurgeCall) Header() http. func (c *ProjectsLocationsCatalogsEventStoresUserEventsPurgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5603,7 +5603,7 @@ func (c *ProjectsLocationsCatalogsEventStoresUserEventsRejoinCall) Header() http func (c *ProjectsLocationsCatalogsEventStoresUserEventsRejoinCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5743,7 +5743,7 @@ func (c *ProjectsLocationsCatalogsEventStoresUserEventsWriteCall) Header() http. func (c *ProjectsLocationsCatalogsEventStoresUserEventsWriteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5896,7 +5896,7 @@ func (c *ProjectsLocationsCatalogsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsCatalogsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6070,7 +6070,7 @@ func (c *ProjectsLocationsCatalogsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsCatalogsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/recommender/v1/recommender-gen.go b/recommender/v1/recommender-gen.go index da5dcd32014..30ff38f6d01 100644 --- a/recommender/v1/recommender-gen.go +++ b/recommender/v1/recommender-gen.go @@ -1104,7 +1104,7 @@ func (c *ProjectsLocationsInsightTypesInsightsGetCall) Header() http.Header { func (c *ProjectsLocationsInsightTypesInsightsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1276,7 +1276,7 @@ func (c *ProjectsLocationsInsightTypesInsightsListCall) Header() http.Header { func (c *ProjectsLocationsInsightTypesInsightsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1455,7 +1455,7 @@ func (c *ProjectsLocationsInsightTypesInsightsMarkAcceptedCall) Header() http.He func (c *ProjectsLocationsInsightTypesInsightsMarkAcceptedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1605,7 +1605,7 @@ func (c *ProjectsLocationsRecommendersRecommendationsGetCall) Header() http.Head func (c *ProjectsLocationsRecommendersRecommendationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1779,7 +1779,7 @@ func (c *ProjectsLocationsRecommendersRecommendationsListCall) Header() http.Hea func (c *ProjectsLocationsRecommendersRecommendationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1960,7 +1960,7 @@ func (c *ProjectsLocationsRecommendersRecommendationsMarkClaimedCall) Header() h func (c *ProjectsLocationsRecommendersRecommendationsMarkClaimedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2108,7 +2108,7 @@ func (c *ProjectsLocationsRecommendersRecommendationsMarkFailedCall) Header() ht func (c *ProjectsLocationsRecommendersRecommendationsMarkFailedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2256,7 +2256,7 @@ func (c *ProjectsLocationsRecommendersRecommendationsMarkSucceededCall) Header() func (c *ProjectsLocationsRecommendersRecommendationsMarkSucceededCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/recommender/v1beta1/recommender-api.json b/recommender/v1beta1/recommender-api.json index 9c7b0e275a4..af16206e88a 100644 --- a/recommender/v1beta1/recommender-api.json +++ b/recommender/v1beta1/recommender-api.json @@ -105,6 +105,274 @@ }, "protocol": "rest", "resources": { + "billingAccounts": { + "resources": { + "locations": { + "resources": { + "insightTypes": { + "resources": { + "insights": { + "methods": { + "get": { + "description": "Gets the requested insight. Requires the recommender.*.get IAM permission for the specified insight type.", + "flatPath": "v1beta1/billingAccounts/{billingAccountsId}/locations/{locationsId}/insightTypes/{insightTypesId}/insights/{insightsId}", + "httpMethod": "GET", + "id": "recommender.billingAccounts.locations.insightTypes.insights.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the insight.", + "location": "path", + "pattern": "^billingAccounts/[^/]+/locations/[^/]+/insightTypes/[^/]+/insights/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "GoogleCloudRecommenderV1beta1Insight" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists insights for a Cloud project. Requires the recommender.*.list IAM permission for the specified insight type.", + "flatPath": "v1beta1/billingAccounts/{billingAccountsId}/locations/{locationsId}/insightTypes/{insightTypesId}/insights", + "httpMethod": "GET", + "id": "recommender.billingAccounts.locations.insightTypes.insights.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. Filter expression to restrict the insights returned. Supported filter fields: state Eg: `state:\"DISMISSED\" or state:\"ACTIVE\"", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. If not specified, the server will determine the number of results to return.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. If present, retrieves the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of other method parameters must be identical to those in the previous call.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The container resource on which to execute the request. Acceptable formats: 1. \"projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]\", LOCATION here refers to GCP Locations: https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to supported insight types: https://cloud.google.com/recommender/docs/insights/insight-types.", + "location": "path", + "pattern": "^billingAccounts/[^/]+/locations/[^/]+/insightTypes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+parent}/insights", + "response": { + "$ref": "GoogleCloudRecommenderV1beta1ListInsightsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "markAccepted": { + "description": "Marks the Insight State as Accepted. Users can use this method to indicate to the Recommender API that they have applied some action based on the insight. This stops the insight content from being updated. MarkInsightAccepted can be applied to insights in ACTIVE state. Requires the recommender.*.update IAM permission for the specified insight.", + "flatPath": "v1beta1/billingAccounts/{billingAccountsId}/locations/{locationsId}/insightTypes/{insightTypesId}/insights/{insightsId}:markAccepted", + "httpMethod": "POST", + "id": "recommender.billingAccounts.locations.insightTypes.insights.markAccepted", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the insight.", + "location": "path", + "pattern": "^billingAccounts/[^/]+/locations/[^/]+/insightTypes/[^/]+/insights/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}:markAccepted", + "request": { + "$ref": "GoogleCloudRecommenderV1beta1MarkInsightAcceptedRequest" + }, + "response": { + "$ref": "GoogleCloudRecommenderV1beta1Insight" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + }, + "recommenders": { + "resources": { + "recommendations": { + "methods": { + "get": { + "description": "Gets the requested recommendation. Requires the recommender.*.get IAM permission for the specified recommender.", + "flatPath": "v1beta1/billingAccounts/{billingAccountsId}/locations/{locationsId}/recommenders/{recommendersId}/recommendations/{recommendationsId}", + "httpMethod": "GET", + "id": "recommender.billingAccounts.locations.recommenders.recommendations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the recommendation.", + "location": "path", + "pattern": "^billingAccounts/[^/]+/locations/[^/]+/recommenders/[^/]+/recommendations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "GoogleCloudRecommenderV1beta1Recommendation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists recommendations for a Cloud project. Requires the recommender.*.list IAM permission for the specified recommender.", + "flatPath": "v1beta1/billingAccounts/{billingAccountsId}/locations/{locationsId}/recommenders/{recommendersId}/recommendations", + "httpMethod": "GET", + "id": "recommender.billingAccounts.locations.recommenders.recommendations.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Filter expression to restrict the recommendations returned. Supported filter fields: state_info.state Eg: `state_info.state:\"DISMISSED\" or state_info.state:\"FAILED\"", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. If not specified, the server will determine the number of results to return.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. If present, retrieves the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of other method parameters must be identical to those in the previous call.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The container resource on which to execute the request. Acceptable formats: 1. \"projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]\", LOCATION here refers to GCP Locations: https://cloud.google.com/about/locations/ RECOMMENDER_ID refers to supported recommenders: https://cloud.google.com/recommender/docs/recommenders.", + "location": "path", + "pattern": "^billingAccounts/[^/]+/locations/[^/]+/recommenders/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+parent}/recommendations", + "response": { + "$ref": "GoogleCloudRecommenderV1beta1ListRecommendationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "markClaimed": { + "description": "Marks the Recommendation State as Claimed. Users can use this method to indicate to the Recommender API that they are starting to apply the recommendation themselves. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationClaimed can be applied to recommendations in CLAIMED or ACTIVE state. Requires the recommender.*.update IAM permission for the specified recommender.", + "flatPath": "v1beta1/billingAccounts/{billingAccountsId}/locations/{locationsId}/recommenders/{recommendersId}/recommendations/{recommendationsId}:markClaimed", + "httpMethod": "POST", + "id": "recommender.billingAccounts.locations.recommenders.recommendations.markClaimed", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the recommendation.", + "location": "path", + "pattern": "^billingAccounts/[^/]+/locations/[^/]+/recommenders/[^/]+/recommendations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}:markClaimed", + "request": { + "$ref": "GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest" + }, + "response": { + "$ref": "GoogleCloudRecommenderV1beta1Recommendation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "markFailed": { + "description": "Marks the Recommendation State as Failed. Users can use this method to indicate to the Recommender API that they have applied the recommendation themselves, and the operation failed. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationFailed can be applied to recommendations in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state. Requires the recommender.*.update IAM permission for the specified recommender.", + "flatPath": "v1beta1/billingAccounts/{billingAccountsId}/locations/{locationsId}/recommenders/{recommendersId}/recommendations/{recommendationsId}:markFailed", + "httpMethod": "POST", + "id": "recommender.billingAccounts.locations.recommenders.recommendations.markFailed", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the recommendation.", + "location": "path", + "pattern": "^billingAccounts/[^/]+/locations/[^/]+/recommenders/[^/]+/recommendations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}:markFailed", + "request": { + "$ref": "GoogleCloudRecommenderV1beta1MarkRecommendationFailedRequest" + }, + "response": { + "$ref": "GoogleCloudRecommenderV1beta1Recommendation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "markSucceeded": { + "description": "Marks the Recommendation State as Succeeded. Users can use this method to indicate to the Recommender API that they have applied the recommendation themselves, and the operation was successful. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationSucceeded can be applied to recommendations in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state. Requires the recommender.*.update IAM permission for the specified recommender.", + "flatPath": "v1beta1/billingAccounts/{billingAccountsId}/locations/{locationsId}/recommenders/{recommendersId}/recommendations/{recommendationsId}:markSucceeded", + "httpMethod": "POST", + "id": "recommender.billingAccounts.locations.recommenders.recommendations.markSucceeded", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the recommendation.", + "location": "path", + "pattern": "^billingAccounts/[^/]+/locations/[^/]+/recommenders/[^/]+/recommendations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}:markSucceeded", + "request": { + "$ref": "GoogleCloudRecommenderV1beta1MarkRecommendationSucceededRequest" + }, + "response": { + "$ref": "GoogleCloudRecommenderV1beta1Recommendation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + } + } + } + }, "projects": { "resources": { "locations": { @@ -374,7 +642,7 @@ } } }, - "revision": "20201113", + "revision": "20201204", "rootUrl": "https://recommender.googleapis.com/", "schemas": { "GoogleCloudRecommenderV1beta1CostProjection": { diff --git a/recommender/v1beta1/recommender-gen.go b/recommender/v1beta1/recommender-gen.go index f29edccbfc3..4e8e1e3d99c 100644 --- a/recommender/v1beta1/recommender-gen.go +++ b/recommender/v1beta1/recommender-gen.go @@ -116,6 +116,7 @@ func New(client *http.Client) (*Service, error) { return nil, errors.New("client is nil") } s := &Service{client: client, BasePath: basePath} + s.BillingAccounts = NewBillingAccountsService(s) s.Projects = NewProjectsService(s) return s, nil } @@ -125,6 +126,8 @@ type Service struct { BasePath string // API endpoint base URL UserAgent string // optional additional User-Agent fragment + BillingAccounts *BillingAccountsService + Projects *ProjectsService } @@ -135,6 +138,75 @@ func (s *Service) userAgent() string { return googleapi.UserAgent + " " + s.UserAgent } +func NewBillingAccountsService(s *Service) *BillingAccountsService { + rs := &BillingAccountsService{s: s} + rs.Locations = NewBillingAccountsLocationsService(s) + return rs +} + +type BillingAccountsService struct { + s *Service + + Locations *BillingAccountsLocationsService +} + +func NewBillingAccountsLocationsService(s *Service) *BillingAccountsLocationsService { + rs := &BillingAccountsLocationsService{s: s} + rs.InsightTypes = NewBillingAccountsLocationsInsightTypesService(s) + rs.Recommenders = NewBillingAccountsLocationsRecommendersService(s) + return rs +} + +type BillingAccountsLocationsService struct { + s *Service + + InsightTypes *BillingAccountsLocationsInsightTypesService + + Recommenders *BillingAccountsLocationsRecommendersService +} + +func NewBillingAccountsLocationsInsightTypesService(s *Service) *BillingAccountsLocationsInsightTypesService { + rs := &BillingAccountsLocationsInsightTypesService{s: s} + rs.Insights = NewBillingAccountsLocationsInsightTypesInsightsService(s) + return rs +} + +type BillingAccountsLocationsInsightTypesService struct { + s *Service + + Insights *BillingAccountsLocationsInsightTypesInsightsService +} + +func NewBillingAccountsLocationsInsightTypesInsightsService(s *Service) *BillingAccountsLocationsInsightTypesInsightsService { + rs := &BillingAccountsLocationsInsightTypesInsightsService{s: s} + return rs +} + +type BillingAccountsLocationsInsightTypesInsightsService struct { + s *Service +} + +func NewBillingAccountsLocationsRecommendersService(s *Service) *BillingAccountsLocationsRecommendersService { + rs := &BillingAccountsLocationsRecommendersService{s: s} + rs.Recommendations = NewBillingAccountsLocationsRecommendersRecommendationsService(s) + return rs +} + +type BillingAccountsLocationsRecommendersService struct { + s *Service + + Recommendations *BillingAccountsLocationsRecommendersRecommendationsService +} + +func NewBillingAccountsLocationsRecommendersRecommendationsService(s *Service) *BillingAccountsLocationsRecommendersRecommendationsService { + rs := &BillingAccountsLocationsRecommendersRecommendationsService{s: s} + return rs +} + +type BillingAccountsLocationsRecommendersRecommendationsService struct { + s *Service +} + func NewProjectsService(s *Service) *ProjectsService { rs := &ProjectsService{s: s} rs.Locations = NewProjectsLocationsService(s) @@ -1048,6 +1120,1315 @@ func (s *GoogleTypeMoney) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// method id "recommender.billingAccounts.locations.insightTypes.insights.get": + +type BillingAccountsLocationsInsightTypesInsightsGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Gets the requested insight. Requires the recommender.*.get IAM +// permission for the specified insight type. +func (r *BillingAccountsLocationsInsightTypesInsightsService) Get(name string) *BillingAccountsLocationsInsightTypesInsightsGetCall { + c := &BillingAccountsLocationsInsightTypesInsightsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *BillingAccountsLocationsInsightTypesInsightsGetCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsInsightTypesInsightsGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *BillingAccountsLocationsInsightTypesInsightsGetCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsInsightTypesInsightsGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *BillingAccountsLocationsInsightTypesInsightsGetCall) Context(ctx context.Context) *BillingAccountsLocationsInsightTypesInsightsGetCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *BillingAccountsLocationsInsightTypesInsightsGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *BillingAccountsLocationsInsightTypesInsightsGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "recommender.billingAccounts.locations.insightTypes.insights.get" call. +// Exactly one of *GoogleCloudRecommenderV1beta1Insight or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudRecommenderV1beta1Insight.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *BillingAccountsLocationsInsightTypesInsightsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudRecommenderV1beta1Insight, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudRecommenderV1beta1Insight{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Gets the requested insight. Requires the recommender.*.get IAM permission for the specified insight type.", + // "flatPath": "v1beta1/billingAccounts/{billingAccountsId}/locations/{locationsId}/insightTypes/{insightTypesId}/insights/{insightsId}", + // "httpMethod": "GET", + // "id": "recommender.billingAccounts.locations.insightTypes.insights.get", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. Name of the insight.", + // "location": "path", + // "pattern": "^billingAccounts/[^/]+/locations/[^/]+/insightTypes/[^/]+/insights/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1beta1/{+name}", + // "response": { + // "$ref": "GoogleCloudRecommenderV1beta1Insight" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "recommender.billingAccounts.locations.insightTypes.insights.list": + +type BillingAccountsLocationsInsightTypesInsightsListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Lists insights for a Cloud project. Requires the +// recommender.*.list IAM permission for the specified insight type. +func (r *BillingAccountsLocationsInsightTypesInsightsService) List(parent string) *BillingAccountsLocationsInsightTypesInsightsListCall { + c := &BillingAccountsLocationsInsightTypesInsightsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// Filter sets the optional parameter "filter": Filter expression to +// restrict the insights returned. Supported filter fields: state Eg: +// `state:"DISMISSED" or state:"ACTIVE" +func (c *BillingAccountsLocationsInsightTypesInsightsListCall) Filter(filter string) *BillingAccountsLocationsInsightTypesInsightsListCall { + c.urlParams_.Set("filter", filter) + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of results to return from this request. Non-positive values are +// ignored. If not specified, the server will determine the number of +// results to return. +func (c *BillingAccountsLocationsInsightTypesInsightsListCall) PageSize(pageSize int64) *BillingAccountsLocationsInsightTypesInsightsListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": If present, +// retrieves the next batch of results from the preceding call to this +// method. `page_token` must be the value of `next_page_token` from the +// previous response. The values of other method parameters must be +// identical to those in the previous call. +func (c *BillingAccountsLocationsInsightTypesInsightsListCall) PageToken(pageToken string) *BillingAccountsLocationsInsightTypesInsightsListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *BillingAccountsLocationsInsightTypesInsightsListCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsInsightTypesInsightsListCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *BillingAccountsLocationsInsightTypesInsightsListCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsInsightTypesInsightsListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *BillingAccountsLocationsInsightTypesInsightsListCall) Context(ctx context.Context) *BillingAccountsLocationsInsightTypesInsightsListCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *BillingAccountsLocationsInsightTypesInsightsListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *BillingAccountsLocationsInsightTypesInsightsListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/insights") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "recommender.billingAccounts.locations.insightTypes.insights.list" call. +// Exactly one of *GoogleCloudRecommenderV1beta1ListInsightsResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudRecommenderV1beta1ListInsightsResponse.ServerResponse.Head +// er or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *BillingAccountsLocationsInsightTypesInsightsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudRecommenderV1beta1ListInsightsResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudRecommenderV1beta1ListInsightsResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Lists insights for a Cloud project. Requires the recommender.*.list IAM permission for the specified insight type.", + // "flatPath": "v1beta1/billingAccounts/{billingAccountsId}/locations/{locationsId}/insightTypes/{insightTypesId}/insights", + // "httpMethod": "GET", + // "id": "recommender.billingAccounts.locations.insightTypes.insights.list", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "filter": { + // "description": "Optional. Filter expression to restrict the insights returned. Supported filter fields: state Eg: `state:\"DISMISSED\" or state:\"ACTIVE\"", + // "location": "query", + // "type": "string" + // }, + // "pageSize": { + // "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. If not specified, the server will determine the number of results to return.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "Optional. If present, retrieves the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of other method parameters must be identical to those in the previous call.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The container resource on which to execute the request. Acceptable formats: 1. \"projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]\", LOCATION here refers to GCP Locations: https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to supported insight types: https://cloud.google.com/recommender/docs/insights/insight-types.", + // "location": "path", + // "pattern": "^billingAccounts/[^/]+/locations/[^/]+/insightTypes/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1beta1/{+parent}/insights", + // "response": { + // "$ref": "GoogleCloudRecommenderV1beta1ListInsightsResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *BillingAccountsLocationsInsightTypesInsightsListCall) Pages(ctx context.Context, f func(*GoogleCloudRecommenderV1beta1ListInsightsResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + +// method id "recommender.billingAccounts.locations.insightTypes.insights.markAccepted": + +type BillingAccountsLocationsInsightTypesInsightsMarkAcceptedCall struct { + s *Service + name string + googlecloudrecommenderv1beta1markinsightacceptedrequest *GoogleCloudRecommenderV1beta1MarkInsightAcceptedRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// MarkAccepted: Marks the Insight State as Accepted. Users can use this +// method to indicate to the Recommender API that they have applied some +// action based on the insight. This stops the insight content from +// being updated. MarkInsightAccepted can be applied to insights in +// ACTIVE state. Requires the recommender.*.update IAM permission for +// the specified insight. +func (r *BillingAccountsLocationsInsightTypesInsightsService) MarkAccepted(name string, googlecloudrecommenderv1beta1markinsightacceptedrequest *GoogleCloudRecommenderV1beta1MarkInsightAcceptedRequest) *BillingAccountsLocationsInsightTypesInsightsMarkAcceptedCall { + c := &BillingAccountsLocationsInsightTypesInsightsMarkAcceptedCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.googlecloudrecommenderv1beta1markinsightacceptedrequest = googlecloudrecommenderv1beta1markinsightacceptedrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *BillingAccountsLocationsInsightTypesInsightsMarkAcceptedCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsInsightTypesInsightsMarkAcceptedCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *BillingAccountsLocationsInsightTypesInsightsMarkAcceptedCall) Context(ctx context.Context) *BillingAccountsLocationsInsightTypesInsightsMarkAcceptedCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *BillingAccountsLocationsInsightTypesInsightsMarkAcceptedCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *BillingAccountsLocationsInsightTypesInsightsMarkAcceptedCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudrecommenderv1beta1markinsightacceptedrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}:markAccepted") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "recommender.billingAccounts.locations.insightTypes.insights.markAccepted" call. +// Exactly one of *GoogleCloudRecommenderV1beta1Insight or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudRecommenderV1beta1Insight.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *BillingAccountsLocationsInsightTypesInsightsMarkAcceptedCall) Do(opts ...googleapi.CallOption) (*GoogleCloudRecommenderV1beta1Insight, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudRecommenderV1beta1Insight{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Marks the Insight State as Accepted. Users can use this method to indicate to the Recommender API that they have applied some action based on the insight. This stops the insight content from being updated. MarkInsightAccepted can be applied to insights in ACTIVE state. Requires the recommender.*.update IAM permission for the specified insight.", + // "flatPath": "v1beta1/billingAccounts/{billingAccountsId}/locations/{locationsId}/insightTypes/{insightTypesId}/insights/{insightsId}:markAccepted", + // "httpMethod": "POST", + // "id": "recommender.billingAccounts.locations.insightTypes.insights.markAccepted", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. Name of the insight.", + // "location": "path", + // "pattern": "^billingAccounts/[^/]+/locations/[^/]+/insightTypes/[^/]+/insights/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1beta1/{+name}:markAccepted", + // "request": { + // "$ref": "GoogleCloudRecommenderV1beta1MarkInsightAcceptedRequest" + // }, + // "response": { + // "$ref": "GoogleCloudRecommenderV1beta1Insight" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "recommender.billingAccounts.locations.recommenders.recommendations.get": + +type BillingAccountsLocationsRecommendersRecommendationsGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Gets the requested recommendation. Requires the +// recommender.*.get IAM permission for the specified recommender. +func (r *BillingAccountsLocationsRecommendersRecommendationsService) Get(name string) *BillingAccountsLocationsRecommendersRecommendationsGetCall { + c := &BillingAccountsLocationsRecommendersRecommendationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *BillingAccountsLocationsRecommendersRecommendationsGetCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsRecommendersRecommendationsGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *BillingAccountsLocationsRecommendersRecommendationsGetCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsRecommendersRecommendationsGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *BillingAccountsLocationsRecommendersRecommendationsGetCall) Context(ctx context.Context) *BillingAccountsLocationsRecommendersRecommendationsGetCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *BillingAccountsLocationsRecommendersRecommendationsGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *BillingAccountsLocationsRecommendersRecommendationsGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "recommender.billingAccounts.locations.recommenders.recommendations.get" call. +// Exactly one of *GoogleCloudRecommenderV1beta1Recommendation or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudRecommenderV1beta1Recommendation.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *BillingAccountsLocationsRecommendersRecommendationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudRecommenderV1beta1Recommendation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudRecommenderV1beta1Recommendation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Gets the requested recommendation. Requires the recommender.*.get IAM permission for the specified recommender.", + // "flatPath": "v1beta1/billingAccounts/{billingAccountsId}/locations/{locationsId}/recommenders/{recommendersId}/recommendations/{recommendationsId}", + // "httpMethod": "GET", + // "id": "recommender.billingAccounts.locations.recommenders.recommendations.get", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. Name of the recommendation.", + // "location": "path", + // "pattern": "^billingAccounts/[^/]+/locations/[^/]+/recommenders/[^/]+/recommendations/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1beta1/{+name}", + // "response": { + // "$ref": "GoogleCloudRecommenderV1beta1Recommendation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "recommender.billingAccounts.locations.recommenders.recommendations.list": + +type BillingAccountsLocationsRecommendersRecommendationsListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Lists recommendations for a Cloud project. Requires the +// recommender.*.list IAM permission for the specified recommender. +func (r *BillingAccountsLocationsRecommendersRecommendationsService) List(parent string) *BillingAccountsLocationsRecommendersRecommendationsListCall { + c := &BillingAccountsLocationsRecommendersRecommendationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// Filter sets the optional parameter "filter": Filter expression to +// restrict the recommendations returned. Supported filter fields: +// state_info.state Eg: `state_info.state:"DISMISSED" or +// state_info.state:"FAILED" +func (c *BillingAccountsLocationsRecommendersRecommendationsListCall) Filter(filter string) *BillingAccountsLocationsRecommendersRecommendationsListCall { + c.urlParams_.Set("filter", filter) + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of results to return from this request. Non-positive values are +// ignored. If not specified, the server will determine the number of +// results to return. +func (c *BillingAccountsLocationsRecommendersRecommendationsListCall) PageSize(pageSize int64) *BillingAccountsLocationsRecommendersRecommendationsListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": If present, +// retrieves the next batch of results from the preceding call to this +// method. `page_token` must be the value of `next_page_token` from the +// previous response. The values of other method parameters must be +// identical to those in the previous call. +func (c *BillingAccountsLocationsRecommendersRecommendationsListCall) PageToken(pageToken string) *BillingAccountsLocationsRecommendersRecommendationsListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *BillingAccountsLocationsRecommendersRecommendationsListCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsRecommendersRecommendationsListCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *BillingAccountsLocationsRecommendersRecommendationsListCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsRecommendersRecommendationsListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *BillingAccountsLocationsRecommendersRecommendationsListCall) Context(ctx context.Context) *BillingAccountsLocationsRecommendersRecommendationsListCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *BillingAccountsLocationsRecommendersRecommendationsListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *BillingAccountsLocationsRecommendersRecommendationsListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/recommendations") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "recommender.billingAccounts.locations.recommenders.recommendations.list" call. +// Exactly one of +// *GoogleCloudRecommenderV1beta1ListRecommendationsResponse or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudRecommenderV1beta1ListRecommendationsResponse.ServerRespon +// se.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *BillingAccountsLocationsRecommendersRecommendationsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudRecommenderV1beta1ListRecommendationsResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudRecommenderV1beta1ListRecommendationsResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Lists recommendations for a Cloud project. Requires the recommender.*.list IAM permission for the specified recommender.", + // "flatPath": "v1beta1/billingAccounts/{billingAccountsId}/locations/{locationsId}/recommenders/{recommendersId}/recommendations", + // "httpMethod": "GET", + // "id": "recommender.billingAccounts.locations.recommenders.recommendations.list", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "filter": { + // "description": "Filter expression to restrict the recommendations returned. Supported filter fields: state_info.state Eg: `state_info.state:\"DISMISSED\" or state_info.state:\"FAILED\"", + // "location": "query", + // "type": "string" + // }, + // "pageSize": { + // "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. If not specified, the server will determine the number of results to return.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "Optional. If present, retrieves the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of other method parameters must be identical to those in the previous call.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The container resource on which to execute the request. Acceptable formats: 1. \"projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]\", LOCATION here refers to GCP Locations: https://cloud.google.com/about/locations/ RECOMMENDER_ID refers to supported recommenders: https://cloud.google.com/recommender/docs/recommenders.", + // "location": "path", + // "pattern": "^billingAccounts/[^/]+/locations/[^/]+/recommenders/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1beta1/{+parent}/recommendations", + // "response": { + // "$ref": "GoogleCloudRecommenderV1beta1ListRecommendationsResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *BillingAccountsLocationsRecommendersRecommendationsListCall) Pages(ctx context.Context, f func(*GoogleCloudRecommenderV1beta1ListRecommendationsResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + +// method id "recommender.billingAccounts.locations.recommenders.recommendations.markClaimed": + +type BillingAccountsLocationsRecommendersRecommendationsMarkClaimedCall struct { + s *Service + name string + googlecloudrecommenderv1beta1markrecommendationclaimedrequest *GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// MarkClaimed: Marks the Recommendation State as Claimed. Users can use +// this method to indicate to the Recommender API that they are starting +// to apply the recommendation themselves. This stops the recommendation +// content from being updated. Associated insights are frozen and placed +// in the ACCEPTED state. MarkRecommendationClaimed can be applied to +// recommendations in CLAIMED or ACTIVE state. Requires the +// recommender.*.update IAM permission for the specified recommender. +func (r *BillingAccountsLocationsRecommendersRecommendationsService) MarkClaimed(name string, googlecloudrecommenderv1beta1markrecommendationclaimedrequest *GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest) *BillingAccountsLocationsRecommendersRecommendationsMarkClaimedCall { + c := &BillingAccountsLocationsRecommendersRecommendationsMarkClaimedCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.googlecloudrecommenderv1beta1markrecommendationclaimedrequest = googlecloudrecommenderv1beta1markrecommendationclaimedrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *BillingAccountsLocationsRecommendersRecommendationsMarkClaimedCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsRecommendersRecommendationsMarkClaimedCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *BillingAccountsLocationsRecommendersRecommendationsMarkClaimedCall) Context(ctx context.Context) *BillingAccountsLocationsRecommendersRecommendationsMarkClaimedCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *BillingAccountsLocationsRecommendersRecommendationsMarkClaimedCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *BillingAccountsLocationsRecommendersRecommendationsMarkClaimedCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudrecommenderv1beta1markrecommendationclaimedrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}:markClaimed") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "recommender.billingAccounts.locations.recommenders.recommendations.markClaimed" call. +// Exactly one of *GoogleCloudRecommenderV1beta1Recommendation or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudRecommenderV1beta1Recommendation.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *BillingAccountsLocationsRecommendersRecommendationsMarkClaimedCall) Do(opts ...googleapi.CallOption) (*GoogleCloudRecommenderV1beta1Recommendation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudRecommenderV1beta1Recommendation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Marks the Recommendation State as Claimed. Users can use this method to indicate to the Recommender API that they are starting to apply the recommendation themselves. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationClaimed can be applied to recommendations in CLAIMED or ACTIVE state. Requires the recommender.*.update IAM permission for the specified recommender.", + // "flatPath": "v1beta1/billingAccounts/{billingAccountsId}/locations/{locationsId}/recommenders/{recommendersId}/recommendations/{recommendationsId}:markClaimed", + // "httpMethod": "POST", + // "id": "recommender.billingAccounts.locations.recommenders.recommendations.markClaimed", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. Name of the recommendation.", + // "location": "path", + // "pattern": "^billingAccounts/[^/]+/locations/[^/]+/recommenders/[^/]+/recommendations/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1beta1/{+name}:markClaimed", + // "request": { + // "$ref": "GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest" + // }, + // "response": { + // "$ref": "GoogleCloudRecommenderV1beta1Recommendation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "recommender.billingAccounts.locations.recommenders.recommendations.markFailed": + +type BillingAccountsLocationsRecommendersRecommendationsMarkFailedCall struct { + s *Service + name string + googlecloudrecommenderv1beta1markrecommendationfailedrequest *GoogleCloudRecommenderV1beta1MarkRecommendationFailedRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// MarkFailed: Marks the Recommendation State as Failed. Users can use +// this method to indicate to the Recommender API that they have applied +// the recommendation themselves, and the operation failed. This stops +// the recommendation content from being updated. Associated insights +// are frozen and placed in the ACCEPTED state. MarkRecommendationFailed +// can be applied to recommendations in ACTIVE, CLAIMED, SUCCEEDED, or +// FAILED state. Requires the recommender.*.update IAM permission for +// the specified recommender. +func (r *BillingAccountsLocationsRecommendersRecommendationsService) MarkFailed(name string, googlecloudrecommenderv1beta1markrecommendationfailedrequest *GoogleCloudRecommenderV1beta1MarkRecommendationFailedRequest) *BillingAccountsLocationsRecommendersRecommendationsMarkFailedCall { + c := &BillingAccountsLocationsRecommendersRecommendationsMarkFailedCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.googlecloudrecommenderv1beta1markrecommendationfailedrequest = googlecloudrecommenderv1beta1markrecommendationfailedrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *BillingAccountsLocationsRecommendersRecommendationsMarkFailedCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsRecommendersRecommendationsMarkFailedCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *BillingAccountsLocationsRecommendersRecommendationsMarkFailedCall) Context(ctx context.Context) *BillingAccountsLocationsRecommendersRecommendationsMarkFailedCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *BillingAccountsLocationsRecommendersRecommendationsMarkFailedCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *BillingAccountsLocationsRecommendersRecommendationsMarkFailedCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudrecommenderv1beta1markrecommendationfailedrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}:markFailed") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "recommender.billingAccounts.locations.recommenders.recommendations.markFailed" call. +// Exactly one of *GoogleCloudRecommenderV1beta1Recommendation or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudRecommenderV1beta1Recommendation.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *BillingAccountsLocationsRecommendersRecommendationsMarkFailedCall) Do(opts ...googleapi.CallOption) (*GoogleCloudRecommenderV1beta1Recommendation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudRecommenderV1beta1Recommendation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Marks the Recommendation State as Failed. Users can use this method to indicate to the Recommender API that they have applied the recommendation themselves, and the operation failed. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationFailed can be applied to recommendations in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state. Requires the recommender.*.update IAM permission for the specified recommender.", + // "flatPath": "v1beta1/billingAccounts/{billingAccountsId}/locations/{locationsId}/recommenders/{recommendersId}/recommendations/{recommendationsId}:markFailed", + // "httpMethod": "POST", + // "id": "recommender.billingAccounts.locations.recommenders.recommendations.markFailed", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. Name of the recommendation.", + // "location": "path", + // "pattern": "^billingAccounts/[^/]+/locations/[^/]+/recommenders/[^/]+/recommendations/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1beta1/{+name}:markFailed", + // "request": { + // "$ref": "GoogleCloudRecommenderV1beta1MarkRecommendationFailedRequest" + // }, + // "response": { + // "$ref": "GoogleCloudRecommenderV1beta1Recommendation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "recommender.billingAccounts.locations.recommenders.recommendations.markSucceeded": + +type BillingAccountsLocationsRecommendersRecommendationsMarkSucceededCall struct { + s *Service + name string + googlecloudrecommenderv1beta1markrecommendationsucceededrequest *GoogleCloudRecommenderV1beta1MarkRecommendationSucceededRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// MarkSucceeded: Marks the Recommendation State as Succeeded. Users can +// use this method to indicate to the Recommender API that they have +// applied the recommendation themselves, and the operation was +// successful. This stops the recommendation content from being updated. +// Associated insights are frozen and placed in the ACCEPTED state. +// MarkRecommendationSucceeded can be applied to recommendations in +// ACTIVE, CLAIMED, SUCCEEDED, or FAILED state. Requires the +// recommender.*.update IAM permission for the specified recommender. +func (r *BillingAccountsLocationsRecommendersRecommendationsService) MarkSucceeded(name string, googlecloudrecommenderv1beta1markrecommendationsucceededrequest *GoogleCloudRecommenderV1beta1MarkRecommendationSucceededRequest) *BillingAccountsLocationsRecommendersRecommendationsMarkSucceededCall { + c := &BillingAccountsLocationsRecommendersRecommendationsMarkSucceededCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.googlecloudrecommenderv1beta1markrecommendationsucceededrequest = googlecloudrecommenderv1beta1markrecommendationsucceededrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *BillingAccountsLocationsRecommendersRecommendationsMarkSucceededCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsRecommendersRecommendationsMarkSucceededCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *BillingAccountsLocationsRecommendersRecommendationsMarkSucceededCall) Context(ctx context.Context) *BillingAccountsLocationsRecommendersRecommendationsMarkSucceededCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *BillingAccountsLocationsRecommendersRecommendationsMarkSucceededCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *BillingAccountsLocationsRecommendersRecommendationsMarkSucceededCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudrecommenderv1beta1markrecommendationsucceededrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}:markSucceeded") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "recommender.billingAccounts.locations.recommenders.recommendations.markSucceeded" call. +// Exactly one of *GoogleCloudRecommenderV1beta1Recommendation or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudRecommenderV1beta1Recommendation.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *BillingAccountsLocationsRecommendersRecommendationsMarkSucceededCall) Do(opts ...googleapi.CallOption) (*GoogleCloudRecommenderV1beta1Recommendation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudRecommenderV1beta1Recommendation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Marks the Recommendation State as Succeeded. Users can use this method to indicate to the Recommender API that they have applied the recommendation themselves, and the operation was successful. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationSucceeded can be applied to recommendations in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state. Requires the recommender.*.update IAM permission for the specified recommender.", + // "flatPath": "v1beta1/billingAccounts/{billingAccountsId}/locations/{locationsId}/recommenders/{recommendersId}/recommendations/{recommendationsId}:markSucceeded", + // "httpMethod": "POST", + // "id": "recommender.billingAccounts.locations.recommenders.recommendations.markSucceeded", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. Name of the recommendation.", + // "location": "path", + // "pattern": "^billingAccounts/[^/]+/locations/[^/]+/recommenders/[^/]+/recommendations/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1beta1/{+name}:markSucceeded", + // "request": { + // "$ref": "GoogleCloudRecommenderV1beta1MarkRecommendationSucceededRequest" + // }, + // "response": { + // "$ref": "GoogleCloudRecommenderV1beta1Recommendation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + // method id "recommender.projects.locations.insightTypes.insights.get": type ProjectsLocationsInsightTypesInsightsGetCall struct { @@ -1104,7 +2485,7 @@ func (c *ProjectsLocationsInsightTypesInsightsGetCall) Header() http.Header { func (c *ProjectsLocationsInsightTypesInsightsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1277,7 +2658,7 @@ func (c *ProjectsLocationsInsightTypesInsightsListCall) Header() http.Header { func (c *ProjectsLocationsInsightTypesInsightsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1456,7 +2837,7 @@ func (c *ProjectsLocationsInsightTypesInsightsMarkAcceptedCall) Header() http.He func (c *ProjectsLocationsInsightTypesInsightsMarkAcceptedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1607,7 +2988,7 @@ func (c *ProjectsLocationsRecommendersRecommendationsGetCall) Header() http.Head func (c *ProjectsLocationsRecommendersRecommendationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1782,7 +3163,7 @@ func (c *ProjectsLocationsRecommendersRecommendationsListCall) Header() http.Hea func (c *ProjectsLocationsRecommendersRecommendationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1963,7 +3344,7 @@ func (c *ProjectsLocationsRecommendersRecommendationsMarkClaimedCall) Header() h func (c *ProjectsLocationsRecommendersRecommendationsMarkClaimedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2112,7 +3493,7 @@ func (c *ProjectsLocationsRecommendersRecommendationsMarkFailedCall) Header() ht func (c *ProjectsLocationsRecommendersRecommendationsMarkFailedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2261,7 +3642,7 @@ func (c *ProjectsLocationsRecommendersRecommendationsMarkSucceededCall) Header() func (c *ProjectsLocationsRecommendersRecommendationsMarkSucceededCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/redis/v1/redis-gen.go b/redis/v1/redis-gen.go index 67e12aeac01..d6f8003831f 100644 --- a/redis/v1/redis-gen.go +++ b/redis/v1/redis-gen.go @@ -1119,7 +1119,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1285,7 +1285,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1476,7 +1476,7 @@ func (c *ProjectsLocationsInstancesCreateCall) Header() http.Header { func (c *ProjectsLocationsInstancesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1620,7 +1620,7 @@ func (c *ProjectsLocationsInstancesDeleteCall) Header() http.Header { func (c *ProjectsLocationsInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1755,7 +1755,7 @@ func (c *ProjectsLocationsInstancesExportCall) Header() http.Header { func (c *ProjectsLocationsInstancesExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1897,7 +1897,7 @@ func (c *ProjectsLocationsInstancesFailoverCall) Header() http.Header { func (c *ProjectsLocationsInstancesFailoverCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2046,7 +2046,7 @@ func (c *ProjectsLocationsInstancesGetCall) Header() http.Header { func (c *ProjectsLocationsInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2192,7 +2192,7 @@ func (c *ProjectsLocationsInstancesGetAuthStringCall) Header() http.Header { func (c *ProjectsLocationsInstancesGetAuthStringCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2332,7 +2332,7 @@ func (c *ProjectsLocationsInstancesImportCall) Header() http.Header { func (c *ProjectsLocationsInstancesImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2505,7 +2505,7 @@ func (c *ProjectsLocationsInstancesListCall) Header() http.Header { func (c *ProjectsLocationsInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2686,7 +2686,7 @@ func (c *ProjectsLocationsInstancesPatchCall) Header() http.Header { func (c *ProjectsLocationsInstancesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2833,7 +2833,7 @@ func (c *ProjectsLocationsInstancesUpgradeCall) Header() http.Header { func (c *ProjectsLocationsInstancesUpgradeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2980,7 +2980,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3113,7 +3113,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3256,7 +3256,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3430,7 +3430,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/redis/v1beta1/redis-gen.go b/redis/v1beta1/redis-gen.go index 70d99960191..625c6955916 100644 --- a/redis/v1beta1/redis-gen.go +++ b/redis/v1beta1/redis-gen.go @@ -1124,7 +1124,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1290,7 +1290,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1481,7 +1481,7 @@ func (c *ProjectsLocationsInstancesCreateCall) Header() http.Header { func (c *ProjectsLocationsInstancesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1625,7 +1625,7 @@ func (c *ProjectsLocationsInstancesDeleteCall) Header() http.Header { func (c *ProjectsLocationsInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1760,7 +1760,7 @@ func (c *ProjectsLocationsInstancesExportCall) Header() http.Header { func (c *ProjectsLocationsInstancesExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1902,7 +1902,7 @@ func (c *ProjectsLocationsInstancesFailoverCall) Header() http.Header { func (c *ProjectsLocationsInstancesFailoverCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2051,7 +2051,7 @@ func (c *ProjectsLocationsInstancesGetCall) Header() http.Header { func (c *ProjectsLocationsInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2197,7 +2197,7 @@ func (c *ProjectsLocationsInstancesGetAuthStringCall) Header() http.Header { func (c *ProjectsLocationsInstancesGetAuthStringCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2337,7 +2337,7 @@ func (c *ProjectsLocationsInstancesImportCall) Header() http.Header { func (c *ProjectsLocationsInstancesImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2510,7 +2510,7 @@ func (c *ProjectsLocationsInstancesListCall) Header() http.Header { func (c *ProjectsLocationsInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2691,7 +2691,7 @@ func (c *ProjectsLocationsInstancesPatchCall) Header() http.Header { func (c *ProjectsLocationsInstancesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2838,7 +2838,7 @@ func (c *ProjectsLocationsInstancesUpgradeCall) Header() http.Header { func (c *ProjectsLocationsInstancesUpgradeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2985,7 +2985,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3118,7 +3118,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3261,7 +3261,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3435,7 +3435,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/remotebuildexecution/v1/remotebuildexecution-gen.go b/remotebuildexecution/v1/remotebuildexecution-gen.go index a6235728be2..88336d0611f 100644 --- a/remotebuildexecution/v1/remotebuildexecution-gen.go +++ b/remotebuildexecution/v1/remotebuildexecution-gen.go @@ -3346,7 +3346,7 @@ func (c *MediaDownloadCall) Header() http.Header { func (c *MediaDownloadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3539,7 +3539,7 @@ func (c *MediaUploadCall) Header() http.Header { func (c *MediaUploadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3728,7 +3728,7 @@ func (c *OperationsCancelCall) Header() http.Header { func (c *OperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3869,7 +3869,7 @@ func (c *OperationsDeleteCall) Header() http.Header { func (c *OperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4040,7 +4040,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4224,7 +4224,7 @@ func (c *ProjectsOperationsGetCall) Header() http.Header { func (c *ProjectsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/remotebuildexecution/v1alpha/remotebuildexecution-gen.go b/remotebuildexecution/v1alpha/remotebuildexecution-gen.go index 5a94e948d83..8e5a7f975a7 100644 --- a/remotebuildexecution/v1alpha/remotebuildexecution-gen.go +++ b/remotebuildexecution/v1alpha/remotebuildexecution-gen.go @@ -3269,7 +3269,7 @@ func (c *ProjectsInstancesCreateCall) Header() http.Header { func (c *ProjectsInstancesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3410,7 +3410,7 @@ func (c *ProjectsInstancesDeleteCall) Header() http.Header { func (c *ProjectsInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3551,7 +3551,7 @@ func (c *ProjectsInstancesGetCall) Header() http.Header { func (c *ProjectsInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3698,7 +3698,7 @@ func (c *ProjectsInstancesListCall) Header() http.Header { func (c *ProjectsInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3863,7 +3863,7 @@ func (c *ProjectsInstancesPatchCall) Header() http.Header { func (c *ProjectsInstancesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4023,7 +4023,7 @@ func (c *ProjectsInstancesWorkerpoolsCreateCall) Header() http.Header { func (c *ProjectsInstancesWorkerpoolsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4164,7 +4164,7 @@ func (c *ProjectsInstancesWorkerpoolsDeleteCall) Header() http.Header { func (c *ProjectsInstancesWorkerpoolsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4305,7 +4305,7 @@ func (c *ProjectsInstancesWorkerpoolsGetCall) Header() http.Header { func (c *ProjectsInstancesWorkerpoolsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4474,7 +4474,7 @@ func (c *ProjectsInstancesWorkerpoolsListCall) Header() http.Header { func (c *ProjectsInstancesWorkerpoolsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4621,7 +4621,7 @@ func (c *ProjectsInstancesWorkerpoolsPatchCall) Header() http.Header { func (c *ProjectsInstancesWorkerpoolsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4772,7 +4772,7 @@ func (c *ProjectsOperationsGetCall) Header() http.Header { func (c *ProjectsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/remotebuildexecution/v2/remotebuildexecution-gen.go b/remotebuildexecution/v2/remotebuildexecution-gen.go index 439f96bf201..6c5a38d5791 100644 --- a/remotebuildexecution/v2/remotebuildexecution-gen.go +++ b/remotebuildexecution/v2/remotebuildexecution-gen.go @@ -4065,7 +4065,7 @@ func (c *ActionResultsGetCall) Header() http.Header { func (c *ActionResultsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4260,7 +4260,7 @@ func (c *ActionResultsUpdateCall) Header() http.Header { func (c *ActionResultsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4467,7 +4467,7 @@ func (c *ActionsExecuteCall) Header() http.Header { func (c *ActionsExecuteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4616,7 +4616,7 @@ func (c *BlobsBatchReadCall) Header() http.Header { func (c *BlobsBatchReadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4769,7 +4769,7 @@ func (c *BlobsBatchUpdateCall) Header() http.Header { func (c *BlobsBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4915,7 +4915,7 @@ func (c *BlobsFindMissingCall) Header() http.Header { func (c *BlobsFindMissingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5103,7 +5103,7 @@ func (c *BlobsGetTreeCall) Header() http.Header { func (c *BlobsGetTreeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5295,7 +5295,7 @@ func (c *OperationsWaitExecutionCall) Header() http.Header { func (c *OperationsWaitExecutionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5450,7 +5450,7 @@ func (c *V2GetCapabilitiesCall) Header() http.Header { func (c *V2GetCapabilitiesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/reseller/v1/reseller-gen.go b/reseller/v1/reseller-gen.go index 3addb965bac..e9727a6acfc 100644 --- a/reseller/v1/reseller-gen.go +++ b/reseller/v1/reseller-gen.go @@ -929,7 +929,7 @@ func (c *CustomersGetCall) Header() http.Header { func (c *CustomersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1074,7 +1074,7 @@ func (c *CustomersInsertCall) Header() http.Header { func (c *CustomersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1208,7 +1208,7 @@ func (c *CustomersPatchCall) Header() http.Header { func (c *CustomersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1347,7 +1347,7 @@ func (c *CustomersUpdateCall) Header() http.Header { func (c *CustomersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1494,7 +1494,7 @@ func (c *ResellernotifyGetwatchdetailsCall) Header() http.Header { func (c *ResellernotifyGetwatchdetailsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1622,7 +1622,7 @@ func (c *ResellernotifyRegisterCall) Header() http.Header { func (c *ResellernotifyRegisterCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1751,7 +1751,7 @@ func (c *ResellernotifyUnregisterCall) Header() http.Header { func (c *ResellernotifyUnregisterCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1877,7 +1877,7 @@ func (c *SubscriptionsActivateCall) Header() http.Header { func (c *SubscriptionsActivateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2020,7 +2020,7 @@ func (c *SubscriptionsChangePlanCall) Header() http.Header { func (c *SubscriptionsChangePlanCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2170,7 +2170,7 @@ func (c *SubscriptionsChangeRenewalSettingsCall) Header() http.Header { func (c *SubscriptionsChangeRenewalSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2319,7 +2319,7 @@ func (c *SubscriptionsChangeSeatsCall) Header() http.Header { func (c *SubscriptionsChangeSeatsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2467,7 +2467,7 @@ func (c *SubscriptionsDeleteCall) Header() http.Header { func (c *SubscriptionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2606,7 +2606,7 @@ func (c *SubscriptionsGetCall) Header() http.Header { func (c *SubscriptionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2761,7 +2761,7 @@ func (c *SubscriptionsInsertCall) Header() http.Header { func (c *SubscriptionsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2965,7 +2965,7 @@ func (c *SubscriptionsListCall) Header() http.Header { func (c *SubscriptionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3139,7 +3139,7 @@ func (c *SubscriptionsStartPaidServiceCall) Header() http.Header { func (c *SubscriptionsStartPaidServiceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3278,7 +3278,7 @@ func (c *SubscriptionsSuspendCall) Header() http.Header { func (c *SubscriptionsSuspendCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/run/v1/run-gen.go b/run/v1/run-gen.go index d22446fb53d..e5c1268c06e 100644 --- a/run/v1/run-gen.go +++ b/run/v1/run-gen.go @@ -3686,7 +3686,7 @@ func (c *NamespacesAuthorizeddomainsListCall) Header() http.Header { func (c *NamespacesAuthorizeddomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3862,7 +3862,7 @@ func (c *NamespacesConfigurationsGetCall) Header() http.Header { func (c *NamespacesConfigurationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4060,7 +4060,7 @@ func (c *NamespacesConfigurationsListCall) Header() http.Header { func (c *NamespacesConfigurationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4231,7 +4231,7 @@ func (c *NamespacesDomainmappingsCreateCall) Header() http.Header { func (c *NamespacesDomainmappingsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4393,7 +4393,7 @@ func (c *NamespacesDomainmappingsDeleteCall) Header() http.Header { func (c *NamespacesDomainmappingsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4549,7 +4549,7 @@ func (c *NamespacesDomainmappingsGetCall) Header() http.Header { func (c *NamespacesDomainmappingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4747,7 +4747,7 @@ func (c *NamespacesDomainmappingsListCall) Header() http.Header { func (c *NamespacesDomainmappingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4940,7 +4940,7 @@ func (c *NamespacesRevisionsDeleteCall) Header() http.Header { func (c *NamespacesRevisionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5096,7 +5096,7 @@ func (c *NamespacesRevisionsGetCall) Header() http.Header { func (c *NamespacesRevisionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5294,7 +5294,7 @@ func (c *NamespacesRevisionsListCall) Header() http.Header { func (c *NamespacesRevisionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5474,7 +5474,7 @@ func (c *NamespacesRoutesGetCall) Header() http.Header { func (c *NamespacesRoutesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5672,7 +5672,7 @@ func (c *NamespacesRoutesListCall) Header() http.Header { func (c *NamespacesRoutesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5843,7 +5843,7 @@ func (c *NamespacesServicesCreateCall) Header() http.Header { func (c *NamespacesServicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6007,7 +6007,7 @@ func (c *NamespacesServicesDeleteCall) Header() http.Header { func (c *NamespacesServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6163,7 +6163,7 @@ func (c *NamespacesServicesGetCall) Header() http.Header { func (c *NamespacesServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6361,7 +6361,7 @@ func (c *NamespacesServicesListCall) Header() http.Header { func (c *NamespacesServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6536,7 +6536,7 @@ func (c *NamespacesServicesReplaceServiceCall) Header() http.Header { func (c *NamespacesServicesReplaceServiceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6699,7 +6699,7 @@ func (c *ProjectsAuthorizeddomainsListCall) Header() http.Header { func (c *ProjectsAuthorizeddomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6897,7 +6897,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7092,7 +7092,7 @@ func (c *ProjectsLocationsAuthorizeddomainsListCall) Header() http.Header { func (c *ProjectsLocationsAuthorizeddomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7268,7 +7268,7 @@ func (c *ProjectsLocationsConfigurationsGetCall) Header() http.Header { func (c *ProjectsLocationsConfigurationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7466,7 +7466,7 @@ func (c *ProjectsLocationsConfigurationsListCall) Header() http.Header { func (c *ProjectsLocationsConfigurationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7637,7 +7637,7 @@ func (c *ProjectsLocationsDomainmappingsCreateCall) Header() http.Header { func (c *ProjectsLocationsDomainmappingsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7799,7 +7799,7 @@ func (c *ProjectsLocationsDomainmappingsDeleteCall) Header() http.Header { func (c *ProjectsLocationsDomainmappingsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7955,7 +7955,7 @@ func (c *ProjectsLocationsDomainmappingsGetCall) Header() http.Header { func (c *ProjectsLocationsDomainmappingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8153,7 +8153,7 @@ func (c *ProjectsLocationsDomainmappingsListCall) Header() http.Header { func (c *ProjectsLocationsDomainmappingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8346,7 +8346,7 @@ func (c *ProjectsLocationsRevisionsDeleteCall) Header() http.Header { func (c *ProjectsLocationsRevisionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8502,7 +8502,7 @@ func (c *ProjectsLocationsRevisionsGetCall) Header() http.Header { func (c *ProjectsLocationsRevisionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8700,7 +8700,7 @@ func (c *ProjectsLocationsRevisionsListCall) Header() http.Header { func (c *ProjectsLocationsRevisionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8880,7 +8880,7 @@ func (c *ProjectsLocationsRoutesGetCall) Header() http.Header { func (c *ProjectsLocationsRoutesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9078,7 +9078,7 @@ func (c *ProjectsLocationsRoutesListCall) Header() http.Header { func (c *ProjectsLocationsRoutesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9249,7 +9249,7 @@ func (c *ProjectsLocationsServicesCreateCall) Header() http.Header { func (c *ProjectsLocationsServicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9413,7 +9413,7 @@ func (c *ProjectsLocationsServicesDeleteCall) Header() http.Header { func (c *ProjectsLocationsServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9569,7 +9569,7 @@ func (c *ProjectsLocationsServicesGetCall) Header() http.Header { func (c *ProjectsLocationsServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9730,7 +9730,7 @@ func (c *ProjectsLocationsServicesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsServicesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9934,7 +9934,7 @@ func (c *ProjectsLocationsServicesListCall) Header() http.Header { func (c *ProjectsLocationsServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10109,7 +10109,7 @@ func (c *ProjectsLocationsServicesReplaceServiceCall) Header() http.Header { func (c *ProjectsLocationsServicesReplaceServiceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10250,7 +10250,7 @@ func (c *ProjectsLocationsServicesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsServicesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10392,7 +10392,7 @@ func (c *ProjectsLocationsServicesTestIamPermissionsCall) Header() http.Header { func (c *ProjectsLocationsServicesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/run/v1alpha1/run-gen.go b/run/v1alpha1/run-gen.go index 59cd49764cf..9c88eb14fff 100644 --- a/run/v1alpha1/run-gen.go +++ b/run/v1alpha1/run-gen.go @@ -5543,7 +5543,7 @@ func (c *NamespacesAuthorizeddomainsListCall) Header() http.Header { func (c *NamespacesAuthorizeddomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5710,7 +5710,7 @@ func (c *NamespacesCloudauditlogssourcesCreateCall) Header() http.Header { func (c *NamespacesCloudauditlogssourcesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5872,7 +5872,7 @@ func (c *NamespacesCloudauditlogssourcesDeleteCall) Header() http.Header { func (c *NamespacesCloudauditlogssourcesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6028,7 +6028,7 @@ func (c *NamespacesCloudauditlogssourcesGetCall) Header() http.Header { func (c *NamespacesCloudauditlogssourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6226,7 +6226,7 @@ func (c *NamespacesCloudauditlogssourcesListCall) Header() http.Header { func (c *NamespacesCloudauditlogssourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6398,7 +6398,7 @@ func (c *NamespacesCloudpubsubsourcesCreateCall) Header() http.Header { func (c *NamespacesCloudpubsubsourcesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6560,7 +6560,7 @@ func (c *NamespacesCloudpubsubsourcesDeleteCall) Header() http.Header { func (c *NamespacesCloudpubsubsourcesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6716,7 +6716,7 @@ func (c *NamespacesCloudpubsubsourcesGetCall) Header() http.Header { func (c *NamespacesCloudpubsubsourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6914,7 +6914,7 @@ func (c *NamespacesCloudpubsubsourcesListCall) Header() http.Header { func (c *NamespacesCloudpubsubsourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7085,7 +7085,7 @@ func (c *NamespacesCloudschedulersourcesCreateCall) Header() http.Header { func (c *NamespacesCloudschedulersourcesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7247,7 +7247,7 @@ func (c *NamespacesCloudschedulersourcesDeleteCall) Header() http.Header { func (c *NamespacesCloudschedulersourcesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7403,7 +7403,7 @@ func (c *NamespacesCloudschedulersourcesGetCall) Header() http.Header { func (c *NamespacesCloudschedulersourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7601,7 +7601,7 @@ func (c *NamespacesCloudschedulersourcesListCall) Header() http.Header { func (c *NamespacesCloudschedulersourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7777,7 +7777,7 @@ func (c *NamespacesCloudschedulersourcesReplaceCloudSchedulerSourceCall) Header( func (c *NamespacesCloudschedulersourcesReplaceCloudSchedulerSourceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7917,7 +7917,7 @@ func (c *NamespacesCloudstoragesourcesCreateCall) Header() http.Header { func (c *NamespacesCloudstoragesourcesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8079,7 +8079,7 @@ func (c *NamespacesCloudstoragesourcesDeleteCall) Header() http.Header { func (c *NamespacesCloudstoragesourcesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8235,7 +8235,7 @@ func (c *NamespacesCloudstoragesourcesGetCall) Header() http.Header { func (c *NamespacesCloudstoragesourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8433,7 +8433,7 @@ func (c *NamespacesCloudstoragesourcesListCall) Header() http.Header { func (c *NamespacesCloudstoragesourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8608,7 +8608,7 @@ func (c *NamespacesCloudstoragesourcesReplaceCloudStorageSourceCall) Header() ht func (c *NamespacesCloudstoragesourcesReplaceCloudStorageSourceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8757,7 +8757,7 @@ func (c *NamespacesConfigurationsGetCall) Header() http.Header { func (c *NamespacesConfigurationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8955,7 +8955,7 @@ func (c *NamespacesConfigurationsListCall) Header() http.Header { func (c *NamespacesConfigurationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9126,7 +9126,7 @@ func (c *NamespacesDomainmappingsCreateCall) Header() http.Header { func (c *NamespacesDomainmappingsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9298,7 +9298,7 @@ func (c *NamespacesDomainmappingsDeleteCall) Header() http.Header { func (c *NamespacesDomainmappingsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9459,7 +9459,7 @@ func (c *NamespacesDomainmappingsGetCall) Header() http.Header { func (c *NamespacesDomainmappingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9657,7 +9657,7 @@ func (c *NamespacesDomainmappingsListCall) Header() http.Header { func (c *NamespacesDomainmappingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9860,7 +9860,7 @@ func (c *NamespacesRevisionsDeleteCall) Header() http.Header { func (c *NamespacesRevisionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10021,7 +10021,7 @@ func (c *NamespacesRevisionsGetCall) Header() http.Header { func (c *NamespacesRevisionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10219,7 +10219,7 @@ func (c *NamespacesRevisionsListCall) Header() http.Header { func (c *NamespacesRevisionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10399,7 +10399,7 @@ func (c *NamespacesRoutesGetCall) Header() http.Header { func (c *NamespacesRoutesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10597,7 +10597,7 @@ func (c *NamespacesRoutesListCall) Header() http.Header { func (c *NamespacesRoutesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10768,7 +10768,7 @@ func (c *NamespacesServicesCreateCall) Header() http.Header { func (c *NamespacesServicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10942,7 +10942,7 @@ func (c *NamespacesServicesDeleteCall) Header() http.Header { func (c *NamespacesServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11103,7 +11103,7 @@ func (c *NamespacesServicesGetCall) Header() http.Header { func (c *NamespacesServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11301,7 +11301,7 @@ func (c *NamespacesServicesListCall) Header() http.Header { func (c *NamespacesServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11476,7 +11476,7 @@ func (c *NamespacesServicesReplaceServiceCall) Header() http.Header { func (c *NamespacesServicesReplaceServiceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11616,7 +11616,7 @@ func (c *NamespacesTriggersCreateCall) Header() http.Header { func (c *NamespacesTriggersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11778,7 +11778,7 @@ func (c *NamespacesTriggersDeleteCall) Header() http.Header { func (c *NamespacesTriggersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11934,7 +11934,7 @@ func (c *NamespacesTriggersGetCall) Header() http.Header { func (c *NamespacesTriggersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12132,7 +12132,7 @@ func (c *NamespacesTriggersListCall) Header() http.Header { func (c *NamespacesTriggersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12334,7 +12334,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12529,7 +12529,7 @@ func (c *ProjectsLocationsAuthorizeddomainsListCall) Header() http.Header { func (c *ProjectsLocationsAuthorizeddomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12696,7 +12696,7 @@ func (c *ProjectsLocationsCloudauditlogssourcesCreateCall) Header() http.Header func (c *ProjectsLocationsCloudauditlogssourcesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12858,7 +12858,7 @@ func (c *ProjectsLocationsCloudauditlogssourcesDeleteCall) Header() http.Header func (c *ProjectsLocationsCloudauditlogssourcesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13014,7 +13014,7 @@ func (c *ProjectsLocationsCloudauditlogssourcesGetCall) Header() http.Header { func (c *ProjectsLocationsCloudauditlogssourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13212,7 +13212,7 @@ func (c *ProjectsLocationsCloudauditlogssourcesListCall) Header() http.Header { func (c *ProjectsLocationsCloudauditlogssourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13384,7 +13384,7 @@ func (c *ProjectsLocationsCloudpubsubsourcesCreateCall) Header() http.Header { func (c *ProjectsLocationsCloudpubsubsourcesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13546,7 +13546,7 @@ func (c *ProjectsLocationsCloudpubsubsourcesDeleteCall) Header() http.Header { func (c *ProjectsLocationsCloudpubsubsourcesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13702,7 +13702,7 @@ func (c *ProjectsLocationsCloudpubsubsourcesGetCall) Header() http.Header { func (c *ProjectsLocationsCloudpubsubsourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13900,7 +13900,7 @@ func (c *ProjectsLocationsCloudpubsubsourcesListCall) Header() http.Header { func (c *ProjectsLocationsCloudpubsubsourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14071,7 +14071,7 @@ func (c *ProjectsLocationsCloudschedulersourcesCreateCall) Header() http.Header func (c *ProjectsLocationsCloudschedulersourcesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14233,7 +14233,7 @@ func (c *ProjectsLocationsCloudschedulersourcesDeleteCall) Header() http.Header func (c *ProjectsLocationsCloudschedulersourcesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14389,7 +14389,7 @@ func (c *ProjectsLocationsCloudschedulersourcesGetCall) Header() http.Header { func (c *ProjectsLocationsCloudschedulersourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14587,7 +14587,7 @@ func (c *ProjectsLocationsCloudschedulersourcesListCall) Header() http.Header { func (c *ProjectsLocationsCloudschedulersourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14763,7 +14763,7 @@ func (c *ProjectsLocationsCloudschedulersourcesReplaceCloudSchedulerSourceCall) func (c *ProjectsLocationsCloudschedulersourcesReplaceCloudSchedulerSourceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14903,7 +14903,7 @@ func (c *ProjectsLocationsCloudstoragesourcesCreateCall) Header() http.Header { func (c *ProjectsLocationsCloudstoragesourcesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15065,7 +15065,7 @@ func (c *ProjectsLocationsCloudstoragesourcesDeleteCall) Header() http.Header { func (c *ProjectsLocationsCloudstoragesourcesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15221,7 +15221,7 @@ func (c *ProjectsLocationsCloudstoragesourcesGetCall) Header() http.Header { func (c *ProjectsLocationsCloudstoragesourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15419,7 +15419,7 @@ func (c *ProjectsLocationsCloudstoragesourcesListCall) Header() http.Header { func (c *ProjectsLocationsCloudstoragesourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15594,7 +15594,7 @@ func (c *ProjectsLocationsCloudstoragesourcesReplaceCloudStorageSourceCall) Head func (c *ProjectsLocationsCloudstoragesourcesReplaceCloudStorageSourceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15743,7 +15743,7 @@ func (c *ProjectsLocationsConfigurationsGetCall) Header() http.Header { func (c *ProjectsLocationsConfigurationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15941,7 +15941,7 @@ func (c *ProjectsLocationsConfigurationsListCall) Header() http.Header { func (c *ProjectsLocationsConfigurationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16112,7 +16112,7 @@ func (c *ProjectsLocationsDomainmappingsCreateCall) Header() http.Header { func (c *ProjectsLocationsDomainmappingsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16284,7 +16284,7 @@ func (c *ProjectsLocationsDomainmappingsDeleteCall) Header() http.Header { func (c *ProjectsLocationsDomainmappingsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16445,7 +16445,7 @@ func (c *ProjectsLocationsDomainmappingsGetCall) Header() http.Header { func (c *ProjectsLocationsDomainmappingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16643,7 +16643,7 @@ func (c *ProjectsLocationsDomainmappingsListCall) Header() http.Header { func (c *ProjectsLocationsDomainmappingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16846,7 +16846,7 @@ func (c *ProjectsLocationsRevisionsDeleteCall) Header() http.Header { func (c *ProjectsLocationsRevisionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17007,7 +17007,7 @@ func (c *ProjectsLocationsRevisionsGetCall) Header() http.Header { func (c *ProjectsLocationsRevisionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17205,7 +17205,7 @@ func (c *ProjectsLocationsRevisionsListCall) Header() http.Header { func (c *ProjectsLocationsRevisionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17385,7 +17385,7 @@ func (c *ProjectsLocationsRoutesGetCall) Header() http.Header { func (c *ProjectsLocationsRoutesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17583,7 +17583,7 @@ func (c *ProjectsLocationsRoutesListCall) Header() http.Header { func (c *ProjectsLocationsRoutesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17754,7 +17754,7 @@ func (c *ProjectsLocationsServicesCreateCall) Header() http.Header { func (c *ProjectsLocationsServicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17928,7 +17928,7 @@ func (c *ProjectsLocationsServicesDeleteCall) Header() http.Header { func (c *ProjectsLocationsServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18089,7 +18089,7 @@ func (c *ProjectsLocationsServicesGetCall) Header() http.Header { func (c *ProjectsLocationsServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18250,7 +18250,7 @@ func (c *ProjectsLocationsServicesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsServicesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18454,7 +18454,7 @@ func (c *ProjectsLocationsServicesListCall) Header() http.Header { func (c *ProjectsLocationsServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18629,7 +18629,7 @@ func (c *ProjectsLocationsServicesReplaceServiceCall) Header() http.Header { func (c *ProjectsLocationsServicesReplaceServiceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18770,7 +18770,7 @@ func (c *ProjectsLocationsServicesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsServicesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18912,7 +18912,7 @@ func (c *ProjectsLocationsServicesTestIamPermissionsCall) Header() http.Header { func (c *ProjectsLocationsServicesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19052,7 +19052,7 @@ func (c *ProjectsLocationsTriggersCreateCall) Header() http.Header { func (c *ProjectsLocationsTriggersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19214,7 +19214,7 @@ func (c *ProjectsLocationsTriggersDeleteCall) Header() http.Header { func (c *ProjectsLocationsTriggersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19370,7 +19370,7 @@ func (c *ProjectsLocationsTriggersGetCall) Header() http.Header { func (c *ProjectsLocationsTriggersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19568,7 +19568,7 @@ func (c *ProjectsLocationsTriggersListCall) Header() http.Header { func (c *ProjectsLocationsTriggersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/run/v1beta1/run-gen.go b/run/v1beta1/run-gen.go index 029c68e6aca..588abe8b527 100644 --- a/run/v1beta1/run-gen.go +++ b/run/v1beta1/run-gen.go @@ -1279,7 +1279,7 @@ func (c *CustomresourcedefinitionsListCall) Header() http.Header { func (c *CustomresourcedefinitionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1452,7 +1452,7 @@ func (c *NamespacesCustomresourcedefinitionsGetCall) Header() http.Header { func (c *NamespacesCustomresourcedefinitionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1596,7 +1596,7 @@ func (c *ProjectsLocationsCustomresourcedefinitionsGetCall) Header() http.Header func (c *ProjectsLocationsCustomresourcedefinitionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1793,7 +1793,7 @@ func (c *ProjectsLocationsCustomresourcedefinitionsListCall) Header() http.Heade func (c *ProjectsLocationsCustomresourcedefinitionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/runtimeconfig/v1/runtimeconfig-gen.go b/runtimeconfig/v1/runtimeconfig-gen.go index 114a1718245..47e9c87e0c1 100644 --- a/runtimeconfig/v1/runtimeconfig-gen.go +++ b/runtimeconfig/v1/runtimeconfig-gen.go @@ -363,7 +363,7 @@ func (c *OperationsCancelCall) Header() http.Header { func (c *OperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -505,7 +505,7 @@ func (c *OperationsDeleteCall) Header() http.Header { func (c *OperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -677,7 +677,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/runtimeconfig/v1beta1/runtimeconfig-gen.go b/runtimeconfig/v1beta1/runtimeconfig-gen.go index ffadf9d83e0..263762a2552 100644 --- a/runtimeconfig/v1beta1/runtimeconfig-gen.go +++ b/runtimeconfig/v1beta1/runtimeconfig-gen.go @@ -1142,7 +1142,7 @@ func (c *ProjectsConfigsCreateCall) Header() http.Header { func (c *ProjectsConfigsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1286,7 +1286,7 @@ func (c *ProjectsConfigsDeleteCall) Header() http.Header { func (c *ProjectsConfigsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1428,7 +1428,7 @@ func (c *ProjectsConfigsGetCall) Header() http.Header { func (c *ProjectsConfigsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1590,7 +1590,7 @@ func (c *ProjectsConfigsGetIamPolicyCall) Header() http.Header { func (c *ProjectsConfigsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1757,7 +1757,7 @@ func (c *ProjectsConfigsListCall) Header() http.Header { func (c *ProjectsConfigsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1927,7 +1927,7 @@ func (c *ProjectsConfigsSetIamPolicyCall) Header() http.Header { func (c *ProjectsConfigsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2073,7 +2073,7 @@ func (c *ProjectsConfigsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsConfigsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2215,7 +2215,7 @@ func (c *ProjectsConfigsUpdateCall) Header() http.Header { func (c *ProjectsConfigsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2367,7 +2367,7 @@ func (c *ProjectsConfigsOperationsGetCall) Header() http.Header { func (c *ProjectsConfigsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2508,7 +2508,7 @@ func (c *ProjectsConfigsOperationsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsConfigsOperationsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2667,7 +2667,7 @@ func (c *ProjectsConfigsVariablesCreateCall) Header() http.Header { func (c *ProjectsConfigsVariablesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2822,7 +2822,7 @@ func (c *ProjectsConfigsVariablesDeleteCall) Header() http.Header { func (c *ProjectsConfigsVariablesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2969,7 +2969,7 @@ func (c *ProjectsConfigsVariablesGetCall) Header() http.Header { func (c *ProjectsConfigsVariablesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3151,7 +3151,7 @@ func (c *ProjectsConfigsVariablesListCall) Header() http.Header { func (c *ProjectsConfigsVariablesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3334,7 +3334,7 @@ func (c *ProjectsConfigsVariablesTestIamPermissionsCall) Header() http.Header { func (c *ProjectsConfigsVariablesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3475,7 +3475,7 @@ func (c *ProjectsConfigsVariablesUpdateCall) Header() http.Header { func (c *ProjectsConfigsVariablesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3626,7 +3626,7 @@ func (c *ProjectsConfigsVariablesWatchCall) Header() http.Header { func (c *ProjectsConfigsVariablesWatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3784,7 +3784,7 @@ func (c *ProjectsConfigsWaitersCreateCall) Header() http.Header { func (c *ProjectsConfigsWaitersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3928,7 +3928,7 @@ func (c *ProjectsConfigsWaitersDeleteCall) Header() http.Header { func (c *ProjectsConfigsWaitersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4070,7 +4070,7 @@ func (c *ProjectsConfigsWaitersGetCall) Header() http.Header { func (c *ProjectsConfigsWaitersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4231,7 +4231,7 @@ func (c *ProjectsConfigsWaitersListCall) Header() http.Header { func (c *ProjectsConfigsWaitersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4404,7 +4404,7 @@ func (c *ProjectsConfigsWaitersTestIamPermissionsCall) Header() http.Header { func (c *ProjectsConfigsWaitersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/safebrowsing/v4/safebrowsing-gen.go b/safebrowsing/v4/safebrowsing-gen.go index 18b593a7470..5ffcf4ee329 100644 --- a/safebrowsing/v4/safebrowsing-gen.go +++ b/safebrowsing/v4/safebrowsing-gen.go @@ -1551,7 +1551,7 @@ func (c *EncodedFullHashesGetCall) Header() http.Header { func (c *EncodedFullHashesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1717,7 +1717,7 @@ func (c *EncodedUpdatesGetCall) Header() http.Header { func (c *EncodedUpdatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1857,7 +1857,7 @@ func (c *FullHashesFindCall) Header() http.Header { func (c *FullHashesFindCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1980,7 +1980,7 @@ func (c *ThreatHitsCreateCall) Header() http.Header { func (c *ThreatHitsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2103,7 +2103,7 @@ func (c *ThreatListUpdatesFetchCall) Header() http.Header { func (c *ThreatListUpdatesFetchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2234,7 +2234,7 @@ func (c *ThreatListsListCall) Header() http.Header { func (c *ThreatListsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2351,7 +2351,7 @@ func (c *ThreatMatchesFindCall) Header() http.Header { func (c *ThreatMatchesFindCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/sasportal/v1alpha1/sasportal-gen.go b/sasportal/v1alpha1/sasportal-gen.go index 0a742ee1b67..0c4b7efb2fe 100644 --- a/sasportal/v1alpha1/sasportal-gen.go +++ b/sasportal/v1alpha1/sasportal-gen.go @@ -1777,7 +1777,7 @@ func (c *CustomersGetCall) Header() http.Header { func (c *CustomersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1934,7 +1934,7 @@ func (c *CustomersListCall) Header() http.Header { func (c *CustomersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2096,7 +2096,7 @@ func (c *CustomersPatchCall) Header() http.Header { func (c *CustomersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2242,7 +2242,7 @@ func (c *CustomersDeploymentsMoveCall) Header() http.Header { func (c *CustomersDeploymentsMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2382,7 +2382,7 @@ func (c *CustomersDeploymentsDevicesCreateCall) Header() http.Header { func (c *CustomersDeploymentsDevicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2522,7 +2522,7 @@ func (c *CustomersDeploymentsDevicesCreateSignedCall) Header() http.Header { func (c *CustomersDeploymentsDevicesCreateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2696,7 +2696,7 @@ func (c *CustomersDeploymentsDevicesListCall) Header() http.Header { func (c *CustomersDeploymentsDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2869,7 +2869,7 @@ func (c *CustomersDevicesBulkCall) Header() http.Header { func (c *CustomersDevicesBulkCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3010,7 +3010,7 @@ func (c *CustomersDevicesCreateCall) Header() http.Header { func (c *CustomersDevicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3150,7 +3150,7 @@ func (c *CustomersDevicesCreateSignedCall) Header() http.Header { func (c *CustomersDevicesCreateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3288,7 +3288,7 @@ func (c *CustomersDevicesDeleteCall) Header() http.Header { func (c *CustomersDevicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3429,7 +3429,7 @@ func (c *CustomersDevicesGetCall) Header() http.Header { func (c *CustomersDevicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3598,7 +3598,7 @@ func (c *CustomersDevicesListCall) Header() http.Header { func (c *CustomersDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3770,7 +3770,7 @@ func (c *CustomersDevicesMoveCall) Header() http.Header { func (c *CustomersDevicesMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3917,7 +3917,7 @@ func (c *CustomersDevicesPatchCall) Header() http.Header { func (c *CustomersDevicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4063,7 +4063,7 @@ func (c *CustomersDevicesSignDeviceCall) Header() http.Header { func (c *CustomersDevicesSignDeviceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4203,7 +4203,7 @@ func (c *CustomersDevicesUpdateSignedCall) Header() http.Header { func (c *CustomersDevicesUpdateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4343,7 +4343,7 @@ func (c *CustomersNodesCreateCall) Header() http.Header { func (c *CustomersNodesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4481,7 +4481,7 @@ func (c *CustomersNodesDeleteCall) Header() http.Header { func (c *CustomersNodesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4622,7 +4622,7 @@ func (c *CustomersNodesGetCall) Header() http.Header { func (c *CustomersNodesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4781,7 +4781,7 @@ func (c *CustomersNodesListCall) Header() http.Header { func (c *CustomersNodesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4948,7 +4948,7 @@ func (c *CustomersNodesMoveCall) Header() http.Header { func (c *CustomersNodesMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5095,7 +5095,7 @@ func (c *CustomersNodesPatchCall) Header() http.Header { func (c *CustomersNodesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5241,7 +5241,7 @@ func (c *CustomersNodesDevicesCreateCall) Header() http.Header { func (c *CustomersNodesDevicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5381,7 +5381,7 @@ func (c *CustomersNodesDevicesCreateSignedCall) Header() http.Header { func (c *CustomersNodesDevicesCreateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5555,7 +5555,7 @@ func (c *CustomersNodesDevicesListCall) Header() http.Header { func (c *CustomersNodesDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5727,7 +5727,7 @@ func (c *CustomersNodesNodesCreateCall) Header() http.Header { func (c *CustomersNodesNodesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5891,7 +5891,7 @@ func (c *CustomersNodesNodesListCall) Header() http.Header { func (c *CustomersNodesNodesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6056,7 +6056,7 @@ func (c *DeploymentsDevicesDeleteCall) Header() http.Header { func (c *DeploymentsDevicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6197,7 +6197,7 @@ func (c *DeploymentsDevicesGetCall) Header() http.Header { func (c *DeploymentsDevicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6332,7 +6332,7 @@ func (c *DeploymentsDevicesMoveCall) Header() http.Header { func (c *DeploymentsDevicesMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6479,7 +6479,7 @@ func (c *DeploymentsDevicesPatchCall) Header() http.Header { func (c *DeploymentsDevicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6625,7 +6625,7 @@ func (c *DeploymentsDevicesSignDeviceCall) Header() http.Header { func (c *DeploymentsDevicesSignDeviceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6765,7 +6765,7 @@ func (c *DeploymentsDevicesUpdateSignedCall) Header() http.Header { func (c *DeploymentsDevicesUpdateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6904,7 +6904,7 @@ func (c *InstallerGenerateSecretCall) Header() http.Header { func (c *InstallerGenerateSecretCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7030,7 +7030,7 @@ func (c *InstallerValidateCall) Header() http.Header { func (c *InstallerValidateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7167,7 +7167,7 @@ func (c *NodesGetCall) Header() http.Header { func (c *NodesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7302,7 +7302,7 @@ func (c *NodesDeploymentsMoveCall) Header() http.Header { func (c *NodesDeploymentsMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7442,7 +7442,7 @@ func (c *NodesDeploymentsDevicesCreateCall) Header() http.Header { func (c *NodesDeploymentsDevicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7582,7 +7582,7 @@ func (c *NodesDeploymentsDevicesCreateSignedCall) Header() http.Header { func (c *NodesDeploymentsDevicesCreateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7756,7 +7756,7 @@ func (c *NodesDeploymentsDevicesListCall) Header() http.Header { func (c *NodesDeploymentsDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7929,7 +7929,7 @@ func (c *NodesDevicesBulkCall) Header() http.Header { func (c *NodesDevicesBulkCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8070,7 +8070,7 @@ func (c *NodesDevicesCreateCall) Header() http.Header { func (c *NodesDevicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8210,7 +8210,7 @@ func (c *NodesDevicesCreateSignedCall) Header() http.Header { func (c *NodesDevicesCreateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8348,7 +8348,7 @@ func (c *NodesDevicesDeleteCall) Header() http.Header { func (c *NodesDevicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8489,7 +8489,7 @@ func (c *NodesDevicesGetCall) Header() http.Header { func (c *NodesDevicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8658,7 +8658,7 @@ func (c *NodesDevicesListCall) Header() http.Header { func (c *NodesDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8830,7 +8830,7 @@ func (c *NodesDevicesMoveCall) Header() http.Header { func (c *NodesDevicesMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8977,7 +8977,7 @@ func (c *NodesDevicesPatchCall) Header() http.Header { func (c *NodesDevicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9123,7 +9123,7 @@ func (c *NodesDevicesSignDeviceCall) Header() http.Header { func (c *NodesDevicesSignDeviceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9263,7 +9263,7 @@ func (c *NodesDevicesUpdateSignedCall) Header() http.Header { func (c *NodesDevicesUpdateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9403,7 +9403,7 @@ func (c *NodesNodesCreateCall) Header() http.Header { func (c *NodesNodesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9541,7 +9541,7 @@ func (c *NodesNodesDeleteCall) Header() http.Header { func (c *NodesNodesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9682,7 +9682,7 @@ func (c *NodesNodesGetCall) Header() http.Header { func (c *NodesNodesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9841,7 +9841,7 @@ func (c *NodesNodesListCall) Header() http.Header { func (c *NodesNodesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10008,7 +10008,7 @@ func (c *NodesNodesMoveCall) Header() http.Header { func (c *NodesNodesMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10155,7 +10155,7 @@ func (c *NodesNodesPatchCall) Header() http.Header { func (c *NodesNodesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10302,7 +10302,7 @@ func (c *NodesNodesDevicesBulkCall) Header() http.Header { func (c *NodesNodesDevicesBulkCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10443,7 +10443,7 @@ func (c *NodesNodesDevicesCreateCall) Header() http.Header { func (c *NodesNodesDevicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10583,7 +10583,7 @@ func (c *NodesNodesDevicesCreateSignedCall) Header() http.Header { func (c *NodesNodesDevicesCreateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10757,7 +10757,7 @@ func (c *NodesNodesDevicesListCall) Header() http.Header { func (c *NodesNodesDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10929,7 +10929,7 @@ func (c *NodesNodesNodesCreateCall) Header() http.Header { func (c *NodesNodesNodesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11093,7 +11093,7 @@ func (c *NodesNodesNodesListCall) Header() http.Header { func (c *NodesNodesNodesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11259,7 +11259,7 @@ func (c *PoliciesGetCall) Header() http.Header { func (c *PoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11385,7 +11385,7 @@ func (c *PoliciesSetCall) Header() http.Header { func (c *PoliciesSetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11511,7 +11511,7 @@ func (c *PoliciesTestCall) Header() http.Header { func (c *PoliciesTestCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/script/v1/script-gen.go b/script/v1/script-gen.go index 81f5fbbbd09..fb5e29f798f 100644 --- a/script/v1/script-gen.go +++ b/script/v1/script-gen.go @@ -1906,7 +1906,7 @@ func (c *ProcessesListCall) Header() http.Header { func (c *ProcessesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2293,7 +2293,7 @@ func (c *ProcessesListScriptProcessesCall) Header() http.Header { func (c *ProcessesListScriptProcessesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2552,7 +2552,7 @@ func (c *ProjectsCreateCall) Header() http.Header { func (c *ProjectsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2688,7 +2688,7 @@ func (c *ProjectsGetCall) Header() http.Header { func (c *ProjectsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2841,7 +2841,7 @@ func (c *ProjectsGetContentCall) Header() http.Header { func (c *ProjectsGetContentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3013,7 +3013,7 @@ func (c *ProjectsGetMetricsCall) Header() http.Header { func (c *ProjectsGetMetricsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3171,7 +3171,7 @@ func (c *ProjectsUpdateContentCall) Header() http.Header { func (c *ProjectsUpdateContentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3310,7 +3310,7 @@ func (c *ProjectsDeploymentsCreateCall) Header() http.Header { func (c *ProjectsDeploymentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3449,7 +3449,7 @@ func (c *ProjectsDeploymentsDeleteCall) Header() http.Header { func (c *ProjectsDeploymentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3599,7 +3599,7 @@ func (c *ProjectsDeploymentsGetCall) Header() http.Header { func (c *ProjectsDeploymentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3766,7 +3766,7 @@ func (c *ProjectsDeploymentsListCall) Header() http.Header { func (c *ProjectsDeploymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3935,7 +3935,7 @@ func (c *ProjectsDeploymentsUpdateCall) Header() http.Header { func (c *ProjectsDeploymentsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4083,7 +4083,7 @@ func (c *ProjectsVersionsCreateCall) Header() http.Header { func (c *ProjectsVersionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4233,7 +4233,7 @@ func (c *ProjectsVersionsGetCall) Header() http.Header { func (c *ProjectsVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4401,7 +4401,7 @@ func (c *ProjectsVersionsListCall) Header() http.Header { func (c *ProjectsVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4580,7 +4580,7 @@ func (c *ScriptsRunCall) Header() http.Header { func (c *ScriptsRunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/searchconsole/v1/searchconsole-api.json b/searchconsole/v1/searchconsole-api.json index 2f38856bf16..2663b6a1307 100644 --- a/searchconsole/v1/searchconsole-api.json +++ b/searchconsole/v1/searchconsole-api.json @@ -373,7 +373,7 @@ } } }, - "revision": "20200919", + "revision": "20201209", "rootUrl": "https://searchconsole.googleapis.com/", "schemas": { "ApiDataRow": { @@ -610,6 +610,20 @@ ], "type": "string" }, + "dataState": { + "description": "The data state to be fetched, can be full or all, the latter including full and partial data.", + "enum": [ + "DATA_STATE_UNSPECIFIED", + "FINAL", + "ALL" + ], + "enumDescriptions": [ + "Default value, should not be used.", + "Include full final data only, without partial.", + "Include all data, full and partial." + ], + "type": "string" + }, "dimensionFilterGroups": { "description": "[Optional] Zero or more filters to apply to the dimension grouping values; for example, 'query contains \\\"buy\\\"' to see only data where the query string contains the substring \\\"buy\\\" (not case-sensitive). You can filter by a dimension without grouping by it.", "items": { @@ -654,9 +668,11 @@ "enum": [ "WEB", "IMAGE", - "VIDEO" + "VIDEO", + "NEWS" ], "enumDescriptions": [ + "", "", "", "" diff --git a/searchconsole/v1/searchconsole-gen.go b/searchconsole/v1/searchconsole-gen.go index f1e3c06f50b..f0f70c7846f 100644 --- a/searchconsole/v1/searchconsole-gen.go +++ b/searchconsole/v1/searchconsole-gen.go @@ -588,6 +588,15 @@ type SearchAnalyticsQueryRequest struct { // "BY_PAGE" AggregationType string `json:"aggregationType,omitempty"` + // DataState: The data state to be fetched, can be full or all, the + // latter including full and partial data. + // + // Possible values: + // "DATA_STATE_UNSPECIFIED" - Default value, should not be used. + // "FINAL" - Include full final data only, without partial. + // "ALL" - Include all data, full and partial. + DataState string `json:"dataState,omitempty"` + // DimensionFilterGroups: [Optional] Zero or more filters to apply to // the dimension grouping values; for example, 'query contains \"buy\"' // to see only data where the query string contains the substring @@ -625,6 +634,7 @@ type SearchAnalyticsQueryRequest struct { // "WEB" // "IMAGE" // "VIDEO" + // "NEWS" SearchType string `json:"searchType,omitempty"` // StartDate: [Required] Start date of the requested date range, in @@ -1037,7 +1047,7 @@ func (c *SearchanalyticsQueryCall) Header() http.Header { func (c *SearchanalyticsQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1177,7 +1187,7 @@ func (c *SitemapsDeleteCall) Header() http.Header { func (c *SitemapsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1299,7 +1309,7 @@ func (c *SitemapsGetCall) Header() http.Header { func (c *SitemapsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1461,7 +1471,7 @@ func (c *SitemapsListCall) Header() http.Header { func (c *SitemapsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1601,7 +1611,7 @@ func (c *SitemapsSubmitCall) Header() http.Header { func (c *SitemapsSubmitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1710,7 +1720,7 @@ func (c *SitesAddCall) Header() http.Header { func (c *SitesAddCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1812,7 +1822,7 @@ func (c *SitesDeleteCall) Header() http.Header { func (c *SitesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1924,7 +1934,7 @@ func (c *SitesGetCall) Header() http.Header { func (c *SitesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2066,7 +2076,7 @@ func (c *SitesListCall) Header() http.Header { func (c *SitesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2187,7 +2197,7 @@ func (c *UrlTestingToolsMobileFriendlyTestRunCall) Header() http.Header { func (c *UrlTestingToolsMobileFriendlyTestRunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/secretmanager/v1/secretmanager-gen.go b/secretmanager/v1/secretmanager-gen.go index 77651c5fd3e..d79448f2818 100644 --- a/secretmanager/v1/secretmanager-gen.go +++ b/secretmanager/v1/secretmanager-gen.go @@ -1421,7 +1421,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1587,7 +1587,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1760,7 +1760,7 @@ func (c *ProjectsSecretsAddVersionCall) Header() http.Header { func (c *ProjectsSecretsAddVersionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1910,7 +1910,7 @@ func (c *ProjectsSecretsCreateCall) Header() http.Header { func (c *ProjectsSecretsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2053,7 +2053,7 @@ func (c *ProjectsSecretsDeleteCall) Header() http.Header { func (c *ProjectsSecretsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2194,7 +2194,7 @@ func (c *ProjectsSecretsGetCall) Header() http.Header { func (c *ProjectsSecretsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2354,7 +2354,7 @@ func (c *ProjectsSecretsGetIamPolicyCall) Header() http.Header { func (c *ProjectsSecretsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2520,7 +2520,7 @@ func (c *ProjectsSecretsListCall) Header() http.Header { func (c *ProjectsSecretsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2694,7 +2694,7 @@ func (c *ProjectsSecretsPatchCall) Header() http.Header { func (c *ProjectsSecretsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2842,7 +2842,7 @@ func (c *ProjectsSecretsSetIamPolicyCall) Header() http.Header { func (c *ProjectsSecretsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2987,7 +2987,7 @@ func (c *ProjectsSecretsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsSecretsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3138,7 +3138,7 @@ func (c *ProjectsSecretsVersionsAccessCall) Header() http.Header { func (c *ProjectsSecretsVersionsAccessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3274,7 +3274,7 @@ func (c *ProjectsSecretsVersionsDestroyCall) Header() http.Header { func (c *ProjectsSecretsVersionsDestroyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3415,7 +3415,7 @@ func (c *ProjectsSecretsVersionsDisableCall) Header() http.Header { func (c *ProjectsSecretsVersionsDisableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3556,7 +3556,7 @@ func (c *ProjectsSecretsVersionsEnableCall) Header() http.Header { func (c *ProjectsSecretsVersionsEnableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3707,7 +3707,7 @@ func (c *ProjectsSecretsVersionsGetCall) Header() http.Header { func (c *ProjectsSecretsVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3867,7 +3867,7 @@ func (c *ProjectsSecretsVersionsListCall) Header() http.Header { func (c *ProjectsSecretsVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/secretmanager/v1beta1/secretmanager-gen.go b/secretmanager/v1beta1/secretmanager-gen.go index d543ea786ce..da6656b5072 100644 --- a/secretmanager/v1beta1/secretmanager-gen.go +++ b/secretmanager/v1beta1/secretmanager-gen.go @@ -1173,7 +1173,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1339,7 +1339,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1512,7 +1512,7 @@ func (c *ProjectsSecretsAddVersionCall) Header() http.Header { func (c *ProjectsSecretsAddVersionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1662,7 +1662,7 @@ func (c *ProjectsSecretsCreateCall) Header() http.Header { func (c *ProjectsSecretsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1805,7 +1805,7 @@ func (c *ProjectsSecretsDeleteCall) Header() http.Header { func (c *ProjectsSecretsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1946,7 +1946,7 @@ func (c *ProjectsSecretsGetCall) Header() http.Header { func (c *ProjectsSecretsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2106,7 +2106,7 @@ func (c *ProjectsSecretsGetIamPolicyCall) Header() http.Header { func (c *ProjectsSecretsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2272,7 +2272,7 @@ func (c *ProjectsSecretsListCall) Header() http.Header { func (c *ProjectsSecretsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2446,7 +2446,7 @@ func (c *ProjectsSecretsPatchCall) Header() http.Header { func (c *ProjectsSecretsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2594,7 +2594,7 @@ func (c *ProjectsSecretsSetIamPolicyCall) Header() http.Header { func (c *ProjectsSecretsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2739,7 +2739,7 @@ func (c *ProjectsSecretsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsSecretsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2890,7 +2890,7 @@ func (c *ProjectsSecretsVersionsAccessCall) Header() http.Header { func (c *ProjectsSecretsVersionsAccessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3026,7 +3026,7 @@ func (c *ProjectsSecretsVersionsDestroyCall) Header() http.Header { func (c *ProjectsSecretsVersionsDestroyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3167,7 +3167,7 @@ func (c *ProjectsSecretsVersionsDisableCall) Header() http.Header { func (c *ProjectsSecretsVersionsDisableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3308,7 +3308,7 @@ func (c *ProjectsSecretsVersionsEnableCall) Header() http.Header { func (c *ProjectsSecretsVersionsEnableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3459,7 +3459,7 @@ func (c *ProjectsSecretsVersionsGetCall) Header() http.Header { func (c *ProjectsSecretsVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3619,7 +3619,7 @@ func (c *ProjectsSecretsVersionsListCall) Header() http.Header { func (c *ProjectsSecretsVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/securitycenter/v1/securitycenter-gen.go b/securitycenter/v1/securitycenter-gen.go index 274dcb04ce3..67b324a1aa6 100644 --- a/securitycenter/v1/securitycenter-gen.go +++ b/securitycenter/v1/securitycenter-gen.go @@ -2737,7 +2737,7 @@ func (c *FoldersAssetsGroupCall) Header() http.Header { func (c *FoldersAssetsGroupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3030,7 +3030,7 @@ func (c *FoldersAssetsListCall) Header() http.Header { func (c *FoldersAssetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3243,7 +3243,7 @@ func (c *FoldersAssetsUpdateSecurityMarksCall) Header() http.Header { func (c *FoldersAssetsUpdateSecurityMarksCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3421,7 +3421,7 @@ func (c *FoldersSourcesListCall) Header() http.Header { func (c *FoldersSourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3593,7 +3593,7 @@ func (c *FoldersSourcesFindingsGroupCall) Header() http.Header { func (c *FoldersSourcesFindingsGroupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3873,7 +3873,7 @@ func (c *FoldersSourcesFindingsListCall) Header() http.Header { func (c *FoldersSourcesFindingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4080,7 +4080,7 @@ func (c *FoldersSourcesFindingsPatchCall) Header() http.Header { func (c *FoldersSourcesFindingsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4226,7 +4226,7 @@ func (c *FoldersSourcesFindingsSetStateCall) Header() http.Header { func (c *FoldersSourcesFindingsSetStateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4384,7 +4384,7 @@ func (c *FoldersSourcesFindingsUpdateSecurityMarksCall) Header() http.Header { func (c *FoldersSourcesFindingsUpdateSecurityMarksCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4545,7 +4545,7 @@ func (c *OrganizationsGetOrganizationSettingsCall) Header() http.Header { func (c *OrganizationsGetOrganizationSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4688,7 +4688,7 @@ func (c *OrganizationsUpdateOrganizationSettingsCall) Header() http.Header { func (c *OrganizationsUpdateOrganizationSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4835,7 +4835,7 @@ func (c *OrganizationsAssetsGroupCall) Header() http.Header { func (c *OrganizationsAssetsGroupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5128,7 +5128,7 @@ func (c *OrganizationsAssetsListCall) Header() http.Header { func (c *OrganizationsAssetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5326,7 +5326,7 @@ func (c *OrganizationsAssetsRunDiscoveryCall) Header() http.Header { func (c *OrganizationsAssetsRunDiscoveryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5484,7 +5484,7 @@ func (c *OrganizationsAssetsUpdateSecurityMarksCall) Header() http.Header { func (c *OrganizationsAssetsUpdateSecurityMarksCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5645,7 +5645,7 @@ func (c *OrganizationsNotificationConfigsCreateCall) Header() http.Header { func (c *OrganizationsNotificationConfigsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5788,7 +5788,7 @@ func (c *OrganizationsNotificationConfigsDeleteCall) Header() http.Header { func (c *OrganizationsNotificationConfigsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5929,7 +5929,7 @@ func (c *OrganizationsNotificationConfigsGetCall) Header() http.Header { func (c *OrganizationsNotificationConfigsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6090,7 +6090,7 @@ func (c *OrganizationsNotificationConfigsListCall) Header() http.Header { func (c *OrganizationsNotificationConfigsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6266,7 +6266,7 @@ func (c *OrganizationsNotificationConfigsPatchCall) Header() http.Header { func (c *OrganizationsNotificationConfigsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6419,7 +6419,7 @@ func (c *OrganizationsOperationsCancelCall) Header() http.Header { func (c *OrganizationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6552,7 +6552,7 @@ func (c *OrganizationsOperationsDeleteCall) Header() http.Header { func (c *OrganizationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6695,7 +6695,7 @@ func (c *OrganizationsOperationsGetCall) Header() http.Header { func (c *OrganizationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6869,7 +6869,7 @@ func (c *OrganizationsOperationsListCall) Header() http.Header { func (c *OrganizationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7041,7 +7041,7 @@ func (c *OrganizationsSourcesCreateCall) Header() http.Header { func (c *OrganizationsSourcesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7190,7 +7190,7 @@ func (c *OrganizationsSourcesGetCall) Header() http.Header { func (c *OrganizationsSourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7325,7 +7325,7 @@ func (c *OrganizationsSourcesGetIamPolicyCall) Header() http.Header { func (c *OrganizationsSourcesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7491,7 +7491,7 @@ func (c *OrganizationsSourcesListCall) Header() http.Header { func (c *OrganizationsSourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7666,7 +7666,7 @@ func (c *OrganizationsSourcesPatchCall) Header() http.Header { func (c *OrganizationsSourcesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7812,7 +7812,7 @@ func (c *OrganizationsSourcesSetIamPolicyCall) Header() http.Header { func (c *OrganizationsSourcesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7953,7 +7953,7 @@ func (c *OrganizationsSourcesTestIamPermissionsCall) Header() http.Header { func (c *OrganizationsSourcesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8103,7 +8103,7 @@ func (c *OrganizationsSourcesFindingsCreateCall) Header() http.Header { func (c *OrganizationsSourcesFindingsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8253,7 +8253,7 @@ func (c *OrganizationsSourcesFindingsGroupCall) Header() http.Header { func (c *OrganizationsSourcesFindingsGroupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8533,7 +8533,7 @@ func (c *OrganizationsSourcesFindingsListCall) Header() http.Header { func (c *OrganizationsSourcesFindingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8740,7 +8740,7 @@ func (c *OrganizationsSourcesFindingsPatchCall) Header() http.Header { func (c *OrganizationsSourcesFindingsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8886,7 +8886,7 @@ func (c *OrganizationsSourcesFindingsSetStateCall) Header() http.Header { func (c *OrganizationsSourcesFindingsSetStateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9044,7 +9044,7 @@ func (c *OrganizationsSourcesFindingsUpdateSecurityMarksCall) Header() http.Head func (c *OrganizationsSourcesFindingsUpdateSecurityMarksCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9197,7 +9197,7 @@ func (c *ProjectsAssetsGroupCall) Header() http.Header { func (c *ProjectsAssetsGroupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9490,7 +9490,7 @@ func (c *ProjectsAssetsListCall) Header() http.Header { func (c *ProjectsAssetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9703,7 +9703,7 @@ func (c *ProjectsAssetsUpdateSecurityMarksCall) Header() http.Header { func (c *ProjectsAssetsUpdateSecurityMarksCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9881,7 +9881,7 @@ func (c *ProjectsSourcesListCall) Header() http.Header { func (c *ProjectsSourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10053,7 +10053,7 @@ func (c *ProjectsSourcesFindingsGroupCall) Header() http.Header { func (c *ProjectsSourcesFindingsGroupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10333,7 +10333,7 @@ func (c *ProjectsSourcesFindingsListCall) Header() http.Header { func (c *ProjectsSourcesFindingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10540,7 +10540,7 @@ func (c *ProjectsSourcesFindingsPatchCall) Header() http.Header { func (c *ProjectsSourcesFindingsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10686,7 +10686,7 @@ func (c *ProjectsSourcesFindingsSetStateCall) Header() http.Header { func (c *ProjectsSourcesFindingsSetStateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10844,7 +10844,7 @@ func (c *ProjectsSourcesFindingsUpdateSecurityMarksCall) Header() http.Header { func (c *ProjectsSourcesFindingsUpdateSecurityMarksCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/securitycenter/v1beta1/securitycenter-gen.go b/securitycenter/v1beta1/securitycenter-gen.go index aa94e703651..aa95a94ba9b 100644 --- a/securitycenter/v1beta1/securitycenter-gen.go +++ b/securitycenter/v1beta1/securitycenter-gen.go @@ -2418,7 +2418,7 @@ func (c *OrganizationsGetOrganizationSettingsCall) Header() http.Header { func (c *OrganizationsGetOrganizationSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2560,7 +2560,7 @@ func (c *OrganizationsUpdateOrganizationSettingsCall) Header() http.Header { func (c *OrganizationsUpdateOrganizationSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2707,7 +2707,7 @@ func (c *OrganizationsAssetsGroupCall) Header() http.Header { func (c *OrganizationsAssetsGroupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2970,7 +2970,7 @@ func (c *OrganizationsAssetsListCall) Header() http.Header { func (c *OrganizationsAssetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3168,7 +3168,7 @@ func (c *OrganizationsAssetsRunDiscoveryCall) Header() http.Header { func (c *OrganizationsAssetsRunDiscoveryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3322,7 +3322,7 @@ func (c *OrganizationsAssetsUpdateSecurityMarksCall) Header() http.Header { func (c *OrganizationsAssetsUpdateSecurityMarksCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3485,7 +3485,7 @@ func (c *OrganizationsOperationsCancelCall) Header() http.Header { func (c *OrganizationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3626,7 +3626,7 @@ func (c *OrganizationsOperationsDeleteCall) Header() http.Header { func (c *OrganizationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3769,7 +3769,7 @@ func (c *OrganizationsOperationsGetCall) Header() http.Header { func (c *OrganizationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3943,7 +3943,7 @@ func (c *OrganizationsOperationsListCall) Header() http.Header { func (c *OrganizationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4115,7 +4115,7 @@ func (c *OrganizationsSourcesCreateCall) Header() http.Header { func (c *OrganizationsSourcesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4264,7 +4264,7 @@ func (c *OrganizationsSourcesGetCall) Header() http.Header { func (c *OrganizationsSourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4399,7 +4399,7 @@ func (c *OrganizationsSourcesGetIamPolicyCall) Header() http.Header { func (c *OrganizationsSourcesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4565,7 +4565,7 @@ func (c *OrganizationsSourcesListCall) Header() http.Header { func (c *OrganizationsSourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4739,7 +4739,7 @@ func (c *OrganizationsSourcesPatchCall) Header() http.Header { func (c *OrganizationsSourcesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4885,7 +4885,7 @@ func (c *OrganizationsSourcesSetIamPolicyCall) Header() http.Header { func (c *OrganizationsSourcesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5026,7 +5026,7 @@ func (c *OrganizationsSourcesTestIamPermissionsCall) Header() http.Header { func (c *OrganizationsSourcesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5176,7 +5176,7 @@ func (c *OrganizationsSourcesFindingsCreateCall) Header() http.Header { func (c *OrganizationsSourcesFindingsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5325,7 +5325,7 @@ func (c *OrganizationsSourcesFindingsGroupCall) Header() http.Header { func (c *OrganizationsSourcesFindingsGroupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5564,7 +5564,7 @@ func (c *OrganizationsSourcesFindingsListCall) Header() http.Header { func (c *OrganizationsSourcesFindingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5762,7 +5762,7 @@ func (c *OrganizationsSourcesFindingsPatchCall) Header() http.Header { func (c *OrganizationsSourcesFindingsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5909,7 +5909,7 @@ func (c *OrganizationsSourcesFindingsSetStateCall) Header() http.Header { func (c *OrganizationsSourcesFindingsSetStateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6064,7 +6064,7 @@ func (c *OrganizationsSourcesFindingsUpdateSecurityMarksCall) Header() http.Head func (c *OrganizationsSourcesFindingsUpdateSecurityMarksCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/securitycenter/v1beta2/securitycenter-gen.go b/securitycenter/v1beta2/securitycenter-gen.go index 056db7416a8..c55450cb605 100644 --- a/securitycenter/v1beta2/securitycenter-gen.go +++ b/securitycenter/v1beta2/securitycenter-gen.go @@ -1463,7 +1463,7 @@ func (c *FoldersGetContainerThreatDetectionSettingsCall) Header() http.Header { func (c *FoldersGetContainerThreatDetectionSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1608,7 +1608,7 @@ func (c *FoldersGetEventThreatDetectionSettingsCall) Header() http.Header { func (c *FoldersGetEventThreatDetectionSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1753,7 +1753,7 @@ func (c *FoldersGetSecurityHealthAnalyticsSettingsCall) Header() http.Header { func (c *FoldersGetSecurityHealthAnalyticsSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1898,7 +1898,7 @@ func (c *FoldersGetWebSecurityScannerSettingsCall) Header() http.Header { func (c *FoldersGetWebSecurityScannerSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2041,7 +2041,7 @@ func (c *FoldersUpdateContainerThreatDetectionSettingsCall) Header() http.Header func (c *FoldersUpdateContainerThreatDetectionSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2195,7 +2195,7 @@ func (c *FoldersUpdateEventThreatDetectionSettingsCall) Header() http.Header { func (c *FoldersUpdateEventThreatDetectionSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2349,7 +2349,7 @@ func (c *FoldersUpdateSecurityHealthAnalyticsSettingsCall) Header() http.Header func (c *FoldersUpdateSecurityHealthAnalyticsSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2503,7 +2503,7 @@ func (c *FoldersUpdateWebSecurityScannerSettingsCall) Header() http.Header { func (c *FoldersUpdateWebSecurityScannerSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2659,7 +2659,7 @@ func (c *FoldersContainerThreatDetectionSettingsCalculateCall) Header() http.Hea func (c *FoldersContainerThreatDetectionSettingsCalculateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2804,7 +2804,7 @@ func (c *FoldersEventThreatDetectionSettingsCalculateCall) Header() http.Header func (c *FoldersEventThreatDetectionSettingsCalculateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2949,7 +2949,7 @@ func (c *FoldersSecurityHealthAnalyticsSettingsCalculateCall) Header() http.Head func (c *FoldersSecurityHealthAnalyticsSettingsCalculateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3094,7 +3094,7 @@ func (c *FoldersWebSecurityScannerSettingsCalculateCall) Header() http.Header { func (c *FoldersWebSecurityScannerSettingsCalculateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3239,7 +3239,7 @@ func (c *OrganizationsGetContainerThreatDetectionSettingsCall) Header() http.Hea func (c *OrganizationsGetContainerThreatDetectionSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3384,7 +3384,7 @@ func (c *OrganizationsGetEventThreatDetectionSettingsCall) Header() http.Header func (c *OrganizationsGetEventThreatDetectionSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3528,7 +3528,7 @@ func (c *OrganizationsGetSecurityCenterSettingsCall) Header() http.Header { func (c *OrganizationsGetSecurityCenterSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3673,7 +3673,7 @@ func (c *OrganizationsGetSecurityHealthAnalyticsSettingsCall) Header() http.Head func (c *OrganizationsGetSecurityHealthAnalyticsSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3817,7 +3817,7 @@ func (c *OrganizationsGetSubscriptionCall) Header() http.Header { func (c *OrganizationsGetSubscriptionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3962,7 +3962,7 @@ func (c *OrganizationsGetWebSecurityScannerSettingsCall) Header() http.Header { func (c *OrganizationsGetWebSecurityScannerSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4105,7 +4105,7 @@ func (c *OrganizationsUpdateContainerThreatDetectionSettingsCall) Header() http. func (c *OrganizationsUpdateContainerThreatDetectionSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4259,7 +4259,7 @@ func (c *OrganizationsUpdateEventThreatDetectionSettingsCall) Header() http.Head func (c *OrganizationsUpdateEventThreatDetectionSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4413,7 +4413,7 @@ func (c *OrganizationsUpdateSecurityHealthAnalyticsSettingsCall) Header() http.H func (c *OrganizationsUpdateSecurityHealthAnalyticsSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4567,7 +4567,7 @@ func (c *OrganizationsUpdateWebSecurityScannerSettingsCall) Header() http.Header func (c *OrganizationsUpdateWebSecurityScannerSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4723,7 +4723,7 @@ func (c *OrganizationsContainerThreatDetectionSettingsCalculateCall) Header() ht func (c *OrganizationsContainerThreatDetectionSettingsCalculateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4868,7 +4868,7 @@ func (c *OrganizationsEventThreatDetectionSettingsCalculateCall) Header() http.H func (c *OrganizationsEventThreatDetectionSettingsCalculateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5013,7 +5013,7 @@ func (c *OrganizationsSecurityHealthAnalyticsSettingsCalculateCall) Header() htt func (c *OrganizationsSecurityHealthAnalyticsSettingsCalculateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5158,7 +5158,7 @@ func (c *OrganizationsWebSecurityScannerSettingsCalculateCall) Header() http.Hea func (c *OrganizationsWebSecurityScannerSettingsCalculateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5303,7 +5303,7 @@ func (c *ProjectsGetContainerThreatDetectionSettingsCall) Header() http.Header { func (c *ProjectsGetContainerThreatDetectionSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5448,7 +5448,7 @@ func (c *ProjectsGetEventThreatDetectionSettingsCall) Header() http.Header { func (c *ProjectsGetEventThreatDetectionSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5593,7 +5593,7 @@ func (c *ProjectsGetSecurityHealthAnalyticsSettingsCall) Header() http.Header { func (c *ProjectsGetSecurityHealthAnalyticsSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5738,7 +5738,7 @@ func (c *ProjectsGetWebSecurityScannerSettingsCall) Header() http.Header { func (c *ProjectsGetWebSecurityScannerSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5881,7 +5881,7 @@ func (c *ProjectsUpdateContainerThreatDetectionSettingsCall) Header() http.Heade func (c *ProjectsUpdateContainerThreatDetectionSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6035,7 +6035,7 @@ func (c *ProjectsUpdateEventThreatDetectionSettingsCall) Header() http.Header { func (c *ProjectsUpdateEventThreatDetectionSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6189,7 +6189,7 @@ func (c *ProjectsUpdateSecurityHealthAnalyticsSettingsCall) Header() http.Header func (c *ProjectsUpdateSecurityHealthAnalyticsSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6343,7 +6343,7 @@ func (c *ProjectsUpdateWebSecurityScannerSettingsCall) Header() http.Header { func (c *ProjectsUpdateWebSecurityScannerSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6499,7 +6499,7 @@ func (c *ProjectsContainerThreatDetectionSettingsCalculateCall) Header() http.He func (c *ProjectsContainerThreatDetectionSettingsCalculateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6644,7 +6644,7 @@ func (c *ProjectsEventThreatDetectionSettingsCalculateCall) Header() http.Header func (c *ProjectsEventThreatDetectionSettingsCalculateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6789,7 +6789,7 @@ func (c *ProjectsLocationsClustersGetContainerThreatDetectionSettingsCall) Heade func (c *ProjectsLocationsClustersGetContainerThreatDetectionSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6932,7 +6932,7 @@ func (c *ProjectsLocationsClustersUpdateContainerThreatDetectionSettingsCall) He func (c *ProjectsLocationsClustersUpdateContainerThreatDetectionSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7088,7 +7088,7 @@ func (c *ProjectsLocationsClustersContainerThreatDetectionSettingsCalculateCall) func (c *ProjectsLocationsClustersContainerThreatDetectionSettingsCalculateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7233,7 +7233,7 @@ func (c *ProjectsSecurityHealthAnalyticsSettingsCalculateCall) Header() http.Hea func (c *ProjectsSecurityHealthAnalyticsSettingsCalculateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7378,7 +7378,7 @@ func (c *ProjectsWebSecurityScannerSettingsCalculateCall) Header() http.Header { func (c *ProjectsWebSecurityScannerSettingsCalculateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/serviceconsumermanagement/v1/serviceconsumermanagement-api.json b/serviceconsumermanagement/v1/serviceconsumermanagement-api.json index 38015161ca3..aa535cebc29 100644 --- a/serviceconsumermanagement/v1/serviceconsumermanagement-api.json +++ b/serviceconsumermanagement/v1/serviceconsumermanagement-api.json @@ -542,7 +542,7 @@ } } }, - "revision": "20201104", + "revision": "20201208", "rootUrl": "https://serviceconsumermanagement.googleapis.com/", "schemas": { "AddTenantProjectRequest": { @@ -1060,7 +1060,7 @@ "type": "object" }, "Endpoint": { - "description": "`Endpoint` describes a network endpoint that serves a set of APIs. A service may expose any number of endpoints, and all endpoints share the same service configuration, such as quota configuration and monitoring configuration. Example service configuration: name: library-example.googleapis.com endpoints: # Below entry makes 'google.example.library.v1.Library' # API be served from endpoint address library-example.googleapis.com. # It also allows HTTP OPTIONS calls to be passed to the backend, for # it to decide whether the subsequent cross-origin request is # allowed to proceed. - name: library-example.googleapis.com allow_cors: true", + "description": "`Endpoint` describes a network endpoint of a service that serves a set of APIs. It is commonly known as a service endpoint. A service may expose any number of service endpoints, and all service endpoints share the same service definition, such as quota limits and monitoring metrics. Example service configuration: name: library-example.googleapis.com endpoints: # Below entry makes 'google.example.library.v1.Library' # API be served from endpoint address library-example.googleapis.com. # It also allows HTTP OPTIONS calls to be passed to the backend, for # it to decide whether the subsequent cross-origin request is # allowed to proceed. - name: library-example.googleapis.com allow_cors: true", "id": "Endpoint", "properties": { "aliases": { @@ -2026,7 +2026,7 @@ "description": "Billing configuration." }, "configVersion": { - "description": "This field is obsolete. Its value must be set to `3`.", + "description": "Deprecated. The service config compiler always sets this field to `3`.", "format": "uint32", "type": "integer" }, diff --git a/serviceconsumermanagement/v1/serviceconsumermanagement-gen.go b/serviceconsumermanagement/v1/serviceconsumermanagement-gen.go index 9940109f450..caeb1c53948 100644 --- a/serviceconsumermanagement/v1/serviceconsumermanagement-gen.go +++ b/serviceconsumermanagement/v1/serviceconsumermanagement-gen.go @@ -1265,16 +1265,17 @@ type Empty struct { googleapi.ServerResponse `json:"-"` } -// Endpoint: `Endpoint` describes a network endpoint that serves a set -// of APIs. A service may expose any number of endpoints, and all -// endpoints share the same service configuration, such as quota -// configuration and monitoring configuration. Example service -// configuration: name: library-example.googleapis.com endpoints: # -// Below entry makes 'google.example.library.v1.Library' # API be served -// from endpoint address library-example.googleapis.com. # It also -// allows HTTP OPTIONS calls to be passed to the backend, for # it to -// decide whether the subsequent cross-origin request is # allowed to -// proceed. - name: library-example.googleapis.com allow_cors: true +// Endpoint: `Endpoint` describes a network endpoint of a service that +// serves a set of APIs. It is commonly known as a service endpoint. A +// service may expose any number of service endpoints, and all service +// endpoints share the same service definition, such as quota limits and +// monitoring metrics. Example service configuration: name: +// library-example.googleapis.com endpoints: # Below entry makes +// 'google.example.library.v1.Library' # API be served from endpoint +// address library-example.googleapis.com. # It also allows HTTP OPTIONS +// calls to be passed to the backend, for # it to decide whether the +// subsequent cross-origin request is # allowed to proceed. - name: +// library-example.googleapis.com allow_cors: true type Endpoint struct { // Aliases: DEPRECATED: This field is no longer supported. Instead of // using aliases, please specify multiple google.api.Endpoint for each @@ -3132,7 +3133,8 @@ type Service struct { // Billing: Billing configuration. Billing *Billing `json:"billing,omitempty"` - // ConfigVersion: This field is obsolete. Its value must be set to `3`. + // ConfigVersion: Deprecated. The service config compiler always sets + // this field to `3`. ConfigVersion int64 `json:"configVersion,omitempty"` // Context: Context configuration. @@ -4499,7 +4501,7 @@ func (c *OperationsCancelCall) Header() http.Header { func (c *OperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4640,7 +4642,7 @@ func (c *OperationsDeleteCall) Header() http.Header { func (c *OperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4783,7 +4785,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4957,7 +4959,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5174,7 +5176,7 @@ func (c *ServicesSearchCall) Header() http.Header { func (c *ServicesSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5350,7 +5352,7 @@ func (c *ServicesTenancyUnitsAddProjectCall) Header() http.Header { func (c *ServicesTenancyUnitsAddProjectCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5505,7 +5507,7 @@ func (c *ServicesTenancyUnitsApplyProjectConfigCall) Header() http.Header { func (c *ServicesTenancyUnitsApplyProjectConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5654,7 +5656,7 @@ func (c *ServicesTenancyUnitsAttachProjectCall) Header() http.Header { func (c *ServicesTenancyUnitsAttachProjectCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5798,7 +5800,7 @@ func (c *ServicesTenancyUnitsCreateCall) Header() http.Header { func (c *ServicesTenancyUnitsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5938,7 +5940,7 @@ func (c *ServicesTenancyUnitsDeleteCall) Header() http.Header { func (c *ServicesTenancyUnitsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6078,7 +6080,7 @@ func (c *ServicesTenancyUnitsDeleteProjectCall) Header() http.Header { func (c *ServicesTenancyUnitsDeleteProjectCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6254,7 +6256,7 @@ func (c *ServicesTenancyUnitsListCall) Header() http.Header { func (c *ServicesTenancyUnitsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6433,7 +6435,7 @@ func (c *ServicesTenancyUnitsRemoveProjectCall) Header() http.Header { func (c *ServicesTenancyUnitsRemoveProjectCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6578,7 +6580,7 @@ func (c *ServicesTenancyUnitsUndeleteProjectCall) Header() http.Header { func (c *ServicesTenancyUnitsUndeleteProjectCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/serviceconsumermanagement/v1beta1/serviceconsumermanagement-api.json b/serviceconsumermanagement/v1beta1/serviceconsumermanagement-api.json index 8c12604177c..131c056fac0 100644 --- a/serviceconsumermanagement/v1beta1/serviceconsumermanagement-api.json +++ b/serviceconsumermanagement/v1beta1/serviceconsumermanagement-api.json @@ -452,7 +452,7 @@ } } }, - "revision": "20201104", + "revision": "20201208", "rootUrl": "https://serviceconsumermanagement.googleapis.com/", "schemas": { "Api": { @@ -882,7 +882,7 @@ "type": "object" }, "Endpoint": { - "description": "`Endpoint` describes a network endpoint that serves a set of APIs. A service may expose any number of endpoints, and all endpoints share the same service configuration, such as quota configuration and monitoring configuration. Example service configuration: name: library-example.googleapis.com endpoints: # Below entry makes 'google.example.library.v1.Library' # API be served from endpoint address library-example.googleapis.com. # It also allows HTTP OPTIONS calls to be passed to the backend, for # it to decide whether the subsequent cross-origin request is # allowed to proceed. - name: library-example.googleapis.com allow_cors: true", + "description": "`Endpoint` describes a network endpoint of a service that serves a set of APIs. It is commonly known as a service endpoint. A service may expose any number of service endpoints, and all service endpoints share the same service definition, such as quota limits and monitoring metrics. Example service configuration: name: library-example.googleapis.com endpoints: # Below entry makes 'google.example.library.v1.Library' # API be served from endpoint address library-example.googleapis.com. # It also allows HTTP OPTIONS calls to be passed to the backend, for # it to decide whether the subsequent cross-origin request is # allowed to proceed. - name: library-example.googleapis.com allow_cors: true", "id": "Endpoint", "properties": { "aliases": { @@ -1765,7 +1765,7 @@ "description": "Billing configuration." }, "configVersion": { - "description": "This field is obsolete. Its value must be set to `3`.", + "description": "Deprecated. The service config compiler always sets this field to `3`.", "format": "uint32", "type": "integer" }, diff --git a/serviceconsumermanagement/v1beta1/serviceconsumermanagement-gen.go b/serviceconsumermanagement/v1beta1/serviceconsumermanagement-gen.go index 17584fef615..c334a3ea8e2 100644 --- a/serviceconsumermanagement/v1beta1/serviceconsumermanagement-gen.go +++ b/serviceconsumermanagement/v1beta1/serviceconsumermanagement-gen.go @@ -1076,16 +1076,17 @@ func (s *DocumentationRule) MarshalJSON() ([]byte, error) { type Empty struct { } -// Endpoint: `Endpoint` describes a network endpoint that serves a set -// of APIs. A service may expose any number of endpoints, and all -// endpoints share the same service configuration, such as quota -// configuration and monitoring configuration. Example service -// configuration: name: library-example.googleapis.com endpoints: # -// Below entry makes 'google.example.library.v1.Library' # API be served -// from endpoint address library-example.googleapis.com. # It also -// allows HTTP OPTIONS calls to be passed to the backend, for # it to -// decide whether the subsequent cross-origin request is # allowed to -// proceed. - name: library-example.googleapis.com allow_cors: true +// Endpoint: `Endpoint` describes a network endpoint of a service that +// serves a set of APIs. It is commonly known as a service endpoint. A +// service may expose any number of service endpoints, and all service +// endpoints share the same service definition, such as quota limits and +// monitoring metrics. Example service configuration: name: +// library-example.googleapis.com endpoints: # Below entry makes +// 'google.example.library.v1.Library' # API be served from endpoint +// address library-example.googleapis.com. # It also allows HTTP OPTIONS +// calls to be passed to the backend, for # it to decide whether the +// subsequent cross-origin request is # allowed to proceed. - name: +// library-example.googleapis.com allow_cors: true type Endpoint struct { // Aliases: DEPRECATED: This field is no longer supported. Instead of // using aliases, please specify multiple google.api.Endpoint for each @@ -2772,7 +2773,8 @@ type Service struct { // Billing: Billing configuration. Billing *Billing `json:"billing,omitempty"` - // ConfigVersion: This field is obsolete. Its value must be set to `3`. + // ConfigVersion: Deprecated. The service config compiler always sets + // this field to `3`. ConfigVersion int64 `json:"configVersion,omitempty"` // Context: Context configuration. @@ -4195,7 +4197,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4358,7 +4360,7 @@ func (c *ServicesConsumerQuotaMetricsGetCall) Header() http.Header { func (c *ServicesConsumerQuotaMetricsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4511,7 +4513,7 @@ func (c *ServicesConsumerQuotaMetricsImportProducerOverridesCall) Header() http. func (c *ServicesConsumerQuotaMetricsImportProducerOverridesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4697,7 +4699,7 @@ func (c *ServicesConsumerQuotaMetricsListCall) Header() http.Header { func (c *ServicesConsumerQuotaMetricsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4908,7 +4910,7 @@ func (c *ServicesConsumerQuotaMetricsLimitsGetCall) Header() http.Header { func (c *ServicesConsumerQuotaMetricsLimitsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5076,7 +5078,7 @@ func (c *ServicesConsumerQuotaMetricsLimitsProducerOverridesCreateCall) Header() func (c *ServicesConsumerQuotaMetricsLimitsProducerOverridesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5230,7 +5232,7 @@ func (c *ServicesConsumerQuotaMetricsLimitsProducerOverridesDeleteCall) Header() func (c *ServicesConsumerQuotaMetricsLimitsProducerOverridesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5390,7 +5392,7 @@ func (c *ServicesConsumerQuotaMetricsLimitsProducerOverridesListCall) Header() h func (c *ServicesConsumerQuotaMetricsLimitsProducerOverridesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5576,7 +5578,7 @@ func (c *ServicesConsumerQuotaMetricsLimitsProducerOverridesPatchCall) Header() func (c *ServicesConsumerQuotaMetricsLimitsProducerOverridesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/servicecontrol/v1/servicecontrol-gen.go b/servicecontrol/v1/servicecontrol-gen.go index d91e56739b0..f1c744bdb2a 100644 --- a/servicecontrol/v1/servicecontrol-gen.go +++ b/servicecontrol/v1/servicecontrol-gen.go @@ -2947,7 +2947,7 @@ func (c *ServicesAllocateQuotaCall) Header() http.Header { func (c *ServicesAllocateQuotaCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3099,7 +3099,7 @@ func (c *ServicesCheckCall) Header() http.Header { func (c *ServicesCheckCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3249,7 +3249,7 @@ func (c *ServicesReportCall) Header() http.Header { func (c *ServicesReportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/servicecontrol/v2/servicecontrol-gen.go b/servicecontrol/v2/servicecontrol-gen.go index 69ed2b49774..d2904c17e08 100644 --- a/servicecontrol/v2/servicecontrol-gen.go +++ b/servicecontrol/v2/servicecontrol-gen.go @@ -1319,7 +1319,7 @@ func (c *ServicesCheckCall) Header() http.Header { func (c *ServicesCheckCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1473,7 +1473,7 @@ func (c *ServicesReportCall) Header() http.Header { func (c *ServicesReportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/servicedirectory/v1/servicedirectory-gen.go b/servicedirectory/v1/servicedirectory-gen.go index 7b5047d7102..b772c2de041 100644 --- a/servicedirectory/v1/servicedirectory-gen.go +++ b/servicedirectory/v1/servicedirectory-gen.go @@ -1098,7 +1098,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1264,7 +1264,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1448,7 +1448,7 @@ func (c *ProjectsLocationsNamespacesCreateCall) Header() http.Header { func (c *ProjectsLocationsNamespacesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1592,7 +1592,7 @@ func (c *ProjectsLocationsNamespacesDeleteCall) Header() http.Header { func (c *ProjectsLocationsNamespacesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1733,7 +1733,7 @@ func (c *ProjectsLocationsNamespacesGetCall) Header() http.Header { func (c *ProjectsLocationsNamespacesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1869,7 +1869,7 @@ func (c *ProjectsLocationsNamespacesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsNamespacesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2063,7 +2063,7 @@ func (c *ProjectsLocationsNamespacesListCall) Header() http.Header { func (c *ProjectsLocationsNamespacesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2247,7 +2247,7 @@ func (c *ProjectsLocationsNamespacesPatchCall) Header() http.Header { func (c *ProjectsLocationsNamespacesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2394,7 +2394,7 @@ func (c *ProjectsLocationsNamespacesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsNamespacesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2535,7 +2535,7 @@ func (c *ProjectsLocationsNamespacesTestIamPermissionsCall) Header() http.Header func (c *ProjectsLocationsNamespacesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2687,7 +2687,7 @@ func (c *ProjectsLocationsNamespacesServicesCreateCall) Header() http.Header { func (c *ProjectsLocationsNamespacesServicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2831,7 +2831,7 @@ func (c *ProjectsLocationsNamespacesServicesDeleteCall) Header() http.Header { func (c *ProjectsLocationsNamespacesServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2972,7 +2972,7 @@ func (c *ProjectsLocationsNamespacesServicesGetCall) Header() http.Header { func (c *ProjectsLocationsNamespacesServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3108,7 +3108,7 @@ func (c *ProjectsLocationsNamespacesServicesGetIamPolicyCall) Header() http.Head func (c *ProjectsLocationsNamespacesServicesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3301,7 +3301,7 @@ func (c *ProjectsLocationsNamespacesServicesListCall) Header() http.Header { func (c *ProjectsLocationsNamespacesServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3485,7 +3485,7 @@ func (c *ProjectsLocationsNamespacesServicesPatchCall) Header() http.Header { func (c *ProjectsLocationsNamespacesServicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3632,7 +3632,7 @@ func (c *ProjectsLocationsNamespacesServicesResolveCall) Header() http.Header { func (c *ProjectsLocationsNamespacesServicesResolveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3773,7 +3773,7 @@ func (c *ProjectsLocationsNamespacesServicesSetIamPolicyCall) Header() http.Head func (c *ProjectsLocationsNamespacesServicesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3914,7 +3914,7 @@ func (c *ProjectsLocationsNamespacesServicesTestIamPermissionsCall) Header() htt func (c *ProjectsLocationsNamespacesServicesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4066,7 +4066,7 @@ func (c *ProjectsLocationsNamespacesServicesEndpointsCreateCall) Header() http.H func (c *ProjectsLocationsNamespacesServicesEndpointsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4209,7 +4209,7 @@ func (c *ProjectsLocationsNamespacesServicesEndpointsDeleteCall) Header() http.H func (c *ProjectsLocationsNamespacesServicesEndpointsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4350,7 +4350,7 @@ func (c *ProjectsLocationsNamespacesServicesEndpointsGetCall) Header() http.Head func (c *ProjectsLocationsNamespacesServicesEndpointsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4540,7 +4540,7 @@ func (c *ProjectsLocationsNamespacesServicesEndpointsListCall) Header() http.Hea func (c *ProjectsLocationsNamespacesServicesEndpointsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4724,7 +4724,7 @@ func (c *ProjectsLocationsNamespacesServicesEndpointsPatchCall) Header() http.He func (c *ProjectsLocationsNamespacesServicesEndpointsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/servicedirectory/v1beta1/servicedirectory-gen.go b/servicedirectory/v1beta1/servicedirectory-gen.go index cb09912d1fc..33b79aba980 100644 --- a/servicedirectory/v1beta1/servicedirectory-gen.go +++ b/servicedirectory/v1beta1/servicedirectory-gen.go @@ -1092,7 +1092,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1258,7 +1258,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1442,7 +1442,7 @@ func (c *ProjectsLocationsNamespacesCreateCall) Header() http.Header { func (c *ProjectsLocationsNamespacesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1586,7 +1586,7 @@ func (c *ProjectsLocationsNamespacesDeleteCall) Header() http.Header { func (c *ProjectsLocationsNamespacesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1727,7 +1727,7 @@ func (c *ProjectsLocationsNamespacesGetCall) Header() http.Header { func (c *ProjectsLocationsNamespacesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1863,7 +1863,7 @@ func (c *ProjectsLocationsNamespacesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsNamespacesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2057,7 +2057,7 @@ func (c *ProjectsLocationsNamespacesListCall) Header() http.Header { func (c *ProjectsLocationsNamespacesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2241,7 +2241,7 @@ func (c *ProjectsLocationsNamespacesPatchCall) Header() http.Header { func (c *ProjectsLocationsNamespacesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2388,7 +2388,7 @@ func (c *ProjectsLocationsNamespacesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsNamespacesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2529,7 +2529,7 @@ func (c *ProjectsLocationsNamespacesTestIamPermissionsCall) Header() http.Header func (c *ProjectsLocationsNamespacesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2681,7 +2681,7 @@ func (c *ProjectsLocationsNamespacesServicesCreateCall) Header() http.Header { func (c *ProjectsLocationsNamespacesServicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2825,7 +2825,7 @@ func (c *ProjectsLocationsNamespacesServicesDeleteCall) Header() http.Header { func (c *ProjectsLocationsNamespacesServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2966,7 +2966,7 @@ func (c *ProjectsLocationsNamespacesServicesGetCall) Header() http.Header { func (c *ProjectsLocationsNamespacesServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3102,7 +3102,7 @@ func (c *ProjectsLocationsNamespacesServicesGetIamPolicyCall) Header() http.Head func (c *ProjectsLocationsNamespacesServicesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3295,7 +3295,7 @@ func (c *ProjectsLocationsNamespacesServicesListCall) Header() http.Header { func (c *ProjectsLocationsNamespacesServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3479,7 +3479,7 @@ func (c *ProjectsLocationsNamespacesServicesPatchCall) Header() http.Header { func (c *ProjectsLocationsNamespacesServicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3626,7 +3626,7 @@ func (c *ProjectsLocationsNamespacesServicesResolveCall) Header() http.Header { func (c *ProjectsLocationsNamespacesServicesResolveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3767,7 +3767,7 @@ func (c *ProjectsLocationsNamespacesServicesSetIamPolicyCall) Header() http.Head func (c *ProjectsLocationsNamespacesServicesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3908,7 +3908,7 @@ func (c *ProjectsLocationsNamespacesServicesTestIamPermissionsCall) Header() htt func (c *ProjectsLocationsNamespacesServicesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4060,7 +4060,7 @@ func (c *ProjectsLocationsNamespacesServicesEndpointsCreateCall) Header() http.H func (c *ProjectsLocationsNamespacesServicesEndpointsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4203,7 +4203,7 @@ func (c *ProjectsLocationsNamespacesServicesEndpointsDeleteCall) Header() http.H func (c *ProjectsLocationsNamespacesServicesEndpointsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4344,7 +4344,7 @@ func (c *ProjectsLocationsNamespacesServicesEndpointsGetCall) Header() http.Head func (c *ProjectsLocationsNamespacesServicesEndpointsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4534,7 +4534,7 @@ func (c *ProjectsLocationsNamespacesServicesEndpointsListCall) Header() http.Hea func (c *ProjectsLocationsNamespacesServicesEndpointsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4718,7 +4718,7 @@ func (c *ProjectsLocationsNamespacesServicesEndpointsPatchCall) Header() http.He func (c *ProjectsLocationsNamespacesServicesEndpointsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/servicemanagement/v1/servicemanagement-gen.go b/servicemanagement/v1/servicemanagement-gen.go index e2265fd6edd..974f03366f5 100644 --- a/servicemanagement/v1/servicemanagement-gen.go +++ b/servicemanagement/v1/servicemanagement-gen.go @@ -4800,7 +4800,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4984,7 +4984,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5153,7 +5153,7 @@ func (c *ServicesCreateCall) Header() http.Header { func (c *ServicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5282,7 +5282,7 @@ func (c *ServicesDeleteCall) Header() http.Header { func (c *ServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5417,7 +5417,7 @@ func (c *ServicesEnableCall) Header() http.Header { func (c *ServicesEnableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5564,7 +5564,7 @@ func (c *ServicesGenerateConfigReportCall) Header() http.Header { func (c *ServicesGenerateConfigReportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5702,7 +5702,7 @@ func (c *ServicesGetCall) Header() http.Header { func (c *ServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5871,7 +5871,7 @@ func (c *ServicesGetConfigCall) Header() http.Header { func (c *ServicesGetConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6028,7 +6028,7 @@ func (c *ServicesGetIamPolicyCall) Header() http.Header { func (c *ServicesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6213,7 +6213,7 @@ func (c *ServicesListCall) Header() http.Header { func (c *ServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6383,7 +6383,7 @@ func (c *ServicesSetIamPolicyCall) Header() http.Header { func (c *ServicesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6529,7 +6529,7 @@ func (c *ServicesTestIamPermissionsCall) Header() http.Header { func (c *ServicesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6673,7 +6673,7 @@ func (c *ServicesUndeleteCall) Header() http.Header { func (c *ServicesUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6810,7 +6810,7 @@ func (c *ServicesConfigsCreateCall) Header() http.Header { func (c *ServicesConfigsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6975,7 +6975,7 @@ func (c *ServicesConfigsGetCall) Header() http.Header { func (c *ServicesConfigsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7158,7 +7158,7 @@ func (c *ServicesConfigsListCall) Header() http.Header { func (c *ServicesConfigsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7334,7 +7334,7 @@ func (c *ServicesConfigsSubmitCall) Header() http.Header { func (c *ServicesConfigsSubmitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7476,7 +7476,7 @@ func (c *ServicesConsumersGetIamPolicyCall) Header() http.Header { func (c *ServicesConsumersGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7621,7 +7621,7 @@ func (c *ServicesConsumersSetIamPolicyCall) Header() http.Header { func (c *ServicesConsumersSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7767,7 +7767,7 @@ func (c *ServicesConsumersTestIamPermissionsCall) Header() http.Header { func (c *ServicesConsumersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7919,7 +7919,7 @@ func (c *ServicesRolloutsCreateCall) Header() http.Header { func (c *ServicesRolloutsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8070,7 +8070,7 @@ func (c *ServicesRolloutsGetCall) Header() http.Header { func (c *ServicesRolloutsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8252,7 +8252,7 @@ func (c *ServicesRolloutsListCall) Header() http.Header { func (c *ServicesRolloutsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/servicenetworking/v1/servicenetworking-api.json b/servicenetworking/v1/servicenetworking-api.json index 3f7bc6b34b0..90e69df7c62 100644 --- a/servicenetworking/v1/servicenetworking-api.json +++ b/servicenetworking/v1/servicenetworking-api.json @@ -831,7 +831,7 @@ } } }, - "revision": "20201207", + "revision": "20201208", "rootUrl": "https://servicenetworking.googleapis.com/", "schemas": { "AddDnsRecordSetMetadata": { @@ -1595,7 +1595,7 @@ "type": "object" }, "Endpoint": { - "description": "`Endpoint` describes a network endpoint that serves a set of APIs. A service may expose any number of endpoints, and all endpoints share the same service configuration, such as quota configuration and monitoring configuration. Example service configuration: name: library-example.googleapis.com endpoints: # Below entry makes 'google.example.library.v1.Library' # API be served from endpoint address library-example.googleapis.com. # It also allows HTTP OPTIONS calls to be passed to the backend, for # it to decide whether the subsequent cross-origin request is # allowed to proceed. - name: library-example.googleapis.com allow_cors: true", + "description": "`Endpoint` describes a network endpoint of a service that serves a set of APIs. It is commonly known as a service endpoint. A service may expose any number of service endpoints, and all service endpoints share the same service definition, such as quota limits and monitoring metrics. Example service configuration: name: library-example.googleapis.com endpoints: # Below entry makes 'google.example.library.v1.Library' # API be served from endpoint address library-example.googleapis.com. # It also allows HTTP OPTIONS calls to be passed to the backend, for # it to decide whether the subsequent cross-origin request is # allowed to proceed. - name: library-example.googleapis.com allow_cors: true", "id": "Endpoint", "properties": { "aliases": { diff --git a/servicenetworking/v1/servicenetworking-gen.go b/servicenetworking/v1/servicenetworking-gen.go index 66ba3c3024d..f2d6af39ffd 100644 --- a/servicenetworking/v1/servicenetworking-gen.go +++ b/servicenetworking/v1/servicenetworking-gen.go @@ -1751,16 +1751,17 @@ func (s *EnableVpcServiceControlsRequest) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// Endpoint: `Endpoint` describes a network endpoint that serves a set -// of APIs. A service may expose any number of endpoints, and all -// endpoints share the same service configuration, such as quota -// configuration and monitoring configuration. Example service -// configuration: name: library-example.googleapis.com endpoints: # -// Below entry makes 'google.example.library.v1.Library' # API be served -// from endpoint address library-example.googleapis.com. # It also -// allows HTTP OPTIONS calls to be passed to the backend, for # it to -// decide whether the subsequent cross-origin request is # allowed to -// proceed. - name: library-example.googleapis.com allow_cors: true +// Endpoint: `Endpoint` describes a network endpoint of a service that +// serves a set of APIs. It is commonly known as a service endpoint. A +// service may expose any number of service endpoints, and all service +// endpoints share the same service definition, such as quota limits and +// monitoring metrics. Example service configuration: name: +// library-example.googleapis.com endpoints: # Below entry makes +// 'google.example.library.v1.Library' # API be served from endpoint +// address library-example.googleapis.com. # It also allows HTTP OPTIONS +// calls to be passed to the backend, for # it to decide whether the +// subsequent cross-origin request is # allowed to proceed. - name: +// library-example.googleapis.com allow_cors: true type Endpoint struct { // Aliases: DEPRECATED: This field is no longer supported. Instead of // using aliases, please specify multiple google.api.Endpoint for each @@ -4827,7 +4828,7 @@ func (c *OperationsCancelCall) Header() http.Header { func (c *OperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4969,7 +4970,7 @@ func (c *OperationsDeleteCall) Header() http.Header { func (c *OperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5113,7 +5114,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5288,7 +5289,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5469,7 +5470,7 @@ func (c *ServicesAddSubnetworkCall) Header() http.Header { func (c *ServicesAddSubnetworkCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5611,7 +5612,7 @@ func (c *ServicesDisableVpcServiceControlsCall) Header() http.Header { func (c *ServicesDisableVpcServiceControlsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5753,7 +5754,7 @@ func (c *ServicesEnableVpcServiceControlsCall) Header() http.Header { func (c *ServicesEnableVpcServiceControlsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5899,7 +5900,7 @@ func (c *ServicesSearchRangeCall) Header() http.Header { func (c *ServicesSearchRangeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6044,7 +6045,7 @@ func (c *ServicesValidateCall) Header() http.Header { func (c *ServicesValidateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6192,7 +6193,7 @@ func (c *ServicesConnectionsCreateCall) Header() http.Header { func (c *ServicesConnectionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6355,7 +6356,7 @@ func (c *ServicesConnectionsListCall) Header() http.Header { func (c *ServicesConnectionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6512,7 +6513,7 @@ func (c *ServicesConnectionsPatchCall) Header() http.Header { func (c *ServicesConnectionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6665,7 +6666,7 @@ func (c *ServicesDnsRecordSetsAddCall) Header() http.Header { func (c *ServicesDnsRecordSetsAddCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6807,7 +6808,7 @@ func (c *ServicesDnsRecordSetsRemoveCall) Header() http.Header { func (c *ServicesDnsRecordSetsRemoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6949,7 +6950,7 @@ func (c *ServicesDnsRecordSetsUpdateCall) Header() http.Header { func (c *ServicesDnsRecordSetsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7092,7 +7093,7 @@ func (c *ServicesDnsZonesAddCall) Header() http.Header { func (c *ServicesDnsZonesAddCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7235,7 +7236,7 @@ func (c *ServicesDnsZonesRemoveCall) Header() http.Header { func (c *ServicesDnsZonesRemoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7387,7 +7388,7 @@ func (c *ServicesProjectsGlobalNetworksGetCall) Header() http.Header { func (c *ServicesProjectsGlobalNetworksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7525,7 +7526,7 @@ func (c *ServicesProjectsGlobalNetworksUpdateConsumerConfigCall) Header() http.H func (c *ServicesProjectsGlobalNetworksUpdateConsumerConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7668,7 +7669,7 @@ func (c *ServicesProjectsGlobalNetworksPeeredDnsDomainsCreateCall) Header() http func (c *ServicesProjectsGlobalNetworksPeeredDnsDomainsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7807,7 +7808,7 @@ func (c *ServicesProjectsGlobalNetworksPeeredDnsDomainsDeleteCall) Header() http func (c *ServicesProjectsGlobalNetworksPeeredDnsDomainsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7949,7 +7950,7 @@ func (c *ServicesProjectsGlobalNetworksPeeredDnsDomainsListCall) Header() http.H func (c *ServicesProjectsGlobalNetworksPeeredDnsDomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8088,7 +8089,7 @@ func (c *ServicesRolesAddCall) Header() http.Header { func (c *ServicesRolesAddCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/servicenetworking/v1beta/servicenetworking-api.json b/servicenetworking/v1beta/servicenetworking-api.json index e360a7a25b2..98a0c00a42c 100644 --- a/servicenetworking/v1beta/servicenetworking-api.json +++ b/servicenetworking/v1beta/servicenetworking-api.json @@ -307,7 +307,7 @@ } } }, - "revision": "20201207", + "revision": "20201208", "rootUrl": "https://servicenetworking.googleapis.com/", "schemas": { "AddDnsRecordSetMetadata": { @@ -953,7 +953,7 @@ "type": "object" }, "Endpoint": { - "description": "`Endpoint` describes a network endpoint that serves a set of APIs. A service may expose any number of endpoints, and all endpoints share the same service configuration, such as quota configuration and monitoring configuration. Example service configuration: name: library-example.googleapis.com endpoints: # Below entry makes 'google.example.library.v1.Library' # API be served from endpoint address library-example.googleapis.com. # It also allows HTTP OPTIONS calls to be passed to the backend, for # it to decide whether the subsequent cross-origin request is # allowed to proceed. - name: library-example.googleapis.com allow_cors: true", + "description": "`Endpoint` describes a network endpoint of a service that serves a set of APIs. It is commonly known as a service endpoint. A service may expose any number of service endpoints, and all service endpoints share the same service definition, such as quota limits and monitoring metrics. Example service configuration: name: library-example.googleapis.com endpoints: # Below entry makes 'google.example.library.v1.Library' # API be served from endpoint address library-example.googleapis.com. # It also allows HTTP OPTIONS calls to be passed to the backend, for # it to decide whether the subsequent cross-origin request is # allowed to proceed. - name: library-example.googleapis.com allow_cors: true", "id": "Endpoint", "properties": { "aliases": { diff --git a/servicenetworking/v1beta/servicenetworking-gen.go b/servicenetworking/v1beta/servicenetworking-gen.go index 6eb7c4ced3c..7e2bf0ade57 100644 --- a/servicenetworking/v1beta/servicenetworking-gen.go +++ b/servicenetworking/v1beta/servicenetworking-gen.go @@ -1412,16 +1412,17 @@ func (s *DocumentationRule) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// Endpoint: `Endpoint` describes a network endpoint that serves a set -// of APIs. A service may expose any number of endpoints, and all -// endpoints share the same service configuration, such as quota -// configuration and monitoring configuration. Example service -// configuration: name: library-example.googleapis.com endpoints: # -// Below entry makes 'google.example.library.v1.Library' # API be served -// from endpoint address library-example.googleapis.com. # It also -// allows HTTP OPTIONS calls to be passed to the backend, for # it to -// decide whether the subsequent cross-origin request is # allowed to -// proceed. - name: library-example.googleapis.com allow_cors: true +// Endpoint: `Endpoint` describes a network endpoint of a service that +// serves a set of APIs. It is commonly known as a service endpoint. A +// service may expose any number of service endpoints, and all service +// endpoints share the same service definition, such as quota limits and +// monitoring metrics. Example service configuration: name: +// library-example.googleapis.com endpoints: # Below entry makes +// 'google.example.library.v1.Library' # API be served from endpoint +// address library-example.googleapis.com. # It also allows HTTP OPTIONS +// calls to be passed to the backend, for # it to decide whether the +// subsequent cross-origin request is # allowed to proceed. - name: +// library-example.googleapis.com allow_cors: true type Endpoint struct { // Aliases: DEPRECATED: This field is no longer supported. Instead of // using aliases, please specify multiple google.api.Endpoint for each @@ -4061,7 +4062,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4206,7 +4207,7 @@ func (c *ServicesAddSubnetworkCall) Header() http.Header { func (c *ServicesAddSubnetworkCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4353,7 +4354,7 @@ func (c *ServicesSearchRangeCall) Header() http.Header { func (c *ServicesSearchRangeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4511,7 +4512,7 @@ func (c *ServicesUpdateConnectionsCall) Header() http.Header { func (c *ServicesUpdateConnectionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4671,7 +4672,7 @@ func (c *ServicesConnectionsCreateCall) Header() http.Header { func (c *ServicesConnectionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4834,7 +4835,7 @@ func (c *ServicesConnectionsListCall) Header() http.Header { func (c *ServicesConnectionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/serviceusage/v1/serviceusage-api.json b/serviceusage/v1/serviceusage-api.json index 07f29659453..ba015f39247 100644 --- a/serviceusage/v1/serviceusage-api.json +++ b/serviceusage/v1/serviceusage-api.json @@ -426,7 +426,7 @@ } } }, - "revision": "20201104", + "revision": "20201208", "rootUrl": "https://serviceusage.googleapis.com/", "schemas": { "AdminQuotaPolicy": { @@ -1042,7 +1042,7 @@ "type": "object" }, "Endpoint": { - "description": "`Endpoint` describes a network endpoint that serves a set of APIs. A service may expose any number of endpoints, and all endpoints share the same service configuration, such as quota configuration and monitoring configuration. Example service configuration: name: library-example.googleapis.com endpoints: # Below entry makes 'google.example.library.v1.Library' # API be served from endpoint address library-example.googleapis.com. # It also allows HTTP OPTIONS calls to be passed to the backend, for # it to decide whether the subsequent cross-origin request is # allowed to proceed. - name: library-example.googleapis.com allow_cors: true", + "description": "`Endpoint` describes a network endpoint of a service that serves a set of APIs. It is commonly known as a service endpoint. A service may expose any number of service endpoints, and all service endpoints share the same service definition, such as quota limits and monitoring metrics. Example service configuration: name: library-example.googleapis.com endpoints: # Below entry makes 'google.example.library.v1.Library' # API be served from endpoint address library-example.googleapis.com. # It also allows HTTP OPTIONS calls to be passed to the backend, for # it to decide whether the subsequent cross-origin request is # allowed to proceed. - name: library-example.googleapis.com allow_cors: true", "id": "Endpoint", "properties": { "aliases": { @@ -1284,7 +1284,7 @@ "description": "Billing configuration." }, "configVersion": { - "description": "This field is obsolete. Its value must be set to `3`.", + "description": "Deprecated. The service config compiler always sets this field to `3`.", "format": "uint32", "type": "integer" }, diff --git a/serviceusage/v1/serviceusage-gen.go b/serviceusage/v1/serviceusage-gen.go index 6afb0aec2cf..a199b406c51 100644 --- a/serviceusage/v1/serviceusage-gen.go +++ b/serviceusage/v1/serviceusage-gen.go @@ -1426,16 +1426,17 @@ func (s *EnableServiceResponse) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// Endpoint: `Endpoint` describes a network endpoint that serves a set -// of APIs. A service may expose any number of endpoints, and all -// endpoints share the same service configuration, such as quota -// configuration and monitoring configuration. Example service -// configuration: name: library-example.googleapis.com endpoints: # -// Below entry makes 'google.example.library.v1.Library' # API be served -// from endpoint address library-example.googleapis.com. # It also -// allows HTTP OPTIONS calls to be passed to the backend, for # it to -// decide whether the subsequent cross-origin request is # allowed to -// proceed. - name: library-example.googleapis.com allow_cors: true +// Endpoint: `Endpoint` describes a network endpoint of a service that +// serves a set of APIs. It is commonly known as a service endpoint. A +// service may expose any number of service endpoints, and all service +// endpoints share the same service definition, such as quota limits and +// monitoring metrics. Example service configuration: name: +// library-example.googleapis.com endpoints: # Below entry makes +// 'google.example.library.v1.Library' # API be served from endpoint +// address library-example.googleapis.com. # It also allows HTTP OPTIONS +// calls to be passed to the backend, for # it to decide whether the +// subsequent cross-origin request is # allowed to proceed. - name: +// library-example.googleapis.com allow_cors: true type Endpoint struct { // Aliases: DEPRECATED: This field is no longer supported. Instead of // using aliases, please specify multiple google.api.Endpoint for each @@ -1720,7 +1721,8 @@ type GoogleApiService struct { // Billing: Billing configuration. Billing *Billing `json:"billing,omitempty"` - // ConfigVersion: This field is obsolete. Its value must be set to `3`. + // ConfigVersion: Deprecated. The service config compiler always sets + // this field to `3`. ConfigVersion int64 `json:"configVersion,omitempty"` // Context: Context configuration. @@ -4231,7 +4233,7 @@ func (c *OperationsCancelCall) Header() http.Header { func (c *OperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4373,7 +4375,7 @@ func (c *OperationsDeleteCall) Header() http.Header { func (c *OperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4517,7 +4519,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4697,7 +4699,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4866,7 +4868,7 @@ func (c *ServicesBatchEnableCall) Header() http.Header { func (c *ServicesBatchEnableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5027,7 +5029,7 @@ func (c *ServicesBatchGetCall) Header() http.Header { func (c *ServicesBatchGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5174,7 +5176,7 @@ func (c *ServicesDisableCall) Header() http.Header { func (c *ServicesDisableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5315,7 +5317,7 @@ func (c *ServicesEnableCall) Header() http.Header { func (c *ServicesEnableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5466,7 +5468,7 @@ func (c *ServicesGetCall) Header() http.Header { func (c *ServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5645,7 +5647,7 @@ func (c *ServicesListCall) Header() http.Header { func (c *ServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/serviceusage/v1beta1/serviceusage-api.json b/serviceusage/v1beta1/serviceusage-api.json index 5e467a8c27f..f161fe3a811 100644 --- a/serviceusage/v1beta1/serviceusage-api.json +++ b/serviceusage/v1beta1/serviceusage-api.json @@ -863,7 +863,7 @@ } } }, - "revision": "20201104", + "revision": "20201208", "rootUrl": "https://serviceusage.googleapis.com/", "schemas": { "AdminQuotaPolicy": { @@ -1504,7 +1504,7 @@ "type": "object" }, "Endpoint": { - "description": "`Endpoint` describes a network endpoint that serves a set of APIs. A service may expose any number of endpoints, and all endpoints share the same service configuration, such as quota configuration and monitoring configuration. Example service configuration: name: library-example.googleapis.com endpoints: # Below entry makes 'google.example.library.v1.Library' # API be served from endpoint address library-example.googleapis.com. # It also allows HTTP OPTIONS calls to be passed to the backend, for # it to decide whether the subsequent cross-origin request is # allowed to proceed. - name: library-example.googleapis.com allow_cors: true", + "description": "`Endpoint` describes a network endpoint of a service that serves a set of APIs. It is commonly known as a service endpoint. A service may expose any number of service endpoints, and all service endpoints share the same service definition, such as quota limits and monitoring metrics. Example service configuration: name: library-example.googleapis.com endpoints: # Below entry makes 'google.example.library.v1.Library' # API be served from endpoint address library-example.googleapis.com. # It also allows HTTP OPTIONS calls to be passed to the backend, for # it to decide whether the subsequent cross-origin request is # allowed to proceed. - name: library-example.googleapis.com allow_cors: true", "id": "Endpoint", "properties": { "aliases": { @@ -1746,7 +1746,7 @@ "description": "Billing configuration." }, "configVersion": { - "description": "This field is obsolete. Its value must be set to `3`.", + "description": "Deprecated. The service config compiler always sets this field to `3`.", "format": "uint32", "type": "integer" }, diff --git a/serviceusage/v1beta1/serviceusage-gen.go b/serviceusage/v1beta1/serviceusage-gen.go index 3b7ebf45c5d..7e58b200101 100644 --- a/serviceusage/v1beta1/serviceusage-gen.go +++ b/serviceusage/v1beta1/serviceusage-gen.go @@ -1506,16 +1506,17 @@ func (s *EnableServiceResponse) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// Endpoint: `Endpoint` describes a network endpoint that serves a set -// of APIs. A service may expose any number of endpoints, and all -// endpoints share the same service configuration, such as quota -// configuration and monitoring configuration. Example service -// configuration: name: library-example.googleapis.com endpoints: # -// Below entry makes 'google.example.library.v1.Library' # API be served -// from endpoint address library-example.googleapis.com. # It also -// allows HTTP OPTIONS calls to be passed to the backend, for # it to -// decide whether the subsequent cross-origin request is # allowed to -// proceed. - name: library-example.googleapis.com allow_cors: true +// Endpoint: `Endpoint` describes a network endpoint of a service that +// serves a set of APIs. It is commonly known as a service endpoint. A +// service may expose any number of service endpoints, and all service +// endpoints share the same service definition, such as quota limits and +// monitoring metrics. Example service configuration: name: +// library-example.googleapis.com endpoints: # Below entry makes +// 'google.example.library.v1.Library' # API be served from endpoint +// address library-example.googleapis.com. # It also allows HTTP OPTIONS +// calls to be passed to the backend, for # it to decide whether the +// subsequent cross-origin request is # allowed to proceed. - name: +// library-example.googleapis.com allow_cors: true type Endpoint struct { // Aliases: DEPRECATED: This field is no longer supported. Instead of // using aliases, please specify multiple google.api.Endpoint for each @@ -1800,7 +1801,8 @@ type GoogleApiService struct { // Billing: Billing configuration. Billing *Billing `json:"billing,omitempty"` - // ConfigVersion: This field is obsolete. Its value must be set to `3`. + // ConfigVersion: Deprecated. The service config compiler always sets + // this field to `3`. ConfigVersion int64 `json:"configVersion,omitempty"` // Context: Context configuration. @@ -4695,7 +4697,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4875,7 +4877,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5043,7 +5045,7 @@ func (c *ServicesBatchEnableCall) Header() http.Header { func (c *ServicesBatchEnableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5189,7 +5191,7 @@ func (c *ServicesDisableCall) Header() http.Header { func (c *ServicesDisableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5331,7 +5333,7 @@ func (c *ServicesEnableCall) Header() http.Header { func (c *ServicesEnableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5470,7 +5472,7 @@ func (c *ServicesGenerateServiceIdentityCall) Header() http.Header { func (c *ServicesGenerateServiceIdentityCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5613,7 +5615,7 @@ func (c *ServicesGetCall) Header() http.Header { func (c *ServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5788,7 +5790,7 @@ func (c *ServicesListCall) Header() http.Header { func (c *ServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5989,7 +5991,7 @@ func (c *ServicesConsumerQuotaMetricsGetCall) Header() http.Header { func (c *ServicesConsumerQuotaMetricsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6143,7 +6145,7 @@ func (c *ServicesConsumerQuotaMetricsImportAdminOverridesCall) Header() http.Hea func (c *ServicesConsumerQuotaMetricsImportAdminOverridesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6287,7 +6289,7 @@ func (c *ServicesConsumerQuotaMetricsImportConsumerOverridesCall) Header() http. func (c *ServicesConsumerQuotaMetricsImportConsumerOverridesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6474,7 +6476,7 @@ func (c *ServicesConsumerQuotaMetricsListCall) Header() http.Header { func (c *ServicesConsumerQuotaMetricsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6685,7 +6687,7 @@ func (c *ServicesConsumerQuotaMetricsLimitsGetCall) Header() http.Header { func (c *ServicesConsumerQuotaMetricsLimitsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6851,7 +6853,7 @@ func (c *ServicesConsumerQuotaMetricsLimitsAdminOverridesCreateCall) Header() ht func (c *ServicesConsumerQuotaMetricsLimitsAdminOverridesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7006,7 +7008,7 @@ func (c *ServicesConsumerQuotaMetricsLimitsAdminOverridesDeleteCall) Header() ht func (c *ServicesConsumerQuotaMetricsLimitsAdminOverridesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7167,7 +7169,7 @@ func (c *ServicesConsumerQuotaMetricsLimitsAdminOverridesListCall) Header() http func (c *ServicesConsumerQuotaMetricsLimitsAdminOverridesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7354,7 +7356,7 @@ func (c *ServicesConsumerQuotaMetricsLimitsAdminOverridesPatchCall) Header() htt func (c *ServicesConsumerQuotaMetricsLimitsAdminOverridesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7521,7 +7523,7 @@ func (c *ServicesConsumerQuotaMetricsLimitsConsumerOverridesCreateCall) Header() func (c *ServicesConsumerQuotaMetricsLimitsConsumerOverridesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7676,7 +7678,7 @@ func (c *ServicesConsumerQuotaMetricsLimitsConsumerOverridesDeleteCall) Header() func (c *ServicesConsumerQuotaMetricsLimitsConsumerOverridesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7837,7 +7839,7 @@ func (c *ServicesConsumerQuotaMetricsLimitsConsumerOverridesListCall) Header() h func (c *ServicesConsumerQuotaMetricsLimitsConsumerOverridesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8024,7 +8026,7 @@ func (c *ServicesConsumerQuotaMetricsLimitsConsumerOverridesPatchCall) Header() func (c *ServicesConsumerQuotaMetricsLimitsConsumerOverridesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/sheets/v4/sheets-gen.go b/sheets/v4/sheets-gen.go index 76fd3e2ed57..da0cbc8ed0e 100644 --- a/sheets/v4/sheets-gen.go +++ b/sheets/v4/sheets-gen.go @@ -11583,7 +11583,7 @@ func (c *SpreadsheetsBatchUpdateCall) Header() http.Header { func (c *SpreadsheetsBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11723,7 +11723,7 @@ func (c *SpreadsheetsCreateCall) Header() http.Header { func (c *SpreadsheetsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11887,7 +11887,7 @@ func (c *SpreadsheetsGetCall) Header() http.Header { func (c *SpreadsheetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12048,7 +12048,7 @@ func (c *SpreadsheetsGetByDataFilterCall) Header() http.Header { func (c *SpreadsheetsGetByDataFilterCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12202,7 +12202,7 @@ func (c *SpreadsheetsDeveloperMetadataGetCall) Header() http.Header { func (c *SpreadsheetsDeveloperMetadataGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12353,7 +12353,7 @@ func (c *SpreadsheetsDeveloperMetadataSearchCall) Header() http.Header { func (c *SpreadsheetsDeveloperMetadataSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12497,7 +12497,7 @@ func (c *SpreadsheetsSheetsCopyToCall) Header() http.Header { func (c *SpreadsheetsSheetsCopyToCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12744,7 +12744,7 @@ func (c *SpreadsheetsValuesAppendCall) Header() http.Header { func (c *SpreadsheetsValuesAppendCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12957,7 +12957,7 @@ func (c *SpreadsheetsValuesBatchClearCall) Header() http.Header { func (c *SpreadsheetsValuesBatchClearCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13102,7 +13102,7 @@ func (c *SpreadsheetsValuesBatchClearByDataFilterCall) Header() http.Header { func (c *SpreadsheetsValuesBatchClearByDataFilterCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13322,7 +13322,7 @@ func (c *SpreadsheetsValuesBatchGetCall) Header() http.Header { func (c *SpreadsheetsValuesBatchGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13512,7 +13512,7 @@ func (c *SpreadsheetsValuesBatchGetByDataFilterCall) Header() http.Header { func (c *SpreadsheetsValuesBatchGetByDataFilterCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13656,7 +13656,7 @@ func (c *SpreadsheetsValuesBatchUpdateCall) Header() http.Header { func (c *SpreadsheetsValuesBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13799,7 +13799,7 @@ func (c *SpreadsheetsValuesBatchUpdateByDataFilterCall) Header() http.Header { func (c *SpreadsheetsValuesBatchUpdateByDataFilterCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13946,7 +13946,7 @@ func (c *SpreadsheetsValuesClearCall) Header() http.Header { func (c *SpreadsheetsValuesClearCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14168,7 +14168,7 @@ func (c *SpreadsheetsValuesGetCall) Header() http.Header { func (c *SpreadsheetsValuesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14435,7 +14435,7 @@ func (c *SpreadsheetsValuesUpdateCall) Header() http.Header { func (c *SpreadsheetsValuesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/siteverification/v1/siteverification-gen.go b/siteverification/v1/siteverification-gen.go index 1d3fe452155..db386968c6b 100644 --- a/siteverification/v1/siteverification-gen.go +++ b/siteverification/v1/siteverification-gen.go @@ -406,7 +406,7 @@ func (c *WebResourceDeleteCall) Header() http.Header { func (c *WebResourceDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -517,7 +517,7 @@ func (c *WebResourceGetCall) Header() http.Header { func (c *WebResourceGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -650,7 +650,7 @@ func (c *WebResourceGetTokenCall) Header() http.Header { func (c *WebResourceGetTokenCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -776,7 +776,7 @@ func (c *WebResourceInsertCall) Header() http.Header { func (c *WebResourceInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -920,7 +920,7 @@ func (c *WebResourceListCall) Header() http.Header { func (c *WebResourceListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1041,7 +1041,7 @@ func (c *WebResourcePatchCall) Header() http.Header { func (c *WebResourcePatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1180,7 +1180,7 @@ func (c *WebResourceUpdateCall) Header() http.Header { func (c *WebResourceUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/slides/v1/slides-gen.go b/slides/v1/slides-gen.go index e2521f519b9..2cae6b80174 100644 --- a/slides/v1/slides-gen.go +++ b/slides/v1/slides-gen.go @@ -7090,7 +7090,7 @@ func (c *PresentationsBatchUpdateCall) Header() http.Header { func (c *PresentationsBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7236,7 +7236,7 @@ func (c *PresentationsCreateCall) Header() http.Header { func (c *PresentationsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7374,7 +7374,7 @@ func (c *PresentationsGetCall) Header() http.Header { func (c *PresentationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7525,7 +7525,7 @@ func (c *PresentationsPagesGetCall) Header() http.Header { func (c *PresentationsPagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7714,7 +7714,7 @@ func (c *PresentationsPagesGetThumbnailCall) Header() http.Header { func (c *PresentationsPagesGetThumbnailCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/smartdevicemanagement/v1/smartdevicemanagement-gen.go b/smartdevicemanagement/v1/smartdevicemanagement-gen.go index a5e959cb0ca..bbdfcd7c284 100644 --- a/smartdevicemanagement/v1/smartdevicemanagement-gen.go +++ b/smartdevicemanagement/v1/smartdevicemanagement-gen.go @@ -562,7 +562,7 @@ func (c *EnterprisesDevicesExecuteCommandCall) Header() http.Header { func (c *EnterprisesDevicesExecuteCommandCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -713,7 +713,7 @@ func (c *EnterprisesDevicesGetCall) Header() http.Header { func (c *EnterprisesDevicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -880,7 +880,7 @@ func (c *EnterprisesDevicesListCall) Header() http.Header { func (c *EnterprisesDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1063,7 +1063,7 @@ func (c *EnterprisesStructuresGetCall) Header() http.Header { func (c *EnterprisesStructuresGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1230,7 +1230,7 @@ func (c *EnterprisesStructuresListCall) Header() http.Header { func (c *EnterprisesStructuresListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1413,7 +1413,7 @@ func (c *EnterprisesStructuresRoomsGetCall) Header() http.Header { func (c *EnterprisesStructuresRoomsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1572,7 +1572,7 @@ func (c *EnterprisesStructuresRoomsListCall) Header() http.Header { func (c *EnterprisesStructuresRoomsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/sourcerepo/v1/sourcerepo-gen.go b/sourcerepo/v1/sourcerepo-gen.go index 18c2b9be042..a5cdb93f888 100644 --- a/sourcerepo/v1/sourcerepo-gen.go +++ b/sourcerepo/v1/sourcerepo-gen.go @@ -1109,7 +1109,7 @@ func (c *ProjectsGetConfigCall) Header() http.Header { func (c *ProjectsGetConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1245,7 +1245,7 @@ func (c *ProjectsUpdateConfigCall) Header() http.Header { func (c *ProjectsUpdateConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1387,7 +1387,7 @@ func (c *ProjectsReposCreateCall) Header() http.Header { func (c *ProjectsReposCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1526,7 +1526,7 @@ func (c *ProjectsReposDeleteCall) Header() http.Header { func (c *ProjectsReposDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1668,7 +1668,7 @@ func (c *ProjectsReposGetCall) Header() http.Header { func (c *ProjectsReposGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1832,7 +1832,7 @@ func (c *ProjectsReposGetIamPolicyCall) Header() http.Header { func (c *ProjectsReposGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2004,7 +2004,7 @@ func (c *ProjectsReposListCall) Header() http.Header { func (c *ProjectsReposListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2174,7 +2174,7 @@ func (c *ProjectsReposPatchCall) Header() http.Header { func (c *ProjectsReposPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2315,7 +2315,7 @@ func (c *ProjectsReposSetIamPolicyCall) Header() http.Header { func (c *ProjectsReposSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2457,7 +2457,7 @@ func (c *ProjectsReposSyncCall) Header() http.Header { func (c *ProjectsReposSyncCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2599,7 +2599,7 @@ func (c *ProjectsReposTestIamPermissionsCall) Header() http.Header { func (c *ProjectsReposTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/speech/v1/speech-gen.go b/speech/v1/speech-gen.go index 3a17c174a1d..0db2438a959 100644 --- a/speech/v1/speech-gen.go +++ b/speech/v1/speech-gen.go @@ -1126,7 +1126,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1305,7 +1305,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1481,7 +1481,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1655,7 +1655,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1831,7 +1831,7 @@ func (c *SpeechLongrunningrecognizeCall) Header() http.Header { func (c *SpeechLongrunningrecognizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1957,7 +1957,7 @@ func (c *SpeechRecognizeCall) Header() http.Header { func (c *SpeechRecognizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/speech/v1p1beta1/speech-gen.go b/speech/v1p1beta1/speech-gen.go index 891fc7ef8cd..7582df785f9 100644 --- a/speech/v1p1beta1/speech-gen.go +++ b/speech/v1p1beta1/speech-gen.go @@ -1482,7 +1482,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1661,7 +1661,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1837,7 +1837,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2011,7 +2011,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2187,7 +2187,7 @@ func (c *SpeechLongrunningrecognizeCall) Header() http.Header { func (c *SpeechLongrunningrecognizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2313,7 +2313,7 @@ func (c *SpeechRecognizeCall) Header() http.Header { func (c *SpeechRecognizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/speech/v2beta1/speech-gen.go b/speech/v2beta1/speech-gen.go index 2a695a35072..24c782064c2 100644 --- a/speech/v2beta1/speech-gen.go +++ b/speech/v2beta1/speech-gen.go @@ -623,7 +623,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -797,7 +797,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/sqladmin/v1beta4/sqladmin-gen.go b/sqladmin/v1beta4/sqladmin-gen.go index d0e2b09450b..a09821b56eb 100644 --- a/sqladmin/v1beta4/sqladmin-gen.go +++ b/sqladmin/v1beta4/sqladmin-gen.go @@ -3866,7 +3866,7 @@ func (c *BackupRunsDeleteCall) Header() http.Header { func (c *BackupRunsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4028,7 +4028,7 @@ func (c *BackupRunsGetCall) Header() http.Header { func (c *BackupRunsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4183,7 +4183,7 @@ func (c *BackupRunsInsertCall) Header() http.Header { func (c *BackupRunsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4359,7 +4359,7 @@ func (c *BackupRunsListCall) Header() http.Header { func (c *BackupRunsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4536,7 +4536,7 @@ func (c *DatabasesDeleteCall) Header() http.Header { func (c *DatabasesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4698,7 +4698,7 @@ func (c *DatabasesGetCall) Header() http.Header { func (c *DatabasesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4852,7 +4852,7 @@ func (c *DatabasesInsertCall) Header() http.Header { func (c *DatabasesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5011,7 +5011,7 @@ func (c *DatabasesListCall) Header() http.Header { func (c *DatabasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5160,7 +5160,7 @@ func (c *DatabasesPatchCall) Header() http.Header { func (c *DatabasesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5321,7 +5321,7 @@ func (c *DatabasesUpdateCall) Header() http.Header { func (c *DatabasesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5492,7 +5492,7 @@ func (c *FlagsListCall) Header() http.Header { func (c *FlagsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5625,7 +5625,7 @@ func (c *InstancesAddServerCaCall) Header() http.Header { func (c *InstancesAddServerCaCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5768,7 +5768,7 @@ func (c *InstancesCloneCall) Header() http.Header { func (c *InstancesCloneCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5916,7 +5916,7 @@ func (c *InstancesDeleteCall) Header() http.Header { func (c *InstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6059,7 +6059,7 @@ func (c *InstancesDemoteMasterCall) Header() http.Header { func (c *InstancesDemoteMasterCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6210,7 +6210,7 @@ func (c *InstancesExportCall) Header() http.Header { func (c *InstancesExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6360,7 +6360,7 @@ func (c *InstancesFailoverCall) Header() http.Header { func (c *InstancesFailoverCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6520,7 +6520,7 @@ func (c *InstancesGetCall) Header() http.Header { func (c *InstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6666,7 +6666,7 @@ func (c *InstancesImportCall) Header() http.Header { func (c *InstancesImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6813,7 +6813,7 @@ func (c *InstancesInsertCall) Header() http.Header { func (c *InstancesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6991,7 +6991,7 @@ func (c *InstancesListCall) Header() http.Header { func (c *InstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7178,7 +7178,7 @@ func (c *InstancesListServerCasCall) Header() http.Header { func (c *InstancesListServerCasCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7324,7 +7324,7 @@ func (c *InstancesPatchCall) Header() http.Header { func (c *InstancesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7474,7 +7474,7 @@ func (c *InstancesPromoteReplicaCall) Header() http.Header { func (c *InstancesPromoteReplicaCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7615,7 +7615,7 @@ func (c *InstancesResetSslConfigCall) Header() http.Header { func (c *InstancesResetSslConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7755,7 +7755,7 @@ func (c *InstancesRestartCall) Header() http.Header { func (c *InstancesRestartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7898,7 +7898,7 @@ func (c *InstancesRestoreBackupCall) Header() http.Header { func (c *InstancesRestoreBackupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8050,7 +8050,7 @@ func (c *InstancesRotateServerCaCall) Header() http.Header { func (c *InstancesRotateServerCaCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8198,7 +8198,7 @@ func (c *InstancesStartReplicaCall) Header() http.Header { func (c *InstancesStartReplicaCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8338,7 +8338,7 @@ func (c *InstancesStopReplicaCall) Header() http.Header { func (c *InstancesStopReplicaCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8480,7 +8480,7 @@ func (c *InstancesTruncateLogCall) Header() http.Header { func (c *InstancesTruncateLogCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8631,7 +8631,7 @@ func (c *InstancesUpdateCall) Header() http.Header { func (c *InstancesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8791,7 +8791,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8967,7 +8967,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9142,7 +9142,7 @@ func (c *ProjectsInstancesRescheduleMaintenanceCall) Header() http.Header { func (c *ProjectsInstancesRescheduleMaintenanceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9304,7 +9304,7 @@ func (c *ProjectsInstancesStartExternalSyncCall) Header() http.Header { func (c *ProjectsInstancesStartExternalSyncCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9481,7 +9481,7 @@ func (c *ProjectsInstancesVerifyExternalSyncSettingsCall) Header() http.Header { func (c *ProjectsInstancesVerifyExternalSyncSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9648,7 +9648,7 @@ func (c *SslCertsCreateEphemeralCall) Header() http.Header { func (c *SslCertsCreateEphemeralCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9799,7 +9799,7 @@ func (c *SslCertsDeleteCall) Header() http.Header { func (c *SslCertsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9962,7 +9962,7 @@ func (c *SslCertsGetCall) Header() http.Header { func (c *SslCertsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10117,7 +10117,7 @@ func (c *SslCertsInsertCall) Header() http.Header { func (c *SslCertsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10276,7 +10276,7 @@ func (c *SslCertsListCall) Header() http.Header { func (c *SslCertsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10429,7 +10429,7 @@ func (c *TiersListCall) Header() http.Header { func (c *TiersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10578,7 +10578,7 @@ func (c *UsersDeleteCall) Header() http.Header { func (c *UsersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10730,7 +10730,7 @@ func (c *UsersInsertCall) Header() http.Header { func (c *UsersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10889,7 +10889,7 @@ func (c *UsersListCall) Header() http.Header { func (c *UsersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11048,7 +11048,7 @@ func (c *UsersUpdateCall) Header() http.Header { func (c *UsersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/storage/v1/storage-gen.go b/storage/v1/storage-gen.go index 334b31720bb..12e13936adb 100644 --- a/storage/v1/storage-gen.go +++ b/storage/v1/storage-gen.go @@ -2446,7 +2446,7 @@ func (c *BucketAccessControlsDeleteCall) Header() http.Header { func (c *BucketAccessControlsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2594,7 +2594,7 @@ func (c *BucketAccessControlsGetCall) Header() http.Header { func (c *BucketAccessControlsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2761,7 +2761,7 @@ func (c *BucketAccessControlsInsertCall) Header() http.Header { func (c *BucketAccessControlsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2934,7 +2934,7 @@ func (c *BucketAccessControlsListCall) Header() http.Header { func (c *BucketAccessControlsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3095,7 +3095,7 @@ func (c *BucketAccessControlsPatchCall) Header() http.Header { func (c *BucketAccessControlsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3269,7 +3269,7 @@ func (c *BucketAccessControlsUpdateCall) Header() http.Header { func (c *BucketAccessControlsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3455,7 +3455,7 @@ func (c *BucketsDeleteCall) Header() http.Header { func (c *BucketsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3634,7 +3634,7 @@ func (c *BucketsGetCall) Header() http.Header { func (c *BucketsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3840,7 +3840,7 @@ func (c *BucketsGetIamPolicyCall) Header() http.Header { func (c *BucketsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4057,7 +4057,7 @@ func (c *BucketsInsertCall) Header() http.Header { func (c *BucketsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4314,7 +4314,7 @@ func (c *BucketsListCall) Header() http.Header { func (c *BucketsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4524,7 +4524,7 @@ func (c *BucketsLockRetentionPolicyCall) Header() http.Header { func (c *BucketsLockRetentionPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4759,7 +4759,7 @@ func (c *BucketsPatchCall) Header() http.Header { func (c *BucketsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4988,7 +4988,7 @@ func (c *BucketsSetIamPolicyCall) Header() http.Header { func (c *BucketsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5163,7 +5163,7 @@ func (c *BucketsTestIamPermissionsCall) Header() http.Header { func (c *BucketsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5403,7 +5403,7 @@ func (c *BucketsUpdateCall) Header() http.Header { func (c *BucketsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5615,7 +5615,7 @@ func (c *ChannelsStopCall) Header() http.Header { func (c *ChannelsStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5732,7 +5732,7 @@ func (c *DefaultObjectAccessControlsDeleteCall) Header() http.Header { func (c *DefaultObjectAccessControlsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5880,7 +5880,7 @@ func (c *DefaultObjectAccessControlsGetCall) Header() http.Header { func (c *DefaultObjectAccessControlsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6048,7 +6048,7 @@ func (c *DefaultObjectAccessControlsInsertCall) Header() http.Header { func (c *DefaultObjectAccessControlsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6238,7 +6238,7 @@ func (c *DefaultObjectAccessControlsListCall) Header() http.Header { func (c *DefaultObjectAccessControlsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6411,7 +6411,7 @@ func (c *DefaultObjectAccessControlsPatchCall) Header() http.Header { func (c *DefaultObjectAccessControlsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6585,7 +6585,7 @@ func (c *DefaultObjectAccessControlsUpdateCall) Header() http.Header { func (c *DefaultObjectAccessControlsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6757,7 +6757,7 @@ func (c *NotificationsDeleteCall) Header() http.Header { func (c *NotificationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6905,7 +6905,7 @@ func (c *NotificationsGetCall) Header() http.Header { func (c *NotificationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7075,7 +7075,7 @@ func (c *NotificationsInsertCall) Header() http.Header { func (c *NotificationsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7250,7 +7250,7 @@ func (c *NotificationsListCall) Header() http.Header { func (c *NotificationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7423,7 +7423,7 @@ func (c *ObjectAccessControlsDeleteCall) Header() http.Header { func (c *ObjectAccessControlsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7595,7 +7595,7 @@ func (c *ObjectAccessControlsGetCall) Header() http.Header { func (c *ObjectAccessControlsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7786,7 +7786,7 @@ func (c *ObjectAccessControlsInsertCall) Header() http.Header { func (c *ObjectAccessControlsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7983,7 +7983,7 @@ func (c *ObjectAccessControlsListCall) Header() http.Header { func (c *ObjectAccessControlsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8168,7 +8168,7 @@ func (c *ObjectAccessControlsPatchCall) Header() http.Header { func (c *ObjectAccessControlsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8366,7 +8366,7 @@ func (c *ObjectAccessControlsUpdateCall) Header() http.Header { func (c *ObjectAccessControlsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8603,7 +8603,7 @@ func (c *ObjectsComposeCall) Header() http.Header { func (c *ObjectsComposeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8946,7 +8946,7 @@ func (c *ObjectsCopyCall) Header() http.Header { func (c *ObjectsCopyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9274,7 +9274,7 @@ func (c *ObjectsDeleteCall) Header() http.Header { func (c *ObjectsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9507,7 +9507,7 @@ func (c *ObjectsGetCall) Header() http.Header { func (c *ObjectsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9757,7 +9757,7 @@ func (c *ObjectsGetIamPolicyCall) Header() http.Header { func (c *ObjectsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10074,7 +10074,7 @@ func (c *ObjectsInsertCall) Header() http.Header { func (c *ObjectsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10447,7 +10447,7 @@ func (c *ObjectsListCall) Header() http.Header { func (c *ObjectsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10764,7 +10764,7 @@ func (c *ObjectsPatchCall) Header() http.Header { func (c *ObjectsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11156,7 +11156,7 @@ func (c *ObjectsRewriteCall) Header() http.Header { func (c *ObjectsRewriteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11459,7 +11459,7 @@ func (c *ObjectsSetIamPolicyCall) Header() http.Header { func (c *ObjectsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11659,7 +11659,7 @@ func (c *ObjectsTestIamPermissionsCall) Header() http.Header { func (c *ObjectsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11920,7 +11920,7 @@ func (c *ObjectsUpdateCall) Header() http.Header { func (c *ObjectsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12238,7 +12238,7 @@ func (c *ObjectsWatchAllCall) Header() http.Header { func (c *ObjectsWatchAllCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12454,7 +12454,7 @@ func (c *ProjectsHmacKeysCreateCall) Header() http.Header { func (c *ProjectsHmacKeysCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12604,7 +12604,7 @@ func (c *ProjectsHmacKeysDeleteCall) Header() http.Header { func (c *ProjectsHmacKeysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12739,7 +12739,7 @@ func (c *ProjectsHmacKeysGetCall) Header() http.Header { func (c *ProjectsHmacKeysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12939,7 +12939,7 @@ func (c *ProjectsHmacKeysListCall) Header() http.Header { func (c *ProjectsHmacKeysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13134,7 +13134,7 @@ func (c *ProjectsHmacKeysUpdateCall) Header() http.Header { func (c *ProjectsHmacKeysUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13311,7 +13311,7 @@ func (c *ProjectsServiceAccountGetCall) Header() http.Header { func (c *ProjectsServiceAccountGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/streetviewpublish/v1/streetviewpublish-gen.go b/streetviewpublish/v1/streetviewpublish-gen.go index 398b95412b9..30a4974ffbe 100644 --- a/streetviewpublish/v1/streetviewpublish-gen.go +++ b/streetviewpublish/v1/streetviewpublish-gen.go @@ -1016,7 +1016,7 @@ func (c *PhotoCreateCall) Header() http.Header { func (c *PhotoCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1144,7 +1144,7 @@ func (c *PhotoDeleteCall) Header() http.Header { func (c *PhotoDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1313,7 +1313,7 @@ func (c *PhotoGetCall) Header() http.Header { func (c *PhotoGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1468,7 +1468,7 @@ func (c *PhotoStartUploadCall) Header() http.Header { func (c *PhotoStartUploadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1621,7 +1621,7 @@ func (c *PhotoUpdateCall) Header() http.Header { func (c *PhotoUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1770,7 +1770,7 @@ func (c *PhotosBatchDeleteCall) Header() http.Header { func (c *PhotosBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1942,7 +1942,7 @@ func (c *PhotosBatchGetCall) Header() http.Header { func (c *PhotosBatchGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2099,7 +2099,7 @@ func (c *PhotosBatchUpdateCall) Header() http.Header { func (c *PhotosBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2285,7 +2285,7 @@ func (c *PhotosListCall) Header() http.Header { func (c *PhotosListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/sts/v1/sts-gen.go b/sts/v1/sts-gen.go index 572832edfff..4278e61f607 100644 --- a/sts/v1/sts-gen.go +++ b/sts/v1/sts-gen.go @@ -278,7 +278,7 @@ func (c *V1TokenCall) Header() http.Header { func (c *V1TokenCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/sts/v1beta/sts-gen.go b/sts/v1beta/sts-gen.go index 7caa3fe0b5a..c97bd51bf15 100644 --- a/sts/v1beta/sts-gen.go +++ b/sts/v1beta/sts-gen.go @@ -346,7 +346,7 @@ func (c *V1betaTokenCall) Header() http.Header { func (c *V1betaTokenCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/synth.metadata b/synth.metadata index 0c09b8cee6e..a94664730b4 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-go-client.git", - "sha": "d2bc921f997425bc267d8e4845286b0d67bbe1ef" + "sha": "89287b68a240f818e9ae70a6395b1d72e21ee236" } } ] diff --git a/tagmanager/v1/tagmanager-gen.go b/tagmanager/v1/tagmanager-gen.go index 50fb615d569..b90324e1032 100644 --- a/tagmanager/v1/tagmanager-gen.go +++ b/tagmanager/v1/tagmanager-gen.go @@ -2249,7 +2249,7 @@ func (c *AccountsGetCall) Header() http.Header { func (c *AccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2392,7 +2392,7 @@ func (c *AccountsListCall) Header() http.Header { func (c *AccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2524,7 +2524,7 @@ func (c *AccountsUpdateCall) Header() http.Header { func (c *AccountsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2668,7 +2668,7 @@ func (c *AccountsContainersCreateCall) Header() http.Header { func (c *AccountsContainersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2807,7 +2807,7 @@ func (c *AccountsContainersDeleteCall) Header() http.Header { func (c *AccountsContainersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2929,7 +2929,7 @@ func (c *AccountsContainersGetCall) Header() http.Header { func (c *AccountsContainersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3081,7 +3081,7 @@ func (c *AccountsContainersListCall) Header() http.Header { func (c *AccountsContainersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3226,7 +3226,7 @@ func (c *AccountsContainersUpdateCall) Header() http.Header { func (c *AccountsContainersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3380,7 +3380,7 @@ func (c *AccountsContainersEnvironmentsCreateCall) Header() http.Header { func (c *AccountsContainersEnvironmentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3529,7 +3529,7 @@ func (c *AccountsContainersEnvironmentsDeleteCall) Header() http.Header { func (c *AccountsContainersEnvironmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3661,7 +3661,7 @@ func (c *AccountsContainersEnvironmentsGetCall) Header() http.Header { func (c *AccountsContainersEnvironmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3823,7 +3823,7 @@ func (c *AccountsContainersEnvironmentsListCall) Header() http.Header { func (c *AccountsContainersEnvironmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3978,7 +3978,7 @@ func (c *AccountsContainersEnvironmentsUpdateCall) Header() http.Header { func (c *AccountsContainersEnvironmentsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4140,7 +4140,7 @@ func (c *AccountsContainersFoldersCreateCall) Header() http.Header { func (c *AccountsContainersFoldersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4289,7 +4289,7 @@ func (c *AccountsContainersFoldersDeleteCall) Header() http.Header { func (c *AccountsContainersFoldersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4421,7 +4421,7 @@ func (c *AccountsContainersFoldersGetCall) Header() http.Header { func (c *AccountsContainersFoldersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4583,7 +4583,7 @@ func (c *AccountsContainersFoldersListCall) Header() http.Header { func (c *AccountsContainersFoldersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4737,7 +4737,7 @@ func (c *AccountsContainersFoldersUpdateCall) Header() http.Header { func (c *AccountsContainersFoldersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4910,7 +4910,7 @@ func (c *AccountsContainersFoldersEntitiesListCall) Header() http.Header { func (c *AccountsContainersFoldersEntitiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5086,7 +5086,7 @@ func (c *AccountsContainersMoveFoldersUpdateCall) Header() http.Header { func (c *AccountsContainersMoveFoldersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5235,7 +5235,7 @@ func (c *AccountsContainersReauthorizeEnvironmentsUpdateCall) Header() http.Head func (c *AccountsContainersReauthorizeEnvironmentsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5392,7 +5392,7 @@ func (c *AccountsContainersTagsCreateCall) Header() http.Header { func (c *AccountsContainersTagsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5541,7 +5541,7 @@ func (c *AccountsContainersTagsDeleteCall) Header() http.Header { func (c *AccountsContainersTagsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5673,7 +5673,7 @@ func (c *AccountsContainersTagsGetCall) Header() http.Header { func (c *AccountsContainersTagsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5835,7 +5835,7 @@ func (c *AccountsContainersTagsListCall) Header() http.Header { func (c *AccountsContainersTagsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5989,7 +5989,7 @@ func (c *AccountsContainersTagsUpdateCall) Header() http.Header { func (c *AccountsContainersTagsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6151,7 +6151,7 @@ func (c *AccountsContainersTriggersCreateCall) Header() http.Header { func (c *AccountsContainersTriggersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6300,7 +6300,7 @@ func (c *AccountsContainersTriggersDeleteCall) Header() http.Header { func (c *AccountsContainersTriggersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6432,7 +6432,7 @@ func (c *AccountsContainersTriggersGetCall) Header() http.Header { func (c *AccountsContainersTriggersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6594,7 +6594,7 @@ func (c *AccountsContainersTriggersListCall) Header() http.Header { func (c *AccountsContainersTriggersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6749,7 +6749,7 @@ func (c *AccountsContainersTriggersUpdateCall) Header() http.Header { func (c *AccountsContainersTriggersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6911,7 +6911,7 @@ func (c *AccountsContainersVariablesCreateCall) Header() http.Header { func (c *AccountsContainersVariablesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7060,7 +7060,7 @@ func (c *AccountsContainersVariablesDeleteCall) Header() http.Header { func (c *AccountsContainersVariablesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7192,7 +7192,7 @@ func (c *AccountsContainersVariablesGetCall) Header() http.Header { func (c *AccountsContainersVariablesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7354,7 +7354,7 @@ func (c *AccountsContainersVariablesListCall) Header() http.Header { func (c *AccountsContainersVariablesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7509,7 +7509,7 @@ func (c *AccountsContainersVariablesUpdateCall) Header() http.Header { func (c *AccountsContainersVariablesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7671,7 +7671,7 @@ func (c *AccountsContainersVersionsCreateCall) Header() http.Header { func (c *AccountsContainersVersionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7820,7 +7820,7 @@ func (c *AccountsContainersVersionsDeleteCall) Header() http.Header { func (c *AccountsContainersVersionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7952,7 +7952,7 @@ func (c *AccountsContainersVersionsGetCall) Header() http.Header { func (c *AccountsContainersVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8129,7 +8129,7 @@ func (c *AccountsContainersVersionsListCall) Header() http.Header { func (c *AccountsContainersVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8295,7 +8295,7 @@ func (c *AccountsContainersVersionsPublishCall) Header() http.Header { func (c *AccountsContainersVersionsPublishCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8452,7 +8452,7 @@ func (c *AccountsContainersVersionsRestoreCall) Header() http.Header { func (c *AccountsContainersVersionsRestoreCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8601,7 +8601,7 @@ func (c *AccountsContainersVersionsUndeleteCall) Header() http.Header { func (c *AccountsContainersVersionsUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8760,7 +8760,7 @@ func (c *AccountsContainersVersionsUpdateCall) Header() http.Header { func (c *AccountsContainersVersionsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8920,7 +8920,7 @@ func (c *AccountsPermissionsCreateCall) Header() http.Header { func (c *AccountsPermissionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9060,7 +9060,7 @@ func (c *AccountsPermissionsDeleteCall) Header() http.Header { func (c *AccountsPermissionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9182,7 +9182,7 @@ func (c *AccountsPermissionsGetCall) Header() http.Header { func (c *AccountsPermissionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9334,7 +9334,7 @@ func (c *AccountsPermissionsListCall) Header() http.Header { func (c *AccountsPermissionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9470,7 +9470,7 @@ func (c *AccountsPermissionsUpdateCall) Header() http.Header { func (c *AccountsPermissionsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/tagmanager/v2/tagmanager-gen.go b/tagmanager/v2/tagmanager-gen.go index 9477aec899a..6114d8d33f2 100644 --- a/tagmanager/v2/tagmanager-gen.go +++ b/tagmanager/v2/tagmanager-gen.go @@ -3461,7 +3461,7 @@ func (c *AccountsGetCall) Header() http.Header { func (c *AccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3612,7 +3612,7 @@ func (c *AccountsListCall) Header() http.Header { func (c *AccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3771,7 +3771,7 @@ func (c *AccountsUpdateCall) Header() http.Header { func (c *AccountsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3916,7 +3916,7 @@ func (c *AccountsContainersCreateCall) Header() http.Header { func (c *AccountsContainersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4054,7 +4054,7 @@ func (c *AccountsContainersDeleteCall) Header() http.Header { func (c *AccountsContainersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4167,7 +4167,7 @@ func (c *AccountsContainersGetCall) Header() http.Header { func (c *AccountsContainersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4319,7 +4319,7 @@ func (c *AccountsContainersListCall) Header() http.Header { func (c *AccountsContainersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4489,7 +4489,7 @@ func (c *AccountsContainersUpdateCall) Header() http.Header { func (c *AccountsContainersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4634,7 +4634,7 @@ func (c *AccountsContainersEnvironmentsCreateCall) Header() http.Header { func (c *AccountsContainersEnvironmentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4772,7 +4772,7 @@ func (c *AccountsContainersEnvironmentsDeleteCall) Header() http.Header { func (c *AccountsContainersEnvironmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4885,7 +4885,7 @@ func (c *AccountsContainersEnvironmentsGetCall) Header() http.Header { func (c *AccountsContainersEnvironmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5037,7 +5037,7 @@ func (c *AccountsContainersEnvironmentsListCall) Header() http.Header { func (c *AccountsContainersEnvironmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5200,7 +5200,7 @@ func (c *AccountsContainersEnvironmentsReauthorizeCall) Header() http.Header { func (c *AccountsContainersEnvironmentsReauthorizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5348,7 +5348,7 @@ func (c *AccountsContainersEnvironmentsUpdateCall) Header() http.Header { func (c *AccountsContainersEnvironmentsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5502,7 +5502,7 @@ func (c *AccountsContainersVersionHeadersLatestCall) Header() http.Header { func (c *AccountsContainersVersionHeadersLatestCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5661,7 +5661,7 @@ func (c *AccountsContainersVersionHeadersListCall) Header() http.Header { func (c *AccountsContainersVersionHeadersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5827,7 +5827,7 @@ func (c *AccountsContainersVersionsDeleteCall) Header() http.Header { func (c *AccountsContainersVersionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5948,7 +5948,7 @@ func (c *AccountsContainersVersionsGetCall) Header() http.Header { func (c *AccountsContainersVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6099,7 +6099,7 @@ func (c *AccountsContainersVersionsLiveCall) Header() http.Header { func (c *AccountsContainersVersionsLiveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6241,7 +6241,7 @@ func (c *AccountsContainersVersionsPublishCall) Header() http.Header { func (c *AccountsContainersVersionsPublishCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6377,7 +6377,7 @@ func (c *AccountsContainersVersionsSetLatestCall) Header() http.Header { func (c *AccountsContainersVersionsSetLatestCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6507,7 +6507,7 @@ func (c *AccountsContainersVersionsUndeleteCall) Header() http.Header { func (c *AccountsContainersVersionsUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6647,7 +6647,7 @@ func (c *AccountsContainersVersionsUpdateCall) Header() http.Header { func (c *AccountsContainersVersionsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6792,7 +6792,7 @@ func (c *AccountsContainersWorkspacesCreateCall) Header() http.Header { func (c *AccountsContainersWorkspacesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6934,7 +6934,7 @@ func (c *AccountsContainersWorkspacesCreateVersionCall) Header() http.Header { func (c *AccountsContainersWorkspacesCreateVersionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7072,7 +7072,7 @@ func (c *AccountsContainersWorkspacesDeleteCall) Header() http.Header { func (c *AccountsContainersWorkspacesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7185,7 +7185,7 @@ func (c *AccountsContainersWorkspacesGetCall) Header() http.Header { func (c *AccountsContainersWorkspacesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7330,7 +7330,7 @@ func (c *AccountsContainersWorkspacesGetStatusCall) Header() http.Header { func (c *AccountsContainersWorkspacesGetStatusCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7482,7 +7482,7 @@ func (c *AccountsContainersWorkspacesListCall) Header() http.Header { func (c *AccountsContainersWorkspacesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7643,7 +7643,7 @@ func (c *AccountsContainersWorkspacesQuickPreviewCall) Header() http.Header { func (c *AccountsContainersWorkspacesQuickPreviewCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7784,7 +7784,7 @@ func (c *AccountsContainersWorkspacesResolveConflictCall) Header() http.Header { func (c *AccountsContainersWorkspacesResolveConflictCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7901,7 +7901,7 @@ func (c *AccountsContainersWorkspacesSyncCall) Header() http.Header { func (c *AccountsContainersWorkspacesSyncCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8041,7 +8041,7 @@ func (c *AccountsContainersWorkspacesUpdateCall) Header() http.Header { func (c *AccountsContainersWorkspacesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8303,7 +8303,7 @@ func (c *AccountsContainersWorkspacesBuiltInVariablesCreateCall) Header() http.H func (c *AccountsContainersWorkspacesBuiltInVariablesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8782,7 +8782,7 @@ func (c *AccountsContainersWorkspacesBuiltInVariablesDeleteCall) Header() http.H func (c *AccountsContainersWorkspacesBuiltInVariablesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9132,7 +9132,7 @@ func (c *AccountsContainersWorkspacesBuiltInVariablesListCall) Header() http.Hea func (c *AccountsContainersWorkspacesBuiltInVariablesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9413,7 +9413,7 @@ func (c *AccountsContainersWorkspacesBuiltInVariablesRevertCall) Header() http.H func (c *AccountsContainersWorkspacesBuiltInVariablesRevertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9774,7 +9774,7 @@ func (c *AccountsContainersWorkspacesFoldersCreateCall) Header() http.Header { func (c *AccountsContainersWorkspacesFoldersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9912,7 +9912,7 @@ func (c *AccountsContainersWorkspacesFoldersDeleteCall) Header() http.Header { func (c *AccountsContainersWorkspacesFoldersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10021,7 +10021,7 @@ func (c *AccountsContainersWorkspacesFoldersEntitiesCall) Header() http.Header { func (c *AccountsContainersWorkspacesFoldersEntitiesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10189,7 +10189,7 @@ func (c *AccountsContainersWorkspacesFoldersGetCall) Header() http.Header { func (c *AccountsContainersWorkspacesFoldersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10341,7 +10341,7 @@ func (c *AccountsContainersWorkspacesFoldersListCall) Header() http.Header { func (c *AccountsContainersWorkspacesFoldersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10524,7 +10524,7 @@ func (c *AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) Header() h func (c *AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10659,7 +10659,7 @@ func (c *AccountsContainersWorkspacesFoldersRevertCall) Header() http.Header { func (c *AccountsContainersWorkspacesFoldersRevertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10803,7 +10803,7 @@ func (c *AccountsContainersWorkspacesFoldersUpdateCall) Header() http.Header { func (c *AccountsContainersWorkspacesFoldersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10948,7 +10948,7 @@ func (c *AccountsContainersWorkspacesTagsCreateCall) Header() http.Header { func (c *AccountsContainersWorkspacesTagsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11086,7 +11086,7 @@ func (c *AccountsContainersWorkspacesTagsDeleteCall) Header() http.Header { func (c *AccountsContainersWorkspacesTagsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11199,7 +11199,7 @@ func (c *AccountsContainersWorkspacesTagsGetCall) Header() http.Header { func (c *AccountsContainersWorkspacesTagsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11351,7 +11351,7 @@ func (c *AccountsContainersWorkspacesTagsListCall) Header() http.Header { func (c *AccountsContainersWorkspacesTagsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11518,7 +11518,7 @@ func (c *AccountsContainersWorkspacesTagsRevertCall) Header() http.Header { func (c *AccountsContainersWorkspacesTagsRevertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11662,7 +11662,7 @@ func (c *AccountsContainersWorkspacesTagsUpdateCall) Header() http.Header { func (c *AccountsContainersWorkspacesTagsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11807,7 +11807,7 @@ func (c *AccountsContainersWorkspacesTemplatesCreateCall) Header() http.Header { func (c *AccountsContainersWorkspacesTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11945,7 +11945,7 @@ func (c *AccountsContainersWorkspacesTemplatesDeleteCall) Header() http.Header { func (c *AccountsContainersWorkspacesTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12058,7 +12058,7 @@ func (c *AccountsContainersWorkspacesTemplatesGetCall) Header() http.Header { func (c *AccountsContainersWorkspacesTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12210,7 +12210,7 @@ func (c *AccountsContainersWorkspacesTemplatesListCall) Header() http.Header { func (c *AccountsContainersWorkspacesTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12378,7 +12378,7 @@ func (c *AccountsContainersWorkspacesTemplatesRevertCall) Header() http.Header { func (c *AccountsContainersWorkspacesTemplatesRevertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12523,7 +12523,7 @@ func (c *AccountsContainersWorkspacesTemplatesUpdateCall) Header() http.Header { func (c *AccountsContainersWorkspacesTemplatesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12668,7 +12668,7 @@ func (c *AccountsContainersWorkspacesTriggersCreateCall) Header() http.Header { func (c *AccountsContainersWorkspacesTriggersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12806,7 +12806,7 @@ func (c *AccountsContainersWorkspacesTriggersDeleteCall) Header() http.Header { func (c *AccountsContainersWorkspacesTriggersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12919,7 +12919,7 @@ func (c *AccountsContainersWorkspacesTriggersGetCall) Header() http.Header { func (c *AccountsContainersWorkspacesTriggersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13071,7 +13071,7 @@ func (c *AccountsContainersWorkspacesTriggersListCall) Header() http.Header { func (c *AccountsContainersWorkspacesTriggersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13239,7 +13239,7 @@ func (c *AccountsContainersWorkspacesTriggersRevertCall) Header() http.Header { func (c *AccountsContainersWorkspacesTriggersRevertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13384,7 +13384,7 @@ func (c *AccountsContainersWorkspacesTriggersUpdateCall) Header() http.Header { func (c *AccountsContainersWorkspacesTriggersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13529,7 +13529,7 @@ func (c *AccountsContainersWorkspacesVariablesCreateCall) Header() http.Header { func (c *AccountsContainersWorkspacesVariablesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13667,7 +13667,7 @@ func (c *AccountsContainersWorkspacesVariablesDeleteCall) Header() http.Header { func (c *AccountsContainersWorkspacesVariablesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13780,7 +13780,7 @@ func (c *AccountsContainersWorkspacesVariablesGetCall) Header() http.Header { func (c *AccountsContainersWorkspacesVariablesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13932,7 +13932,7 @@ func (c *AccountsContainersWorkspacesVariablesListCall) Header() http.Header { func (c *AccountsContainersWorkspacesVariablesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14100,7 +14100,7 @@ func (c *AccountsContainersWorkspacesVariablesRevertCall) Header() http.Header { func (c *AccountsContainersWorkspacesVariablesRevertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14245,7 +14245,7 @@ func (c *AccountsContainersWorkspacesVariablesUpdateCall) Header() http.Header { func (c *AccountsContainersWorkspacesVariablesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14390,7 +14390,7 @@ func (c *AccountsContainersWorkspacesZonesCreateCall) Header() http.Header { func (c *AccountsContainersWorkspacesZonesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14528,7 +14528,7 @@ func (c *AccountsContainersWorkspacesZonesDeleteCall) Header() http.Header { func (c *AccountsContainersWorkspacesZonesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14641,7 +14641,7 @@ func (c *AccountsContainersWorkspacesZonesGetCall) Header() http.Header { func (c *AccountsContainersWorkspacesZonesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14793,7 +14793,7 @@ func (c *AccountsContainersWorkspacesZonesListCall) Header() http.Header { func (c *AccountsContainersWorkspacesZonesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14960,7 +14960,7 @@ func (c *AccountsContainersWorkspacesZonesRevertCall) Header() http.Header { func (c *AccountsContainersWorkspacesZonesRevertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15104,7 +15104,7 @@ func (c *AccountsContainersWorkspacesZonesUpdateCall) Header() http.Header { func (c *AccountsContainersWorkspacesZonesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15249,7 +15249,7 @@ func (c *AccountsUserPermissionsCreateCall) Header() http.Header { func (c *AccountsUserPermissionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15388,7 +15388,7 @@ func (c *AccountsUserPermissionsDeleteCall) Header() http.Header { func (c *AccountsUserPermissionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15501,7 +15501,7 @@ func (c *AccountsUserPermissionsGetCall) Header() http.Header { func (c *AccountsUserPermissionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15653,7 +15653,7 @@ func (c *AccountsUserPermissionsListCall) Header() http.Header { func (c *AccountsUserPermissionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15814,7 +15814,7 @@ func (c *AccountsUserPermissionsUpdateCall) Header() http.Header { func (c *AccountsUserPermissionsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/tasks/v1/tasks-gen.go b/tasks/v1/tasks-gen.go index addc6b434da..96b582b1ca3 100644 --- a/tasks/v1/tasks-gen.go +++ b/tasks/v1/tasks-gen.go @@ -461,7 +461,7 @@ func (c *TasklistsDeleteCall) Header() http.Header { func (c *TasklistsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -573,7 +573,7 @@ func (c *TasklistsGetCall) Header() http.Header { func (c *TasklistsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -707,7 +707,7 @@ func (c *TasklistsInsertCall) Header() http.Header { func (c *TasklistsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -856,7 +856,7 @@ func (c *TasklistsListCall) Header() http.Header { func (c *TasklistsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1013,7 +1013,7 @@ func (c *TasklistsPatchCall) Header() http.Header { func (c *TasklistsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1152,7 +1152,7 @@ func (c *TasklistsUpdateCall) Header() http.Header { func (c *TasklistsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1291,7 +1291,7 @@ func (c *TasksClearCall) Header() http.Header { func (c *TasksClearCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1394,7 +1394,7 @@ func (c *TasksDeleteCall) Header() http.Header { func (c *TasksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1516,7 +1516,7 @@ func (c *TasksGetCall) Header() http.Header { func (c *TasksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1674,7 +1674,7 @@ func (c *TasksInsertCall) Header() http.Header { func (c *TasksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1913,7 +1913,7 @@ func (c *TasksListCall) Header() http.Header { func (c *TasksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2138,7 +2138,7 @@ func (c *TasksMoveCall) Header() http.Header { func (c *TasksMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2290,7 +2290,7 @@ func (c *TasksPatchCall) Header() http.Header { func (c *TasksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2439,7 +2439,7 @@ func (c *TasksUpdateCall) Header() http.Header { func (c *TasksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/testing/v1/testing-gen.go b/testing/v1/testing-gen.go index b8c6447f45d..9917840a694 100644 --- a/testing/v1/testing-gen.go +++ b/testing/v1/testing-gen.go @@ -3265,7 +3265,7 @@ func (c *ApplicationDetailServiceGetApkDetailsCall) Header() http.Header { func (c *ApplicationDetailServiceGetApkDetailsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3398,7 +3398,7 @@ func (c *ProjectsTestMatricesCancelCall) Header() http.Header { func (c *ProjectsTestMatricesCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3552,7 +3552,7 @@ func (c *ProjectsTestMatricesCreateCall) Header() http.Header { func (c *ProjectsTestMatricesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3710,7 +3710,7 @@ func (c *ProjectsTestMatricesGetCall) Header() http.Header { func (c *ProjectsTestMatricesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3872,7 +3872,7 @@ func (c *TestEnvironmentCatalogGetCall) Header() http.Header { func (c *TestEnvironmentCatalogGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/texttospeech/v1/texttospeech-gen.go b/texttospeech/v1/texttospeech-gen.go index f2df1470a62..6e48bca2046 100644 --- a/texttospeech/v1/texttospeech-gen.go +++ b/texttospeech/v1/texttospeech-gen.go @@ -562,7 +562,7 @@ func (c *TextSynthesizeCall) Header() http.Header { func (c *TextSynthesizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -709,7 +709,7 @@ func (c *VoicesListCall) Header() http.Header { func (c *VoicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/texttospeech/v1beta1/texttospeech-gen.go b/texttospeech/v1beta1/texttospeech-gen.go index 7697f39ad20..1a7c9cf6a5c 100644 --- a/texttospeech/v1beta1/texttospeech-gen.go +++ b/texttospeech/v1beta1/texttospeech-gen.go @@ -631,7 +631,7 @@ func (c *TextSynthesizeCall) Header() http.Header { func (c *TextSynthesizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -778,7 +778,7 @@ func (c *VoicesListCall) Header() http.Header { func (c *VoicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/toolresults/v1beta3/toolresults-gen.go b/toolresults/v1beta3/toolresults-gen.go index 0487c0ba945..9ea369f0acd 100644 --- a/toolresults/v1beta3/toolresults-gen.go +++ b/toolresults/v1beta3/toolresults-gen.go @@ -4584,7 +4584,7 @@ func (c *ProjectsGetSettingsCall) Header() http.Header { func (c *ProjectsGetSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4736,7 +4736,7 @@ func (c *ProjectsInitializeSettingsCall) Header() http.Header { func (c *ProjectsInitializeSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4879,7 +4879,7 @@ func (c *ProjectsHistoriesCreateCall) Header() http.Header { func (c *ProjectsHistoriesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5037,7 +5037,7 @@ func (c *ProjectsHistoriesGetCall) Header() http.Header { func (c *ProjectsHistoriesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5216,7 +5216,7 @@ func (c *ProjectsHistoriesListCall) Header() http.Header { func (c *ProjectsHistoriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5401,7 +5401,7 @@ func (c *ProjectsHistoriesExecutionsCreateCall) Header() http.Header { func (c *ProjectsHistoriesExecutionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5569,7 +5569,7 @@ func (c *ProjectsHistoriesExecutionsGetCall) Header() http.Header { func (c *ProjectsHistoriesExecutionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5751,7 +5751,7 @@ func (c *ProjectsHistoriesExecutionsListCall) Header() http.Header { func (c *ProjectsHistoriesExecutionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5942,7 +5942,7 @@ func (c *ProjectsHistoriesExecutionsPatchCall) Header() http.Header { func (c *ProjectsHistoriesExecutionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6117,7 +6117,7 @@ func (c *ProjectsHistoriesExecutionsClustersGetCall) Header() http.Header { func (c *ProjectsHistoriesExecutionsClustersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6294,7 +6294,7 @@ func (c *ProjectsHistoriesExecutionsClustersListCall) Header() http.Header { func (c *ProjectsHistoriesExecutionsClustersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6462,7 +6462,7 @@ func (c *ProjectsHistoriesExecutionsEnvironmentsGetCall) Header() http.Header { func (c *ProjectsHistoriesExecutionsEnvironmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6652,7 +6652,7 @@ func (c *ProjectsHistoriesExecutionsEnvironmentsListCall) Header() http.Header { func (c *ProjectsHistoriesExecutionsEnvironmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6859,7 +6859,7 @@ func (c *ProjectsHistoriesExecutionsStepsAccessibilityClustersCall) Header() htt func (c *ProjectsHistoriesExecutionsStepsAccessibilityClustersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7017,7 +7017,7 @@ func (c *ProjectsHistoriesExecutionsStepsCreateCall) Header() http.Header { func (c *ProjectsHistoriesExecutionsStepsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7195,7 +7195,7 @@ func (c *ProjectsHistoriesExecutionsStepsGetCall) Header() http.Header { func (c *ProjectsHistoriesExecutionsStepsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7370,7 +7370,7 @@ func (c *ProjectsHistoriesExecutionsStepsGetPerfMetricsSummaryCall) Header() htt func (c *ProjectsHistoriesExecutionsStepsGetPerfMetricsSummaryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7564,7 +7564,7 @@ func (c *ProjectsHistoriesExecutionsStepsListCall) Header() http.Header { func (c *ProjectsHistoriesExecutionsStepsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7766,7 +7766,7 @@ func (c *ProjectsHistoriesExecutionsStepsPatchCall) Header() http.Header { func (c *ProjectsHistoriesExecutionsStepsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7946,7 +7946,7 @@ func (c *ProjectsHistoriesExecutionsStepsPublishXunitXmlFilesCall) Header() http func (c *ProjectsHistoriesExecutionsStepsPublishXunitXmlFilesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8117,7 +8117,7 @@ func (c *ProjectsHistoriesExecutionsStepsPerfMetricsSummaryCreateCall) Header() func (c *ProjectsHistoriesExecutionsStepsPerfMetricsSummaryCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8288,7 +8288,7 @@ func (c *ProjectsHistoriesExecutionsStepsPerfSampleSeriesCreateCall) Header() ht func (c *ProjectsHistoriesExecutionsStepsPerfSampleSeriesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8469,7 +8469,7 @@ func (c *ProjectsHistoriesExecutionsStepsPerfSampleSeriesGetCall) Header() http. func (c *ProjectsHistoriesExecutionsStepsPerfSampleSeriesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8669,7 +8669,7 @@ func (c *ProjectsHistoriesExecutionsStepsPerfSampleSeriesListCall) Header() http func (c *ProjectsHistoriesExecutionsStepsPerfSampleSeriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8862,7 +8862,7 @@ func (c *ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesBatchCreateCall) func (c *ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesBatchCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9073,7 +9073,7 @@ func (c *ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesListCall) Header func (c *ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9292,7 +9292,7 @@ func (c *ProjectsHistoriesExecutionsStepsTestCasesGetCall) Header() http.Header func (c *ProjectsHistoriesExecutionsStepsTestCasesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9492,7 +9492,7 @@ func (c *ProjectsHistoriesExecutionsStepsTestCasesListCall) Header() http.Header func (c *ProjectsHistoriesExecutionsStepsTestCasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9716,7 +9716,7 @@ func (c *ProjectsHistoriesExecutionsStepsThumbnailsListCall) Header() http.Heade func (c *ProjectsHistoriesExecutionsStepsThumbnailsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/tpu/v1/tpu-gen.go b/tpu/v1/tpu-gen.go index 6863fdd5065..48422ab4cf1 100644 --- a/tpu/v1/tpu-gen.go +++ b/tpu/v1/tpu-gen.go @@ -1030,7 +1030,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1196,7 +1196,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1377,7 +1377,7 @@ func (c *ProjectsLocationsAcceleratorTypesGetCall) Header() http.Header { func (c *ProjectsLocationsAcceleratorTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1547,7 +1547,7 @@ func (c *ProjectsLocationsAcceleratorTypesListCall) Header() http.Header { func (c *ProjectsLocationsAcceleratorTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1731,7 +1731,7 @@ func (c *ProjectsLocationsNodesCreateCall) Header() http.Header { func (c *ProjectsLocationsNodesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1874,7 +1874,7 @@ func (c *ProjectsLocationsNodesDeleteCall) Header() http.Header { func (c *ProjectsLocationsNodesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2015,7 +2015,7 @@ func (c *ProjectsLocationsNodesGetCall) Header() http.Header { func (c *ProjectsLocationsNodesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2173,7 +2173,7 @@ func (c *ProjectsLocationsNodesListCall) Header() http.Header { func (c *ProjectsLocationsNodesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2340,7 +2340,7 @@ func (c *ProjectsLocationsNodesReimageCall) Header() http.Header { func (c *ProjectsLocationsNodesReimageCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2480,7 +2480,7 @@ func (c *ProjectsLocationsNodesStartCall) Header() http.Header { func (c *ProjectsLocationsNodesStartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2620,7 +2620,7 @@ func (c *ProjectsLocationsNodesStopCall) Header() http.Header { func (c *ProjectsLocationsNodesStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2767,7 +2767,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2900,7 +2900,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3043,7 +3043,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3217,7 +3217,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3398,7 +3398,7 @@ func (c *ProjectsLocationsTensorflowVersionsGetCall) Header() http.Header { func (c *ProjectsLocationsTensorflowVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3568,7 +3568,7 @@ func (c *ProjectsLocationsTensorflowVersionsListCall) Header() http.Header { func (c *ProjectsLocationsTensorflowVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/tpu/v1alpha1/tpu-gen.go b/tpu/v1alpha1/tpu-gen.go index 49419ac6338..c1a8746f109 100644 --- a/tpu/v1alpha1/tpu-gen.go +++ b/tpu/v1alpha1/tpu-gen.go @@ -1030,7 +1030,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1196,7 +1196,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1377,7 +1377,7 @@ func (c *ProjectsLocationsAcceleratorTypesGetCall) Header() http.Header { func (c *ProjectsLocationsAcceleratorTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1547,7 +1547,7 @@ func (c *ProjectsLocationsAcceleratorTypesListCall) Header() http.Header { func (c *ProjectsLocationsAcceleratorTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1731,7 +1731,7 @@ func (c *ProjectsLocationsNodesCreateCall) Header() http.Header { func (c *ProjectsLocationsNodesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1874,7 +1874,7 @@ func (c *ProjectsLocationsNodesDeleteCall) Header() http.Header { func (c *ProjectsLocationsNodesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2015,7 +2015,7 @@ func (c *ProjectsLocationsNodesGetCall) Header() http.Header { func (c *ProjectsLocationsNodesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2173,7 +2173,7 @@ func (c *ProjectsLocationsNodesListCall) Header() http.Header { func (c *ProjectsLocationsNodesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2340,7 +2340,7 @@ func (c *ProjectsLocationsNodesReimageCall) Header() http.Header { func (c *ProjectsLocationsNodesReimageCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2480,7 +2480,7 @@ func (c *ProjectsLocationsNodesStartCall) Header() http.Header { func (c *ProjectsLocationsNodesStartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2620,7 +2620,7 @@ func (c *ProjectsLocationsNodesStopCall) Header() http.Header { func (c *ProjectsLocationsNodesStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2767,7 +2767,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2900,7 +2900,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3043,7 +3043,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3217,7 +3217,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3398,7 +3398,7 @@ func (c *ProjectsLocationsTensorflowVersionsGetCall) Header() http.Header { func (c *ProjectsLocationsTensorflowVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3568,7 +3568,7 @@ func (c *ProjectsLocationsTensorflowVersionsListCall) Header() http.Header { func (c *ProjectsLocationsTensorflowVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/trafficdirector/v2/trafficdirector-gen.go b/trafficdirector/v2/trafficdirector-gen.go index 396754e9abe..39a2a64ef00 100644 --- a/trafficdirector/v2/trafficdirector-gen.go +++ b/trafficdirector/v2/trafficdirector-gen.go @@ -1659,7 +1659,7 @@ func (c *DiscoveryClientStatusCall) Header() http.Header { func (c *DiscoveryClientStatusCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/transcoder/v1beta1/transcoder-api.json b/transcoder/v1beta1/transcoder-api.json index b00070d4545..a2f86ee8247 100644 --- a/transcoder/v1beta1/transcoder-api.json +++ b/transcoder/v1beta1/transcoder-api.json @@ -355,7 +355,7 @@ } } }, - "revision": "20201111", + "revision": "20201209", "rootUrl": "https://transcoder.googleapis.com/", "schemas": { "AdBreak": { @@ -604,7 +604,7 @@ "type": "object" }, "Crop": { - "description": "Video cropping configuration.", + "description": "Video cropping configuration for the input video. The cropped input video is scaled to match the output resolution.", "id": "Crop", "properties": { "bottomPixels": { @@ -884,6 +884,11 @@ "templateId": { "description": "Input only. Specify the `template_id` to use for populating `Job.config`. The default is `preset/web-hd`. Preset Transcoder templates: - `preset/{preset_id}` - User defined JobTemplate: `{job_template_id}`", "type": "string" + }, + "ttlAfterCompletionDays": { + "description": "Job time to live value in days, which will be effective after job completion. Job should be deleted automatically after the given TTL. Enter a value between 1 and 90. The default is 30.", + "format": "int32", + "type": "integer" } }, "type": "object" diff --git a/transcoder/v1beta1/transcoder-gen.go b/transcoder/v1beta1/transcoder-gen.go index 8681ea8042c..de6fa3e3a45 100644 --- a/transcoder/v1beta1/transcoder-gen.go +++ b/transcoder/v1beta1/transcoder-gen.go @@ -671,7 +671,8 @@ func (s *Color) UnmarshalJSON(data []byte) error { return nil } -// Crop: Video cropping configuration. +// Crop: Video cropping configuration for the input video. The cropped +// input video is scaled to match the output resolution. type Crop struct { // BottomPixels: The number of pixels to crop from the bottom. The // default is 0. @@ -1135,6 +1136,12 @@ type Job struct { // JobTemplate: `{job_template_id}` TemplateId string `json:"templateId,omitempty"` + // TtlAfterCompletionDays: Job time to live value in days, which will be + // effective after job completion. Job should be deleted automatically + // after the given TTL. Enter a value between 1 and 90. The default is + // 30. + TtlAfterCompletionDays int64 `json:"ttlAfterCompletionDays,omitempty"` + // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` @@ -2183,7 +2190,7 @@ func (c *ProjectsLocationsJobTemplatesCreateCall) Header() http.Header { func (c *ProjectsLocationsJobTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2326,7 +2333,7 @@ func (c *ProjectsLocationsJobTemplatesDeleteCall) Header() http.Header { func (c *ProjectsLocationsJobTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2467,7 +2474,7 @@ func (c *ProjectsLocationsJobTemplatesGetCall) Header() http.Header { func (c *ProjectsLocationsJobTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2626,7 +2633,7 @@ func (c *ProjectsLocationsJobTemplatesListCall) Header() http.Header { func (c *ProjectsLocationsJobTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2793,7 +2800,7 @@ func (c *ProjectsLocationsJobsCreateCall) Header() http.Header { func (c *ProjectsLocationsJobsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2931,7 +2938,7 @@ func (c *ProjectsLocationsJobsDeleteCall) Header() http.Header { func (c *ProjectsLocationsJobsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3072,7 +3079,7 @@ func (c *ProjectsLocationsJobsGetCall) Header() http.Header { func (c *ProjectsLocationsJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3231,7 +3238,7 @@ func (c *ProjectsLocationsJobsListCall) Header() http.Header { func (c *ProjectsLocationsJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/translate/v2/translate-gen.go b/translate/v2/translate-gen.go index 7af617cab68..b5a6510ba85 100644 --- a/translate/v2/translate-gen.go +++ b/translate/v2/translate-gen.go @@ -565,7 +565,7 @@ func (c *DetectionsDetectCall) Header() http.Header { func (c *DetectionsDetectCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -702,7 +702,7 @@ func (c *DetectionsListCall) Header() http.Header { func (c *DetectionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -858,7 +858,7 @@ func (c *LanguagesListCall) Header() http.Header { func (c *LanguagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1041,7 +1041,7 @@ func (c *TranslationsListCall) Header() http.Header { func (c *TranslationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1209,7 +1209,7 @@ func (c *TranslationsTranslateCall) Header() http.Header { func (c *TranslationsTranslateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/translate/v3/translate-api.json b/translate/v3/translate-api.json index 53e41788a5a..d341aa75152 100644 --- a/translate/v3/translate-api.json +++ b/translate/v3/translate-api.json @@ -687,7 +687,7 @@ } } }, - "revision": "20201106", + "revision": "20201204", "rootUrl": "https://translation.googleapis.com/", "schemas": { "BatchTranslateTextRequest": { @@ -702,7 +702,7 @@ "type": "object" }, "inputConfigs": { - "description": "Required. Input configurations. The total number of files matched should be \u003c= 1000. The total content size should be \u003c= 100M Unicode codepoints. The files must use UTF-8 encoding.", + "description": "Required. Input configurations. The total number of files matched should be \u003c= 100. The total content size should be \u003c= 100M Unicode codepoints. The files must use UTF-8 encoding.", "items": { "$ref": "InputConfig" }, diff --git a/translate/v3/translate-gen.go b/translate/v3/translate-gen.go index c984c3acc0d..f7e78ab786d 100644 --- a/translate/v3/translate-gen.go +++ b/translate/v3/translate-gen.go @@ -197,7 +197,7 @@ type BatchTranslateTextRequest struct { Glossaries map[string]TranslateTextGlossaryConfig `json:"glossaries,omitempty"` // InputConfigs: Required. Input configurations. The total number of - // files matched should be <= 1000. The total content size should be <= + // files matched should be <= 100. The total content size should be <= // 100M Unicode codepoints. The files must use UTF-8 encoding. InputConfigs []*InputConfig `json:"inputConfigs,omitempty"` @@ -1380,7 +1380,7 @@ func (c *ProjectsDetectLanguageCall) Header() http.Header { func (c *ProjectsDetectLanguageCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1556,7 +1556,7 @@ func (c *ProjectsGetSupportedLanguagesCall) Header() http.Header { func (c *ProjectsGetSupportedLanguagesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1702,7 +1702,7 @@ func (c *ProjectsTranslateTextCall) Header() http.Header { func (c *ProjectsTranslateTextCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1849,7 +1849,7 @@ func (c *ProjectsLocationsBatchTranslateTextCall) Header() http.Header { func (c *ProjectsLocationsBatchTranslateTextCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1989,7 +1989,7 @@ func (c *ProjectsLocationsDetectLanguageCall) Header() http.Header { func (c *ProjectsLocationsDetectLanguageCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2139,7 +2139,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2310,7 +2310,7 @@ func (c *ProjectsLocationsGetSupportedLanguagesCall) Header() http.Header { func (c *ProjectsLocationsGetSupportedLanguagesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2487,7 +2487,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2660,7 +2660,7 @@ func (c *ProjectsLocationsTranslateTextCall) Header() http.Header { func (c *ProjectsLocationsTranslateTextCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2802,7 +2802,7 @@ func (c *ProjectsLocationsGlossariesCreateCall) Header() http.Header { func (c *ProjectsLocationsGlossariesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2942,7 +2942,7 @@ func (c *ProjectsLocationsGlossariesDeleteCall) Header() http.Header { func (c *ProjectsLocationsGlossariesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3085,7 +3085,7 @@ func (c *ProjectsLocationsGlossariesGetCall) Header() http.Header { func (c *ProjectsLocationsGlossariesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3270,7 +3270,7 @@ func (c *ProjectsLocationsGlossariesListCall) Header() http.Header { func (c *ProjectsLocationsGlossariesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3452,7 +3452,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3594,7 +3594,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3738,7 +3738,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3913,7 +3913,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4095,7 +4095,7 @@ func (c *ProjectsLocationsOperationsWaitCall) Header() http.Header { func (c *ProjectsLocationsOperationsWaitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/translate/v3beta1/translate-api.json b/translate/v3beta1/translate-api.json index 2da44c284f3..6d8735bf4b5 100644 --- a/translate/v3beta1/translate-api.json +++ b/translate/v3beta1/translate-api.json @@ -687,7 +687,7 @@ } } }, - "revision": "20201106", + "revision": "20201204", "rootUrl": "https://translation.googleapis.com/", "schemas": { "BatchTranslateTextRequest": { @@ -702,7 +702,7 @@ "type": "object" }, "inputConfigs": { - "description": "Required. Input configurations. The total number of files matched should be \u003c= 1000. The total content size should be \u003c= 100M Unicode codepoints. The files must use UTF-8 encoding.", + "description": "Required. Input configurations. The total number of files matched should be \u003c= 100. The total content size should be \u003c= 100M Unicode codepoints. The files must use UTF-8 encoding.", "items": { "$ref": "InputConfig" }, diff --git a/translate/v3beta1/translate-gen.go b/translate/v3beta1/translate-gen.go index 08949ec1bdf..c3a9ec86a3d 100644 --- a/translate/v3beta1/translate-gen.go +++ b/translate/v3beta1/translate-gen.go @@ -197,7 +197,7 @@ type BatchTranslateTextRequest struct { Glossaries map[string]TranslateTextGlossaryConfig `json:"glossaries,omitempty"` // InputConfigs: Required. Input configurations. The total number of - // files matched should be <= 1000. The total content size should be <= + // files matched should be <= 100. The total content size should be <= // 100M Unicode codepoints. The files must use UTF-8 encoding. InputConfigs []*InputConfig `json:"inputConfigs,omitempty"` @@ -1375,7 +1375,7 @@ func (c *ProjectsDetectLanguageCall) Header() http.Header { func (c *ProjectsDetectLanguageCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1551,7 +1551,7 @@ func (c *ProjectsGetSupportedLanguagesCall) Header() http.Header { func (c *ProjectsGetSupportedLanguagesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1697,7 +1697,7 @@ func (c *ProjectsTranslateTextCall) Header() http.Header { func (c *ProjectsTranslateTextCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1844,7 +1844,7 @@ func (c *ProjectsLocationsBatchTranslateTextCall) Header() http.Header { func (c *ProjectsLocationsBatchTranslateTextCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1984,7 +1984,7 @@ func (c *ProjectsLocationsDetectLanguageCall) Header() http.Header { func (c *ProjectsLocationsDetectLanguageCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2134,7 +2134,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2305,7 +2305,7 @@ func (c *ProjectsLocationsGetSupportedLanguagesCall) Header() http.Header { func (c *ProjectsLocationsGetSupportedLanguagesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2482,7 +2482,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2655,7 +2655,7 @@ func (c *ProjectsLocationsTranslateTextCall) Header() http.Header { func (c *ProjectsLocationsTranslateTextCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2797,7 +2797,7 @@ func (c *ProjectsLocationsGlossariesCreateCall) Header() http.Header { func (c *ProjectsLocationsGlossariesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2937,7 +2937,7 @@ func (c *ProjectsLocationsGlossariesDeleteCall) Header() http.Header { func (c *ProjectsLocationsGlossariesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3080,7 +3080,7 @@ func (c *ProjectsLocationsGlossariesGetCall) Header() http.Header { func (c *ProjectsLocationsGlossariesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3265,7 +3265,7 @@ func (c *ProjectsLocationsGlossariesListCall) Header() http.Header { func (c *ProjectsLocationsGlossariesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3447,7 +3447,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3589,7 +3589,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3733,7 +3733,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3908,7 +3908,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4090,7 +4090,7 @@ func (c *ProjectsLocationsOperationsWaitCall) Header() http.Header { func (c *ProjectsLocationsOperationsWaitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/vault/v1/vault-gen.go b/vault/v1/vault-gen.go index 1f1cdfe67a6..d7cd8ff9799 100644 --- a/vault/v1/vault-gen.go +++ b/vault/v1/vault-gen.go @@ -2507,7 +2507,7 @@ func (c *MattersAddPermissionsCall) Header() http.Header { func (c *MattersAddPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2647,7 +2647,7 @@ func (c *MattersCloseCall) Header() http.Header { func (c *MattersCloseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2787,7 +2787,7 @@ func (c *MattersCountCall) Header() http.Header { func (c *MattersCountCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2926,7 +2926,7 @@ func (c *MattersCreateCall) Header() http.Header { func (c *MattersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3052,7 +3052,7 @@ func (c *MattersDeleteCall) Header() http.Header { func (c *MattersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3206,7 +3206,7 @@ func (c *MattersGetCall) Header() http.Header { func (c *MattersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3405,7 +3405,7 @@ func (c *MattersListCall) Header() http.Header { func (c *MattersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3593,7 +3593,7 @@ func (c *MattersRemovePermissionsCall) Header() http.Header { func (c *MattersRemovePermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3733,7 +3733,7 @@ func (c *MattersReopenCall) Header() http.Header { func (c *MattersReopenCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3873,7 +3873,7 @@ func (c *MattersUndeleteCall) Header() http.Header { func (c *MattersUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4014,7 +4014,7 @@ func (c *MattersUpdateCall) Header() http.Header { func (c *MattersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4153,7 +4153,7 @@ func (c *MattersExportsCreateCall) Header() http.Header { func (c *MattersExportsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4292,7 +4292,7 @@ func (c *MattersExportsDeleteCall) Header() http.Header { func (c *MattersExportsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4442,7 +4442,7 @@ func (c *MattersExportsGetCall) Header() http.Header { func (c *MattersExportsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4608,7 +4608,7 @@ func (c *MattersExportsListCall) Header() http.Header { func (c *MattersExportsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4779,7 +4779,7 @@ func (c *MattersHoldsAddHeldAccountsCall) Header() http.Header { func (c *MattersHoldsAddHeldAccountsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4926,7 +4926,7 @@ func (c *MattersHoldsCreateCall) Header() http.Header { func (c *MattersHoldsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5066,7 +5066,7 @@ func (c *MattersHoldsDeleteCall) Header() http.Header { func (c *MattersHoldsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5232,7 +5232,7 @@ func (c *MattersHoldsGetCall) Header() http.Header { func (c *MattersHoldsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5432,7 +5432,7 @@ func (c *MattersHoldsListCall) Header() http.Header { func (c *MattersHoldsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5619,7 +5619,7 @@ func (c *MattersHoldsRemoveHeldAccountsCall) Header() http.Header { func (c *MattersHoldsRemoveHeldAccountsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5771,7 +5771,7 @@ func (c *MattersHoldsUpdateCall) Header() http.Header { func (c *MattersHoldsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5922,7 +5922,7 @@ func (c *MattersHoldsAccountsCreateCall) Header() http.Header { func (c *MattersHoldsAccountsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6072,7 +6072,7 @@ func (c *MattersHoldsAccountsDeleteCall) Header() http.Header { func (c *MattersHoldsAccountsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6232,7 +6232,7 @@ func (c *MattersHoldsAccountsListCall) Header() http.Header { func (c *MattersHoldsAccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6375,7 +6375,7 @@ func (c *MattersSavedQueriesCreateCall) Header() http.Header { func (c *MattersSavedQueriesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6514,7 +6514,7 @@ func (c *MattersSavedQueriesDeleteCall) Header() http.Header { func (c *MattersSavedQueriesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6664,7 +6664,7 @@ func (c *MattersSavedQueriesGetCall) Header() http.Header { func (c *MattersSavedQueriesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6832,7 +6832,7 @@ func (c *MattersSavedQueriesListCall) Header() http.Header { func (c *MattersSavedQueriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7008,7 +7008,7 @@ func (c *OperationsCancelCall) Header() http.Header { func (c *OperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7146,7 +7146,7 @@ func (c *OperationsDeleteCall) Header() http.Header { func (c *OperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7286,7 +7286,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7461,7 +7461,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/vectortile/v1/vectortile-gen.go b/vectortile/v1/vectortile-gen.go index 05508aaa0b2..4a28b4c2623 100644 --- a/vectortile/v1/vectortile-gen.go +++ b/vectortile/v1/vectortile-gen.go @@ -1362,7 +1362,7 @@ func (c *FeaturetilesGetCall) Header() http.Header { func (c *FeaturetilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1725,7 +1725,7 @@ func (c *TerraintilesGetCall) Header() http.Header { func (c *TerraintilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/verifiedaccess/v1/verifiedaccess-gen.go b/verifiedaccess/v1/verifiedaccess-gen.go index a996a3216c1..a27da244a7b 100644 --- a/verifiedaccess/v1/verifiedaccess-gen.go +++ b/verifiedaccess/v1/verifiedaccess-gen.go @@ -356,7 +356,7 @@ func (c *ChallengeCreateCall) Header() http.Header { func (c *ChallengeCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -481,7 +481,7 @@ func (c *ChallengeVerifyCall) Header() http.Header { func (c *ChallengeVerifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/videointelligence/v1/videointelligence-gen.go b/videointelligence/v1/videointelligence-gen.go index 1414daac21f..cc8c326026e 100644 --- a/videointelligence/v1/videointelligence-gen.go +++ b/videointelligence/v1/videointelligence-gen.go @@ -8549,7 +8549,7 @@ func (c *OperationsProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *OperationsProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8682,7 +8682,7 @@ func (c *OperationsProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *OperationsProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8825,7 +8825,7 @@ func (c *OperationsProjectsLocationsOperationsGetCall) Header() http.Header { func (c *OperationsProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8969,7 +8969,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9110,7 +9110,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9253,7 +9253,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9427,7 +9427,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9602,7 +9602,7 @@ func (c *VideosAnnotateCall) Header() http.Header { func (c *VideosAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/videointelligence/v1beta2/videointelligence-gen.go b/videointelligence/v1beta2/videointelligence-gen.go index 3fb6bc39535..aee9a5a6e0b 100644 --- a/videointelligence/v1beta2/videointelligence-gen.go +++ b/videointelligence/v1beta2/videointelligence-gen.go @@ -8407,7 +8407,7 @@ func (c *VideosAnnotateCall) Header() http.Header { func (c *VideosAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/videointelligence/v1p1beta1/videointelligence-gen.go b/videointelligence/v1p1beta1/videointelligence-gen.go index 9aebf22232c..ad88cc59493 100644 --- a/videointelligence/v1p1beta1/videointelligence-gen.go +++ b/videointelligence/v1p1beta1/videointelligence-gen.go @@ -8407,7 +8407,7 @@ func (c *VideosAnnotateCall) Header() http.Header { func (c *VideosAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/videointelligence/v1p2beta1/videointelligence-gen.go b/videointelligence/v1p2beta1/videointelligence-gen.go index 2c903f4ba97..fd0c05408b7 100644 --- a/videointelligence/v1p2beta1/videointelligence-gen.go +++ b/videointelligence/v1p2beta1/videointelligence-gen.go @@ -8407,7 +8407,7 @@ func (c *VideosAnnotateCall) Header() http.Header { func (c *VideosAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/videointelligence/v1p3beta1/videointelligence-gen.go b/videointelligence/v1p3beta1/videointelligence-gen.go index 8fc92d54c48..45f41fb15cd 100644 --- a/videointelligence/v1p3beta1/videointelligence-gen.go +++ b/videointelligence/v1p3beta1/videointelligence-gen.go @@ -8408,7 +8408,7 @@ func (c *VideosAnnotateCall) Header() http.Header { func (c *VideosAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/vision/v1/vision-gen.go b/vision/v1/vision-gen.go index 00f38d5ed37..992f6e375ea 100644 --- a/vision/v1/vision-gen.go +++ b/vision/v1/vision-gen.go @@ -13944,7 +13944,7 @@ func (c *FilesAnnotateCall) Header() http.Header { func (c *FilesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14076,7 +14076,7 @@ func (c *FilesAsyncBatchAnnotateCall) Header() http.Header { func (c *FilesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14202,7 +14202,7 @@ func (c *ImagesAnnotateCall) Header() http.Header { func (c *ImagesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14334,7 +14334,7 @@ func (c *ImagesAsyncBatchAnnotateCall) Header() http.Header { func (c *ImagesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14473,7 +14473,7 @@ func (c *LocationsOperationsGetCall) Header() http.Header { func (c *LocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14618,7 +14618,7 @@ func (c *OperationsCancelCall) Header() http.Header { func (c *OperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14760,7 +14760,7 @@ func (c *OperationsDeleteCall) Header() http.Header { func (c *OperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14904,7 +14904,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15079,7 +15079,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15257,7 +15257,7 @@ func (c *ProjectsFilesAnnotateCall) Header() http.Header { func (c *ProjectsFilesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15404,7 +15404,7 @@ func (c *ProjectsFilesAsyncBatchAnnotateCall) Header() http.Header { func (c *ProjectsFilesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15545,7 +15545,7 @@ func (c *ProjectsImagesAnnotateCall) Header() http.Header { func (c *ProjectsImagesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15692,7 +15692,7 @@ func (c *ProjectsImagesAsyncBatchAnnotateCall) Header() http.Header { func (c *ProjectsImagesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15838,7 +15838,7 @@ func (c *ProjectsLocationsFilesAnnotateCall) Header() http.Header { func (c *ProjectsLocationsFilesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15985,7 +15985,7 @@ func (c *ProjectsLocationsFilesAsyncBatchAnnotateCall) Header() http.Header { func (c *ProjectsLocationsFilesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16126,7 +16126,7 @@ func (c *ProjectsLocationsImagesAnnotateCall) Header() http.Header { func (c *ProjectsLocationsImagesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16273,7 +16273,7 @@ func (c *ProjectsLocationsImagesAsyncBatchAnnotateCall) Header() http.Header { func (c *ProjectsLocationsImagesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16425,7 +16425,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16564,7 +16564,7 @@ func (c *ProjectsLocationsProductSetsAddProductCall) Header() http.Header { func (c *ProjectsLocationsProductSetsAddProductCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16717,7 +16717,7 @@ func (c *ProjectsLocationsProductSetsCreateCall) Header() http.Header { func (c *ProjectsLocationsProductSetsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16863,7 +16863,7 @@ func (c *ProjectsLocationsProductSetsDeleteCall) Header() http.Header { func (c *ProjectsLocationsProductSetsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17006,7 +17006,7 @@ func (c *ProjectsLocationsProductSetsGetCall) Header() http.Header { func (c *ProjectsLocationsProductSetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17149,7 +17149,7 @@ func (c *ProjectsLocationsProductSetsImportCall) Header() http.Header { func (c *ProjectsLocationsProductSetsImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17315,7 +17315,7 @@ func (c *ProjectsLocationsProductSetsListCall) Header() http.Header { func (c *ProjectsLocationsProductSetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17496,7 +17496,7 @@ func (c *ProjectsLocationsProductSetsPatchCall) Header() http.Header { func (c *ProjectsLocationsProductSetsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17643,7 +17643,7 @@ func (c *ProjectsLocationsProductSetsRemoveProductCall) Header() http.Header { func (c *ProjectsLocationsProductSetsRemoveProductCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17810,7 +17810,7 @@ func (c *ProjectsLocationsProductSetsProductsListCall) Header() http.Header { func (c *ProjectsLocationsProductSetsProductsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17992,7 +17992,7 @@ func (c *ProjectsLocationsProductsCreateCall) Header() http.Header { func (c *ProjectsLocationsProductsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18139,7 +18139,7 @@ func (c *ProjectsLocationsProductsDeleteCall) Header() http.Header { func (c *ProjectsLocationsProductsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18282,7 +18282,7 @@ func (c *ProjectsLocationsProductsGetCall) Header() http.Header { func (c *ProjectsLocationsProductsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18443,7 +18443,7 @@ func (c *ProjectsLocationsProductsListCall) Header() http.Header { func (c *ProjectsLocationsProductsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18628,7 +18628,7 @@ func (c *ProjectsLocationsProductsPatchCall) Header() http.Header { func (c *ProjectsLocationsProductsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18792,7 +18792,7 @@ func (c *ProjectsLocationsProductsPurgeCall) Header() http.Header { func (c *ProjectsLocationsProductsPurgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18957,7 +18957,7 @@ func (c *ProjectsLocationsProductsReferenceImagesCreateCall) Header() http.Heade func (c *ProjectsLocationsProductsReferenceImagesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19105,7 +19105,7 @@ func (c *ProjectsLocationsProductsReferenceImagesDeleteCall) Header() http.Heade func (c *ProjectsLocationsProductsReferenceImagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19248,7 +19248,7 @@ func (c *ProjectsLocationsProductsReferenceImagesGetCall) Header() http.Header { func (c *ProjectsLocationsProductsReferenceImagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19411,7 +19411,7 @@ func (c *ProjectsLocationsProductsReferenceImagesListCall) Header() http.Header func (c *ProjectsLocationsProductsReferenceImagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19590,7 +19590,7 @@ func (c *ProjectsOperationsGetCall) Header() http.Header { func (c *ProjectsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/vision/v1p1beta1/vision-gen.go b/vision/v1p1beta1/vision-gen.go index 686b289eced..33355d182f9 100644 --- a/vision/v1p1beta1/vision-gen.go +++ b/vision/v1p1beta1/vision-gen.go @@ -13355,7 +13355,7 @@ func (c *FilesAnnotateCall) Header() http.Header { func (c *FilesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13489,7 +13489,7 @@ func (c *FilesAsyncBatchAnnotateCall) Header() http.Header { func (c *FilesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13615,7 +13615,7 @@ func (c *ImagesAnnotateCall) Header() http.Header { func (c *ImagesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13749,7 +13749,7 @@ func (c *ImagesAsyncBatchAnnotateCall) Header() http.Header { func (c *ImagesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13882,7 +13882,7 @@ func (c *ProjectsFilesAnnotateCall) Header() http.Header { func (c *ProjectsFilesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14031,7 +14031,7 @@ func (c *ProjectsFilesAsyncBatchAnnotateCall) Header() http.Header { func (c *ProjectsFilesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14172,7 +14172,7 @@ func (c *ProjectsImagesAnnotateCall) Header() http.Header { func (c *ProjectsImagesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14321,7 +14321,7 @@ func (c *ProjectsImagesAsyncBatchAnnotateCall) Header() http.Header { func (c *ProjectsImagesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14467,7 +14467,7 @@ func (c *ProjectsLocationsFilesAnnotateCall) Header() http.Header { func (c *ProjectsLocationsFilesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14616,7 +14616,7 @@ func (c *ProjectsLocationsFilesAsyncBatchAnnotateCall) Header() http.Header { func (c *ProjectsLocationsFilesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14757,7 +14757,7 @@ func (c *ProjectsLocationsImagesAnnotateCall) Header() http.Header { func (c *ProjectsLocationsImagesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14906,7 +14906,7 @@ func (c *ProjectsLocationsImagesAsyncBatchAnnotateCall) Header() http.Header { func (c *ProjectsLocationsImagesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/vision/v1p2beta1/vision-gen.go b/vision/v1p2beta1/vision-gen.go index 73232044516..4b1b042e080 100644 --- a/vision/v1p2beta1/vision-gen.go +++ b/vision/v1p2beta1/vision-gen.go @@ -13355,7 +13355,7 @@ func (c *FilesAnnotateCall) Header() http.Header { func (c *FilesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13489,7 +13489,7 @@ func (c *FilesAsyncBatchAnnotateCall) Header() http.Header { func (c *FilesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13615,7 +13615,7 @@ func (c *ImagesAnnotateCall) Header() http.Header { func (c *ImagesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13749,7 +13749,7 @@ func (c *ImagesAsyncBatchAnnotateCall) Header() http.Header { func (c *ImagesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13882,7 +13882,7 @@ func (c *ProjectsFilesAnnotateCall) Header() http.Header { func (c *ProjectsFilesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14031,7 +14031,7 @@ func (c *ProjectsFilesAsyncBatchAnnotateCall) Header() http.Header { func (c *ProjectsFilesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14172,7 +14172,7 @@ func (c *ProjectsImagesAnnotateCall) Header() http.Header { func (c *ProjectsImagesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14321,7 +14321,7 @@ func (c *ProjectsImagesAsyncBatchAnnotateCall) Header() http.Header { func (c *ProjectsImagesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14467,7 +14467,7 @@ func (c *ProjectsLocationsFilesAnnotateCall) Header() http.Header { func (c *ProjectsLocationsFilesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14616,7 +14616,7 @@ func (c *ProjectsLocationsFilesAsyncBatchAnnotateCall) Header() http.Header { func (c *ProjectsLocationsFilesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14757,7 +14757,7 @@ func (c *ProjectsLocationsImagesAnnotateCall) Header() http.Header { func (c *ProjectsLocationsImagesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14906,7 +14906,7 @@ func (c *ProjectsLocationsImagesAsyncBatchAnnotateCall) Header() http.Header { func (c *ProjectsLocationsImagesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/webfonts/v1/webfonts-gen.go b/webfonts/v1/webfonts-gen.go index a95b223c23e..a8c1c243c85 100644 --- a/webfonts/v1/webfonts-gen.go +++ b/webfonts/v1/webfonts-gen.go @@ -290,7 +290,7 @@ func (c *WebfontsListCall) Header() http.Header { func (c *WebfontsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/webmasters/v3/webmasters-gen.go b/webmasters/v3/webmasters-gen.go index 6174a4ab173..e1a330bdb17 100644 --- a/webmasters/v3/webmasters-gen.go +++ b/webmasters/v3/webmasters-gen.go @@ -659,7 +659,7 @@ func (c *SearchanalyticsQueryCall) Header() http.Header { func (c *SearchanalyticsQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -798,7 +798,7 @@ func (c *SitemapsDeleteCall) Header() http.Header { func (c *SitemapsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -919,7 +919,7 @@ func (c *SitemapsGetCall) Header() http.Header { func (c *SitemapsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1080,7 +1080,7 @@ func (c *SitemapsListCall) Header() http.Header { func (c *SitemapsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1219,7 +1219,7 @@ func (c *SitemapsSubmitCall) Header() http.Header { func (c *SitemapsSubmitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1327,7 +1327,7 @@ func (c *SitesAddCall) Header() http.Header { func (c *SitesAddCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1428,7 +1428,7 @@ func (c *SitesDeleteCall) Header() http.Header { func (c *SitesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1539,7 +1539,7 @@ func (c *SitesGetCall) Header() http.Header { func (c *SitesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1680,7 +1680,7 @@ func (c *SitesListCall) Header() http.Header { func (c *SitesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/websecurityscanner/v1/websecurityscanner-gen.go b/websecurityscanner/v1/websecurityscanner-gen.go index 630fc885f97..f247e711267 100644 --- a/websecurityscanner/v1/websecurityscanner-gen.go +++ b/websecurityscanner/v1/websecurityscanner-gen.go @@ -1522,7 +1522,7 @@ func (c *ProjectsScanConfigsCreateCall) Header() http.Header { func (c *ProjectsScanConfigsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1660,7 +1660,7 @@ func (c *ProjectsScanConfigsDeleteCall) Header() http.Header { func (c *ProjectsScanConfigsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1801,7 +1801,7 @@ func (c *ProjectsScanConfigsGetCall) Header() http.Header { func (c *ProjectsScanConfigsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1962,7 +1962,7 @@ func (c *ProjectsScanConfigsListCall) Header() http.Header { func (c *ProjectsScanConfigsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2139,7 +2139,7 @@ func (c *ProjectsScanConfigsPatchCall) Header() http.Header { func (c *ProjectsScanConfigsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2285,7 +2285,7 @@ func (c *ProjectsScanConfigsStartCall) Header() http.Header { func (c *ProjectsScanConfigsStartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2434,7 +2434,7 @@ func (c *ProjectsScanConfigsScanRunsGetCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2596,7 +2596,7 @@ func (c *ProjectsScanConfigsScanRunsListCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2763,7 +2763,7 @@ func (c *ProjectsScanConfigsScanRunsStopCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2929,7 +2929,7 @@ func (c *ProjectsScanConfigsScanRunsCrawledUrlsListCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsCrawledUrlsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3105,7 +3105,7 @@ func (c *ProjectsScanConfigsScanRunsFindingTypeStatsListCall) Header() http.Head func (c *ProjectsScanConfigsScanRunsFindingTypeStatsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3249,7 +3249,7 @@ func (c *ProjectsScanConfigsScanRunsFindingsGetCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsFindingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3418,7 +3418,7 @@ func (c *ProjectsScanConfigsScanRunsFindingsListCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsFindingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/websecurityscanner/v1alpha/websecurityscanner-gen.go b/websecurityscanner/v1alpha/websecurityscanner-gen.go index 281b2f9213c..a844f58240c 100644 --- a/websecurityscanner/v1alpha/websecurityscanner-gen.go +++ b/websecurityscanner/v1alpha/websecurityscanner-gen.go @@ -1201,7 +1201,7 @@ func (c *ProjectsScanConfigsCreateCall) Header() http.Header { func (c *ProjectsScanConfigsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1339,7 +1339,7 @@ func (c *ProjectsScanConfigsDeleteCall) Header() http.Header { func (c *ProjectsScanConfigsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1480,7 +1480,7 @@ func (c *ProjectsScanConfigsGetCall) Header() http.Header { func (c *ProjectsScanConfigsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1641,7 +1641,7 @@ func (c *ProjectsScanConfigsListCall) Header() http.Header { func (c *ProjectsScanConfigsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1818,7 +1818,7 @@ func (c *ProjectsScanConfigsPatchCall) Header() http.Header { func (c *ProjectsScanConfigsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1964,7 +1964,7 @@ func (c *ProjectsScanConfigsStartCall) Header() http.Header { func (c *ProjectsScanConfigsStartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2113,7 +2113,7 @@ func (c *ProjectsScanConfigsScanRunsGetCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2275,7 +2275,7 @@ func (c *ProjectsScanConfigsScanRunsListCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2442,7 +2442,7 @@ func (c *ProjectsScanConfigsScanRunsStopCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2608,7 +2608,7 @@ func (c *ProjectsScanConfigsScanRunsCrawledUrlsListCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsCrawledUrlsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2784,7 +2784,7 @@ func (c *ProjectsScanConfigsScanRunsFindingTypeStatsListCall) Header() http.Head func (c *ProjectsScanConfigsScanRunsFindingTypeStatsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2928,7 +2928,7 @@ func (c *ProjectsScanConfigsScanRunsFindingsGetCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsFindingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3097,7 +3097,7 @@ func (c *ProjectsScanConfigsScanRunsFindingsListCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsFindingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/websecurityscanner/v1beta/websecurityscanner-gen.go b/websecurityscanner/v1beta/websecurityscanner-gen.go index 3d4eab5fc3a..2b5ac801e32 100644 --- a/websecurityscanner/v1beta/websecurityscanner-gen.go +++ b/websecurityscanner/v1beta/websecurityscanner-gen.go @@ -1494,7 +1494,7 @@ func (c *ProjectsScanConfigsCreateCall) Header() http.Header { func (c *ProjectsScanConfigsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1632,7 +1632,7 @@ func (c *ProjectsScanConfigsDeleteCall) Header() http.Header { func (c *ProjectsScanConfigsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1773,7 +1773,7 @@ func (c *ProjectsScanConfigsGetCall) Header() http.Header { func (c *ProjectsScanConfigsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1934,7 +1934,7 @@ func (c *ProjectsScanConfigsListCall) Header() http.Header { func (c *ProjectsScanConfigsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2111,7 +2111,7 @@ func (c *ProjectsScanConfigsPatchCall) Header() http.Header { func (c *ProjectsScanConfigsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2257,7 +2257,7 @@ func (c *ProjectsScanConfigsStartCall) Header() http.Header { func (c *ProjectsScanConfigsStartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2406,7 +2406,7 @@ func (c *ProjectsScanConfigsScanRunsGetCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2568,7 +2568,7 @@ func (c *ProjectsScanConfigsScanRunsListCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2735,7 +2735,7 @@ func (c *ProjectsScanConfigsScanRunsStopCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2901,7 +2901,7 @@ func (c *ProjectsScanConfigsScanRunsCrawledUrlsListCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsCrawledUrlsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3077,7 +3077,7 @@ func (c *ProjectsScanConfigsScanRunsFindingTypeStatsListCall) Header() http.Head func (c *ProjectsScanConfigsScanRunsFindingTypeStatsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3221,7 +3221,7 @@ func (c *ProjectsScanConfigsScanRunsFindingsGetCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsFindingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3390,7 +3390,7 @@ func (c *ProjectsScanConfigsScanRunsFindingsListCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsFindingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/workflowexecutions/v1beta/workflowexecutions-gen.go b/workflowexecutions/v1beta/workflowexecutions-gen.go index 75beb3cec47..1d492c3dc0f 100644 --- a/workflowexecutions/v1beta/workflowexecutions-gen.go +++ b/workflowexecutions/v1beta/workflowexecutions-gen.go @@ -370,7 +370,7 @@ func (c *ProjectsLocationsWorkflowsExecutionsCancelCall) Header() http.Header { func (c *ProjectsLocationsWorkflowsExecutionsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -511,7 +511,7 @@ func (c *ProjectsLocationsWorkflowsExecutionsCreateCall) Header() http.Header { func (c *ProjectsLocationsWorkflowsExecutionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -675,7 +675,7 @@ func (c *ProjectsLocationsWorkflowsExecutionsGetCall) Header() http.Header { func (c *ProjectsLocationsWorkflowsExecutionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -873,7 +873,7 @@ func (c *ProjectsLocationsWorkflowsExecutionsListCall) Header() http.Header { func (c *ProjectsLocationsWorkflowsExecutionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/workflows/v1beta/workflows-api.json b/workflows/v1beta/workflows-api.json index b808f96831f..cef0403653c 100644 --- a/workflows/v1beta/workflows-api.json +++ b/workflows/v1beta/workflows-api.json @@ -444,7 +444,7 @@ } } }, - "revision": "20201008", + "revision": "20201207", "rootUrl": "https://workflows.googleapis.com/", "schemas": { "Empty": { @@ -671,7 +671,7 @@ "type": "string" }, "revisionId": { - "description": "Output only. The revision of the workflow. A new revision of a workflow is created as a result of updating the following fields of a workflow: - `source_code` - `service_account` The format is \"000001-a4d\", where the first 6 characters define the zero-padded revision ordinal number. They are followed by a hyphen and 3 hexadecimal random characters.", + "description": "Output only. The revision of the workflow. A new revision of a workflow is created as a result of updating the following properties of a workflow: - Service account - Workflow code to be executed The format is \"000001-a4d\", where the first 6 characters define the zero-padded revision ordinal number. They are followed by a hyphen and 3 hexadecimal random characters.", "readOnly": true, "type": "string" }, diff --git a/workflows/v1beta/workflows-gen.go b/workflows/v1beta/workflows-gen.go index e9248f67c29..fc95f93e7a6 100644 --- a/workflows/v1beta/workflows-gen.go +++ b/workflows/v1beta/workflows-gen.go @@ -529,11 +529,11 @@ type Workflow struct { RevisionCreateTime string `json:"revisionCreateTime,omitempty"` // RevisionId: Output only. The revision of the workflow. A new revision - // of a workflow is created as a result of updating the following fields - // of a workflow: - `source_code` - `service_account` The format is - // "000001-a4d", where the first 6 characters define the zero-padded - // revision ordinal number. They are followed by a hyphen and 3 - // hexadecimal random characters. + // of a workflow is created as a result of updating the following + // properties of a workflow: - Service account - Workflow code to be + // executed The format is "000001-a4d", where the first 6 characters + // define the zero-padded revision ordinal number. They are followed by + // a hyphen and 3 hexadecimal random characters. RevisionId string `json:"revisionId,omitempty"` // ServiceAccount: Name of the service account associated with the @@ -643,7 +643,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -809,7 +809,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -982,7 +982,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1125,7 +1125,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1299,7 +1299,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1484,7 +1484,7 @@ func (c *ProjectsLocationsWorkflowsCreateCall) Header() http.Header { func (c *ProjectsLocationsWorkflowsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1628,7 +1628,7 @@ func (c *ProjectsLocationsWorkflowsDeleteCall) Header() http.Header { func (c *ProjectsLocationsWorkflowsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1769,7 +1769,7 @@ func (c *ProjectsLocationsWorkflowsGetCall) Header() http.Header { func (c *ProjectsLocationsWorkflowsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1951,7 +1951,7 @@ func (c *ProjectsLocationsWorkflowsListCall) Header() http.Header { func (c *ProjectsLocationsWorkflowsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2139,7 +2139,7 @@ func (c *ProjectsLocationsWorkflowsPatchCall) Header() http.Header { func (c *ProjectsLocationsWorkflowsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/youtube/v3/youtube-gen.go b/youtube/v3/youtube-gen.go index 9f7e332019f..1367bae893e 100644 --- a/youtube/v3/youtube-gen.go +++ b/youtube/v3/youtube-gen.go @@ -10278,7 +10278,7 @@ func (c *AbuseReportsInsertCall) Header() http.Header { func (c *AbuseReportsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10477,7 +10477,7 @@ func (c *ActivitiesListCall) Header() http.Header { func (c *ActivitiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10692,7 +10692,7 @@ func (c *CaptionsDeleteCall) Header() http.Header { func (c *CaptionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10850,7 +10850,7 @@ func (c *CaptionsDownloadCall) Header() http.Header { func (c *CaptionsDownloadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11066,7 +11066,7 @@ func (c *CaptionsInsertCall) Header() http.Header { func (c *CaptionsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11307,7 +11307,7 @@ func (c *CaptionsListCall) Header() http.Header { func (c *CaptionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11534,7 +11534,7 @@ func (c *CaptionsUpdateCall) Header() http.Header { func (c *CaptionsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11821,7 +11821,7 @@ func (c *ChannelBannersInsertCall) Header() http.Header { func (c *ChannelBannersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12027,7 +12027,7 @@ func (c *ChannelSectionsDeleteCall) Header() http.Header { func (c *ChannelSectionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12173,7 +12173,7 @@ func (c *ChannelSectionsInsertCall) Header() http.Header { func (c *ChannelSectionsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12375,7 +12375,7 @@ func (c *ChannelSectionsListCall) Header() http.Header { func (c *ChannelSectionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12552,7 +12552,7 @@ func (c *ChannelSectionsUpdateCall) Header() http.Header { func (c *ChannelSectionsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12791,7 +12791,7 @@ func (c *ChannelsListCall) Header() http.Header { func (c *ChannelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13015,7 +13015,7 @@ func (c *ChannelsUpdateCall) Header() http.Header { func (c *ChannelsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13158,7 +13158,7 @@ func (c *CommentThreadsInsertCall) Header() http.Header { func (c *CommentThreadsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13398,7 +13398,7 @@ func (c *CommentThreadsListCall) Header() http.Header { func (c *CommentThreadsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13637,7 +13637,7 @@ func (c *CommentThreadsUpdateCall) Header() http.Header { func (c *CommentThreadsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13771,7 +13771,7 @@ func (c *CommentsDeleteCall) Header() http.Header { func (c *CommentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13869,7 +13869,7 @@ func (c *CommentsInsertCall) Header() http.Header { func (c *CommentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14060,7 +14060,7 @@ func (c *CommentsListCall) Header() http.Header { func (c *CommentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14250,7 +14250,7 @@ func (c *CommentsMarkAsSpamCall) Header() http.Header { func (c *CommentsMarkAsSpamCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14359,7 +14359,7 @@ func (c *CommentsSetModerationStatusCall) Header() http.Header { func (c *CommentsSetModerationStatusCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14484,7 +14484,7 @@ func (c *CommentsUpdateCall) Header() http.Header { func (c *CommentsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14635,7 +14635,7 @@ func (c *I18nLanguagesListCall) Header() http.Header { func (c *I18nLanguagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14789,7 +14789,7 @@ func (c *I18nRegionsListCall) Header() http.Header { func (c *I18nRegionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14975,7 +14975,7 @@ func (c *LiveBroadcastsBindCall) Header() http.Header { func (c *LiveBroadcastsBindCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15193,7 +15193,7 @@ func (c *LiveBroadcastsControlCall) Header() http.Header { func (c *LiveBroadcastsControlCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15395,7 +15395,7 @@ func (c *LiveBroadcastsDeleteCall) Header() http.Header { func (c *LiveBroadcastsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15546,7 +15546,7 @@ func (c *LiveBroadcastsInsertCall) Header() http.Header { func (c *LiveBroadcastsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15801,7 +15801,7 @@ func (c *LiveBroadcastsListCall) Header() http.Header { func (c *LiveBroadcastsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16065,7 +16065,7 @@ func (c *LiveBroadcastsTransitionCall) Header() http.Header { func (c *LiveBroadcastsTransitionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16271,7 +16271,7 @@ func (c *LiveBroadcastsUpdateCall) Header() http.Header { func (c *LiveBroadcastsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16416,7 +16416,7 @@ func (c *LiveChatBansDeleteCall) Header() http.Header { func (c *LiveChatBansDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16515,7 +16515,7 @@ func (c *LiveChatBansInsertCall) Header() http.Header { func (c *LiveChatBansInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16650,7 +16650,7 @@ func (c *LiveChatMessagesDeleteCall) Header() http.Header { func (c *LiveChatMessagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16749,7 +16749,7 @@ func (c *LiveChatMessagesInsertCall) Header() http.Header { func (c *LiveChatMessagesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16928,7 +16928,7 @@ func (c *LiveChatMessagesListCall) Header() http.Header { func (c *LiveChatMessagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17110,7 +17110,7 @@ func (c *LiveChatModeratorsDeleteCall) Header() http.Header { func (c *LiveChatModeratorsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17209,7 +17209,7 @@ func (c *LiveChatModeratorsInsertCall) Header() http.Header { func (c *LiveChatModeratorsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17373,7 +17373,7 @@ func (c *LiveChatModeratorsListCall) Header() http.Header { func (c *LiveChatModeratorsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17585,7 +17585,7 @@ func (c *LiveStreamsDeleteCall) Header() http.Header { func (c *LiveStreamsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17735,7 +17735,7 @@ func (c *LiveStreamsInsertCall) Header() http.Header { func (c *LiveStreamsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17963,7 +17963,7 @@ func (c *LiveStreamsListCall) Header() http.Header { func (c *LiveStreamsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18190,7 +18190,7 @@ func (c *LiveStreamsUpdateCall) Header() http.Header { func (c *LiveStreamsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18395,7 +18395,7 @@ func (c *MembersListCall) Header() http.Header { func (c *MembersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18595,7 +18595,7 @@ func (c *MembershipsLevelsListCall) Header() http.Header { func (c *MembershipsLevelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18741,7 +18741,7 @@ func (c *PlaylistItemsDeleteCall) Header() http.Header { func (c *PlaylistItemsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18863,7 +18863,7 @@ func (c *PlaylistItemsInsertCall) Header() http.Header { func (c *PlaylistItemsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19069,7 +19069,7 @@ func (c *PlaylistItemsListCall) Header() http.Header { func (c *PlaylistItemsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19273,7 +19273,7 @@ func (c *PlaylistItemsUpdateCall) Header() http.Header { func (c *PlaylistItemsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19431,7 +19431,7 @@ func (c *PlaylistsDeleteCall) Header() http.Header { func (c *PlaylistsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19577,7 +19577,7 @@ func (c *PlaylistsInsertCall) Header() http.Header { func (c *PlaylistsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19820,7 +19820,7 @@ func (c *PlaylistsListCall) Header() http.Header { func (c *PlaylistsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20035,7 +20035,7 @@ func (c *PlaylistsUpdateCall) Header() http.Header { func (c *PlaylistsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20497,7 +20497,7 @@ func (c *SearchListCall) Header() http.Header { func (c *SearchListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20990,7 +20990,7 @@ func (c *SponsorsListCall) Header() http.Header { func (c *SponsorsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21170,7 +21170,7 @@ func (c *SubscriptionsDeleteCall) Header() http.Header { func (c *SubscriptionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21270,7 +21270,7 @@ func (c *SubscriptionsInsertCall) Header() http.Header { func (c *SubscriptionsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21531,7 +21531,7 @@ func (c *SubscriptionsListCall) Header() http.Header { func (c *SubscriptionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21789,7 +21789,7 @@ func (c *SuperChatEventsListCall) Header() http.Header { func (c *SuperChatEventsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21960,7 +21960,7 @@ func (c *TestsInsertCall) Header() http.Header { func (c *TestsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22101,7 +22101,7 @@ func (c *ThirdPartyLinksDeleteCall) Header() http.Header { func (c *ThirdPartyLinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22218,7 +22218,7 @@ func (c *ThirdPartyLinksInsertCall) Header() http.Header { func (c *ThirdPartyLinksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22380,7 +22380,7 @@ func (c *ThirdPartyLinksListCall) Header() http.Header { func (c *ThirdPartyLinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22526,7 +22526,7 @@ func (c *ThirdPartyLinksUpdateCall) Header() http.Header { func (c *ThirdPartyLinksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22717,7 +22717,7 @@ func (c *ThumbnailsSetCall) Header() http.Header { func (c *ThumbnailsSetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22914,7 +22914,7 @@ func (c *VideoAbuseReportReasonsListCall) Header() http.Header { func (c *VideoAbuseReportReasonsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23081,7 +23081,7 @@ func (c *VideoCategoriesListCall) Header() http.Header { func (c *VideoCategoriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23246,7 +23246,7 @@ func (c *VideosDeleteCall) Header() http.Header { func (c *VideosDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23378,7 +23378,7 @@ func (c *VideosGetRatingCall) Header() http.Header { func (c *VideosGetRatingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23618,7 +23618,7 @@ func (c *VideosInsertCall) Header() http.Header { func (c *VideosInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23953,7 +23953,7 @@ func (c *VideosListCall) Header() http.Header { func (c *VideosListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24190,7 +24190,7 @@ func (c *VideosRateCall) Header() http.Header { func (c *VideosRateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24322,7 +24322,7 @@ func (c *VideosReportAbuseCall) Header() http.Header { func (c *VideosReportAbuseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24446,7 +24446,7 @@ func (c *VideosUpdateCall) Header() http.Header { func (c *VideosUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24646,7 +24646,7 @@ func (c *WatermarksSetCall) Header() http.Header { func (c *WatermarksSetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24822,7 +24822,7 @@ func (c *WatermarksUnsetCall) Header() http.Header { func (c *WatermarksUnsetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/youtubeanalytics/v2/youtubeanalytics-gen.go b/youtubeanalytics/v2/youtubeanalytics-gen.go index eb05854f35f..49e820b44d9 100644 --- a/youtubeanalytics/v2/youtubeanalytics-gen.go +++ b/youtubeanalytics/v2/youtubeanalytics-gen.go @@ -797,7 +797,7 @@ func (c *GroupItemsDeleteCall) Header() http.Header { func (c *GroupItemsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -946,7 +946,7 @@ func (c *GroupItemsInsertCall) Header() http.Header { func (c *GroupItemsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1116,7 +1116,7 @@ func (c *GroupItemsListCall) Header() http.Header { func (c *GroupItemsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1273,7 +1273,7 @@ func (c *GroupsDeleteCall) Header() http.Header { func (c *GroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1422,7 +1422,7 @@ func (c *GroupsInsertCall) Header() http.Header { func (c *GroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1615,7 +1615,7 @@ func (c *GroupsListCall) Header() http.Header { func (c *GroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1799,7 +1799,7 @@ func (c *GroupsUpdateCall) Header() http.Header { func (c *GroupsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2056,7 +2056,7 @@ func (c *ReportsQueryCall) Header() http.Header { func (c *ReportsQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/youtubereporting/v1/youtubereporting-gen.go b/youtubereporting/v1/youtubereporting-gen.go index 44d2597a32b..0ae5f31ae5f 100644 --- a/youtubereporting/v1/youtubereporting-gen.go +++ b/youtubereporting/v1/youtubereporting-gen.go @@ -1027,7 +1027,7 @@ func (c *JobsCreateCall) Header() http.Header { func (c *JobsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1168,7 +1168,7 @@ func (c *JobsDeleteCall) Header() http.Header { func (c *JobsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1323,7 +1323,7 @@ func (c *JobsGetCall) Header() http.Header { func (c *JobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1505,7 +1505,7 @@ func (c *JobsListCall) Header() http.Header { func (c *JobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1691,7 +1691,7 @@ func (c *JobsReportsGetCall) Header() http.Header { func (c *JobsReportsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1898,7 +1898,7 @@ func (c *JobsReportsListCall) Header() http.Header { func (c *JobsReportsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2098,7 +2098,7 @@ func (c *MediaDownloadCall) Header() http.Header { func (c *MediaDownloadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2294,7 +2294,7 @@ func (c *ReportTypesListCall) Header() http.Header { func (c *ReportTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201209") for k, v := range c.header_ { reqHeaders[k] = v }